Study Guide

Definition of the derivative

IB Mathematics: Analysis and Approaches HLΒ· Topic 5: Calculus, Subtopic 5.3Β· 15 min read

1. Formal Limit Definition from First Principlesβ˜…β˜…β˜†β˜†β˜†HL only⏱ 5 min

🚫 No Calculator

πŸ“˜ Definition

Derivative from First Principles

Two equivalent forms:

The derivative of a function at a point is the limit of the average rate of change over an interval, as the length of the interval approaches zero. The derivative exists only if this limit is finite.

Example:

For , the derivative at is

πŸ“ Worked Example

Find for using first principles.

  1. 1

    Start with the formal limit definition:

  2. 2
    fβ€²(x)=lim⁑hβ†’0f(x+h)βˆ’f(x)hf'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}
  3. 3

    Expand and simplify :

  4. 4
    f(x+h)=2(x+h)2+3(x+h)βˆ’1=2x2+4xh+2h2+3x+3hβˆ’1f(x+h) = 2(x+h)^2 + 3(x+h) - 1 = 2x^2 + 4xh + 2h^2 + 3x + 3h - 1
  5. 5

    Subtract and factor the numerator:

  6. 6
    f(x+h)βˆ’f(x)=(2x2+4xh+2h2+3x+3hβˆ’1)βˆ’(2x2+3xβˆ’1)=h(4x+2h+3)f(x+h) - f(x) = (2x^2 + 4xh + 2h^2 + 3x + 3h - 1) - (2x^2 + 3x - 1) = h(4x + 2h + 3)
  7. 7

    Cancel (valid since when taking the limit) then evaluate the limit:

  8. 8
    fβ€²(x)=lim⁑hβ†’0(4x+2h+3)=4x+3f'(x) = \lim_{h \to 0} (4x + 2h + 3) = 4x + 3

Exam tip:

If an exam question explicitly says 'differentiate from first principles', you must use the limit definition. Using standard differentiation rules will earn you zero marks.

2. Geometric Interpretation of the Derivativeβ˜…β˜…β˜†β˜†β˜†HL only⏱ 6 min

🚫 No Calculator

The derivative is exactly equal to the gradient of the tangent line to the curve at the point . The expression gives the gradient of the secant line connecting and . As , the secant line approaches the tangent line, so its gradient approaches the derivative.

πŸ“ Worked Example

Find the equation of the tangent line to at using the definition of the derivative.

  1. 1

    Calculate the derivative (gradient) at :

  2. 2
    fβ€²(2)=lim⁑hβ†’0f(2+h)βˆ’f(2)hf'(2) = \lim_{h \to 0} \frac{f(2+h) - f(2)}{h}
  3. 3

    Expand and simplify the expression:

  4. 4
    (2+h)3βˆ’8h=8+12h+6h2+h3βˆ’8h=12+6h+h2\frac{(2+h)^3 - 8}{h} = \frac{8 + 12h + 6h^2 + h^3 - 8}{h} = 12 + 6h + h^2
  5. 5

    Evaluate the limit to get the gradient:

  6. 6
    fβ€²(2)=lim⁑hβ†’0(12+6h+h2)=12f'(2) = \lim_{h \to 0} (12 + 6h + h^2) = 12
  7. 7

    Use point-gradient form for the tangent line (passes through ):

  8. 8
    yβˆ’8=12(xβˆ’2)β€…β€ŠβŸΉβ€…β€Šy=12xβˆ’16y - 8 = 12(x - 2) \implies y = 12x - 16

3. Differentiability and Continuityβ˜…β˜…β˜…β˜†β˜†HL only⏱ 7 min

🚫 No Calculator

πŸ“˜ Definition

Differentiability at a point

Left-hand derivative:
Right-hand derivative:

A function is differentiable at if and only if and both are finite.

A key theorem: If a function is differentiable at a point, it must be continuous at that point. The converse is not true: a function can be continuous but not differentiable. The classic example is at , which is continuous but the left and right derivatives do not match.

πŸ“ Worked Example

Prove that the piecewise function is differentiable at .

  1. 1

    First confirm continuity at (required for differentiability):

  2. 2

    Left limit: , Right limit: , , so continuous.

  3. 3

    Calculate the left-hand derivative:

  4. 4
    fβˆ’β€²(1)=lim⁑hβ†’0βˆ’(1+h)2βˆ’1h=lim⁑hβ†’0βˆ’2h+h2h=2f'_-(1) = \lim_{h \to 0^-} \frac{(1+h)^2 - 1}{h} = \lim_{h \to 0^-} \frac{2h + h^2}{h} = 2
  5. 5

    Calculate the right-hand derivative:

  6. 6
    f+β€²(1)=lim⁑hβ†’0+(2(1+h)βˆ’1)βˆ’1h=lim⁑hβ†’0+2hh=2f'_+(1) = \lim_{h \to 0^+} \frac{(2(1+h) - 1) - 1}{h} = \lim_{h \to 0^+} \frac{2h}{h} = 2
  7. 7

    Since , the limit exists, so is differentiable at .

βœ“ Quick check

Test your understanding:

  1. If a function is continuous at , it must be differentiable at . True or false?

    • True

    • False

    Reveal answer
    1 β€”

    Continuous functions can have corners, cusps, or vertical tangents where the derivative does not exist. The classic example is at .

4. Common Pitfalls

Wrong move:

Evaluating the limit at before canceling , leading to division by zero.

Why:

When taking the limit as , approaches 0 but is never equal to 0, so cancellation is allowed before substitution.

Correct move:

Simplify the expression fully to remove from the denominator before evaluating the limit.

Wrong move:

Claiming a piecewise function is differentiable just because it is continuous at the junction point.

Why:

Continuity is a necessary condition for differentiability, not a sufficient one. Left and right derivatives must also match.

Correct move:

Always calculate both left-hand and right-hand derivatives at junction points to confirm they are equal.

Wrong move:

Not expanding fully before canceling , leading to an incorrect limit.

Why:

Canceling incorrectly before factoring leaves an erroneous expression for the limit.

Correct move:

Expand fully, subtract , combine like terms, then factor out before canceling.

Wrong move:

Using standard differentiation rules when asked to differentiate from first principles.

Why:

Exam questions explicitly test your understanding of the limit definition, so alternative methods earn no marks.

Correct move:

Always start from the limit definition and show all steps when asked for first principles.

5. Quick Reference Cheatsheet

Concept

Formula

Derivative at

f'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}

Derivative at (alternative)

f'(a) = \lim_{x \to a} \frac{f(x) - f(a)}{x - a}

Left-hand derivative

f'-(a) = \lim{h \to 0^-} \frac{f(a+h) - f(a)}{h}

Right-hand derivative

f'+(a) = \lim{h \to 0^+} \frac{f(a+h) - f(a)}{h}

Tangent line at

y - f(a) = f'(a)(x - a)

Key relationship

Differentiable Continuous, not vice versa

When this came up on past exams

AI-estimated based on syllabus patterns β€” cross-check with official past papers for accuracy. Use only as revision-focus signals.

  • 2021 Β· Paper 1

    Differentiate quadratic from first principles

  • 2023 Β· Paper 1

    Check differentiability of piecewise function

What's Next

Now that you understand the definition of the derivative from first principles, you can move on to standard differentiation rules for polynomials, trigonometric, exponential, and logarithmic functions. These rules let you compute derivatives far faster than first principles, and are used in almost all subsequent calculus topics. This foundational definition is the basis for implicit differentiation, related rates, integration, and all applications of calculus to optimization, kinematics, and differential equations.