• Foundation
  • About 18 min
  • 5 practice questions

The derivative: definition, meaning and first principles

Define the derivative of f at a point and as a function, interpret it as the slope of the tangent and as a rate of change, and find derivatives of xⁿ-type, 1/x, √x and sin x from first principles.

If something looks wrong, please tell us.

Lesson 1 found the speed of a falling stone as a limit of average speeds. That process, applied to any function, gives the derivative. Engineers use it to find how fast water rises in a tank, economists how fast cost grows with output, and physicists how fast position changes with time.

Derivative at a point

The derivative of f at a is f′(a) = lim h→0 [f(a + h) − f(a)]/h, provided this limit exists.

The fraction [f(a + h) − f(a)]/h is the average rate of change of f over [a, a + h]; the derivative is its limit, the instantaneous rate of change of f at a.

Worked example 1

Find the derivative of f(x) = 5x at x = 3. f′(3) = lim [5(3 + h) − 15]/h = lim 5h/h = 5. A straight line changes at the same rate everywhere.

Worked example 2

Find f′(1) for f(x) = x² − 4x. f(1 + h) = 1 + 2h + h² − 4 − 4h = −3 − 2h + h², and f(1) = −3. So [f(1 + h) − f(1)]/h = (−2h + h²)/h = −2 + h, which → −2.

Geometric meaning

Let P(a, f(a)) and Q(a + h, f(a + h)) be points on the graph of y = f(x). The ratio [f(a + h) − f(a)]/h is the slope of the chord PQ. As h → 0, Q slides along the curve towards P and the chord turns into the tangent at P. So f′(a) is the slope of the tangent to y = f(x) at the point (a, f(a)).

From chord to tangent

  1. Chord PQ Slope [f(a + h) − f(a)]/h
  2. Move Q towards P h → 0
  3. Tangent at P Slope f′(a)

The derivative as a function

First principle: f′(x) = lim h→0 [f(x + h) − f(x)]/h, wherever the limit exists.

Other notations: d/dx [f(x)], dy/dx when y = f(x), and D(f(x)). The value at a point is written f′(a) or (dy/dx) at x = a.

Worked example 3: f(x) = x²

[(x + h)² − x²]/h = (2xh + h²)/h = 2x + h → 2x. So the tangent to y = x² at (3, 9) has slope 6, and at (−1, 1) slope −2.

Worked example 4: f(x) = x³

(x + h)³ − x³ = 3x²h + 3xh² + h³. Divide by h: 3x² + 3xh + h² → 3x².

Worked example 5: f(x) = 1/x (x ≠ 0)

[1/(x + h) − 1/x]/h = [x − (x + h)]/[hx(x + h)] = −h/[hx(x + h)] = −1/[x(x + h)] → −1/x².

Worked example 6: f(x) = √x (x > 0)

[√(x + h) − √x]/h. Multiply top and bottom by √(x + h) + √x: the top becomes (x + h) − x = h, so the fraction is 1/[√(x + h) + √x] → 1/(2√x).

Worked example 7: f(x) = sin x

Use sin A − sin B = 2 cos((A + B)/2) sin((A − B)/2): [sin(x + h) − sin x]/h = 2 cos(x + h/2) sin(h/2)/h = cos(x + h/2) × [sin(h/2)/(h/2)]. As h → 0 this tends to cos x × 1 = cos x. In the same way (using cos A − cos B = −2 sin((A + B)/2) sin((A − B)/2)) the derivative of cos x is −sin x.

Worked example 8: a constant

For f(x) = c, [c − c]/h = 0 for every h, so f′(x) = 0: a constant does not change.

Results from this lesson
f(x)f′(x) from first principles
c (constant)0
x1
x²2x
x³3x²
1/x−1/x²
√x1/(2√x)
sin xcos x
cos x−sin x

Key takeaways

  • f′(a) = lim h→0 [f(a + h) − f(a)]/h: the instantaneous rate of change.
  • f′(a) is the slope of the tangent to y = f(x) at (a, f(a)).
  • First principles: form [f(x + h) − f(x)]/h, simplify to cancel h, then let h → 0.

Check your understanding

  1. 1. Using the definition, the derivative of f(x) = x² − 2 at x = 10 is:

    1. 98
    2. 20
    3. 10
    4. 100
    Show answer

    Answer: B. [(10 + h)² − 2 − 98]/h = (20h + h²)/h = 20 + h → 20. (Generally f′(x) = 2x.)

  2. 2. From first principles, the derivative of f(x) = 3x² + 1 is:

    1. 6x
    2. 3x
    3. 6x + 1
    4. 6x²
    Show answer

    Answer: A. [3(x + h)² + 1 − 3x² − 1]/h = (6xh + 3h²)/h = 6x + 3h → 6x. The constant 1 cancels.

  3. 3. What is the slope of the tangent to y = 1/x at the point (2, 1/2)?

    1. 1/4
    2. −1/2
    3. 4
    4. −1/4
    Show answer

    Answer: D. dy/dx = −1/x². At x = 2 the slope is −1/4.

  4. 4. The derivative of f(x) = √x at x = 9 is:

    1. 1/3
    2. 1/6
    3. 3
    4. 1/18
    Show answer

    Answer: B. f′(x) = 1/(2√x), so f′(9) = 1/(2 × 3) = 1/6.

  5. 5. Assertion (A): The derivative of a constant function is zero at every point. Reason (R): For f(x) = c, the difference quotient [f(x + h) − f(x)]/h is 0 for every h ≠ 0.

    1. Both A and R are true, and R is the correct explanation of A
    2. Both A and R are true, but R is not the correct explanation of A
    3. A is true, but R is false
    4. A is false, but R is true
    Show answer

    Answer: A. Both are true. Since f(x + h) = f(x) = c, every difference quotient is 0, so its limit is 0. R explains A.

Privacy · Terms · Refunds · Delivery