MAT137/Unit 14
Unit 14 · Term 2

Power Series & Taylor Series

The finale: functions written as infinite polynomials. Power series let us represent, differentiate, integrate, and approximate functions — and Taylor's theorem tells us how good the approximation is.

By the end you can
Why it matters & where it comes from
Why it exists

A power series rewrites a complicated function as an infinite polynomial — something you can actually compute, differentiate, integrate, and approximate with a known error.

In the real world

Power-series ideas are one way computers approximate functions; they also explain how physics gets workable approximations (the small-angle $\sin\theta\approx\theta$ that makes pendulums solvable); and how optimization methods like Newton's work. Truncated Taylor series are everywhere in applied math and machine learning.

Story & open questions

Around 1400, Madhava in Kerala, India, discovered the series for sine, cosine, and arctangent — including a formula for $\pi$ — three centuries before Newton and Leibniz. From these same ideas comes Euler's identity $e^{i\pi}+1=0$, routinely voted the most beautiful equation in mathematics.

Power-series workflow

A power series has two separate questions: where does it converge, and what function does it represent there? The radius handles the first question in the interior; endpoint checks and remainders handle the rest.

Interval of convergence routine
Use ratio or root test to find the radius $R$.
Write the open interval $|x-a|<R$.
Test each endpoint separately using ordinary series tests.
Report the final interval with correct brackets.

Building new series from old ones

Do not compute every Taylor series from derivatives. Most MAT137 problems are faster if you start from a known series and transform it carefully.

Power series and radius of convergence

Definition

A power series $\displaystyle\sum_{n=0}^\infty c_n(x-a)^n$ converges absolutely for $|x-a|<R$ and diverges for $|x-a|>R$. When $R$ is finite, the endpoints $|x-a|=R$ must be checked separately. The radius $R$ is often found by the ratio or root test.

Example

$\displaystyle\sum_{n=1}^\infty\dfrac{x^n}{n}$: ratio $\left|\dfrac{x^{n+1}/(n+1)}{x^n/n}\right|\to |x|$, so $R=1$. Endpoints: converges at $x=-1$, diverges at $x=1$; interval $[-1,1)$.

Taylor and Maclaurin series

Definition

The Taylor series of $f$ about $a$ is $\displaystyle\sum_{n=0}^\infty\frac{f^{(n)}(a)}{n!}(x-a)^n.$ About $a=0$ it is the Maclaurin series.

Common Maclaurin series

$e^x=\displaystyle\sum_{n=0}^\infty\frac{x^n}{n!}$ (all $x$),   $\sin x=\displaystyle\sum_{n=0}^\infty\frac{(-1)^n x^{2n+1}}{(2n+1)!}$ (all $x$),   $\dfrac{1}{1-x}=\displaystyle\sum_{n=0}^\infty x^n$ ($|x|<1$),   $\ln(1+x)=\displaystyle\sum_{n=1}^\infty\frac{(-1)^{n+1}x^n}{n}$ ($-1<x\le1$).

Taylor's theorem with remainder

Theorem

If $f$ has $n+1$ continuous derivatives on an interval containing $a$ and $x$, then $f(x)=\displaystyle\sum_{k=0}^{n}\frac{f^{(k)}(a)}{k!}(x-a)^k+R_n(x)$ where the Lagrange remainder is $R_n(x)=\dfrac{f^{(n+1)}(c)}{(n+1)!}(x-a)^{n+1}$ for some $c$ between $a$ and $x$.

Example Error bound

Approximate $\cos(0.1)$ by its degree-3 Taylor polynomial $1-\tfrac{x^2}{2}$ (the cubic coefficient is zero). The Lagrange remainder bounds the error by $\dfrac{(0.1)^4}{4!}\approx4.2\times10^{-6}$.

Term-by-term calculus

Theorem

Inside its radius of convergence a power series may be differentiated and integrated term by term, with the same radius.

Example

Integrating $\dfrac{1}{1+x}=\displaystyle\sum_{n=0}^\infty(-x)^n$ gives $\ln(1+x)=\displaystyle\sum_{n=1}^\infty\dfrac{(-1)^{n+1}x^n}{n}$ for $|x|<1$.

Common pitfalls

• Always check the endpoints separately — the radius doesn't decide them.
• A function can have a Taylor series that doesn't converge back to it; the remainder $R_n\to0$ is what guarantees equality.
• Reuse known series (substitute, differentiate, integrate) instead of computing every derivative.

Practice

Problems adapted from the MAT137 question bank by Alfonso Gracia-Saz, used under CC BY-SA 4.0. Write full solutions before opening the answer.

Practice 1 · Radius

Find the radius of convergence of $\displaystyle\sum\frac{x^n}{n!}$.

Answer
Ratio $\dfrac{n!}{(n+1)!}|x|=\dfrac{|x|}{n+1}\to0<1$ for all $x$, so $R=\infty$.
Practice 2 · Substitution

Use a known series to get the Maclaurin series of $e^{-x^2}$.

Answer
Substitute $-x^2$ into $e^u$: $\displaystyle\sum\frac{(-1)^n x^{2n}}{n!}.$
Practice 3 · Term-by-term

Estimate $\displaystyle\int_0^1 e^{-x^2}\,dx$ using the first three terms.

Hint
Integrate term by term: $1-\tfrac13+\tfrac{1}{10}=\tfrac{23}{30}\approx0.767$. The alternating-series error is at most the next integrated term, $\tfrac1{42}$.
Practice 4 · Interval

Find the interval of convergence of $\displaystyle\sum\frac{(x-2)^n}{n\, 3^n}$.

Answer
$R=3$, centre $2$, so $(-1,5)$; check endpoints: converges at $x=-1$, diverges at $x=5$ — interval $[-1,5)$.
Practice 5 · Maclaurin

Find the Maclaurin series for $\cos x$.

Answer
$\displaystyle\cos x=\sum_{n=0}^\infty\frac{(-1)^n x^{2n}}{(2n)!}$, valid for all $x$.
Practice 6 · Geometric form

Write $\dfrac{1}{2-x}$ as a power series centred at $0$.

Solution
$\dfrac1{2-x} =\dfrac12\cdot\dfrac1{1-x/2}=\displaystyle\sum_{n=0}^\infty\frac{x^n}{2^{n+1}}$, for $|x|<2$.
Practice 7 · Radius zero

Find the interval of convergence of $\displaystyle\sum_{n=1}^\infty\frac{n^n}{42^n}x^n$.

Answer
Root test: $\sqrt[n]{|a_n x^n|}=\dfrac{n}{42}|x|\to\infty$ unless $x=0$. So $R=0$ and it converges only at $x=0$.
Practice 8 · Error bound

Estimate $\sin 1$ with error less than $0.001$.

Solution
$\sin1=1-\tfrac1{3!} +\tfrac1{5!}-\cdots$. Since $\tfrac1{7!}<0.001$, stop after $\tfrac1{5!}$: $\sin1\approx1-\tfrac16+\tfrac1{120}\approx0.842$ (alternating-series error $<\tfrac1{7!}$).

Expanded topic checklist

Course coverage. This unit is part of the complete MAT137 topic map. It should cover the following items before you move on:

Textbook/source alignment

Use the Alfonso Gracia-Saz MAT137 materials as the primary local spine, with the current UofT single-variable calculus topic split as the completeness check. The added items are original study prompts, not copied textbook exercises.

Core theorem map

The spine is: convergence interval first, algebraic manipulation second, Taylor approximation third, and error bound last.

Study routine. For every Taylor approximation, write the center, degree, remainder type, and interval where the error claim is valid.

Deep practice extensions

Use these after the main practice set. They are designed to force definition-level reasoning, theorem selection, and mixed application rather than routine calculation only.

Extension 1 · Radius

Find the radius of convergence of $\sum n x^n$.

Guide
Ratio test gives $|(n+1)x^{n+1}|/|n x^n|\to |x|$, so $R=1$; endpoints need separate checks.
Extension 2 · Endpoint check

Check convergence of $\sum n x^n$ at $x=1$ and $x=-1$.

Guide
At $1$ the terms are $n$; at $-1$ they are $n(-1)^n$. In both cases terms do not tend to $0$, so both diverge.
Extension 3 · Taylor polynomial

Write the degree-3 Taylor polynomial for $e^x$ at $0$.

Guide
$T_3(x)=1+x+x^2/2+x^3/6$.
Extension 4 · Remainder

Give a simple bound for the error in approximating $e^{0.1}$ by $1+0.1+0.1^2/2$.

Guide
Lagrange remainder after degree 2 is $e^c(0.1)^3/6$ for some $c\in(0,0.1)$, so the error is at most $e^{0.1}/6000$.