Chapter 20
Medium

Taylor Expansions and Approximation in Applied Contexts

00 · Symbol Glossary

$L(x)$L of x — linearization

The degree-11 Taylor polynomial T1(x)T_1(x) (Chapter 11), renamed L(x)L(x) here to emphasize its role as the best straight-line approximation to ff near a point.

$\Delta x$Delta x — input perturbation

A small change applied to the input of a function, distinct from dxdx in that it need not be infinitesimally small — used throughout this chapter to represent a realistic-sized error or shift.

$\Delta f \approx f'(a)\,\Delta x$propagated change (linear approximation)

The estimated change in ff's output caused by a small change Δx\Delta x in its input, using only the first-derivative term of the Taylor polynomial (Chapter 11).


01 · Linearization

Chapter 11 built the Taylor polynomial Tn(x)T_n(x) and bounded its error with the Lagrange remainder. The simplest, most-used case in practice is n=1n=1: approximating a function by its tangent line.

Definition — Linearization

The linearization of ff at aa is T1(x)T_1(x) from Chapter 11, given a new name to emphasize its use:

L(x)=f(a)+f(a)(xa)L(x) = f(a) + f'(a)(x-a)

For xx near aa: f(x)L(x)f(x) \approx L(x), with error bounded by Chapter 11's formula (with n=1n=1): R1(x)M2!xa2\lvert R_1(x)\rvert \leq \dfrac{M}{2!}\lvert x-a\rvert^2, where MM bounds f\lvert f''\rvert between aa and xx.

Step-by-step — Linearize $f(x)=\sqrt{x}$ at $a=25$ and estimate $\sqrt{26}$
1
Compute f(a)f(a) and f(a)f'(a): f(25)=25=5f(25)=\sqrt{25}=5. f(x)=12x1/2f'(x)=\dfrac12x^{-1/2} (Chapter 02 power rule), so f(25)=1225=110f'(25) = \dfrac{1}{2\sqrt{25}} = \dfrac{1}{10}.
2
Build the linearization: L(x)=5+110(x25)L(x) = 5+\dfrac{1}{10}(x-25).
3
Substitute x=26x=26: L(26)=5+110(1)=5.1L(26) = 5+\dfrac{1}{10}(1) = 5.1.
4
Bound the error using Chapter 11's remainder formula: f(x)=14x3/2f''(x) = -\dfrac14x^{-3/2}, so f(x)=14x3/2\lvert f''(x)\rvert = \dfrac{1}{4x^{3/2}}, decreasing for larger xx; on [25,26][25,26] its largest value is at x=25x=25: M=14(125)=1500=0.002M=\dfrac{1}{4(125)}=\dfrac{1}{500}=0.002.
5
Apply the bound with n=1n=1, xa=1\lvert x-a\rvert=1: R1(26)0.0022!(1)2=0.001\lvert R_1(26)\rvert \leq \dfrac{0.002}{2!}(1)^2 = 0.001.
6
Check against the true value: 265.0990\sqrt{26}\approx5.0990; the estimate 5.15.1 has actual error 0.0010\approx0.0010, matching the bound from step 5 almost exactly.

02 · Quadratic Approximation

Including one more term from the Taylor polynomial (Chapter 10, Section 03) improves accuracy, at the cost of a slightly more complex formula.

Definition — Quadratic Approximation
Q(x)=f(a)+f(a)(xa)+f(a)2(xa)2Q(x) = f(a) + f'(a)(x-a) + \frac{f''(a)}{2}(x-a)^2

This is T2(x)T_2(x) from Chapter 11, with error bounded by R2(x)M3!xa3\lvert R_2(x)\rvert \leq \dfrac{M}{3!}\lvert x-a\rvert^3 where MM bounds f\lvert f'''\rvert.

Step-by-step — Quadratic approximation of $\sqrt{x}$ at $a=25$, re-estimating $\sqrt{26}$
1
**Reuse f(25)=5f(25)=5, f(25)=0.1f'(25)=0.1 from Section 01.
2
Compute f(25)f''(25): f(x)=14x3/2f''(x)=-\dfrac14x^{-3/2} (Section 01, step 4), so f(25)=14(125)=0.002f''(25) = -\dfrac{1}{4(125)} = -0.002.
3
Build Q(x)Q(x): Q(x)=5+0.1(x25)0.0022(x25)2=5+0.1(x25)0.001(x25)2Q(x) = 5+0.1(x-25) - \dfrac{0.002}{2}(x-25)^2 = 5+0.1(x-25)-0.001(x-25)^2.
4
Substitute x=26x=26: Q(26)=5+0.1(1)0.001(1)2=5+0.10.001=5.099Q(26) = 5+0.1(1)-0.001(1)^2 = 5+0.1-0.001 = 5.099.
5
Compare to the true value 265.09902\sqrt{26}\approx5.09902: the quadratic estimate's error is about 0.000020.00002, roughly 50×50\times smaller than the linear estimate's error from Section 01 — one extra term meaningfully tightens the approximation.

03 · Error Propagation

Linearization has a second, equally important use: estimating how an error or uncertainty in an input propagates into an error in the output of a function applied to it.

Definition — Propagated Error (Linear Approximation)

If xx carries a small error or perturbation Δx\Delta x, the resulting change in f(x)f(x) is approximately

Δff(a)Δx\Delta f \approx f'(a)\,\Delta x

— exactly Section 01's linearization formula, read as "change in output \approx slope ×\times change in input."

Step-by-step — Propagate a pricing input error through $f(x) = x^3$
1
Set up the scenario: a quantity x=10x=10 is measured with a possible error of Δx=0.2\Delta x = 0.2; find the approximate resulting error in f(x)=x3f(x)=x^3.
2
Differentiate: f(x)=3x2f'(x) = 3x^2 (Chapter 02 power rule), so f(10)=300f'(10) = 300.
3
Apply the propagated-error formula: Δff(10)Δx=300(0.2)=60\Delta f \approx f'(10)\cdot\Delta x = 300(0.2) = 60.
4
Check against the exact change: f(10.2)f(10)=10.23103=1061.2081000=61.208f(10.2)-f(10) = 10.2^3-10^3 = 1061.208-1000=61.208. The linear estimate (6060) is close to the exact change (61.20861.208) but not identical — the gap (1.2081.208) is exactly the higher-order remainder terms the linear approximation ignores.
❌ Trusting the linear approximation far from the center point

Applying the same linearization from Section 01 (L(x)=5+0.1(x25)L(x)=5+0.1(x-25) for x\sqrt x) to estimate 100\sqrt{100} instead of 26\sqrt{26}: L(100)=5+0.1(75)=5+7.5=12.5L(100) = 5+0.1(75) = 5+7.5=12.5.

Why it breaks: the true value is 100=10\sqrt{100}=10, so the linear estimate is off by 2.52.5 — far worse than Section 01's error of about 0.0010.001 at x=26x=26. Chapter 11's error bound formula explicitly grows with xan+1\lvert x-a\rvert^{n+1}; here xa=10025=75\lvert x-a\rvert = \lvert100-25\rvert=75, dramatically larger than the xa=1\lvert x-a\rvert=1 used validly in Section 01.

Consequence: a linearization (or any fixed-order Taylor approximation) is only trustworthy for xx close to the center aa — the error bound's dependence on xan+1\lvert x-a\rvert^{n+1} means accuracy degrades rapidly, not gracefully, as xx moves away from aa. Always check that the intended input is close to the center before relying on a linear or quadratic approximation.


04 · Quant Application — Price Sensitivity to a Changing Input

A quantity's sensitivity to a changing driver is a direct linear/quadratic approximation problem, exactly as in Sections 01–02.

Example — Approximating a price change from first and second derivatives

A bond's price as a function of the prevailing yield yy is P(y)P(y), currently at y=0.04y=0.04 (i.e. 4%4\%) with P(0.04)=1000P(0.04)=1000 dollars. Suppose P(0.04)=4200P'(0.04) = -4200 and P(0.04)=38,000P''(0.04)=38{,}000 (values obtained from the pricing model, not derived here). Estimate the price if the yield rises to y=0.045y=0.045 (a Δy=0.005\Delta y=0.005 increase), using the quadratic approximation from Section 02:

ΔPP(0.04)Δy+P(0.04)2(Δy)2\Delta P \approx P'(0.04)\,\Delta y + \frac{P''(0.04)}{2}(\Delta y)^2

ΔP(4200)(0.005)+38,0002(0.005)2=21+19,000(0.000025)=21+0.475=20.525\Delta P \approx (-4200)(0.005) + \dfrac{38{,}000}{2}(0.005)^2 = -21 + 19{,}000(0.000025) = -21+0.475 = -20.525.

The linear term alone (21-21) already captures most of the price move (bond prices fall as yields rise, consistent with P(0.04)<0P'(0.04)<0); the quadratic term (+0.475+0.475) is a smaller correction that slightly offsets the linear estimate — in finance, these two terms are traditionally named duration (the linear, first-derivative sensitivity) and convexity (the quadratic, second-derivative correction), but the underlying mathematics is exactly Section 02's Taylor approximation, nothing more.


05 · Small-Input Approximations

Certain Taylor approximations are common enough, for small enough inputs, to be used as standing rules of thumb.

Definition — Small-Angle Approximations

For xx near 00 (in radians — Chapter 02's trig derivatives were built on limit facts stated in radians, and these approximations inherit that requirement):

sinxxcosx1x22\sin x \approx x \qquad \cos x \approx 1-\frac{x^2}{2}

Both follow directly from truncating the Maclaurin series (Chapter 10, 11) after the first nonzero term.

Step-by-step — Bound the error of sin(x) ≈ x at x = 0.1
1
Identify this as a Taylor approximation with a=0a=0, n=1n=1: sinxx\sin x \approx x is T1(x)T_1(x) for f(x)=sinxf(x)=\sin x (since f(0)=0f(0)=0, f(0)=cos0=1f'(0)=\cos0=1, giving T1(x)=0+1x=xT_1(x)=0+1\cdot x=x, Chapter 02, Section 09).
2
Apply Chapter 11's error bound with MM bounding f=sinx1\lvert f''\rvert=\lvert-\sin x\rvert\leq1 always: R1(0.1)12!(0.1)2=0.012=0.005\lvert R_1(0.1)\rvert \leq \dfrac{1}{2!}(0.1)^2 = \dfrac{0.01}{2}=0.005.
3
Check against the true value: sin(0.1)0.09983\sin(0.1)\approx0.09983; the approximation 0.10.1 has actual error 0.00017\approx0.00017, comfortably inside the bound of 0.0050.005.
❌ Applying the small-angle approximation with degrees instead of radians

Estimating sin(10°)\sin(10°) using sinxx\sin x\approx x by plugging in x=10x=10 directly: sin(10°)?10\sin(10°)\overset{?}{\approx}10.

Why it breaks: Chapter 02, Section 09 built ddx[sinx]=cosx\dfrac{d}{dx}[\sin x]=\cos x using the limit fact limh0sinhh=1\lim_{h\to0}\dfrac{\sin h}{h}=1, which is only true when hh is measured in radians — in degrees, that limit evaluates to a different constant entirely (related to π/180\pi/180), so the entire derivative (and hence the whole Taylor series built from it) assumed radian input from the start.

Consequence: 10°10° in radians is 10×π1800.174510\times\dfrac{\pi}{180}\approx0.1745, and sin(10°)=sin(0.1745 rad)0.1736\sin(10°)=\sin(0.1745\text{ rad})\approx0.1736 — reasonably close to 0.17450.1745 (small-angle approximation applied correctly, in radians). But treating "1010" as if it were already in radians and writing sin(10°)10\sin(10°)\approx10 is wrong by roughly a factor of 5757 — the small-angle approximation is only valid once the angle is converted to radians first.


06 · Exercises

EXERCISE 20.1

Compute f(a)f(a) and f(a)f'(a) at a nearby convenient point, then build and evaluate the linearization.

f(x)=x3f(x)=\sqrt[3]{x} near a=8a=8: f(8)=2f(8)=2, f(x)=13x2/3f'(x)=\frac13x^{-2/3}, f(8)=13(4)1=112f'(8)=\frac13(4)^{-1}=\frac{1}{12}. L(x)=2+112(x8)L(x)=2+\frac{1}{12}(x-8). Estimate 93\sqrt[3]{9}: L(9)=2+112(1)=2+0.0833=2.0833L(9)=2+\frac{1}{12}(1)=2+0.0833=2.0833. (True value 932.0801\sqrt[3]9\approx2.0801.)

Use linearization to estimate 93\sqrt[3]{9}, centering at a=8a=8.

EXERCISE 20.2

Add the quadratic term to Exercise 20.1's linearization, using the second derivative evaluated at the same center point.

f(x)=29x5/3f''(x) = -\frac29x^{-5/3}, f(8)=29(32)1=2288=1144f''(8) = -\frac29(32)^{-1} = -\frac{2}{288}=-\frac{1}{144}. Q(x)=2+112(x8)1288(x8)2Q(x) = 2+\frac{1}{12}(x-8) - \frac{1}{288}(x-8)^2. At x=9x=9: Q(9)=2+0.08331288(1)=2.08330.003472.0799Q(9) = 2+0.0833-\frac{1}{288}(1) = 2.0833-0.00347\approx2.0799, closer to the true value 2.08012.0801 than the linear estimate.

Use the quadratic approximation to re-estimate 93\sqrt[3]{9} from Exercise 20.1, and compare accuracy.

EXERCISE 20.3

Differentiate to find the sensitivity (rate of change), then multiply by the given input perturbation.

f(x)=x2f(x) = x^2, x=5x=5, Δx=0.1\Delta x=0.1. f(x)=2xf'(x)=2x, f(5)=10f'(5)=10. Δf10(0.1)=1\Delta f \approx 10(0.1)=1. Exact: f(5.1)f(5)=26.0125=1.01f(5.1)-f(5)=26.01-25=1.01 — the linear estimate is close, off by 0.010.01.

Estimate the propagated change in f(x)=x2f(x)=x^2 at x=5x=5 when Δx=0.1\Delta x=0.1, and compare to the exact change.

EXERCISE 20.4

Recall which factor in the Taylor error bound formula grows as the input moves away from the center, and by how much.

The error bound Rn(x)M(n+1)!xan+1\lvert R_n(x)\rvert\leq\frac{M}{(n+1)!}\lvert x-a\rvert^{n+1} (Chapter 11) grows with the (n+1)(n+1)-th power of the distance from the center aa. So doubling the distance xa\lvert x-a\rvert increases the worst-case error bound by a factor of 2n+12^{n+1} — for a linearization (n=1n=1), that's a factor of 44; moving far from the center degrades accuracy rapidly, not proportionally.

Explain, using Chapter 11's error bound formula, why a linear approximation becomes unreliable "rapidly" (not just gradually) as the input moves away from the center point.

EXERCISE 20.5

This is the small-angle cosine approximation from Section 05 — apply it directly, making sure the input is in radians.

Estimate cos(0.2)\cos(0.2) (radians) using cosx1x22\cos x\approx1-\frac{x^2}{2}: 1(0.2)22=10.042=10.02=0.981-\frac{(0.2)^2}{2} = 1-\frac{0.04}{2}=1-0.02=0.98. True value cos(0.2)0.98007\cos(0.2)\approx0.98007 — accurate to about 0.000070.00007.

Use the small-angle approximation to estimate cos(0.2)\cos(0.2) (in radians), and compare to the true value cos(0.2)0.98007\cos(0.2)\approx0.98007.

EXERCISE 20.6

Apply the same linear-plus-quadratic sensitivity formula from Section 04, using the given first and second derivative values.

A portfolio's value V(r)V(r) as a function of an interest rate rr has V(0.03)=50,000V(0.03)=50{,}000, V(0.03)=180,000V'(0.03)=-180{,}000, V(0.03)=900,000V''(0.03)=900{,}000. Estimate ΔV\Delta V for Δr=0.002\Delta r=0.002: ΔVV(0.03)Δr+V(0.03)2(Δr)2=(180,000)(0.002)+900,0002(0.002)2=360+450(0.000004)=360+0.0018359.998\Delta V \approx V'(0.03)\Delta r + \frac{V''(0.03)}{2}(\Delta r)^2 = (-180{,}000)(0.002) + \frac{900{,}000}{2}(0.002)^2 = -360+450(0.000004) = -360+0.0018 \approx -359.998. The linear term dominates almost entirely here; the quadratic correction is negligible at this small Δr\Delta r.

A portfolio's value V(r)V(r) has V(0.03)=50,000V(0.03)=50{,}000, V(0.03)=180,000V'(0.03)=-180{,}000, V(0.03)=900,000V''(0.03)=900{,}000. Estimate the change in value ΔV\Delta V if the rate rises by Δr=0.002\Delta r=0.002.


07 · Chapter Summary

ConceptFormula / Rule
LinearizationL(x)=f(a)+f(a)(xa)L(x)=f(a)+f'(a)(x-a); error M2!xa2\leq\frac{M}{2!}\lvert x-a\rvert^2
Quadratic approximationQ(x)=L(x)+f(a)2(xa)2Q(x)=L(x)+\frac{f''(a)}{2}(x-a)^2; error M3!xa3\leq\frac{M}{3!}\lvert x-a\rvert^3
Propagated errorΔff(a)Δx\Delta f \approx f'(a)\Delta x
Accuracy vs. distance from centerError bound grows with xan+1\lvert x-a\rvert^{n+1} — degrades rapidly, not gradually
Price sensitivity (linear + quadratic)ΔPP(y)Δy+P(y)2(Δy)2\Delta P \approx P'(y)\Delta y + \frac{P''(y)}{2}(\Delta y)^2
Small-angle approximationssinxx\sin x\approx x, cosx1x22\cos x\approx1-\frac{x^2}{2} for small xx in radians

This closes the full 20-chapter Calculus sequence: limits and derivatives (01–05), integrals (06–08), series and Taylor approximation (09–12, 20), curves and multivariable calculus (13–17), and differential equations (18–19) — the complete single- and multi-variable toolkit, from first principles through applied approximation.