Applications of Differentiation · Linearisation

Linearisation and Differentials — The Tangent Line as a Calculator

A differentiable function looks like a straight line when you zoom in close enough. Linearisation makes that precise: replace the curve with its tangent line near a known point and evaluate the line instead. Fast, elegant, and surprisingly accurate.

Share this page

§ 01The Core Idea

The derivative tells us the slope of a function at a single point. If we use that slope to draw a tangent line, that line stays close to the curve for small distances, close enough to use as an approximation.

This comes directly from the definition of the derivative. Writing f′(a) = limx→a [f(x)−f(a)]/(x−a) and rearranging for x near a gives f(x) ≈ f(a) + f′(a)(x−a). That is the entire idea, the rest is application and precision.

In practice this matters because many functions (square roots, cube roots, trigonometric expressions, logarithms) are hard to evaluate by hand for arbitrary inputs. A nearby point where the value is easy to compute (like a = 4 for √x, since √4 = 2) lets us slide along the tangent line to reach the target with almost no work.

Prerequisites You need fluent differentiation using the chain rule and standard functions: xⁿ, √x, eˣ, ln x, sin x, cos x. A geometric feel for what a tangent line is will help considerably.

§ 02The Linearisation Formula

The tangent line to f at x = a is called the linearisation of f at a, written L(x). It is defined by:

Linearisation of f at x = a
L(x) = f(a) + f′(a)(x − a)
The approximation f(x) ≈ L(x) is accurate when x is close to a and f is differentiable at a.

Each piece has a clear job. f(a) is the starting height, the exact value of the function at the base point. f′(a) is the slope of the tangent line: how steeply the function is rising or falling right there. (x − a) is how far we travel horizontally. Multiplying slope by horizontal distance gives the vertical correction on top of f(a).

x y a (a, f(a)) x error x − a f(x) L(x) f(x) exact L(x) approx slope = f′(a)
The tangent line L(x) matches f exactly at x = a and closely tracks the curve for x near a. The red gap is the approximation error — it grows as x moves further from a.

Small-x Approximations (a = 0)

When a = 0 the formula collapses to L(x) = f(0) + f′(0)·x. Applied to standard functions this yields a short table worth memorising for |x| small:

Standard Approximations Near x = 0
(1+x)ⁿ ≈ 1 + nx sin x ≈ x    cos x ≈ 1    tan x ≈ x eˣ ≈ 1 + x    ln(1+x) ≈ x

Valid when |x| ≪ 1. The small-angle approximation sin θ ≈ θ (the foundation of the simple pendulum formula in physics) is just the case n = 1 applied to sin.

§ 03Worked Examples — Building Linearisations

Example 1Linearise √x at a = 4, approximate √4.1
  • Evaluate at the base point.

    f(4) = 2,   f′(x) = 1/(2√x) → f′(4) = 1/4
  • Write the linearisation.

    L(x) = 2 + (1/4)(x − 4)
  • Substitute x = 4.1 (so x − 4 = 0.1).

    L(4.1) = 2 + (1/4)(0.1) = 2.025
√4.1 ≈ 2.025  (True: 2.02485… — error 0.007%)
Example 2Linearise ∛x at a = 8, approximate ∛8.06
  • f(8) = 2,   f′(x) = (1/3)x^(−2/3) → f′(8) = 1/12
  • L(x) = 2 + (1/12)(x − 8)
  • L(8.06) = 2 + 0.06/12 = 2 + 0.005 = 2.005
∛8.06 ≈ 2.005  (True: 2.004997… — nearly exact)
Example 3Linearise eˣ at a = 0, approximate e^0.1
  • f(0) = 1,   f′(0) = 1 → L(x) = 1 + x
  • L(0.1) = 1.1
e^0.1 ≈ 1.1  (True: 1.10517… — error 0.47%)
Example 4Linearise ln x at a = 1, approximate ln(1.08)
  • f(1) = 0,   f′(x) = 1/x → f′(1) = 1
  • L(x) = 0 + 1·(x−1) = x − 1
  • L(1.08) = 0.08
ln(1.08) ≈ 0.08  (True: 0.07696… — error 0.40%)
Example 5Approximate √63 — choosing the base point

Closest perfect square: 64. Use a = 64.

  • f(64) = 8,   f′(64) = 1/16
  • L(63) = 8 + (1/16)(63 − 64) = 8 − 1/16 = 7.9375
√63 ≈ 7.9375  (True: 7.93725… — error 0.003%)

How Accuracy Falls with Distance from a

The table below shows L(x) = 2 + (x−4)/4 against true √x values as x moves away from a = 4:

xTrue √xL(x)Abs. ErrorAccuracy
4.12.024852.0250.0001599.99%
4.52.121322.1250.0036899.8%
5.02.236072.2500.0139399.4%
6.02.449492.5000.0505197.9%
9.03.000003.2500.2500091.7%

The lesson: linearisation is excellent for small steps and degrades for large ones. Always choose the base point as close as possible to your target.

§ 04Differentials — dy and dx

Differentials reframe linearisation as a language about change rather than value. Instead of asking "what is f(x)?", we ask "if x changes by a small amount, how much does y change?"

For y = f(x) differentiable, define dx as any real number (think of it as a small change in x). Then the differential of y is:

Definition of the Differential
dy = f′(x) · dx
dy is the rise along the tangent line for a horizontal run of dx — the linear approximation of the actual change Δy in f.
x y a x dx dy Δy f(x) L(x)
dx is the chosen horizontal step. dy = f′(a)·dx is the rise along the tangent — the differential approximation. Δy is the true rise along the curve. For small dx, dy ≈ Δy.
Δy vs dy — the key distinction
Δy = f(x) − f(a)   (exact change along curve) dy = f′(a) · dx    (approx. change along tangent)

They are equal only when f is linear. For all other functions, Δy − dy is the error, which shrinks faster than dx as dx → 0.

Differential Rules

Every derivative rule has a matching differential rule. Since dy = f′(x) dx, just multiply through by dx:

Common Differential Rules
d(xⁿ) = nxⁿ⁻¹ dx    d(eˣ) = eˣ dx    d(ln x) = dx/x d(sin x) = cos x · dx    d(cos x) = −sin x · dx d(uv) = u dv + v du   (product rule in differential form)

§ 05Differentials — Worked Examples

DifferentialsFind dy for y = x³ − 5x
  1. Differentiate: dy/dx = 3x² − 5.
  2. Multiply by dx: dy = (3x² − 5) dx.
dy = (3x² − 5) dx
DifferentialsFind dy for y = sin(x²)
  1. Chain rule: dy/dx = 2x cos(x²).
  2. dy = 2x cos(x²) dx.
dy = 2x cos(x²) dx
DifferentialsApproximate the change in y = x⁴ as x goes from 2 to 2.01
  1. a = 2, dx = 0.01.   dy = 4x³ dx.
  2. At x = 2: dy = 4(8)(0.01) = 0.32.
  3. True change: Δy = (2.01)⁴ − 2⁴ = 16.3224… − 16 = 0.3224.
dy = 0.32 vs Δy = 0.3224 — error of 0.0024 (0.74%)

§ 06Error Estimation and Propagation

In science and engineering, measured quantities always carry uncertainty. If x is measured with error ±Δx, differentials let us estimate the resulting uncertainty in any function y = f(x).

Absolute Error
|Δy| ≈ |dy|
|Δy| ≈ |f′(x)| · |Δx|

The size of the error in y, in the same units as y. Use when you care about the raw deviation.

Relative Error
|Δy/y| ≈ |dy/y|
|Δy/y| ≈ |f′(x)/f(x)| · |Δx|

Dimensionless, the fractional or percentage error. Usually more meaningful than absolute error.

ErrorSphere radius r = 5 cm ± 0.02 cm. Estimate error in volume.
  1. V = (4/3)πr³ → dV = 4πr² dr.
  2. |dV| = 4π(25)(0.02) = 2π ≈ 6.28 cm³.
  3. Relative error: dV/V = 3 dr/r = 3(0.02)/5 = 1.2%.
Volume error ≈ ±6.28 cm³  (±1.2%)
Power Rule for Relative Error If y = xⁿ, the relative error in y is n times the relative error in x: dy/y = n · dx/x. A 1% error in radius causes a 3% error in volume. This is why volume measurements are much harder to make precisely than length measurements.

§ 07Common Mistakes

Mistake 1 — Wrong base point To approximate √63, use a = 64 (nearest perfect square, only 1 away), not a = 0 or a = 49. The closer a is to the target x, the better the approximation.
Mistake 2 — Evaluating f′ at x instead of a The formula is L(x) = f(a) + f′(a)(x − a). The slope uses f′ at the base point, not at the unknown x.
Mistake 3 — Confusing dy with Δy dy = f′(x) dx is the tangent-line rise; Δy = f(x+dx)−f(x) is the exact curve rise. They are approximately equal for small dx but never exactly equal (unless f is linear).
Mistake 4 — Applying linearisation far from a Using L(x) = 2 + (x−4)/4 for x = 16 gives L(16) = 5, not √16 = 4. Linearisation deteriorates rapidly with distance — always check that |x − a| is genuinely small.

§ 08Test Yourself — 10-Question Quiz

Score: 0 / 0
Question 1 of 10

What is the linearisation formula for f at x = a?

L(x) = f(a) + f′(a)(x − a). This is the tangent line equation: value f(a) at the base point, plus slope f′(a) times horizontal distance (x − a).

Question 2 of 10

Using the linearisation of √x at a = 9, approximate √9.06. Enter your answer.

  1. f(9)=3, f′(9)=1/6. L(x)=3+(1/6)(x−9).
  2. L(9.06)=3+(1/6)(0.06)=3+0.01=3.01.
Question 3 of 10

For small x, eˣ ≈ ?

Linearise eˣ at a=0: f(0)=1, f′(0)=1. L(x)=1+x. This is the first-order Taylor approximation. Option (c) is the second-order approximation.

Question 4 of 10

Find dy for y = x³ − 4x at x = 2 with dx = 0.05.

  1. dy=(3x²−4)dx. At x=2: dy=(12−4)(0.05)=8×0.05=0.40.
Question 5 of 10

What is the key difference between Δy and dy?

Δy = f(x+Δx)−f(x) is the exact change along the curve. dy = f′(x) dx is the linear approximation: the change along the tangent line. Equal only when f is itself linear.

Question 6 of 10

A cube has side s = 10 cm ± 0.1 cm. Using differentials, the absolute error in V = s³ is:

  1. dV = 3s² ds = 3(100)(0.1) = 30 cm³.
  2. Relative error: 3(0.1)/10 = 3%.
Question 7 of 10

To approximate √63, which base point is best?

a = 64. It gives f(64) = 8 (clean integer) and is only 1 unit from the target. a = 49 is 14 units away, much less accurate.

Question 8 of 10

Approximate ln(0.97) using the linearisation of ln x at a = 1.

  1. L(x) = x − 1 (from Example 4).
  2. L(0.97) = 0.97 − 1 = −0.03.
  3. True: ln(0.97) = −0.03046…: error under 2%.
Question 9 of 10

If y = xⁿ and the relative error in x is 2%, what is the relative error in y?

dy/y = n · dx/x. If dx/x = 2%, then dy/y = 2n%. For a sphere (n=3) a 2% radius error gives 6% volume error.

Question 10 of 10

Linearisation is the first term of which series expansion?

L(x) = f(a) + f′(a)(x−a) is the degree-1 Taylor polynomial. Adding f″(a)(x−a)²/2 gives the degree-2 approximation. The full Taylor series includes all higher-order terms.

Quiz complete!

Cookie Settings