A tangent line approximates a curve near a point by matching its value and its slope, and there is no reason to stop at the slope.
Matching the second derivative as well gives a parabola that also bends the right way; matching the third gives a cubic; and the sequence of approximations improves in a way that can be made precise, bounded, and used. This last lesson builds those polynomials, states how wrong they are, and applies them to the approximations that appear on nearly every page of a physics text. It needs the derivative rules, the Mean Value Theorem, and the geometric series from the previous course.
Matching more than the slope
The linearisation at was , chosen so that and . Ask for a quadratic that also has , and the coefficients are forced.
Write the polynomial in powers of , which is the form that makes the algebra trivial:
Setting kills every term but the first, so . Differentiating once and setting kills everything but the second, giving . Differentiating twice brings a factor of down from the square, so . In general the -th derivative of is , so
and the resulting is the Taylor polynomial of degree at , named for Brook Taylor, who published the construction in 1715. When it is often called a Maclaurin polynomial, after Colin Maclaurin, who popularised that case.
The three most useful ones come from functions whose derivatives repeat. For every derivative is , worth at the origin, so
For the derivatives cycle through , which at zero are , leaving only the odd powers with alternating signs:
and the same argument for the cosine leaves the even powers,
Example. Estimate with the first four terms, and compare.
The terms are . The true value is , so the estimate is low by , an error of per cent. Adding the next term, , gives , low now by only : one more term cut the error by a factor of ten.
Now you. Estimate with the first three non-zero terms.
Answer
The terms are . The true value is , so the error is about .
How wrong the polynomial is
An approximation with no error bound is a guess, and Taylor's theorem supplies the bound. If has derivatives on an interval containing and , then
for some between and . The last term is the remainder in Lagrange's form, and it is exactly one more term of the same pattern, with the derivative evaluated at an unknown interior point rather than at .
The case is worth reading twice: it says , which is the Mean Value Theorem. So Taylor's theorem is that theorem generalised to higher derivatives, and the proof is the same argument applied to a cleverer auxiliary function.
In practice is unknown, so the remainder is bounded rather than computed: replace by the largest value the derivative can take on the interval, and the result is a guaranteed limit on the error.
Example. Estimate with two terms and bound the error.
Two non-zero terms give . The next derivative in the pattern is a sine or a cosine, so whatever is, and the remainder is at most . The true value is , so the actual error is , just inside the bound and very close to it. That closeness is typical of alternating series, where the first omitted term is nearly the whole error.
Now you. Bound the error in the four-term estimate of above, and compare it with the actual error.
Answer
The remainder is with , so and the bound is . The actual error was , comfortably inside it. A bound is meant to be safe rather than sharp.
Small angles, and the pendulum
Almost every formula quoted as an approximation in a physics course is a truncated Taylor series, and the truncation is where its range of validity comes from.
The pendulum is the standard case. The equation of motion for a simple pendulum is , which has no solution in elementary functions. Replacing by its first Taylor term, , turns it into , which is the simple harmonic motion equation met in the transcendental lesson, with solution a sinusoid of period . That period, famously independent of amplitude, is a property of the approximation and not of the pendulum.
The error is quantifiable. At degrees, radians and , a difference of per cent. At degrees the difference is per cent, and the true period exceeds the small-angle formula by about per cent. So the small-angle approximation is not a licence: it is a claim with a size, and knowing the size is what tells you whether a clock built on it will keep time.
The same expansion explains a habit that looks like laziness. Where a potential energy has a minimum, the Taylor expansion about that minimum has no constant term worth keeping and no linear term at all, since the derivative vanishes there, so the leading behaviour is . That is the potential of a spring with stiffness . Every system sufficiently close to a stable equilibrium is therefore a harmonic oscillator, whatever it is made of, which is why the same sinusoid describes a pendulum, a bond between two atoms and a mass on a spring. The universality is a fact about second-order Taylor polynomials rather than about physics.
Expansions in physics
Example. Show that relativistic kinetic energy reduces to at ordinary speeds, and check it at .
The relativistic expression is with . The binomial series gives for small , so with ,
The first term is the Newtonian kinetic energy, which was therefore never a separate law but the leading term of the correct one. At , , so the exact kinetic energy per kilogram is J while gives J, low by per cent. The second term of the series accounts for almost all of that gap.
Now you. A quantity is given by where is small. Give a two-term approximation and test it at .
Answer
The geometric series gives , so the two-term approximation is . The true value is , so the error is , roughly as the next term predicts.
When the series is the function
Letting grow without bound turns the polynomial into an infinite Taylor series. It represents the function at a point exactly when the remainder tends to zero there, which is a condition to be checked rather than assumed.
For , and it holds for every real , because the derivatives are bounded on any interval while in the denominator eventually outgrows any power. The series converge everywhere, and they are how these functions are actually evaluated inside a calculator, after the argument has been reduced to a small range.
Other series converge only on a limited range, and the geometric series is the model: sums to for and diverges outside, exactly as established for geometric series in the previous course. The half-width of the interval on which a power series converges is its radius of convergence.
The example that makes the topic honest is . This function is perfectly smooth on the whole real line, with no singularity anywhere and derivatives of every order. Its Maclaurin series is , obtained by substituting into the geometric series, and it converges only for . At the function is a harmless and its series has terms that grow without bound. Nothing visible on the real line explains the failure. The explanation is that the function has singularities at in the complex plane, at distance from the origin, and a power series cannot converge past the nearest singularity in any direction. Real analysis poses the question and complex analysis answers it, which is one of the better arguments for continuing.
There is a worse case. The function equal to for and to at the origin has derivatives of every order there, and every one of them is zero. Its Maclaurin series is therefore identically zero, converging everywhere and agreeing with the function at exactly one point. A function is not always the sum of its Taylor series, and no amount of smoothness guarantees it.
What the course has bought
The subject began with two problems, the slope of a curve at a point and the area beneath it, and both were beyond algebra because both required a value that a process approaches without reaching.
The limit made that idea precise. The derivative followed as the limit of a difference quotient, then a set of rules that made differentiation mechanical for every function that can be written down, then the theorems that say what a derivative means for the shape of a function and what it fixes about the function itself. The integral was defined independently as a limit of sums, and the Fundamental Theorem identified the two constructions as inverse, which is what makes areas, volumes, work and accumulated change computable. The last two lessons were about the limits of that computation: most integrands have no elementary antiderivative, most functions are handled by approximation, and the approximations carry error bounds that say when they may be trusted.
What that supports is reading. A physics text that writes , integrates a force to get an energy, expands a potential to second order about its minimum, or drops a term in is doing things this course has now derived rather than asserted.
Three directions continue from here. Differential equations take the observation that physical laws relate a quantity to its own derivatives and ask how to solve such relations rather than merely verify them. Multivariable calculus extends every idea here to functions of several variables, where a derivative becomes a set of partial derivatives and an integral runs over a region rather than an interval. And real analysis goes back to the beginning and proves the results this course has quoted, starting from the completeness of the real numbers that the continuity lesson leaned on. Each of them starts where this one stops.