Taylor’s Theorem 📘
students, imagine trying to predict the height of a roller coaster a few seconds after it starts moving. You may not know the full motion equation, but if you know the starting position, speed, and how the motion changes, you can build a very accurate local prediction. That is the big idea behind Taylor’s theorem: it lets us approximate a complicated function by a polynomial near a chosen point.
What Taylor’s Theorem Says
Taylor’s theorem explains how a smooth function can be written as a polynomial part plus an error term. If a function $f$ has enough derivatives near a point $a$, then its Taylor polynomial of degree $n$ is built from the function values and derivatives at $a$:
$$
P_n(x)=f(a)+f'(a)(x-a)+$\frac{f''(a)}{2!}$(x-a)^2+$\cdots$+$\frac{f^{(n)}(a)}{n!}$(x-a)^n
$$
This polynomial is designed to match the function as closely as possible near $x=a$. The more derivatives you include, the better the approximation usually becomes around that point. The point $a$ is called the center of the expansion, and the polynomial is called the Taylor polynomial.
Taylor’s theorem also tells us that the difference between the function and the polynomial is the remainder term. One common form of the remainder is
$$
$R_n(x)=\frac{f^{(n+1)}(c)}{(n+1)!}(x-a)^{n+1}$
$$
for some number $c$ between $a$ and $x$. This means the exact error depends on a derivative of order $n+1$ at some intermediate point. The key message is simple: the error gets smaller when $x$ is close to $a$ and when higher derivatives stay controlled.
Why This Matters in Calculus 2
Taylor’s theorem is important because many functions are difficult to compute directly, but polynomials are much easier to work with. A polynomial can be added, multiplied, differentiated, and integrated with ease. That makes Taylor polynomials useful in approximation, estimation, and analysis.
For example, calculator or computer systems often use polynomial approximations internally to estimate values of functions such as $\sin x$, $e^x$, or $\ln(1+x)$. In physics and engineering, local approximations help model motion, growth, and small changes. In economics, a Taylor polynomial can estimate how a cost function changes near a certain production level.
students, this is why Taylor’s theorem is not just a formula to memorize. It is a method for turning hard problems into manageable ones by focusing on local behavior.
Building a Taylor Polynomial Step by Step
To construct a Taylor polynomial, follow a clear pattern:
- Choose a center $a$.
- Compute derivatives of $f$ at $x=a$.
- Substitute those values into the Taylor polynomial formula.
- Use the polynomial to approximate values near $a$.
Let’s look at a simple example with $f(x)=e^x$ centered at $a=0$. The derivatives of $e^x$ are always $e^x$, so at $x=0$ each derivative equals $1$. The Taylor polynomial becomes
$$
$P_n(x)=1+x+\frac{x^2}{2!}+\frac{x^3}{3!}+\cdots+\frac{x^n}{n!}$
$$
This is especially useful because $e^x$ grows quickly, but the polynomial gives a good approximation near $0$. For instance, using the first four terms gives
$$
$e^x\approx 1+x+\frac{x^2}{2}+\frac{x^3}{6}$
$$
for $x$ near $0$.
Now consider $f(x)=\cos x$ centered at $a=0$. The derivatives repeat in a cycle:
$$
$\cos$ x,\ -$\sin$ x,\ -$\cos$ x,\ $\sin$ x,\ $\cos$ x,$\dots$
$$
At $x=0$, the values are $1,0,-1,0,1,\dots$. This gives the Maclaurin polynomial
$$
$\cos x\approx 1-\frac{x^2}{2!}+\frac{x^4}{4!}-\cdots$
$$
The alternating pattern is a strong clue that the approximation is capturing the wave shape of cosine very well near the center.
The Meaning of the Remainder Term
The remainder term is the part of Taylor’s theorem that measures how far the polynomial is from the true function. Without the remainder, the Taylor polynomial is only an approximation. With the remainder, the theorem becomes a precise statement about accuracy.
Suppose we use the degree-$n$ Taylor polynomial $P_n(x)$. Then
$$
$f(x)=P_n(x)+R_n(x)$
$$
where $R_n(x)$ is the error. If you want to know whether the approximation is good enough, you estimate $R_n(x)$.
Here is the practical idea: if the next derivative is bounded, then the error is bounded too. For example, if $|f^{(n+1)}(x)|\le M$ on the interval between $a$ and $x$, then
$$
$|R_n(x)|\le \frac{M}{(n+1)!}|x-a|^{n+1}$
$$
This inequality is extremely useful because it tells us how accurate the polynomial approximation is without needing the exact error.
For instance, if students wants to approximate $e^{0.1}$ using the first few terms of its Maclaurin polynomial, the remainder estimate shows the error will be very small because $|x|=0.1$ is close to $0$ and powers of $0.1$ shrink quickly.
Taylor’s Theorem and Maclaurin Series
Taylor’s theorem is the foundation of Taylor series. A Taylor series is the infinite polynomial-like expansion
$$
$\sum_{n=0}^{\infty}\frac{f^{(n)}(a)}{n!}(x-a)^n$
$$
If the remainder $R_n(x)$ goes to $0$ as $n\to\infty$, then the Taylor series actually represents the function.
When the center is $a=0$, the series is called a Maclaurin series:
$$
$\sum_{n=0}^{\infty}\frac{f^{(n)}(0)}{n!}x^n$
$$
So Taylor’s theorem is the bridge between finite approximations and infinite series. The theorem says what the polynomial part looks like and how to measure the leftover error. The series is what you get when you keep adding more and more terms.
This connection matters because many standard expansions in Calculus 2 come directly from Taylor’s theorem. Examples include
$$
$ e^x=1+x+\frac{x^2}{2!}+\frac{x^3}{3!}+\cdots$
$$
$$
$\sin x=x-\frac{x^3}{3!}+\frac{x^5}{5!}-\cdots$
$$
$$
$\cos x=1-\frac{x^2}{2!}+\frac{x^4}{4!}-\cdots$
$$
$$
$\frac{1}{1-x}$=1+x+x^2+x^3+$\cdots$ \quad \text{for } |x|<1
$$
These expansions are powerful because they make it possible to work with complicated functions using simpler algebraic expressions.
A Real-World Approximation Example
Imagine a smartphone app that tracks small movements using a sensor. The sensor may record a function that is hard to evaluate exactly, but near a certain operating point, a Taylor polynomial can approximate the response.
Suppose we want to approximate $\sqrt{1+x}$ near $x=0$. The first few derivatives produce the Maclaurin expansion
$$
$\sqrt{1+x}=1+\frac{x}{2}-\frac{x^2}{8}+\frac{x^3}{16}-\cdots$
$$
If $x=0.04$, then using just the first two terms gives
$$
$\sqrt{1.04}\approx 1+\frac{0.04}{2}=1.02$
$$
The actual value is close to $1.0198$, so the approximation is quite good. This is exactly the kind of local accuracy Taylor’s theorem promises.
The reason this works is that near $x=0$, the higher powers $x^2$, $x^3$, and so on become very small. That means the omitted terms contribute less and less to the total value.
Important Ideas to Remember
Taylor’s theorem is built on three main ideas:
- A smooth function can be approximated near a point by a polynomial.
- The coefficients come from derivatives at the center point.
- The error can be measured using the remainder term.
students, one helpful way to think about it is this: the function is the full picture, and the Taylor polynomial is a zoomed-in sketch near one point. If you zoom in enough on a smooth curve, it starts to look almost like a polynomial.
Taylor’s theorem also explains why higher derivatives matter. The first derivative gives the slope, the second derivative gives concavity, and higher derivatives capture more subtle changes in shape. Each added term improves the match between the polynomial and the function.
Conclusion
Taylor’s theorem is a central idea in Calculus 2 because it turns complicated functions into polynomial approximations that are easier to understand and use. It gives a formula for building the polynomial, a way to measure error, and a direct link to Taylor and Maclaurin series. Whether you are estimating values, proving convergence, or studying function behavior, Taylor’s theorem provides a reliable local tool. For students, the main takeaway is that Taylor’s theorem connects derivatives, approximation, and infinite series into one powerful framework.
Study Notes
- Taylor’s theorem approximates a function near a point $a$ using a polynomial built from derivatives at $a$.
- The degree-$n$ Taylor polynomial is
$$
$ P_n(x)=\sum_{k=0}^{n}\frac{f^{(k)}(a)}{k!}(x-a)^k$
$$
- The remainder term measures the error between the function and the polynomial.
- A common remainder form is
$$
$ R_n(x)=\frac{f^{(n+1)}(c)}{(n+1)!}(x-a)^{n+1}$
$$
for some $c$ between $a$ and $x$.
- If the remainder gets small as $n$ increases, the Taylor series represents the function.
- When $a=0$, the expansion is called a Maclaurin series.
- Common Maclaurin series include $e^x$, $\sin x$, $\cos x$, and $\frac{1}{1-x}$.
- Taylor polynomials are most accurate near the center point $a$.
- Polynomial approximations are useful in science, engineering, computing, and economics because they are easier to evaluate than many functions.
- Taylor’s theorem is the bridge between derivatives, local approximation, and infinite series.
