Level 0: Foundation
★☆☆☆☆ Introductory⏱ 5 minGeneral audience. No mathematics required.Copying a curve with simple pieces
Zoom in on any smooth curve and it looks like a straight line. Zoom out a little and it bends like a parabola. Using the curve’s value, slope, bend and so on at one point, you can build a polynomial that copies the curve nearby. That’s a Taylor polynomial.
Calculators do this. When you press “sin”, the chip doesn’t look anything up. It adds a few polynomial terms.
A swinging pendulum, a satellite’s attitude and a walking robot’s balance all involve sin θ. For small angles, sin θ ≈ θ, and the hard equations become easy linear ones that engineers can solve and control. That trick is the first term of a Taylor series.
- 1. Very close to 0, sin x is almost the same as…
- 2. e^0.1 is about…
- 3. More polynomial terms usually make the copy…
Level 1: Beginner
★★☆☆☆ Basic⏱ 15 minSecondary-school mathematics: arithmetic and elementary algebra.The Taylor polynomial
About it’s called a Maclaurin polynomial. The makes the -th derivative of match ’s at .
| Function | Maclaurin series |
|---|---|
Example. (degree 2). Degree 13 is accurate to .
- 1. Degree-2 Maclaurin of eˣ at x = 1?
- 2. The coefficient of x³ in sin x?
- 3. cos 0.2 ≈ 1 − x²/2 = ?
Level 2: Intermediate
★★★☆☆ Intermediate⏱ 45 minUndergraduate students and practising engineers.More series and their radii of convergence
| Function | Series | Converges for |
|---|---|---|
| , , | as above | all |
A power series converges on an interval of radius (the ratio test, A3.1-9) and diverges outside it.
How good is the approximation? The remainder
This is the Lagrange form, for some between and . A bound gives a guaranteed error. For , , so degree 9 at is within .
- 1. The radius of convergence of Σ xⁿ is…
- 2. ln(1 + x)'s series at x = 1.5…
- 3. √(1 + x) ≈ 1 + x/2 − x²/8 at x = 0.2?
Level 3: Advanced
★★★★☆ Advanced⏱ 45 minGraduate level, with full derivations and proofs.Taylor’s theorem with the integral remainder
Starting from (the FTC) and integrating by parts repeatedly (A3.1-7):
The mean value theorem for integrals turns this remainder into the Lagrange form. ∎
Smooth is not analytic
(with ) has every derivative equal to 0 at 0. Its Taylor series is identically 0, but for . A function whose Taylor series converges to it near each point is analytic. , and polynomials are analytic. This flat function is not, and that makes it useful for smooth “bump functions” in analysis and in smooth motion blending.
Why 1/(1 + x²) has radius 1
is perfectly smooth on the real line, yet its series about 0 stops converging at . The reason lives in the complex plane. It blows up at , which is distance 1 from 0. In general, the radius is the distance to the nearest complex singularity. About , it’s . The demo shows this.
Exercise 3.1: Why does the Taylor coefficient have a k! ?
Differentiate times and set . Only the term survives, as . Matching gives .
- 1. The radius of the series of 1/(1 + x²) about 0?
- 2. e^(−1/x²) at 0 is…
- 3. The coefficient c₄ of e^(2x)?
Level 4: Expert
★★★★★ Expert⏱ 40 minResearchers: original papers and open problems.Linearization: Taylor at the heart of estimation and control
The extended Kalman filter (EKF) propagates uncertainty through nonlinear dynamics using a first-order Taylor expansion (the Jacobian). It is used in spacecraft navigation from Apollo onward (Smith, Schmidt and McGee, 1962) and in countless robots. It works when the uncertainty is small compared with the curvature. When it isn’t, the linearization is biased. The unscented Kalman filter (Julier and Uhlmann, 1997) and particle filters fix this.
Taylor expansions everywhere
- Optimization. Gradient descent minimizes the first-order model plus a step penalty. Newton’s method minimizes the second-order model . Trust-region methods ask where that model can be trusted (A6).
- Numerical analysis. Every error formula, for finite differences (A3.1-2), quadrature (A3.1-6) and Runge–Kutta ODE solvers, comes from matching Taylor terms.
- Evaluating functions. Math libraries reduce the argument into a small range, then use a short polynomial, Taylor or minimax (Muller, 2016). Evaluating the raw series at large fails badly from cancellation (Practice Code 5).
- Deep learning. The GELU tanh approximation, second-order loss analyses (sharpness, A2.4-2), Taylor-mode autodiff for higher derivatives (Bettencourt, Johnson and Duvenaud, 2019), and the “lazy training”/NTK view of wide networks as their own first-order Taylor expansion in the weights (Jacot, Gabriel and Hongler, 2018).
- Robot control. Feedback linearization and LQR design around an operating point start from the Jacobian of the dynamics, which is a multivariable Taylor expansion (A3.2).
References
- B. Taylor (1715). Methodus Incrementorum Directa et Inversa.
- C. Maclaurin (1742). A Treatise of Fluxions.
- J.-L. Lagrange (1797). Théorie des fonctions analytiques. (The remainder.)
- G. Smith, S. Schmidt, L. McGee (1962). “Application of statistical filter theory to the optimal estimation of position and velocity on board a circumlunar vehicle.” NASA TR R-135.
- S. Julier, J. Uhlmann (1997). “A new extension of the Kalman filter to nonlinear systems.” Proc. SPIE, 3068.
- A. Jacot, F. Gabriel, C. Hongler (2018). “Neural tangent kernel: convergence and generalization in neural networks.” NeurIPS.
- J. Bettencourt, M. Johnson, D. Duvenaud (2019). “Taylor-mode automatic differentiation for higher-order derivatives in JAX.” NeurIPS Program Transformations Workshop.
- J.-M. Muller (2016). Elementary Functions: Algorithms and Implementation, 3rd ed. Birkhäuser.