Math AAHL
Math AASL
Terms of Service
Login
Sign Up
erplex
LoginJoin
IB Math AASL
/
5: Calculus
/
Differentiation

Differentiation

erplex

© 2025 Perplex Learning Incorporated. All rights reserved.

All content on this website has been developed independently from and is not endorsed by the International Baccalaureate Organization. International Baccalaureate and IB are registered trademarks owned by the International Baccalaureate Organization.

TeamContactTerms of ServicePrivacy Policy

Limits

Discussion

  1. Using the draggable points below, estimate the value f(5).

    Powered by Desmos

  2. On the graph, the closest distance we could check was 0.05. What values would you expect to see for f(left) and f(right) if we could see a distance of 0.001?

Part (a)

At x=5, the graph shows the point (5,f(5)) on the curve. By inspecting the graph, the y-coordinate at this point appears must be between 2.31 and 2.47.

To estimate f(5), take the average (midpoint) of these two values:

f(5)≈22.31+2.47​=2.39

So, a reasonable estimate is 2.39.

Part (b)

As the horizontal separation shrinks, the two y‐values on either side of x=5 get ever closer to f(5), which we estimated in part (a) as 2.39. So at a distance of 0.001 you would expect

f(left)≈2.39andf(right)≈2.39

Powered by Desmos

We just explored the concept of a limit. The basic idea of a limit is that as x approaches a given value a, f(x) approaches a value too.

Basic concept of a limit

The limit x→alim​f(x) is the value f(x) approaches as x approaches a.


Types of limits:

  • Trivial limit: a limit that is simply equivalent to the value of the function evaluated at a.

    x→3lim​(x2+2)=32+2=11


  • Rational limit: a limit of a rational function as x approaches a value at which the function is undefined.

    x→3lim​(x−3x(x−3)​)​=x→3lim​(x)=3​x→3lim​((x−3)(x−1)x2​)=∞​


  • Infinite limit: a limit as ∣x∣ gets arbitrarily large. If a function grows without bound as ∣x∣ gets larger, the limit evaluates to ∞ (or −∞). If the function has an asymptote y=k, the limit is k. Infinite limits are undefined for oscillating functions since they do not approach a single value.

    x→∞lim​(2x−13x+2​)​=x→∞lim​(2−x1​3+x2​​)=23​​x→−∞lim​(3x2−6x+1)=∞x→∞lim​sinxdoes not exist​

Checkpoint

Calculate x→−∞lim​ex.

Select the correct option

Each type of limit may be interpreted graphically:


Trivial limits are simply the value f(a).


Rational limits will appear as vertical asymptotes or holes on a graph.


Infinite limits may be evaluated as a value if there is a horizontal asymptote or ±∞ if a curve increases or decreases without bound.

Limit from a graph

Powered by Desmos

x→1lim​f(x)=2
x→∞lim​f(x)=23​
x→−∞lim​f(x)=23​

Discussion

Values of a function f are shown at values of x surrounding 2.

x

1.9

1.99

1.999

1.9999

2.0001

2.001

2.01

2.1

f(x)

−7.053

−0.753

−0.0754

−0.0075

0.0075

0.0754

0.753

7.053

From the table, find x→2lim​f(x).

As the table shows, whenever x is closer to 2 (whether just below or just above), the corresponding values f(x) get closer to 0. For example:

x=1.9x=1.99x=1.999x=1.9999​⟹f(x)=−7.053,⟹f(x)=−0.753,⟹f(x)=−0.0754,⟹f(x)=−0.0075,​x=2.0001x=2.001x=2.01x=2.1​⟹f(x)=0.0075,⟹f(x)=0.0754,⟹f(x)=0.753,⟹f(x)=7.053​

In each case, as x moves nearer to 2, f(x) moves nearer to 0. Hence

x→2lim​f(x)=0

Limit from a table

Given a table of values:

xf(x)​2.98.41​2.998.9641​2.9998.9964001​……​


x→3lim​f(x)=9

Discussion

One key use of limits is in defining the derivative of a function f at x=c, which is given by

x→clim​c−xf(c)−f(x)​.

Aside from the limit, does this expression look like anything we have seen before? Recall that (c,f(c)) and (x,f(x)) are points on the graph of f.

The expression inside the limit is just the “rise over run” formula for the slope of the line through (x,f(x)) and (c,f(c)). If we set

x1​=x,y1​=f(x),x2​=c,y2​=f(c),

then

c−xf(c)−f(x)​=x2​−x1​y2​−y1​​,

which is exactly the familiar formula for the gradient of the line passing through those two points.

Discussion

We learned how to define the limit of a function at a point with

f′(c)=x→clim​x−cf(x)−f(c)​,

but the following equation defines the derivative for the entire function f:

f′(x)=h→0lim​hf(x+h)−f(x)​.
  1. Show that the new equation for the derivative is also a slope between two infinitesimally close points.

  2. Using the new definition of the derivative, find f′(x) given that f(x)=x2.

Part (a)

The definition

f′(x)=h→0lim​hf(x+h)−f(x)​

is another way to express the slope between two points on the graph of f that are very close together.

Recall that the slope between two points (x1​,y1​) and (x2​,y2​) is given by

m=x2​−x1​y2​−y1​​

If we let x1​=x and x2​=x+h, then y1​=f(x) and y2​=f(x+h). Substituting into the slope formula gives

m=(x+h)−xf(x+h)−f(x)​=hf(x+h)−f(x)​

So, the expression inside the limit in the definition of the derivative is just the slope between the points (x,f(x)) and (x+h,f(x+h)).


Taking the limit as h→0 means we are finding the slope between two points that are infinitesimally close together. Therefore, the definition

f′(x)=h→0lim​hf(x+h)−f(x)​

still represents the slope between two infinitesimally close points on the curve.

Now, it is reasonable to conclude that even though the two equation for the derivative look disimilar, they are indeed equivalent since they both give the slope of a curve "at a point."

Part (b)

Using the definition

f′(x)=h→0lim​hf(x+h)−f(x)​

with f(x)=x2, write

f′(x)=h→0lim​h(x+h)2−x2​

Expand in the numerator:

(x+h)2−x2=(x2+2xh+h2)−x2=2xh+h2

So

f′(x)=h→0lim​h2xh+h2​=h→0lim​hh(2x+h)​=h→0lim​(2x+h)=2x

Answer: 2x

Limit definition of derivative

The derivative of f(x) is denoted f′(x) and is given by

f′(x)=h→0lim​hf(x+h)−f(x)​📖

The derivative returns the slope "at a point" (or instantaneous slope) on the curve f.

Discussion

  1. Using the limit definition of a derivative, show that the derivative of any line is its slope.

  2. Explain why it makes sense that the derivative of a line is constant.

Part (a)

Let f(x)=mx+b. Then by definition

f′(x)=h→0lim​hf(x+h)−f(x)​=h→0lim​hm(x+h)+b−(mx+b)​


=h→0lim​hmx+mh+b−mx−b​=h→0lim​hmh​=h→0lim​m=m.

In slope-intercept form m gives the slope of the line, so the derivative of a line with slope m is m, as desired.

Part (b)

The derivative measures the instantaneous rate of change (or “steepness”) of a function at each point. For a line f(x)=mx+b, the graph of f is a straight line of slope m. Thus, the instantaneous slope at any point on the curve must be m.


In other words, since the rate of change of a line is constant, its derivative is constant.

Suppose we want to solve a limit of the form x→alim​g(x)f(x)​, but x→alim​f(x)=0=x→alim​g(x). Our limit evaluates as 00​. In such a case, if f′(a) and g′(a) exist, then we must have f(a)=0=g(a). We can still solve the limit using the derivative:

x→alim​g(x)f(x)​    ​=x→alim​g(x)−g(a)f(x)−f(a)​=x→alim​x−ag(x)−g(a)​x−af(x)−f(a)​​=x→alim​x−ag(x)−g(a)​x→alim​x−af(x)−f(a)​​=g′(a)f′(a)​=x→alim​g′(x)f′(x)​​

Therefore, whenever we take a limit whose numerator and denominator both evaluate to 0, we can equivalently take the limit of the derivatives of the numerator over the derivative of the denominator. This is called L'Hôpital's rule.

Discussion

Using L'Hôpital's rule, show that we can evaluate x→alim​g(x)f(x)​ if x→alim​f(x)=∞=x→alim​g(x) using derivatives.

Reduce ∞/∞ to 0/0 by taking reciprocals. Define

h(x)=f(x)1​,k(x)=g(x)1​

so that as x→a, h(x)→0 and k(x)→0. Then

g(x)f(x)​=h(x)k(x)​

and L’Hôpital’s rule for the 0/0 case gives

x→alim​h(x)k(x)​=x→alim​h′(x)k′(x)​


This is all that is necessary to correctly answer the question above. However, by expanding x→alim​h′(x)k′(x)​, it is possible to show that L'Hôpital's rule applies the same for 00​ and ∞∞​ limits!

L'Hôpital's rule

If g(a)f(a)​=00​ or ∞∞​, then:


x→alim​g(x)f(x)​=x→alim​g′(x)f′(x)​🚫

Examples

Since e2x→∞ as x→∞:

x→∞lim​3e2xx−2e2x​    ​=x→∞lim​6e2x1−4e2x​ =x→∞lim​6e2x−4e2x​ =−32​​


Similarly, e0−0−1=0 and 02=0:

x→0lim​x2ex−x−1​  ​=x→0lim​2xex−1​ =x→0lim​2ex​=2e0​=21​​


Sometimes it's easier to factor out common terms than to use l'Hôpital's rule:

3x+13x2+x​=3x+1x(3x+1)​=x

So

x→−31​lim​3x+13x2+x​=−31​

Chat

Ask questions about the content or request clarifications