Skip to content
Study Hall
Lesson 3 of 4Rates of Change & Limits
Unit 1 · Lesson 3 of 4

The Derivative from First Principles

The difference quotient (f(a + h) − f(a))/h is the slope of a secant, the average rate of change from a to a + h. Its limit as h → 0 is the slope of the tangent, the instantaneous rate of change f′(a). Simplify the quotient algebraically first, and the limit becomes exact.

3 min read9 practice questionsAsk AI about this →

Key things to remember

  1. 1Difference quotient: , the slope of the secant from to (an average rate of change).
  2. 2Derivative at a point: the slope of the tangent (an instantaneous rate of change).
  3. 3You cannot substitute directly (); expand, simplify and cancel the factor of first.
  4. 4For at : the quotient simplifies to , so .
  5. 5 has units of (output units) per (input unit), such as m/s.

The first two lessons gave you two tools. Secants through a point estimate the slope of the tangent, and limits describe the value those estimates approach. Put them together and you get the most important definition in the course. It turns the guesswork of a table of shrinking intervals into an exact answer, and it is called finding the derivative from first principles, because it uses nothing but the definition of slope and the idea of a limit.

xyf(a)f(a + h)aa + hy = f(x)tangenthf(a + h) − f(a)(a, f(a))(a + h, f(a + h))Slope of the secantf(a + h) − f(a)hf(x) = 0.2x² + 0.5, a = 1.5h = 3: slope 1.2h = 2: slope 1.0h = 1: slope 0.8tangent: slope 0.6As h → 0, the secant pivotsinto the tangent at a, andits slope approaches f′(a).
Fig 1The curve f(x) = 0.2x² + 0.5 with the points (a, f(a)) and (a + h, f(a + h)) at a = 1.5, the run h and the rise f(a + h) − f(a) marked. Secants for h = 3, 2 and 1 have slopes 1.2, 1.0 and 0.8 and pivot toward the dashed tangent, whose slope is 0.6.
The difference quotient: the slope of the secant through (a, f(a)) and (a + h, f(a + h)). The run is (a + h) − a = h.
The derivative of f at x = a: the slope of the tangent, and the instantaneous rate of change at x = a, provided this limit exists.

The symbol is read " prime of ". It carries the units of a rate: if is a position in metres and is in seconds, then is a velocity in m/s at the instant . If is a volume in litres and , then 5 minutes in, the volume is falling at 3 L/min.

Reading a limit statement

What does say about the graph of ? The quotient is the slope of a secant from the point to a nearby point, and the limit is where those slopes end up. So the tangent to at has slope : at that instant, is increasing times as fast as . (Check: the secant slopes are , and for , and .) For any function , the same statement says that the instantaneous rate of change at is , which is .

Substitute first, or simplify first?

hf(3 + h)f(3 + h) − f(3)Difference quotient
For f(x) = x² at x = 3, substituting each h into the difference quotient directly. Here f(3) = 9.
Simplifying first: expand, cancel the 9s, then divide every term by h.

The simplified form reproduces every row of the table instantly: gives , gives , and so on. But it does far more. In the original quotient you can never put , because the result is . In there is no division by left, so the limit is plain to see: . The table only suggests ; the algebra proves it.

First principles in four steps
(1) Find . (2) Expand and collect like terms. (3) Subtract : the terms without cancel, so every remaining term has a factor of ; divide each term by . (4) Let in the simplified expression.
Do not cancel h too early
You can only divide out after you expand and subtract. In , the in the denominator is not a factor of the whole numerator until you expand and subtract, so cancelling it against the inside is wrong. If, after subtracting, some term has no in it, look for an arithmetic error: the constant terms must cancel.
VideoMario uses the limit of the difference quotient to find the slope of the tangent at one point, simplifying algebraically before letting h go to 0. His example is a square root function, so the simplifying step is rationalizing the numerator.Watch on YouTube

Worked examples

Reveal one step at a time and try to beat it to the next line.

Example 1
For at , compute the difference quotient for , then simplify it and find .
Example 2
Use first principles to find the slope of the tangent to at .
Example 3
Use first principles to find for .
Example 4
Use first principles to find for .

Where marks get lost

  • Writing as . For , , not .
  • Expanding as . The middle term is the one that survives the limit, so dropping it loses the answer.
  • Substituting before simplifying, getting , and concluding the derivative is or undefined.
  • Forgetting to distribute a negative or a coefficient: , not or .
  • Stopping at the simplified quotient and giving as the answer. The derivative at is a number: the final step must actually let .

Flashcards 7

Difference quotient
Definition of
What means on the graph
What means as a rate
+ 3 more

Practice

1
Use first principles to find the slope of the tangent to at .
2
For a function , . What does this tell you?
3
For at , the difference quotient simplifies to . What is the slope of the secant from to ?
4
Why can you not find by substituting right away?
5
Put the steps for finding from first principles in order.
  1. 1Subtract , so the terms without cancel
  2. 2Let in the simplified expression
  3. 3Divide each remaining term by
  4. 4Expand and collect like terms
6
Use first principles to find for .
7
Match each expression to what it represents for the graph of .
8
What is the name for , written ?
9
A ball's height is metres after seconds. Use first principles to find its velocity at , in m/s.
m/s

Spot a mistake on this page? Let us know