Achievable logoAchievable logo
AP Calculus AB
Sign in
Sign up
Purchase
Textbook
Practice exams
Support
How it works
Exam catalog
Mountain with a flag at the peak
Textbook
Introduction
1. Limits
2. Derivative basics
2.1 Definition of the derivative
2.2 Tangent lines & slopes
2.3 Power rule
2.4 Product & quotient rules
2.5 Special derivatives
2.6 Differentiability & continuity
3. Advanced differentiation
4. Contextual uses
5. Analytical uses
6. Integration
7. Differential equations
8. Applications of integrals
9. Testing details tag
10. test
Wrapping up
Achievable logoAchievable logo
2.1 Definition of the derivative
Achievable AP Calculus AB
2. Derivative basics
Our AP Calculus AB course is currently in development and is a work-in-progress.

Definition of the derivative

12 min read
Font
Discuss
Share
Feedback

What you’ll learn:

  • Average vs. instantaneous rate of change
  • Limit definition of derivative (2 forms)
  • Recognizing limit expressions as derivative definitions

Average rate of change

If we want to know how fast something is changing, we look at the rate of change. Think about your phone’s battery percentage throughout the day. If you check it at two different points in time, time a and time b, then the average rate of change is the difference in battery percentages, divided by the time that has passed:

Average rate of change:

=b−af(b)−f(a)​

This tells you how quickly the battery drained, on average, between time a and time b, and with it you might be able to estimate how it’ll last before needing a recharge (this is a simplified version of how your phone already estimates that time left).

From algebra, this is just the slope - the change in y-values divided by the change in x-values - of the line that connects two points on f(x). You may have seen the slope of a line written as

m=ΔxΔy​

where the delta symbol Δ means “change.”

Figure 2.1.1 Average rate of change
Figure 2.1.1 Average rate of change

Instantaneous rate of change

In reality, the battery doesn’t deplete at a steady rate. Watching videos and keeping it on uses more power, while leaving it off and idle slows the drain. How does the phone “know” how quickly it’s draining at any specific moment? The average rate of change gives a general idea, but to figure out the instantaneous rate of change at a specific moment in time, we have to zoom in closer to see how the battery changed over a tiny interval in time.

This is where limits come in - instead of two static points a and b, fix point a and bring the variable x closer and closer to a, then observe what happens to the battery function as x approaches a. Because the difference between one moment a and the next moment x becomes infinitesimally small, the limit is the instantaneous rate of change, or how quickly the function is changing right at point a. The instantaneous rate of change at a is also called the derivative of f(x) at x=a, defined as:

Derivative: 1st definition

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

The notation f′(a) is read as “f prime of a” and the prime symbol (′) is often used to indicate a derivative. Later on you’ll also work with second derivatives, represented by f′′(a) (“f double prime of a”)

Figure 2.1.2 Instantaneous ROC form 1
Figure 2.1.2 Instantaneous ROC form 1
AP tip:

When asked for the average rate of change, use the basic slope formula with two points - no limits needed.

If it’s the instantaneous rate of change, you must use the derivative or the limit definition. Watch out for multiple-choice traps that mix these up!

Other limit definition of the derivative

We can also define a general derivative function that gives the instantaneous rate of change - how fast f(x) is changing - if you plug in any value x into f′(x).

This time, fix point x, and look at how the function changes when we move some amount h away from it. In this form, the average rate of change is called the difference quotient:

Difference quotient:

hf(x+h)−f(x)​

Figure 2.1.3 Difference quotient
Figure 2.1.3 Difference quotient

In some problems, h is replaced with the symbol Δx, but the idea is the same. This formula might look intimidating, but it’s really just the slope formula applied over a small interval h around x - a change in the function values divided by a change in the input values.

To get the instantaneous rate of change, or the derivative, at the specific point x, the difference h needs to be as small as possible. This is where limits are used again - to see what happens to a function when h approaches 0.

Then another limit definition of the derivative of f(x) is:

Derivative: 2nd definition

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

This limit process creates a new function f′(x). Plugging in any value of x into the derivative function will give the instantaneous rate of change at that point.

AP tip:

If a problem asks for the instantaneous rate of change or the derivative at a specific point, the 1st form (with x→a) is often easier to work with, particularly if f is a polynomial! Since a is the fixed point of interest, the result will be a single number that represents the instantaneous rate of change at that point.

On the other hand, if a question asks you to “find the derivative using the limit definition of the derivative,” it’s sometimes better to work with the 2nd form to find an expression that represents the derivative in terms of x.

Either one can be used but depending on the function, one may be easier to work with than the other.

Examples

1. Find the derivative of f(x)=x2 using the limit definition.

Let’s use both forms to show the difference:

  • 2nd form:

f′(x)f′(x)​=h→0lim​hf(x+h)−f(x)​=h→0lim​h(x+h)2−x2​=h→0lim​hx2+2xh+h2−x2​​=h→0lim​h2xh+h2​=h→0lim​h​h​(2x+h)​=h→0lim​(2x+h)=2x​​

  • 1st form:

f′(a)f′(a)​=x→alim​x−af(x)−f(a)​=x→alim​x−ax2−a2​=x→alim​(x−a)​(x+a)(x−a)​​=x→alim​(x+a)=a+a=2a​

The answers are the same other than different letters used. The 2nd form is just the general derivative that uses the same variable x as the original function does, but plugging in any value of x into 2x or a into 2a will result in the same instantaneous rate of change if x=a.

2. If f(x)=x​, find f′(9).

Solution

(spoiler)

Answer: f′(9)=61​​

Let’s use the 1st form, which would be faster since the point of interest is a=9.

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

Where a=9.

f′(9)=x→9lim​x−9x​−9​​

=x→9lim​x−9x​−3​

Directly substituting a=4 results in the indeterminate form 00​, so we’ll have to perform some algebraic manipulation. Rationalizing,

f′(9)=x→9lim​x−9x​−3​⋅x​+3x​+3​

=x→9lim​(x−9)​(x​+3)x−9​​

=x→9lim​x​+31​

=61​​

As a bonus exercise, try to figure out the derivative of f(x)=x​ using the second form of the limit definition on your own. The answer should be f′(x)=2x​1​ and plugging in x=9 will result in the same instantaneous rate of change found using the 1st limit definition.

Working backwards

Most derivative problems involve finding f′(x) given a function f(x). However, some AP problems present a derivative f′(x) as a limit expression and ask you to determine the original function f(x) and the point a it’s evaluated at.

The key to these problems is to recognize which form of the limit definition is being used:

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

or

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

Examples

1. Find a function f(x) and a number a such that the limit represents f′(a):

h→0lim​h(3+h)2−9​

Solution

(spoiler)

Answer: f(x)=(3+x)2,a=3​

First determine whether the limit notation specifies x→a or h→0. Since it’s the latter, the 2nd definition is being used.

Next, the (3+h)2 looks a lot like f(x+h) except that 3 is where x was, and the function is squared. This suggests that f(x+h)=(x+h)2 which means f(x)=x2.

Testing x=3 gives f(3)=(3)2=9, and 9 is indeed in the position where f(x) is in the limit definition.

2. Find f(x) and a number a such that the limit represents f′(a):

x→5lim​x−5−1+e(3x−15)​

Solution

(spoiler)

Answer: f(x)=e(3x−15),a=5​

Since the limit notation specifies x→a, the 1st definition is being used, and a=5.

Next, even though the order is mixed up in the numerator, e(3x−15) is the portion with the variable, which means it replaced f(x).

Rewritten, e(3x−15)−1 in the numerator more closely mirrors the form f(x)−f(a).

Lastly, if f(x)=e(3x−15), test a=5 to make sure f(a)=1.

f(5)=e(3(5)−15)=e0=1

Using tables

Some questions will present a table and ask you to find the average rate of change on the interval.

A bathtub is being filled with water and the depth of the water is measured over a few minutes. Estimate the average rate of change over the time interval 4≤t≤7 based on the table.

Time t (minutes) Depth (inches)
2 3
4 8
6 14
7 16
9 19

Most if not all of the questions in AP Calculus assign time as the independent variable, or t, so the water depth, D(t), is a function of time.

Because the water level is increasing over time, we should expect the rate of change to be positive.

The average rate of change is

7−4D(7)−D(4)​=316−8​=38​​

Because depth, on top, is in inches, and time, on the bottom, is in minutes, the units for this answer are in inches per minute. This means that, on average, the water depth increased by 38​ inches per minute between minute 4 and 7.

You may also be required to “estimate the instantaneous rate of change” given a table. In these cases, you’re actually expected to calculate the average rate of change to use as an estimate for the instantaneous rate of change, only because of the limited information presented.

2. Using the same table, estimate the instantaneous rate of change of the water depth at 3 minutes and 9 minutes.

Solution

(spoiler)

Answers:

  • 2.5 in/min at 3 minutes
  • 1.5 in/min at 9 minutes

For t=3, the best estimate we can make uses the small interval around the 3-minute mark; namely, the info given at t=2 and t=4 minutes.

Rate of change

4−2D(4)−D(2)​=28−3​

=25​ in/min​

This means that the best estimate we can make for how quickly the water level was changing at exactly 3 minutes is 2.5 inches per minute. The estimate is a positive rate of change, which is consistent with the fact that the water level is increasing.

For t=9, we’re forced to use the only other nearby value of 16 inches at 7 minutes.

Rate of change

9−7D(9)−D(7)​=219−16​

=23​ in/min​

Sidenote
A note on notation

In addition to f′(x), you may also see the derivative written as dxdy​, or notice the operator dxd​.

  1. f′(x)

Lagrange’s notation, typically used for derivatives of functions.

  1. dxdy​

Leibniz’s notation - represents the rate of change of y with respect to x, when y is a function of x. It shows how y changes as x changes. Later on you’ll see letters other than x and y used.
E.g. dg/dt represents the rate of change of g with respect to t.

  1. dxd​

Indicates the operation of taking a derivative. It’s like a verb - we apply the derivative operator to differentiate an expression, in the same way the addition sign between two values tells you “to add” the two. E.g. If asked to differentiate f(x)=2x, you could write dxd​[2x].

Sign up for free to take 5 quiz questions on this topic

All rights reserved ©2016 - 2026 Achievable, Inc.