How Taylor series approximate values, settle indeterminate limits, compute integrals with no elementary antiderivative, estimate their own error and justify the small angle approximations used in physics.
in terms of familiar functions, yet a handful of terms of a series give it to five decimal places. The same series explain why sinθ≈θ is good enough for a swinging pendulum, and they turn many hard limits into one line of algebra. In each case the method replaces a function by a polynomial and keeps track of what was thrown away.
Key terms
Polynomial approximation
Definition If f is of class Cn+1 on an open interval containing a, then near a we approximate f(x)≈Tn(x), the Taylor polynomial of degree n. By Taylor’s theorem there are C>0 and δ>0 with
∣f(x)−Tn(x)∣≤C∣x−a∣n+1for ∣x−a∣<δ.
In plain words Close to the center, a Taylor polynomial is an excellent stand-in for the function, and its error shrinks like a power of the distance.
Example Use cosx≈1−2x2+24x4 at x=0.2. It gives
1−0.02+0.0000667=0.9800667,
while cos0.2=0.9800666….
Scale of neglected terms
Definition Write g(x)=O(h(x)) as x→a if there are constants C>0 and δ>0 with ∣g(x)∣≤C∣h(x)∣ for 0<∣x−a∣<δ. With this notation the polynomial approximation above reads
f(x)=Tn(x)+O((x−a)n+1)as x→a.
For a convergent power series the tail after the term in (x−a)n is O((x−a)n+1) as x→a.
In plain words The part you drop has roughly the size of the first term you dropped. Halving x cuts an O(x3) error by about a factor of 8.
Definition Two standard bounds control the error of a truncated series. If the series is alternating, with terms whose absolute values decrease to 0, the error is at most the absolute value of the first omitted term and has its sign. In general, when f is n+1 times differentiable and ∣f(n+1)∣≤M on the closed interval between a and x, Taylor’s inequality bounds the error of Tn(x) by
∣f(x)−Tn(x)∣≤(n+1)!M∣x−a∣n+1.
In plain words Always pair an approximation with a guaranteed bound on how wrong it can be.
Example The series for the integral of e−t2 from 0 to 0.5 is alternating, with terms that decrease to 0. The first omitted term is
9⋅4!0.59≈9.04×10−6,
so
0.4612723<∫00.5e−t2dt<0.4612723+0.0000091.
The true value is 0.4612810…, an error of 8.7×10−6.
Asymptotic expansions
Definition A sequence of coefficients c0,c1,c2,… gives an asymptotic expansion of f as x→a, written f(x)∼∑ck(x−a)k, if for every N≥0
f(x)−k=0∑Nck(x−a)k=O((x−a)N+1)as x→a.
Expansions as x→∞ are defined in the same way with powers of x1. The series need not converge, and even when it converges it need not equal f. What matters is that each truncation is accurate to the stated order.
In plain words An asymptotic expansion promises that each extra term makes the approximation better as you get close to the limit point, not that the full series adds up to f.
Example For large x>0, writing x2+1=x1+x−2 and expanding gives
x2+1=x+2x1−8x31+O(x51)as x→∞.
At x=10 the two leading correction terms give
201−80001=0.049875,
while 101−10=0.0498756….
Applications to physics
Definition Physical formulas are often replaced by the leading terms of their Taylor series when a variable is small. For an ideal pendulum of length L, with the angle θ in radians and g the acceleration due to gravity, the motion obeys
θ′′=−Lgsinθ.
Using sinθ=θ+O(θ3) gives the small angle model
θ′′=−Lgθ.
For 0<θ≤2π the Lagrange remainder of T2(θ)=θ gives
θ−sinθ=6coszθ3
for some z between 0 and θ, and 0<cosz<1 there, so
0≤θ−sinθ≤6θ3,
and the error of replacing sinθ by θ, as a fraction of θ, is at most 6θ2.
In plain words For small swings the restoring force is almost exactly proportional to the angle, and the series says how small is small enough.
Example At θ=0.2 radians, about 11.5 degrees, sin0.2=0.198669. As a fraction of θ the error is
0.20.2−0.198669≈0.00665,
just within the bound 60.04≈0.00667. That is under one percent, which is why the small angle model works so well for gentle swings.
Check yourself
Use series to find limx→0x2ex−1−x.
Show the answer
The exponential series gives
ex−1−x=2x2+O(x3),
so the quotient is 21+O(x) and the limit is 21.
Estimate ∫01sin(x2)dx with two terms of a series and bound the error.
Show the answer
Substituting x2 into the sine series gives
sin(x2)=x2−6x6+120x10−⋯,
so the integral is
∫01sin(x2)dx=31−421+13201−⋯.
Two terms give 0.309524. The series alternates with decreasing terms, so the error is at most 13201≈0.00076. The true value is 0.310268.
For which x≥0 does sinx≈x have error less than 0.001, according to the alternating series bound?
Show the answer
The error is at most 6x3, and 6x3<0.001 when x3<0.006, that is x<0.1817 approximately.
May we count page visits to understand which courses and learning features are useful? Cloudflare collects visit and performance statistics, without your account details or answers. Your choice does not affect access. Details