← back to MATH 102
Week 5Stewart §11.9, 11.10, 11.1168 min full read
6 concepts16 worked examples27 exercises3 exam-level6 figures
What are you here for?

05Power series representations, Taylor and Maclaurin series, and their approximations

Type $e^{0.3}$ into a calculator and twenty digits come back. There is no exponential curve etched into the chip, only a processor that can add, subtract and multiply. So somewhere inside, the machine is turning $e^{0.3}$ into a short sum of fractions it actually can work out. What sum, and how does it know when to stop?

By the end you can write $e^{x}$, $\sin x$ and $\cos x$ as explicit infinite sums, reuse them to expand things like $e^{-x^{2}}$, and decide how many terms pin a value to a set number of decimals.

In 60 seconds

A power series is a function written as an infinite polynomial; this week is about finding that polynomial and controlling the error when you cut it short.

Geometric representation
$$\frac{1}{1-x}=\sum_{n=0}^{\infty}x^{n}$$

the function can be bent into the shape $\tfrac{1}{1-r}$

Taylor / Maclaurin coefficients
$$c_{n}=\frac{f^{(n)}(a)}{n!}$$

no known series fits and you must build one from derivatives

Remainder decides equality
$$f(x)=\sum c_{n}(x-a)^{n}\iff R_{n}(x)\to 0$$

you must justify that a series really equals the function

Taylor's Inequality
$$|R_{n}(x)|\le\frac{M}{(n+1)!}|x-a|^{n+1}$$

you need a numeric error bound or a term count

Three most common mistakes
  1. Reusing the geometric series for $\tfrac{1}{1+x}$ without reading the ratio as $r=-x$, so every sign comes out wrong.

  2. Building the Maclaurin coefficients as $f^{(n)}(0)$ and forgetting to divide by $n!$.

  3. Using $n!$ instead of $(n+1)!$ in Taylor's Inequality, or bounding $f^{(n+1)}$ only at the center instead of across the whole interval.

On this course the graded weight you can see is quizzes 10% and homework 10%; the rest of the scheme is not stated here, so treat every week as quiz-and-homework relevant and do not read exam emphasis into it.

How much time do you have?
10 minutes

You walk in with the four boxed results and the six library series, enough to expand a function and bound one error.

card, c-taylor-machine, c-taylor-inequality, formula card
45 minutes

You can build a representation two ways (geometric bending and derivatives), reuse the library, and finish a full error estimate.

card, c-geometric-engine, c-series-library, c-taylor-machine, c-taylor-inequality, faded_ladder
full read

Every route in, plus why a smooth function can fail to equal its own series, and the term-by-term calculus that links 11.9 to 11.10.

everything in order
By the end of this section
  1. Represent a function as a power series by bending the geometric series through substitution and multiplication, and state the interval.

  2. Differentiate and integrate a power series term by term to build new representations such as those for $\arctan x$ and $\ln(1+x)$.

  3. Compute a Taylor or Maclaurin series directly from a function's derivatives using the coefficient formula $f^{(n)}(a)/n!$.

  4. Reuse the standard Maclaurin library by substitution, multiplication and the binomial series instead of differentiating repeatedly.

  5. Explain, via the Taylor polynomial and remainder, exactly when a function equals its Taylor series on an interval.

  6. Bound the approximation error with Taylor's Inequality and choose the number of terms needed for a target accuracy.

Syllabus coverage
11.9

Representations of functions as power series

Bending the geometric series comes first; the term-by-term differentiation and integration that 11.9 also introduces is the block right after it.

covered
11.10

Taylor and Maclaurin series

The coefficient formula, the standard library and the binomial series span three blocks; the remainder that decides equality opens the bridge to 11.11.

covered
11.11

Applications of Taylor polynomials

Taylor's Inequality, term counts for a target accuracy, and a physics-style approximation live here.

covered
Recall first
Geometric series

For $|r|<1$, $\;\sum_{n=0}^{\infty}ar^{n}=\dfrac{a}{1-r}$. For $|r|\ge 1$ the series diverges.

It is the one series we already trust, and 11.9 builds every other representation by bending it.

A power series $\sum c_{n}(x-a)^{n}$ has a radius $R$ so that it converges for $|x-a|<R$ and diverges for $|x-a|>R$; the two endpoints are decided one at a time.

Every representation this week comes with an interval, and term-by-term calculus is stated in terms of $R$.

Ratio test

If $\lim_{n\to\infty}\left|\dfrac{a_{n+1}}{a_{n}}\right|=L$, then $\sum a_{n}$ converges absolutely when $L<1$ and diverges when $L>1$.

It is how we read the radius $R$ off a series, including the new ones we build.

Derivatives of the standard functions

$\dfrac{d}{dx}e^{x}=e^{x}$, $\;\dfrac{d}{dx}\sin x=\cos x$, $\;\dfrac{d}{dx}\cos x=-\sin x$, and $\dfrac{d}{dx}x^{n}=nx^{n-1}$.

Taylor coefficients are built from repeated derivatives, so fluency with these is the whole engine of 11.10.

Try it yourself first (3 questions)
1§05.0 - geometric warmup●○○○○

Before we bend the geometric series into new shapes, make sure the plain version is automatic.

Given
  • the series $\sum_{n=0}^{\infty}\left(\tfrac{1}{3}\right)^{n}$

Find
  1. (a) Does it converge, and if so to what number?

Hint 1/4

Read off the first term $a$ and the ratio $r$, then check $|r|<1$.

Hint 2/4

A convergent geometric series sums to $\dfrac{a}{1-r}$.

Hint 3/4

Here $a=1$ and $r=\tfrac{1}{3}$, so the sum is $\dfrac{1}{1-\tfrac13}$.

Hint 4/4

The series converges to $\tfrac{3}{2}$.

Show solution
Apply the formula
$$a=1,\ r=\tfrac13,\ |r|<1$$

the ratio is below one, so the closed form applies

$$\sum_{n=0}^{\infty}(1/3)^n=\dfrac{1}{1-1/3}=\dfrac32$$

substitute into a/(1-r)

Answer $$\boxed{3/2}$$
Check

Partial sums 1, 1.33, 1.44, 1.48 climb toward 1.5.

2§05.0 - an endpoint trap●●○○○

A power series can converge at one endpoint and diverge at the other. This one catches almost everyone.

Given
  • the series $\sum_{n=1}^{\infty}\dfrac{x^{n}}{n}$

  • radius $R=1$

Find
  1. (a) True or false: the series converges at $x=1$.

Hint 1/4

At $x=1$ the series becomes a specific number series; write it out.

Hint 2/4

Setting $x=1$ gives $\sum \tfrac{1}{n}$, which is the harmonic series.

Hint 3/4

The harmonic series $\sum \tfrac1n$ is the classic divergent series.

Hint 4/4

So at $x=1$ it diverges; it is $x=-1$ that converges, by alternation.

Show solution
Substitute the endpoint
$$x=1:\ \sum_{n=1}^{\infty}\tfrac{1}{n}$$

the endpoint is not covered by |x|<1; test it directly

$$\sum \tfrac1n\ \text{diverges}$$

this is the harmonic series, a known divergence

Answer $$\boxed{\text{diverges at } x=1}$$
Check

At $x=-1$ the same series is the alternating harmonic series, which converges: the two ends really do differ.

3§05.0 - a third derivative at zero●○○○○

Taylor coefficients are built from repeated derivatives at the center, so warm up the machinery on a function you know.

Given
  • $f(x)=e^{x}$

Find
  1. (a) What is $f'''(0)$?

Hint 1/4

Ask what every derivative of $e^{x}$ equals.

Hint 2/4

Each derivative of $e^{x}$ is again $e^{x}$.

Hint 3/4

So $f'''(x)=e^{x}$, and you evaluate at $x=0$.

Hint 4/4

$f'''(0)=e^{0}=1$.

Show solution
Differentiate three times
$$f'(x)=f''(x)=f'''(x)=e^x$$

the exponential is fixed by differentiation

$$f'''(0)=e^0=1$$

evaluate at the center x=0

Answer $$\boxed{1}$$
Check

Every derivative of $e^x$ at 0 is 1, which is exactly why its coefficients are $1/n!$.

Notation
symbolreads asmeanswatch out
$\sum_{n=0}^{\infty} c_n x^n$

the sum over n from zero to infinity of c-n times x to the n

a power series: an infinite polynomial whose coefficients are the numbers $c_n$

The index usually starts at $0$; after differentiating it starts at $1$ because the constant term is gone.

$f^{(n)}(a)$

the n-th derivative of f evaluated at a

differentiate $f$ a total of $n$ times, then plug in the center $a$

$f^{(0)}$ means $f$ itself; evaluate at $a$, never at a running $x$.

$n!$

n factorial

the product $1\cdot 2\cdot 3\cdots n$, with $0!=1$

Factorials grow faster than any power, which is why Taylor tails collapse.

$T_n(x)$

the n-th Taylor polynomial

the series cut off after the degree-$n$ term

$T_n$ is a finite polynomial, not the whole series; do not call it the series.

$R_n(x)$

the n-th remainder

the leftover $f(x)-T_n(x)$ after chopping at degree $n$

$R_n$ is generally nonzero for every finite $n$; only its limit as $n\to\infty$ may vanish.

$\binom{k}{n}$

k choose n, the

for a real $k$, the product $\dfrac{k(k-1)\cdots(k-n+1)}{n!}$

For non-integer $k$ this never becomes zero, so the binomial series does not terminate.

Conventions used here
Interval versus radius

Radius of convergence names how far from the center the series converges; the interval is that radius together with a separate verdict at each of the two endpoints. Term-by-term calculus preserves the radius but not the endpoint verdicts.

Index of a differentiated series

When we differentiate $\sum_{n=0}^{\infty}c_{n}x^{n}$ the constant term dies, so the result starts at $n=1$: $\sum_{n=1}^{\infty}nc_{n}x^{n-1}$. Keeping the lower limit at $0$ is a silent error because it adds a phantom zero term.

Taylor versus Maclaurin

A Taylor series is centered at a general point $a$; a Maclaurin series is the special case $a=0$. When a problem says nothing about a center, it means $a=0$.

Where M lives in the bound

In Taylor's Inequality $M$ must bound $|f^{(n+1)}|$ over the entire interval from the center $a$ out to $x$, not merely at $a$. Taking $M=|f^{(n+1)}(a)|$ is the most common way the bound goes wrong.

Equality is not a picture

A partial sum lying on top of the curve on a plotted window is evidence, not proof. The function equals its series only where the remainder $R_{n}(x)$ tends to zero, which is an inequality argument, not a graph.

5.1Bending the geometric series into new functions

Turn a function into a power series by reshaping the one series we already trust.

Last week closed with a test that answers a backward question: given a series, does it converge? Now we ask the forward one. Handed a function, where does its series come from? We start with the only series we can already write down.

Solvable with what we have
  • decide whether a given power series converges, using the ratio and root tests

  • sum a geometric series once we can see the first term and the ratio

Not solvable yet
  • produce a power series for a function such as $\dfrac{1}{1+x^{2}}$ that arrives with no series attached

We could try to guess the coefficients $c_0,c_1,c_2,\dots$ one at a time by matching values: force the series to agree with $f$ at $x=0$, then at a second point, then a third.

Why it fails

Matching $k$ points pins down only $k$ coefficients, and a power series has infinitely many. The guessing never closes. We need a rule that delivers every coefficient at once, and the geometric series is the first such rule.

RuleGeometric series representation
Conditions
  • valid exactly when $|x|<1$

$$\boxed{\ \frac{1}{1-x}=\sum_{n=0}^{\infty}x^{n}=1+x+x^{2}+x^{3}+\cdots\ }$$

One over one minus x equals the sum of every whole-number power of x, and the equality holds precisely when x lies strictly between minus one and one.

Looks like this, but is not

It is tempting to reuse the box on $\dfrac{1}{1+x}$ by just flipping the signs to $1-x+x^{2}-\cdots$ and moving on.

That answer is right, but only because you must first read the ratio correctly as $r=-x$: the template is $\dfrac{1}{1-r}$, so $\dfrac{1}{1+x}=\dfrac{1}{1-(-x)}$. Skip that reading and you will get the signs wrong the moment the denominator is $2+x$ or $1+x^{2}$.

A power series for 1 over 1 plus x squared

Represent $f(x)=\dfrac{1}{1+x^{2}}$ as a power series in $x$ and give its interval.

Given
  • $f(x)=\dfrac{1}{1+x^{2}}$

  • the only tool so far is $\dfrac{1}{1-r}=\sum r^{n}$ for $|r|<1$

Find

a power series for $f$ together with the interval on which it holds

Solution
Match the target to the template
$$\frac{1}{1+x^{2}}=\frac{1}{1-(-x^{2})}$$

the template is 1/(1-r); to get a plus sign in the denominator the ratio must be r=-x^2, not +x^2

Substitute the ratio into the series
$$\sum_{n=0}^{\infty}(-x^{2})^{n}=\sum_{n=0}^{\infty}(-1)^{n}x^{2n}$$

replace r by -x^2 in sum of r^n and split the power (-x^2)^n into (-1)^n times x^{2n}

Read off the interval
$$|-x^{2}|<1\iff x^{2}<1\iff |x|<1$$

the geometric series demands |r|<1, so solve |-x^2|<1 for x

Answer $$\frac{1}{1+x^{2}}=\sum_{n=0}^{\infty}(-1)^{n}x^{2n}=1-x^{2}+x^{4}-\cdots,\quad |x|<1$$
Check

At $x=\tfrac12$ the closed form is $\dfrac{1}{1.25}=0.8$, and the partial sums $1,\,0.75,\,0.8125,\,0.7969,\dots$ close in on $0.8$.

The single minus sign lives entirely in reading $r=-x^{2}$. Every alternating power series this week is born from that one choice.

A power series for 1 over 2 minus x

Represent $g(x)=\dfrac{1}{2-x}$ as a power series in $x$.

Given
  • $g(x)=\dfrac{1}{2-x}$

Find

a power series for $g$ and its radius

Solution
Factor the constant out so a 1 leads the denominator
$$\frac{1}{2-x}=\frac{1}{2}\cdot\frac{1}{1-\frac{x}{2}}$$

the template needs 1 minus something; pull 2 out of 2-x so the leading term is 1

Substitute the ratio and absorb the front factor
$$\frac{1}{2}\sum_{n=0}^{\infty}\Big(\frac{x}{2}\Big)^{n}=\sum_{n=0}^{\infty}\frac{x^{n}}{2^{n+1}}$$

apply sum r^n with r=x/2, then merge the 1/2 with 1/2^n to get 1/2^{n+1}

Read off the radius
$$\Big|\frac{x}{2}\Big|<1\iff |x|<2$$

|r|<1 with r=x/2 gives radius 2, wider than the plain series because the ratio is halved

Answer $$\frac{1}{2-x}=\sum_{n=0}^{\infty}\frac{x^{n}}{2^{n+1}},\quad |x|<2$$
Check

At $x=1$ the closed form is $\dfrac{1}{2-1}=1$, and $\tfrac12+\tfrac14+\tfrac18+\cdots=1$.

One factoring step is the whole trick; skip it and the leading coefficient is wrong.

Checkpoint
§05.1 - reading the ratio r●●○○○

Almost every 11.9 problem reduces to naming the ratio $r$ correctly after you factor. Here is that decision in isolation.

Given
  • the function $\dfrac{1}{4+x^{2}}$

  • the template $\dfrac{1}{1-r}=\sum r^{n}$

Find
  1. (a) After factoring out the constant, which ratio $r$ goes into $\sum r^{n}$?

Hint 1/4

First force a 1 to lead the denominator by factoring the 4 out of $4+x^{2}$.

Hint 2/4

The template is $\dfrac{1}{1-r}$, so a plus sign inside means $r$ carries a minus.

Hint 3/4

Factoring gives $\dfrac14\cdot\dfrac{1}{1-(-x^{2}/4)}$, so read $r$ from the bracket.

Hint 4/4

The ratio is $r=-x^{2}/4$; the $\tfrac14$ out front is separate.

Show solution
Factor and read the bracket
$$\frac{1}{4+x^{2}}=\frac14\cdot\frac{1}{1-(-x^{2}/4)}$$

pull 4 out so the denominator starts with 1; the plus sign forces the minus into r

$$r=-x^{2}/4$$

the quantity subtracted from 1 is the ratio

Answer $$\boxed{r=-x^{2}/4}$$
Check

Check $|r|<1$ gives $|x|<2$, the expected radius for a $4$ under the square.

⚠ Reusing the plus-sign series without flipping the ratio

the geometric box has a minus sign, so a plus in the denominator is read past too fast

wrong$$\frac{1}{1+x}=\sum x^{n}$$
right$$\frac{1}{1+x}=\sum(-1)^{n}x^{n}$$
⚠ Forgetting to factor the constant

the eye jumps to the variable and treats the leading constant as decoration

wrong$$\frac{1}{2-x}=\sum x^{n}$$
right$$\frac{1}{2-x}=\sum \frac{x^{n}}{2^{n+1}}$$

5.2Differentiating and integrating a power series term by term

Inside its interval a power series can be differentiated and integrated one term at a time.

The geometric trick only reaches functions you can wrestle into $\dfrac{1}{1-r}$. Differentiating and integrating a series term by term breaks out of that cage and reaches $\arctan x$ and $\ln(1+x)$.

TheoremTerm-by-term differentiation and integration
Conditions
  • $f(x)=\sum_{n=0}^{\infty}c_{n}(x-a)^{n}$ has radius $R>0$

  • the two endpoints must be rechecked separately

$$\boxed{\ f'(x)=\sum_{n=1}^{\infty}nc_{n}(x-a)^{n-1},\quad \int f\,dx=C+\sum_{n=0}^{\infty}\frac{c_{n}(x-a)^{n+1}}{n+1}\ }$$

Inside its interval a power series may be differentiated or integrated one term at a time, and the new series keeps the same radius, though the verdict at each endpoint has to be checked again.

Looks like this, but is not

Term-by-term calculus looks like it should carry the whole interval across, endpoints and all.

It preserves the radius, not the endpoints. The geometric series for $\dfrac{1}{1+x^{2}}$ diverges at $x=1$, yet integrating it gives $\arctan x$, whose series converges at $x=1$ to $\tfrac{\pi}{4}$. Integration added an endpoint the original never had.

Building the arctangent series by integrating

Find a Maclaurin series for $\arctan x$ by integrating the series for $\dfrac{1}{1+x^{2}}$.

Given
  • $\dfrac{1}{1+x^{2}}=\sum_{n=0}^{\infty}(-1)^{n}x^{2n}$ for $|x|<1$

  • $\arctan x=\displaystyle\int_{0}^{x}\dfrac{dt}{1+t^{2}}$

Find

a power series for $\arctan x$ and the value it gives at $x=1$

Solution
Integrate the series from 0 to x
$$\arctan x=\int_{0}^{x}\sum_{n=0}^{\infty}(-1)^{n}t^{2n}\,dt=\sum_{n=0}^{\infty}(-1)^{n}\frac{x^{2n+1}}{2n+1}$$

integrate each term; t^{2n} becomes t^{2n+1}/(2n+1), evaluated from 0 to x

Note why no constant appears
$$\arctan 0=0$$

integrating from 0 fixes the constant, since both sides are 0 at x=0

Evaluate the endpoint x=1
$$\arctan 1=1-\tfrac13+\tfrac15-\tfrac17+\cdots=\tfrac{\pi}{4}$$

the series converges at x=1 by alternation, giving Leibniz's formula

Answer $$\arctan x=\sum_{n=0}^{\infty}(-1)^{n}\frac{x^{2n+1}}{2n+1}=x-\frac{x^{3}}{3}+\frac{x^{5}}{5}-\cdots,\quad |x|\le 1$$
Check

Differentiate the answer term by term: $1-x^{2}+x^{4}-\cdots=\tfrac{1}{1+x^{2}}$, back to the start.

Integration is the engine that reaches inverse functions: the same move on $\tfrac{1}{1+x}$ produces $\ln(1+x)$ next.

The series for the natural logarithm of 1 plus x

Find a Maclaurin series for $\ln(1+x)$ by integrating the series for $\dfrac{1}{1+x}$.

Given
  • $\dfrac{1}{1+x}=\sum_{n=0}^{\infty}(-1)^{n}x^{n}$ for $|x|<1$

  • $\ln(1+x)=\displaystyle\int_{0}^{x}\dfrac{dt}{1+t}$

Find

a power series for $\ln(1+x)$ and the value it gives at $x=1$

Solution
Integrate term by term
$$\ln(1+x)=\int_{0}^{x}\sum_{n=0}^{\infty}(-1)^{n}t^{n}\,dt=\sum_{n=0}^{\infty}(-1)^{n}\frac{x^{n+1}}{n+1}$$

each t^n integrates to t^{n+1}/(n+1); the lower limit 0 contributes nothing

Re-index to start the powers at 1
$$\sum_{n=0}^{\infty}(-1)^{n}\frac{x^{n+1}}{n+1}=\sum_{k=1}^{\infty}(-1)^{k-1}\frac{x^{k}}{k}$$

set k=n+1 so the series reads in the standard x - x^2/2 + x^3/3 form

Evaluate the endpoint x=1
$$1-\tfrac12+\tfrac13-\tfrac14+\cdots=\ln 2$$

the alternating harmonic series converges at x=1 to ln 2

Answer $$\ln(1+x)=\sum_{k=1}^{\infty}(-1)^{k-1}\frac{x^{k}}{k}=x-\frac{x^{2}}{2}+\frac{x^{3}}{3}-\cdots,\quad -1<x\le 1$$
Check

At $x=1$ the partial sums $1,0.5,0.83,0.58,\dots$ crawl toward $\ln 2\approx 0.693$; the slow crawl is the price of sitting on the endpoint.

Integration then one re-indexing step; the re-index is where the off-by-one hides.

Checkpoint
§05.2 - differentiating a series●●●○○

Term-by-term calculus turns one representation into another. Run it forward on a series you now recognise.

Given
  • the series $x-\dfrac{x^{3}}{3}+\dfrac{x^{5}}{5}-\cdots$

Find
  1. (a) Differentiating this term by term produces the series for which function?

Hint 1/4

Differentiate the series one term at a time and see which familiar series appears.

Hint 2/4

The power rule sends $\dfrac{x^{2k+1}}{2k+1}$ to $x^{2k}$, so the odd powers become even ones.

Hint 3/4

You get $1-x^{2}+x^{4}-\cdots$, which is the geometric series with ratio $-x^{2}$.

Hint 4/4

That sum is $\dfrac{1}{1+x^{2}}$, the derivative of $\arctan x$.

Show solution
Differentiate each term
$$\frac{d}{dx}\Big(x-\tfrac{x^{3}}{3}+\tfrac{x^{5}}{5}-\cdots\Big)=1-x^{2}+x^{4}-\cdots$$

the power rule cancels each denominator: d/dx of x^{2k+1}/(2k+1) is x^{2k}

$$1-x^{2}+x^{4}-\cdots=\frac{1}{1+x^{2}}$$

this is the geometric series with ratio -x^2, summed in closed form

Answer $$\boxed{1/(1+x^{2})}$$
Check

Consistent: the original series is $\arctan x$, whose derivative is indeed $\tfrac{1}{1+x^{2}}$.

⚠ Dropping the constant of integration

the series is the eye-catching part, so the $+C$ is forgotten

wrong$$\int \sum c_{n}x^{n}\,dx=\sum \frac{c_{n}x^{n+1}}{n+1}$$
right$$\int \sum c_{n}x^{n}\,dx=C+\sum \frac{c_{n}x^{n+1}}{n+1}$$
⚠ Leaving the differentiated series starting at n equals 0

the lower limit is copied by habit even though the constant term died

wrong$$\frac{d}{dx}\sum_{n=0}^{\infty}c_{n}x^{n}=\sum_{n=0}^{\infty}nc_{n}x^{n-1}$$
right$$\frac{d}{dx}\sum_{n=0}^{\infty}c_{n}x^{n}=\sum_{n=1}^{\infty}nc_{n}x^{n-1}$$
⚠ Assuming the endpoints survive unchanged

the radius is preserved, so it feels like the whole interval must be

wrong$$|x|<1 \Rightarrow \text{same endpoints after } \int$$
right$$\text{radius same},\ \text{endpoints rechecked separately}$$

5.3Where the coefficients come from: Taylor and Maclaurin series

If a function is a power series at a, its coefficients are forced to be its own derivatives over n factorial.

Substitution and calculus reshaped one seed series. But $e^{x}$, $\sin x$ and $\cos x$ are not disguised geometric series: there is no ratio $r$ to find. For these we go back to first principles and let the function's own derivatives hand us the coefficients. This is the sum the calculator was adding up.

TheoremTaylor and Maclaurin coefficients
Conditions
  • $f$ has derivatives of every order at $a$

  • the series so built need not equal $f$; that is settled later by the remainder

$$\boxed{\ \text{if } f(x)=\sum_{n=0}^{\infty}c_{n}(x-a)^{n}\ \text{then}\ c_{n}=\frac{f^{(n)}(a)}{n!}\ }$$

If a function is a power series centered at a, then its n-th coefficient must equal the n-th derivative at a divided by n factorial, so the only candidate series is the one built from the function's own derivatives.

Looks like this, but is not

Surely any function smooth enough to have all its derivatives at $0$ must equal the series those derivatives build.

No. Take $f(x)=e^{-1/x^{2}}$ for $x\ne 0$ and $f(0)=0$. Every derivative at $0$ works out to $0$, so its Maclaurin series is $0+0\cdot x+\cdots$, the zero function. Yet $f(x)>0$ for all $x\ne 0$. The series exists and equals $f$ at exactly one point. Having the coefficients is not the same as equalling the function.

The Maclaurin series of e to the x

Build the Maclaurin series of $f(x)=e^{x}$ straight from its derivatives.

Given
  • $f(x)=e^{x}$

  • $c_{n}=f^{(n)}(0)/n!$

Find

the Maclaurin series of $e^{x}$

Solution
Find every derivative at 0
$$f^{(n)}(x)=e^{x}\ \Rightarrow\ f^{(n)}(0)=1\ \text{for all } n$$

the exponential is fixed by differentiation, so every derivative at 0 equals 1

Assemble the coefficients
$$c_{n}=\frac{f^{(n)}(0)}{n!}=\frac{1}{n!}$$

divide each derivative value by n! as the formula demands

Answer $$e^{x}=\sum_{n=0}^{\infty}\frac{x^{n}}{n!}=1+x+\frac{x^{2}}{2!}+\frac{x^{3}}{3!}+\cdots$$
Check

At $x=1$ the first seven terms give $2.71806$, already close to $e=2.71828$; the factorials in the denominators make it converge fast.

This is the sum inside the calculator from the opening: $e^{0.3}$ is $1+0.3+\tfrac{0.09}{2}+\cdots$, a handful of fractions.

The Maclaurin series of cosine

Build the Maclaurin series of $f(x)=\cos x$ from its derivatives at $0$.

Given
  • $f(x)=\cos x$

  • $c_{n}=f^{(n)}(0)/n!$

Find

the Maclaurin series of $\cos x$

Solution
List the derivative values at 0
$$f,f',f'',f''',\ldots\ \text{at } 0:\ 1,0,-1,0,1,0,-1,\ldots$$

cosine's derivatives cycle cos, -sin, -cos, sin; at 0 that reads 1,0,-1,0

Keep only the even powers
$$c_{2k}=\frac{(-1)^{k}}{(2k)!},\quad c_{2k+1}=0$$

the odd derivatives vanish at 0, so only even powers survive, with alternating signs

Answer $$\cos x=\sum_{k=0}^{\infty}(-1)^{k}\frac{x^{2k}}{(2k)!}=1-\frac{x^{2}}{2!}+\frac{x^{4}}{4!}-\cdots$$
Check

At $x=0.5$: $1-0.125+0.0026-\cdots=0.87758$, matching $\cos 0.5=0.87758$.

Four derivatives reveal the whole repeating pattern; you never differentiate a fifth time.

Checkpoint
§05.3 - the coefficient of x cubed●●○○○

The whole coefficient formula lives or dies on the factorial. Test it on a single coefficient.

Given
  • $f(x)=\sum_{n=0}^{\infty}c_{n}x^{n}$ is the Maclaurin series of $f$

Find
  1. (a) What is $c_{3}$ in terms of the derivatives of $f$ at $0$?

Hint 1/4

Ask which derivative and which factorial attach to the degree-three term.

Hint 2/4

The Maclaurin coefficient is $c_{n}=\dfrac{f^{(n)}(0)}{n!}$.

Hint 3/4

Set $n=3$, so the factorial is $3!=6$ and the derivative is the third.

Hint 4/4

Therefore $c_{3}=\dfrac{f'''(0)}{6}$.

Show solution
Substitute n equals 3
$$c_{3}=\frac{f'''(0)}{3!}=\frac{f'''(0)}{6}$$

3! = 6; the third derivative pairs with the third factorial

Answer $$\boxed{f'''(0)/6}$$
Check

For $f=e^{x}$ this gives $1/6$, matching the $x^{3}/3!$ term of its series.

⚠ Forgetting to divide by n factorial

the derivative feels like the substance and the factorial like bookkeeping

wrong$$c_{n}=f^{(n)}(0)$$
right$$c_{n}=\frac{f^{(n)}(0)}{n!}$$
⚠ Evaluating the derivatives at a running x instead of the center

the derivative is written as a function, so the substitution x equals a is skipped

wrong$$c_{n}=\frac{f^{(n)}(x)}{n!}$$
right$$c_{n}=\frac{f^{(n)}(a)}{n!}$$

5.4Reusing the standard series and the binomial series

Almost every Maclaurin series is a known one after a substitution, a multiplication, or the binomial rule.

Computing $f^{(n)}(0)$ for every $n$ is brutal for anything but the cleanest functions. Almost always the fast route is to bend a series you already have. One new series, the binomial, completes the toolkit.

TheoremThe binomial series
Conditions
  • $k$ any real number

  • valid for $\lvert x\rvert<1$

  • if $k$ is a nonnegative integer the sum stops and holds for all $x$

$$\boxed{\ (1+x)^{k}=\sum_{n=0}^{\infty}\binom{k}{n}x^{n},\quad \binom{k}{n}=\frac{k(k-1)\cdots(k-n+1)}{n!}\ }$$

One plus x, raised to any real power k, equals the sum over n of the generalised binomial coefficient times x to the n, and for a non-integer k this sum runs forever and converges when x is between minus one and one.

Looks like this, but is not

The binomial series ought to stop, the way $(1+x)^{3}$ stops after four terms.

It terminates only when $k$ is a nonnegative integer, because then some factor $(k-n+1)$ hits zero and kills every later coefficient. For $k=\tfrac12$ or $k=-1$ no factor is ever zero, so the series runs forever.

FunctionMaclaurin seriesHolds for

$e^{x}$

$\sum_{n\ge 0}\dfrac{x^{n}}{n!}$

all $x$

$\sin x$

$\sum_{n\ge 0}(-1)^{n}\dfrac{x^{2n+1}}{(2n+1)!}$

all $x$

$\cos x$

$\sum_{n\ge 0}(-1)^{n}\dfrac{x^{2n}}{(2n)!}$

all $x$

$\dfrac{1}{1-x}$

$\sum_{n\ge 0}x^{n}$

$\lvert x\rvert<1$

$\ln(1+x)$

$\sum_{n\ge 1}(-1)^{n-1}\dfrac{x^{n}}{n}$

$-1<x\le 1$

$\arctan x$

$\sum_{n\ge 0}(-1)^{n}\dfrac{x^{2n+1}}{2n+1}$

$\lvert x\rvert\le 1$

These six cover almost every 11.10 problem once you allow a substitution or a multiplication; memorise them and the work becomes bookkeeping.

A series for e to the minus x squared

Find the Maclaurin series of $e^{-x^{2}}$ by reusing the series for $e^{x}$.

Given
  • $e^{x}=\sum_{n\ge 0}\dfrac{x^{n}}{n!}$

Find

the Maclaurin series of $e^{-x^{2}}$

Solution
Substitute the whole input -x^2 for x
$$e^{-x^{2}}=\sum_{n=0}^{\infty}\frac{(-x^{2})^{n}}{n!}=\sum_{n=0}^{\infty}(-1)^{n}\frac{x^{2n}}{n!}$$

replace x by -x^2 in every term; (-x^2)^n splits into (-1)^n times x^{2n}

Write the leading terms
$$=1-x^{2}+\frac{x^{4}}{2}-\frac{x^{6}}{6}+\cdots$$

expand for n=0,1,2,3 to see the alternating pattern

Answer $$e^{-x^{2}}=\sum_{n=0}^{\infty}(-1)^{n}\frac{x^{2n}}{n!},\quad \text{all } x$$
Check

At $x=0.5$: $1-0.25+0.03125-\cdots=0.77880$, matching $e^{-0.25}=0.77880$.

Differentiating $e^{-x^{2}}$ many times is a nightmare; substitution hands the same series in one line, which is why the library beats raw derivatives.

The binomial series for the square root of 1 plus x

Use the binomial series with $k=\tfrac12$ to expand $\sqrt{1+x}$, then estimate $\sqrt{1.1}$.

Given
  • $(1+x)^{k}=\sum \binom{k}{n}x^{n}$

  • $k=\tfrac12$

Find

the first terms of $\sqrt{1+x}$ and an estimate of $\sqrt{1.1}$

Solution
Compute the first few binomial coefficients
$$\binom{1/2}{1}=\tfrac12,\ \binom{1/2}{2}=\frac{\tfrac12(-\tfrac12)}{2}=-\tfrac18,\ \binom{1/2}{3}=\tfrac{1}{16}$$

apply k(k-1).../n! with k=1/2; each new factor drops k by one

Assemble the series
$$\sqrt{1+x}=1+\tfrac{x}{2}-\tfrac{x^{2}}{8}+\tfrac{x^{3}}{16}-\cdots$$

attach each coefficient to its power of x

Evaluate at x=0.1
$$1+0.05-0.00125+0.0000625=1.0488125$$

substitute x=0.1; four terms already pin several decimals

Answer $$\sqrt{1+x}=1+\tfrac{x}{2}-\tfrac{x^{2}}{8}+\tfrac{x^{3}}{16}-\cdots,\quad \sqrt{1.1}\approx 1.04881$$
Check

Square the estimate: $1.04881^{2}=1.09999$, essentially $1.1$; the true value is $1.0488088$.

Three binomial coefficients buy four-decimal accuracy near x=0.

Checkpoint
§05.4 - reusing e to the x●●●○○

Reusing a library series means substituting carefully into every term, powers and factorials alike. Try the cleanest substitution.

Given
  • the known series $e^{x}=\sum_{n\ge 0}\dfrac{x^{n}}{n!}$

Find
  1. (a) What are the first three terms of the Maclaurin series of $e^{2x}$?

Hint 1/4

You already have the series for $e^{x}$; the new function just replaces $x$.

Hint 2/4

Substitute $2x$ for $x$ in every term, so the $n$-th term is $\dfrac{(2x)^{n}}{n!}$.

Hint 3/4

Term by term: $1$, then $2x$, then $\dfrac{(2x)^{2}}{2!}=\dfrac{4x^{2}}{2}=2x^{2}$.

Hint 4/4

The first three terms are $1+2x+2x^{2}$.

Show solution
Substitute 2x into each term
$$e^{2x}=\sum_{n\ge 0}\frac{(2x)^{n}}{n!}=1+2x+\frac{(2x)^{2}}{2!}+\cdots$$

replace x by 2x everywhere, keeping the factorial denominators

$$\frac{(2x)^{2}}{2!}=\frac{4x^{2}}{2}=2x^{2}$$

square the whole 2x, then divide by 2

Answer $$\boxed{1+2x+2x^{2}}$$
Check

Check the derivative: $\tfrac{d}{dx}e^{2x}=2e^{2x}$, and differentiating $1+2x+2x^{2}$ gives $2+4x$, which is $2(1+2x)$.

⚠ Substituting into the powers but not the signs

the minus inside -x^2 is easy to drop when squaring

wrong$$e^{-x^{2}}=\sum \frac{x^{2n}}{n!}$$
right$$e^{-x^{2}}=\sum (-1)^{n}\frac{x^{2n}}{n!}$$
⚠ Expecting the binomial series to terminate for fractional k

the integer binomial theorem from algebra is the only version most students have seen

wrong$$\sqrt{1+x}=1+\tfrac{x}{2}-\tfrac{x^{2}}{8}\ (\text{stops})$$
right$$\sqrt{1+x}=1+\tfrac{x}{2}-\tfrac{x^{2}}{8}+\tfrac{x^{3}}{16}-\cdots$$

5.5The Taylor polynomial, the remainder, and when a function equals its series

A function equals its Taylor series exactly where the leftover remainder shrinks to zero.

We keep saying the series equals the function, and Concept 3 showed that can fail. Here is the exact condition, and the object that measures the failure: the remainder left after cutting the series short.

TheoremRemainder and the equality criterion
Conditions
  • $T_{n}(x)=\sum_{i=0}^{n}\dfrac{f^{(i)}(a)}{i!}(x-a)^{i}$ is the degree-$n$ Taylor polynomial

  • $R_{n}(x)=f(x)-T_{n}(x)$ is the remainder

  • the statement is pointwise: it may hold at some $x$ and fail at others

$$\boxed{\ f(x)=\sum_{n=0}^{\infty}\frac{f^{(n)}(a)}{n!}(x-a)^{n}\iff \lim_{n\to\infty}R_{n}(x)=0\ }$$

The function equals its Taylor series at a point exactly when the remainder, the leftover after cutting the series at degree n, tends to zero as n grows.

Looks like this, but is not

Since $T_{4}$ and $\cos x$ are indistinguishable on the plot near $0$, one might declare $\cos x$ equals its series and be done.

A picture on $[-1,1]$ says nothing about $x=10$, where $T_{4}$ is enormous and negative while $\cos x$ stays between $-1$ and $1$. Equality everywhere needs $R_{n}(x)\to 0$ for every $x$, an inequality argument, not a graph.

The degree three Taylor polynomial of the logarithm at 1

Write $T_{3}$ for $f(x)=\ln x$ at $a=1$ and use it to estimate $\ln 1.2$.

Given
  • $f(x)=\ln x$

  • $a=1$

Find

the polynomial $T_{3}$ and an estimate of $\ln 1.2$

Solution
Collect the derivatives at the center
$$f(1)=0,\ f'(1)=1,\ f''(1)=-1,\ f'''(1)=2$$

differentiate ln x to 1/x, -1/x^2, 2/x^3 and evaluate each at a=1

Assemble the polynomial with the factorials
$$T_{3}(x)=(x-1)-\frac{(x-1)^{2}}{2}+\frac{(x-1)^{3}}{3}$$

divide each derivative by i!: the -1 over 2! gives -1/2, the 2 over 3! gives 1/3

Evaluate at x=1.2
$$T_{3}(1.2)=0.2-0.02+0.00267=0.18267$$

substitute x-1=0.2; each term is one power of 0.2 smaller than the last

Answer $$T_{3}(x)=(x-1)-\tfrac{(x-1)^{2}}{2}+\tfrac{(x-1)^{3}}{3},\quad \ln 1.2\approx 0.18267$$
Check

True value $\ln 1.2=0.18232$, so $R_{3}(1.2)\approx 0.00035$; the next term $-\tfrac{(0.2)^{4}}{4}=-0.0004$ predicts that gap's size and sign.

The remainder is not a mystery: its size is roughly the first term you threw away, which is how the next block turns it into a guarantee.

Watching the remainder shrink for cosine at 1

Cut the cosine series at degrees $0,2,4,6$ and track the remainder $R_{n}(1)$.

Given
  • $\cos x=1-\tfrac{x^{2}}{2!}+\tfrac{x^{4}}{4!}-\cdots$

  • $\cos 1=0.540302$

Find

the shrinking gaps $R_{n}(1)$ and what they say about equality

Solution
Evaluate the partial sums at x=1
$$T_{0}=1,\ T_{2}=0.5,\ T_{4}=0.54167,\ T_{6}=0.54028$$

each partial sum adds the next even-power term of the cosine series at x=1

Read the remainders as gaps to cos 1
$$|R_{0}|=0.4597,\ |R_{2}|=0.0403,\ |R_{4}|=0.00136,\ |R_{6}|=0.000025$$

subtract each partial sum from cos 1 = 0.540302; the gap is the remainder

Draw the conclusion
$$R_{n}(1)\to 0\ \Rightarrow\ \cos 1=\textstyle\sum(-1)^{k}/(2k)!$$

since the gap collapses, the criterion says cos 1 equals its series here

Answer $$R_{n}(1)\to 0,\ \text{so } \cos 1 \text{ equals its Maclaurin series}$$
Check

The gaps fall by more than a factor of $10$ each step, matching the factorial growth in the denominators; the next block proves this happens for every $x$ at once.

Four partial sums are enough to see the collapse; proving it for all x is the next block's job.

Checkpoint
§05.5 - what the Taylor polynomial matches●●●○○

The remainder measures a gap that starts perfectly closed at the center. Say exactly how closed.

Given
  • $T_{n}$ is the degree-$n$ Taylor polynomial of $f$ at $a$

Find
  1. (a) At the center $a$, in what sense do $T_{n}$ and $f$ agree?

Hint 1/4

Think about what the coefficients were built to reproduce at $x=a$.

Hint 2/4

Each coefficient $f^{(i)}(a)/i!$ was chosen to match one derivative of $f$ at $a$.

Hint 3/4

Since $i$ runs from $0$ to $n$, the value and the first $n$ derivatives are forced to agree.

Hint 4/4

So $T_{n}$ matches $f$ in value and in its first $n$ derivatives at $a$.

Show solution
Match each coefficient to a derivative
$$T_{n}^{(i)}(a)=f^{(i)}(a)\ \text{for } i=0,1,\ldots,n$$

the coefficient f^{(i)}(a)/i! is designed so the i-th derivative of T_n at a equals that of f

Answer $$\boxed{\text{value and first } n \text{ derivatives}}$$
Check

Beyond order $n$ nothing is forced, which is exactly where the remainder $R_{n}$ opens up.

⚠ Calling the Taylor polynomial the Taylor series

both are built from the same coefficients, so the finite and infinite objects blur

wrong$$T_{n}(x)=\sum_{n=0}^{\infty}\frac{f^{(n)}(a)}{n!}(x-a)^{n}$$
right$$T_{n}(x)=\sum_{i=0}^{n}\frac{f^{(i)}(a)}{i!}(x-a)^{i}$$
⚠ Believing the remainder is zero for finite n

a good approximation feels exact, so R_n gets treated as nothing

wrong$$R_{n}(x)=0$$
right$$R_{n}(x)=f(x)-T_{n}(x)\neq 0 \text{ in general}$$

5.6Taylor's Inequality: turning the remainder into a number

Bound the next derivative by M and the error is at most M over (n+1) factorial times the distance to the power n plus one.

The criterion $R_{n}\to 0$ is a yes-or-no fact. Exams and machines need a number: how big is the error if I stop now? Taylor's Inequality turns the remainder into a bound you can actually compute, and answers the calculator question from the start.

TheoremTaylor's Inequality
Conditions
  • you must find a single $M$ with $|f^{(n+1)}|\le M$ across the interval

  • $d$ is the distance from the center out to the farthest $x$ you care about

$$\boxed{\ |f^{(n+1)}(x)|\le M \text{ on } |x-a|\le d\ \Rightarrow\ |R_{n}(x)|\le \frac{M}{(n+1)!}\,|x-a|^{n+1}\ }$$

If the derivative one order past the last term you kept never exceeds M in size on the interval, then the degree-n error is at most M divided by (n+1) factorial, times the distance from the center raised to the n plus one.

Looks like this, but is not

It is tempting to take $M=|f^{(n+1)}(a)|$, the value right at the center, because that number is easy to read off.

The bound needs $|f^{(n+1)}|$ to stay under $M$ across the entire interval to $x$. A derivative that is small at $a$ but large just next to it makes that choice of $M$ too small, and the resulting bound is simply false.

How many terms approximate e to three decimals

How many terms of the series for $e^{x}$ are needed so that $T_{n}(1)$ estimates $e$ with error below $0.001$?

Given
  • $e^{x}=\sum x^{n}/n!$

  • target error $<0.001$ at $x=1$

Find

the smallest degree $n$, and the estimate it gives

Solution
Bound the derivative on the interval
$$|f^{(n+1)}(x)|=e^{x}\le e^{1}<3\ \text{on } [0,1]$$

every derivative of e^x is e^x, largest at the right end x=1, and e<3, so M=3 works

Set the Taylor bound below the target
$$|R_{n}(1)|\le \frac{3}{(n+1)!}\,1^{n+1}=\frac{3}{(n+1)!}<0.001$$

apply the inequality with M=3, a=0, x=1; require it under 0.001

Solve for n
$$(n+1)!>3000\ \Rightarrow\ n+1\ge 7\ \Rightarrow\ n\ge 6$$

since 6!=720<3000 but 7!=5040>3000, the first n that works is 6

Answer $$n=6,\quad T_{6}(1)=\textstyle\sum_{i=0}^{6}\frac{1}{i!}=2.71806$$
Check

True $e=2.71828$, so the actual error is $0.00022$, comfortably under the guaranteed $\tfrac{3}{7!}=0.00060$; the bound was honest and a little loose.

Six terms, one derivative bound; the factorial does the heavy lifting.

This is exactly how a calculator decides when to stop adding terms.

Proving e to the x equals its series for every x

Show that $e^{x}=\sum_{n\ge 0}\dfrac{x^{n}}{n!}$ for every real $x$, not just near $0$.

Given
  • $f(x)=e^{x}$

  • the equality criterion needs $R_{n}(x)\to 0$

Find

a proof that the remainder vanishes for all $x$

Solution
Bound the next derivative on the interval to x
$$|f^{(n+1)}(t)|=e^{t}\le e^{|x|}\ \text{for } t \text{ between } 0 \text{ and } x$$

the exponential is increasing, so its largest value on the interval is e^{|x|}; take M=e^{|x|}

Apply Taylor's Inequality
$$|R_{n}(x)|\le \frac{e^{|x|}}{(n+1)!}\,|x|^{n+1}$$

substitute M=e^{|x|} and a=0 into the bound

Send n to infinity
$$\frac{|x|^{n+1}}{(n+1)!}\to 0\ \Rightarrow\ R_{n}(x)\to 0$$

for any fixed x the factorial eventually outruns the power, so the bound goes to 0

Answer $$R_{n}(x)\to 0 \text{ for all } x,\ \text{so } e^{x}=\sum_{n\ge 0}\tfrac{x^{n}}{n!} \text{ everywhere}$$
Check

The factor $e^{|x|}$ is a fixed constant once $x$ is chosen; only $\tfrac{|x|^{n+1}}{(n+1)!}$ moves, and it is the tail of the convergent series for $e^{|x|}$, so it must vanish.

The same argument, with $|f^{(n+1)}|\le 1$, proves $\sin x$ and $\cos x$ equal their series everywhere: bounded derivatives are the easy case.

Checkpoint
§05.6 - what M has to bound●●●○○

Taylor's Inequality is only as good as the number $M$ you feed it, and choosing $M$ is where most errors start.

Given
  • the bound $|R_{n}(x)|\le \dfrac{M}{(n+1)!}|x-a|^{n+1}$

Find
  1. (a) The number $M$ must be an upper bound for which quantity, and where?

Hint 1/4

Look at which derivative appears one order higher than the polynomial you kept.

Hint 2/4

The bound uses the next derivative after degree $n$, namely $f^{(n+1)}$.

Hint 3/4

It must cap $|f^{(n+1)}|$ not at one point but everywhere between $a$ and $x$.

Hint 4/4

So $M$ bounds $|f^{(n+1)}|$ across the whole interval from $a$ to $x$.

Show solution
Match M to the derivative and the region
$$|f^{(n+1)}(t)|\le M\ \text{for all } t \text{ between } a \text{ and } x$$

the inequality is proven by bounding the (n+1)-th derivative over the whole path from a to x

Answer $$\boxed{M\ge \max |f^{(n+1)}| \text{ on the interval}}$$
Check

If $M$ only held at $a$, a derivative that spikes nearby would break the bound; the maximum over the interval is what the proof needs.

⚠ Using n factorial instead of n plus one factorial

the polynomial has degree n, so n is the number the eye grabs

wrong$$|R_{n}(x)|\le \frac{M}{n!}|x-a|^{n+1}$$
right$$|R_{n}(x)|\le \frac{M}{(n+1)!}|x-a|^{n+1}$$
⚠ Bounding the wrong derivative

the last term kept is the n-th, so the n-th derivative feels like the one to bound

wrong$$|f^{(n)}(x)|\le M$$
right$$|f^{(n+1)}(x)|\le M$$
⚠ Reading M at the center only

the value at a is the easiest number to compute

wrong$$M=|f^{(n+1)}(a)|$$
right$$M=\max_{[a,x]}|f^{(n+1)}|$$
Represent a function using the geometric series

the function is a single fraction you can bend into $\dfrac{1}{1-r}$

  1. Expose a leading 1

    Factor constants out of the denominator so it reads $1$ minus (or plus) something.

  2. Read the ratio

    Identify $r$ as the quantity subtracted from $1$; a plus sign forces a minus into $r$.

  3. Substitute

    Put $r$ into $\sum r^{n}$ and simplify the general term.

  4. State the interval

    Solve $|r|<1$ for $x$.

Where it goes wrong
  • keeping a plus sign in $r$

  • forgetting to factor the constant

Build a Maclaurin series from derivatives

no library series fits, as for a fresh transcendental function

  1. Differentiate repeatedly

    Compute $f,f',f'',\dots$ until a pattern in the values at the center appears.

  2. Evaluate at the center

    Read off $f^{(n)}(a)$; for $\sin,\cos$ the values cycle.

  3. Divide by the factorial

    Form $c_{n}=f^{(n)}(a)/n!$.

  4. Write the pattern

    Express the general coefficient, then confirm with the first few terms.

Where it goes wrong
  • forgetting the $1/n!$

  • evaluating derivatives at a running $x$

Reuse a library series

the function is a known one composed with a simple inside, or multiplied by a power

  1. Pick the closest library series

    Match to $e^{x},\sin,\cos,\tfrac{1}{1-x},\ln(1+x),\arctan$, or the binomial.

  2. Substitute the whole inside

    Replace $x$ by the inner expression in every term, signs and powers included.

  3. Adjust by multiplication

    Multiply through by any outside power of $x$ or constant.

  4. Carry the interval

    Translate the library interval through the substitution.

Where it goes wrong
  • substituting into powers but not signs

  • losing the interval under the substitution

Bound the error or choose the number of terms

you need a numeric guarantee or a term count for a target accuracy

  1. Fix the center and interval

    Note $a$ and the largest $|x-a|=d$ in play.

  2. Bound the next derivative

    Find $M$ with $|f^{(n+1)}|\le M$ across the whole interval.

  3. Write the bound

    Form $\dfrac{M}{(n+1)!}d^{\,n+1}$.

  4. Solve or evaluate

    Set it below the target and solve for $n$, or plug in $n$ to report the error.

Where it goes wrong
  • using $n!$ not $(n+1)!$

  • reading $M$ at the center only

Integration gains an endpoint

Integrate the series for $\dfrac{1}{1+x^{2}}$ and compare endpoints.

Given
  • $\dfrac{1}{1+x^{2}}=\sum(-1)^{n}x^{2n}$ diverges at $x=\pm 1$

Find

what happens to the endpoints after integrating

Solution
Integrate to arctangent
$$\int_{0}^{x}\!\frac{dt}{1+t^{2}}=\sum_{n=0}^{\infty}(-1)^{n}\frac{x^{2n+1}}{2n+1}$$

term-by-term integration raises each power and divides by it

Recheck the endpoints
$$x=1:\ 1-\tfrac13+\tfrac15-\cdots\ \text{converges}$$

the integrated series alternates with terms to 0, so it now converges at x=1

Answer $$\text{endpoint } x=1 \text{ is gained: it now converges}$$
Check

The radius is still $1$; only the endpoint verdict improved.

Differentiation loses an endpoint

Differentiate the series for $\ln(1+x)$ and compare endpoints.

Given
  • $\ln(1+x)=\sum(-1)^{n-1}\dfrac{x^{n}}{n}$ converges at $x=1$

Find

what happens to the endpoints after differentiating

Solution
Differentiate to the geometric series
$$\frac{d}{dx}\ln(1+x)=\sum_{n=1}^{\infty}(-1)^{n-1}x^{n-1}=\frac{1}{1+x}$$

term-by-term differentiation lowers each power

Recheck the endpoint
$$x=1:\ 1-1+1-1+\cdots\ \text{diverges}$$

the differentiated series no longer has terms going to 0 at x=1

Answer $$\text{endpoint } x=1 \text{ is lost: it now diverges}$$
Check

Again the radius is untouched at $1$; only the endpoint verdict got worse.

Integration tends to add convergence at an endpoint while differentiation tends to remove it, and neither one moves the radius.

How to tell them apart

If you integrated to reach a series, recheck its endpoints hopefully; if you differentiated, recheck them suspiciously.

Scaffolding comes off
The common skeleton
  1. Factor constants out of the denominator so it starts with a 1 minus or plus something.

  2. Read the ratio r as the quantity subtracted from 1, sending any plus sign into a minus inside r.

  3. Substitute r into the sum of r to the n and simplify the general term, folding constants into the powers.

  4. State the interval by solving the absolute value of r less than 1 for x.

1 · fully worked

Represent 1 over 3 plus x

Represent $f(x)=\dfrac{1}{3+x}$ as a power series about $0$, with its interval.

Given
  • $f(x)=\dfrac{1}{3+x}$

Find

a power series and its interval

Solution
Factor out the 3
$$\frac{1}{3+x}=\frac13\cdot\frac{1}{1+\frac{x}{3}}=\frac13\cdot\frac{1}{1-(-\frac{x}{3})}$$

pull 3 out so the denominator leads with 1; the plus sign becomes a minus inside r

Read r and substitute
$$r=-\tfrac{x}{3},\quad \frac13\sum_{n=0}^{\infty}\Big(-\tfrac{x}{3}\Big)^{n}=\sum_{n=0}^{\infty}(-1)^{n}\frac{x^{n}}{3^{n+1}}$$

put r=-x/3 into sum r^n and merge the front 1/3 into 1/3^{n+1}

State the interval
$$\Big|-\tfrac{x}{3}\Big|<1\iff |x|<3$$

solve |r|<1 with r=-x/3

Answer $$\frac{1}{3+x}=\sum_{n=0}^{\infty}(-1)^{n}\frac{x^{n}}{3^{n+1}},\quad |x|<3$$
Check

At $x=0$ the sum is $\tfrac13$, matching $\tfrac{1}{3+0}$; at $x=1$ it gives $\tfrac14=\tfrac{1}{3+1}$.

2 · you write the reasoning

Represent $g(x)=\dfrac{1}{1-x^{3}}$ as a power series with its interval. This one needs no factoring and no sign flip, so fill in the reason for each step.

  1. reasoning

    The denominator already reads $1-r$ with $r=x^{3}$, so no factoring is needed and the ratio is read directly.

  2. reasoning

    Each $(x^{3})^{n}$ is just $x^{3n}$; the powers land on multiples of three and every coefficient is $1$.

  3. reasoning

    The interval comes from $|r|<1$ with $r=x^{3}$, and $|x^{3}|<1$ is the same as $|x|<1$.

3 · find the buried error

A classmate represents $h(x)=\dfrac{1}{4+x^{2}}$ about $0$. Two of the three steps are wrong. Find them.

  1. Step 1. $\dfrac{1}{4+x^{2}}=\dfrac14\cdot\dfrac{1}{1+\frac{x^{2}}{4}}$, factoring the 4 out.

  2. Step 2. Reading $r=\dfrac{x^{2}}{4}$, the series is $\dfrac14\sum\big(\tfrac{x^{2}}{4}\big)^{n}=\sum\dfrac{x^{2n}}{4^{n+1}}$.

  3. Step 3. Converges when $\big|\tfrac{x^{2}}{4}\big|<1$, that is $|x|<4$.

the two buried errors (2)
⚠ step 2

the ratio was read as $+\tfrac{x^{2}}{4}$, dropping the alternating sign

the denominator has a plus sign, so students copy it into $r$ instead of sending it into a minus

right

The form is $\dfrac{1}{1-(-x^{2}/4)}$, so $r=-\tfrac{x^{2}}{4}$ and the series is $\sum(-1)^{n}\dfrac{x^{2n}}{4^{n+1}}$.

⚠ step 3

the interval was solved as $|x|<4$ instead of $|x|<2$

the 4 in the denominator is mistaken for the radius, skipping the square root of $x^{2}<4$

right

From $\big|\tfrac{x^{2}}{4}\big|<1$ we get $x^{2}<4$, so $|x|<2$, not $4$.

4 · the bare problem
§05.1 - represent 1 over 9 plus x squared●●●○○

Same skeleton, no scaffolding. A $9$ under a square and a plus sign: watch both the sign and the interval.

Given
  • $k(x)=\dfrac{1}{9+x^{2}}$

Find
  1. (a) Represent $k$ as a power series about $0$ and give its interval.

Hint 1/4

Factor the 9 out first so the denominator leads with a 1.

Hint 2/4

The plus sign means $r$ carries a minus: $r=-\tfrac{x^{2}}{9}$.

Hint 3/4

Substitute into $\tfrac19\sum r^{n}$; then solve $\big|\tfrac{x^{2}}{9}\big|<1$ for the interval.

Hint 4/4

The series is $\sum(-1)^{n}\dfrac{x^{2n}}{9^{n+1}}$ on $|x|<3$.

Show solution
Factor and read r
$$\frac{1}{9+x^{2}}=\frac19\cdot\frac{1}{1-(-x^{2}/9)},\ r=-\tfrac{x^{2}}{9}$$

pull 9 out; the plus sign sends the ratio to -x^2/9

Substitute and simplify
$$\frac19\sum_{n=0}^{\infty}\Big(-\tfrac{x^{2}}{9}\Big)^{n}=\sum_{n=0}^{\infty}(-1)^{n}\frac{x^{2n}}{9^{n+1}}$$

merge the 1/9 into 1/9^{n+1} and split the sign out

Interval
$$\Big|\tfrac{x^{2}}{9}\Big|<1\iff x^{2}<9\iff |x|<3$$

take the square root of x^2<9 carefully to get radius 3

Answer $$\boxed{\sum_{n=0}^{\infty}(-1)^{n}\frac{x^{2n}}{9^{n+1}},\ |x|<3}$$
Check

At $x=1$: $\tfrac{1}{9+1}=0.1$, and $\tfrac19-\tfrac{1}{81}+\cdots=0.1$.

Full exam-style question

Estimating an integral with no elementary antiderivativeexam format

Estimate $\displaystyle\int_{0}^{0.5}\sin(x^{2})\,dx$ to five decimal places and justify the accuracy. The integrand $\sin(x^{2})$ has no antiderivative in the elementary function table, so a series is the standard route.

Given
  • $\sin u=u-\dfrac{u^{3}}{6}+\dfrac{u^{5}}{120}-\cdots$

  • the interval $[0,0.5]$

Find

a five-decimal value of the integral with an error justification

Solution
Expand the integrand by substitution
$$\sin(x^{2})=x^{2}-\frac{x^{6}}{6}+\frac{x^{10}}{120}-\cdots$$

substitute u=x^2 into the sine series; each power of u triples-and-adds into a power of x

Integrate term by term
$$\int_{0}^{0.5}\sin(x^{2})\,dx=\Big[\frac{x^{3}}{3}-\frac{x^{7}}{42}+\frac{x^{11}}{1320}-\cdots\Big]_{0}^{0.5}$$

integrate each power; x^2 gives x^3/3, x^6 gives x^7/42, and so on

Evaluate the first terms
$$=0.0416667-0.0001860+0.0000004-\cdots$$

plug in x=0.5; the terms shrink fast because of the growing denominators

Sum and bound the error
$$\approx 0.04148,\quad |\text{error}|\le \frac{0.5^{11}}{1320}\approx 3.7\times10^{-7}$$

the series alternates with decreasing terms, so by the alternating series estimate the error is below the first omitted term

Answer $$\boxed{\int_{0}^{0.5}\sin(x^{2})\,dx\approx 0.04148}$$
Check

A fine numerical integration gives $0.0414807$, inside the guaranteed $3.7\times10^{-7}$ window, so the fifth decimal is trustworthy.

Two terms already reach five decimals; the third only confirms the bound.

Practice

A · concept 3 questions
1§05.5 - smoothness is not enough●●●○○

A function can be infinitely differentiable at $0$ and still refuse to equal its own Maclaurin series anywhere but the center.

Given
  • $f(x)=e^{-1/x^{2}}$ for $x\ne 0$, with $f(0)=0$

  • every derivative of $f$ at $0$ is $0$

Find
  1. (a) True or false: every function with all derivatives at $0$ equals its Maclaurin series near $0$.

Hint 1/4

Ask what the Maclaurin series of this particular $f$ actually is.

Hint 2/4

With every $f^{(n)}(0)=0$, the series is $0+0x+0x^{2}+\cdots$, the zero function.

Hint 3/4

Yet $f(x)>0$ for all $x\ne 0$, so the series and $f$ disagree off the center.

Hint 4/4

So the statement is false: matching all derivatives at $0$ does not force equality.

Show solution
Build the series and compare
$$c_{n}=f^{(n)}(0)/n!=0\ \Rightarrow\ \text{series}=0$$

all derivatives vanish at 0, so every coefficient is 0

$$f(x)>0=\text{series for } x\ne 0$$

the function is positive while its series is zero, so they differ

Answer $$\boxed{\text{False}}$$
Check

The remainder $R_{n}(x)=f(x)$ never goes to $0$ off the center, matching the criterion.

2§05.2 - what integration preserves●●○○○

Term-by-term integration changes some features of a series and leaves others untouched. Pin down the radius.

Given
  • a power series with radius of convergence $R>0$

Find
  1. (a) True or false: integrating the series term by term gives a series with the same radius $R$.

Hint 1/4

Separate two ideas: the radius of convergence and the endpoint behavior.

Hint 2/4

The theorem states integration preserves the radius $R$ exactly.

Hint 3/4

Only the two endpoints may change verdict; the radius itself does not.

Hint 4/4

So the statement about the radius is true.

Show solution
Quote the theorem
$$\text{radius stays } R;\ \text{endpoints rechecked}$$

term-by-term integration keeps R and only the endpoints may shift

Answer $$\boxed{\text{True}}$$
Check

The arctangent example shows the radius $1$ surviving while an endpoint is gained.

3§05.4 - when the binomial series stops●●○○○

The binomial series sometimes has finitely many terms and sometimes runs forever. The exponent decides which.

Given
  • $(1+x)^{k}=\sum \binom{k}{n}x^{n}$

Find
  1. (a) For which $k$ does the series terminate after finitely many terms?

Hint 1/4

Ask when one of the factors $k, k-1, k-2,\dots$ in the coefficient becomes $0$.

Hint 2/4

A coefficient dies once a factor $(k-n+1)$ equals $0$, i.e. when $n$ reaches $k+1$.

Hint 3/4

That happens only when $k$ is a whole number that the count $n$ can reach.

Hint 4/4

So termination occurs exactly for nonnegative integer $k$.

Show solution
Find when a factor is zero
$$k-n+1=0\ \text{for some } n\iff k\in\{0,1,2,\dots\}$$

a nonnegative integer k is eventually hit by the descending factors, zeroing all later coefficients

Answer $$\boxed{k=0,1,2,\dots}$$
Check

For $k=3$ the factors give $\binom{3}{4}=0$, matching the algebra fact that $(1+x)^{3}$ has four terms.

B · computation 5 questions
1§05.1 - a series for 1 over 1 minus 2x●●○○○

A clean geometric bending with a ratio that carries a coefficient. Mind how the coefficient changes the radius.

Given
  • $f(x)=\dfrac{1}{1-2x}$

Find
  1. (a) Write $f$ as a power series in $x$.

  2. (b) State the .

Hint 1/4

The denominator already reads $1-r$; just name $r$.

Hint 2/4

Here $r=2x$, so use $\sum r^{n}=\sum(2x)^{n}$.

Hint 3/4

Simplify $(2x)^{n}=2^{n}x^{n}$, and require $|2x|<1$.

Hint 4/4

The series is $\sum 2^{n}x^{n}$ on $|x|<\tfrac12$.

Show solution
Read the ratio and substitute
$$r=2x,\quad \sum_{n=0}^{\infty}(2x)^{n}=\sum_{n=0}^{\infty}2^{n}x^{n}$$

the denominator is already 1-r with r=2x; expand the power

Interval from the ratio
$$|2x|<1\iff |x|<\tfrac12$$

the coefficient 2 in the ratio halves the radius to 1/2

Answer $$\boxed{\sum 2^{n}x^{n},\ |x|<1/2}$$
Check

At $x=0.25$: $\tfrac{1}{1-0.5}=2$ and $1+0.5+0.25+\cdots=2$.

2§05.1 - multiplying a series by a power●●○○○

Sometimes the fastest representation is a known series times a single power of $x$. Keep the multiplication outside the sum.

Given
  • $g(x)=\dfrac{x}{1+x^{2}}$

  • $\dfrac{1}{1+x^{2}}=\sum(-1)^{n}x^{2n}$

Find
  1. (a) Write $g$ as a power series in $x$.

Hint 1/4

Split $g$ into $x$ times a series you already know.

Hint 2/4

Use $\dfrac{1}{1+x^{2}}=\sum(-1)^{n}x^{2n}$ and multiply by $x$.

Hint 3/4

Multiplying by $x$ raises every power by one: $x\cdot x^{2n}=x^{2n+1}$.

Hint 4/4

So $g(x)=\sum(-1)^{n}x^{2n+1}$.

Show solution
Multiply the known series by x
$$x\sum_{n=0}^{\infty}(-1)^{n}x^{2n}=\sum_{n=0}^{\infty}(-1)^{n}x^{2n+1}$$

bring the outside x inside, raising each exponent by one

Answer $$\boxed{\sum(-1)^{n}x^{2n+1}}$$
Check

Differentiating the answer at $x=0$ gives $1$, matching $g'(0)=1$.

3§05.2 - integrating to a new series●●●○○

Term-by-term integration reaches functions defined by integrals, like the one at the heart of the normal distribution.

Given
  • $e^{-t^{2}}=\sum_{n=0}^{\infty}(-1)^{n}\dfrac{t^{2n}}{n!}$

  • define $F(x)=\displaystyle\int_{0}^{x}e^{-t^{2}}\,dt$

Find
  1. (a) Find a power series for $F(x)$.

Hint 1/4

You already have the series for the integrand; integrate it term by term.

Hint 2/4

Integrate $\sum(-1)^{n}\dfrac{t^{2n}}{n!}$ from $0$ to $x$.

Hint 3/4

Each $t^{2n}$ integrates to $\dfrac{x^{2n+1}}{2n+1}$, keeping the $n!$ below.

Hint 4/4

So $F(x)=\sum(-1)^{n}\dfrac{x^{2n+1}}{n!(2n+1)}$.

Show solution
Integrate each term from 0 to x
$$F(x)=\int_{0}^{x}\sum_{n=0}^{\infty}(-1)^{n}\frac{t^{2n}}{n!}\,dt=\sum_{n=0}^{\infty}(-1)^{n}\frac{x^{2n+1}}{n!(2n+1)}$$

raise each power and divide by the new exponent 2n+1, leaving the n! intact

Answer $$\boxed{\sum(-1)^{n}\frac{x^{2n+1}}{n!(2n+1)}}$$
Check

At $x=0.5$ the series gives $0.46128$, matching a direct numerical integral of $e^{-t^{2}}$.

4§05.4 - a negative binomial exponent●●●○○

The binomial series handles negative powers too. Watch the coefficients build from the descending product.

Given
  • $(1+x)^{k}=\sum\binom{k}{n}x^{n}$

  • $k=-2$

Find
  1. (a) Find the first three terms of the Maclaurin series of $(1+x)^{-2}$.

Hint 1/4

Compute $\binom{-2}{n}$ for $n=0,1,2$ from the product formula.

Hint 2/4

Use $\binom{-2}{n}=\dfrac{(-2)(-3)\cdots(-2-n+1)}{n!}$.

Hint 3/4

This gives $\binom{-2}{0}=1$, $\binom{-2}{1}=-2$, $\binom{-2}{2}=\dfrac{(-2)(-3)}{2}=3$.

Hint 4/4

So the first three terms are $1-2x+3x^{2}$.

Show solution
Evaluate the first binomial coefficients
$$\binom{-2}{0}=1,\ \binom{-2}{1}=-2,\ \binom{-2}{2}=\frac{(-2)(-3)}{2}=3$$

apply k(k-1).../n! with k=-2; the signs come from the negative factors

Answer $$\boxed{1-2x+3x^{2}-\cdots}$$
Check

Differentiate $-\tfrac{1}{1+x}$: $\tfrac{d}{dx}(1+x)^{-1}=-(1+x)^{-2}$, and the geometric series confirms the coefficients.

5§05.5 - a limit through series●●●○○

Series turn a hard $0/0$ limit into reading off a leading coefficient. Expand the top and cancel.

Given
  • $\displaystyle\lim_{x\to 0}\dfrac{1-\cos x}{x^{2}}$

  • $\cos x=1-\dfrac{x^{2}}{2}+\dfrac{x^{4}}{24}-\cdots$

Find
  1. (a) Evaluate the limit.

Hint 1/4

Replace $\cos x$ by its series before taking the limit.

Hint 2/4

Then $1-\cos x=\dfrac{x^{2}}{2}-\dfrac{x^{4}}{24}+\cdots$.

Hint 3/4

Divide by $x^{2}$: $\dfrac{1}{2}-\dfrac{x^{2}}{24}+\cdots$, then send $x\to 0$.

Hint 4/4

The limit is $\dfrac{1}{2}$.

Show solution
Expand and divide
$$1-\cos x=\frac{x^{2}}{2}-\frac{x^{4}}{24}+\cdots$$

subtract the cosine series from 1; the constant terms cancel

$$\frac{1-\cos x}{x^{2}}=\frac12-\frac{x^{2}}{24}+\cdots\to\frac12$$

divide each term by x^2, then let x go to 0 so only the constant survives

Answer $$\boxed{1/2}$$
Check

L'Hopital twice gives the same $\tfrac12$, but the series does it in one line.

C · exam level 3 questions
1§05.4 - Maclaurin series of x sin x●●●○○

Exam questions often wrap a library series in a multiplication. Expand, then multiply, keeping only the first nonzero terms.

Given
  • $h(x)=x\sin x$

  • $\sin x=x-\dfrac{x^{3}}{6}+\dfrac{x^{5}}{120}-\cdots$

Find
  1. (a) What are the first two nonzero terms of the Maclaurin series of $x\sin x$?

Hint 1/4

Write the series for $\sin x$ first, then multiply the whole thing by $x$.

Hint 2/4

Multiplying by $x$ raises each power by one.

Hint 3/4

So $x\sin x=x\cdot x-x\cdot\dfrac{x^{3}}{6}+\cdots=x^{2}-\dfrac{x^{4}}{6}+\cdots$.

Hint 4/4

The first two nonzero terms are $x^{2}-\dfrac{x^{4}}{6}$.

Show solution
Multiply the sine series by x
$$x\Big(x-\frac{x^{3}}{6}+\cdots\Big)=x^{2}-\frac{x^{4}}{6}+\cdots$$

distribute the x, raising x to x^2 and x^3/6 to x^4/6

Answer $$\boxed{x^{2}-x^{4}/6}$$
Check

Since $x\sin x$ is even, only even powers should appear, and they do.

2§05.6 - terms for a target accuracy●●●○○

A calculator-style question: stop the cosine series as soon as the guaranteed error drops below the target.

Given
  • approximate $\cos 0.5$ with error $<0.001$

  • $\cos x=1-\dfrac{x^{2}}{2!}+\dfrac{x^{4}}{4!}-\cdots$

Find
  1. (a) How many nonzero terms of the series are needed?

Hint 1/4

The cosine series alternates, so the error is at most the first omitted term.

Hint 2/4

Compute the term sizes at $x=0.5$: $1$, $\dfrac{0.5^{2}}{2}=0.125$, $\dfrac{0.5^{4}}{24}=0.0026$, $\dfrac{0.5^{6}}{720}=0.00002$.

Hint 3/4

Keeping through the $x^{4}$ term leaves a first-omitted term $0.00002<0.001$.

Hint 4/4

So three nonzero terms suffice (up to and including $x^{4}$).

Show solution
Size the omitted term
$$\text{after } x^{4}:\ |R|\le \frac{0.5^{6}}{6!}=2.2\times10^{-5}<10^{-3}$$

the alternating series estimate caps the error by the first term dropped

$$\text{after } x^{2}:\ |R|\le \frac{0.5^{4}}{4!}=2.6\times10^{-3}>10^{-3}$$

stopping one term earlier is not yet accurate enough

Answer $$\boxed{3 \text{ terms}}$$
Check

Three terms give $0.877604$ against $\cos 0.5=0.877583$, error $2\times10^{-5}$.

3§05.3 - a single coefficient of cosine●●○○○

Reading one coefficient off the standard series is a common quick exam item. Match the power to its factorial.

Given
  • $\cos x=\sum_{k=0}^{\infty}(-1)^{k}\dfrac{x^{2k}}{(2k)!}$

Find
  1. (a) What is the coefficient of $x^{4}$ in the Maclaurin series of $\cos x$?

Hint 1/4

Find which $k$ gives the power $x^{4}$.

Hint 2/4

Set $2k=4$, so $k=2$, and the sign is $(-1)^{2}=+$.

Hint 3/4

The coefficient is $\dfrac{(-1)^{2}}{4!}=\dfrac{1}{24}$.

Hint 4/4

So the $x^{4}$ coefficient is $\dfrac{1}{24}$.

Show solution
Pick the matching term
$$2k=4\Rightarrow k=2,\quad \frac{(-1)^{2}}{4!}=\frac{1}{24}$$

the fourth-power term is the k=2 term, positive, over 4!

Answer $$\boxed{1/24}$$
Check

It matches the $+\tfrac{x^{4}}{24}$ seen in the numeric checks for $\cos x$.

D · interleaved 3 questions
1§05.1 - radius by the ratio test●●●○○

This mixes this week's representation with the ratio test from the series-testing block. Build the series, then verify its radius the old way.

Given
  • the series $\dfrac{1}{2-x}=\sum_{n=0}^{\infty}\dfrac{x^{n}}{2^{n+1}}$

Find
  1. (a) Use the ratio test to confirm the radius of convergence.

Hint 1/4

Form the ratio of consecutive terms $\left|\dfrac{a_{n+1}}{a_{n}}\right|$ for $a_{n}=\dfrac{x^{n}}{2^{n+1}}$.

Hint 2/4

The ratio test needs $\lim\left|\dfrac{a_{n+1}}{a_{n}}\right|<1$.

Hint 3/4

Here $\left|\dfrac{a_{n+1}}{a_{n}}\right|=\dfrac{|x|^{n+1}/2^{n+2}}{|x|^{n}/2^{n+1}}=\dfrac{|x|}{2}$.

Hint 4/4

Setting $\dfrac{|x|}{2}<1$ gives $|x|<2$, radius $2$.

Show solution
Form and simplify the ratio
$$\left|\frac{a_{n+1}}{a_{n}}\right|=\frac{|x|^{n+1}/2^{n+2}}{|x|^{n}/2^{n+1}}=\frac{|x|}{2}$$

the powers of x drop by a factor |x| and the twos by one factor of 2

Apply the test
$$\frac{|x|}{2}<1\iff |x|<2$$

the ratio test converges when the limit is below 1

Answer $$\boxed{R=2}$$
Check

This matches the interval $|x|<2$ found when the series was first built by factoring.

2§05.4 - why low-speed kinetic energy is one half m v squared●●●●○

A physics classic that is really a binomial expansion. The relativistic energy collapses to the Newtonian formula when the speed is small.

Given
  • relativistic kinetic energy $K=mc^{2}\Big[(1-\tfrac{v^{2}}{c^{2}})^{-1/2}-1\Big]$

  • $(1+u)^{-1/2}=1-\tfrac{u}{2}+\tfrac{3u^{2}}{8}-\cdots$

Find
  1. (a) Use the binomial series to show $K\approx \tfrac12 mv^{2}$ for small $v/c$.

Hint 1/4

Set $u=-\dfrac{v^{2}}{c^{2}}$ and expand $(1+u)^{-1/2}$ to first order.

Hint 2/4

Then $(1-\tfrac{v^{2}}{c^{2}})^{-1/2}\approx 1+\dfrac{v^{2}}{2c^{2}}$.

Hint 3/4

Subtract $1$ and multiply by $mc^{2}$, keeping only the leading term.

Hint 4/4

The $c^{2}$ cancels, leaving $K\approx \tfrac12 mv^{2}$.

Show solution
Expand the binomial to first order
$$(1-\tfrac{v^{2}}{c^{2}})^{-1/2}\approx 1+\frac{1}{2}\cdot\frac{v^{2}}{c^{2}}$$

apply (1+u)^{-1/2} with u=-v^2/c^2, keeping only the term linear in u

Substitute and cancel
$$K\approx mc^{2}\cdot\frac{v^{2}}{2c^{2}}=\frac12 mv^{2}$$

the -1 removes the leading 1, and the c^2 factors cancel

Answer $$\boxed{K\approx \tfrac12 mv^{2}}$$
Check

The next term $\tfrac{3}{8}mv^{4}/c^{2}$ is tiny when $v\ll c$, so Newton's formula is the small-speed shadow of Einstein's.

3§05.4 - multiplying two series●●●●○

Combining two library series by multiplication is a step up: it needs the product rule intuition from the derivatives unit and careful bookkeeping of powers.

Given
  • $e^{x}=1+x+\dfrac{x^{2}}{2}+\dfrac{x^{3}}{6}+\cdots$

  • $\sin x=x-\dfrac{x^{3}}{6}+\cdots$

Find
  1. (a) Find the first three nonzero terms of the Maclaurin series of $e^{x}\sin x$.

Hint 1/4

Multiply the two series and collect terms by total power of $x$.

Hint 2/4

Group the products that land on $x^{1}$, then $x^{2}$, then $x^{3}$.

Hint 3/4

The $x^{3}$ term collects $\dfrac{x^{2}}{2}\cdot x$ and $1\cdot(-\dfrac{x^{3}}{6})$, giving $\dfrac13$.

Hint 4/4

So $e^{x}\sin x=x+x^{2}+\dfrac{x^{3}}{3}+\cdots$.

Show solution
Collect by power of x
$$x^{1}:\ 1\cdot x=x;\quad x^{2}:\ x\cdot x=x^{2}$$

the lowest terms come from multiplying the leading pieces

$$x^{3}:\ \tfrac{x^{2}}{2}\cdot x+1\cdot(-\tfrac{x^{3}}{6})=\tfrac{x^{3}}{3}$$

two products land on x^3; add their coefficients 1/2 and -1/6 to get 1/3

Answer $$\boxed{x+x^{2}+\tfrac{x^{3}}{3}}$$
Check

Check the derivative at $0$: $(e^{x}\sin x)'|_{0}=1$, matching the $x$ coefficient.

Shaped like the real papers 3 questions
1§05.4 - a series for x over (1 plus x) squared●●●○○

A typical exam item: combine a binomial expansion with a multiplication and report the radius.

Given
  • $p(x)=\dfrac{x}{(1+x)^{2}}$

  • $(1+x)^{-2}=\sum_{n=0}^{\infty}(-1)^{n}(n+1)x^{n}$

Find
  1. (a) Write $p$ as a power series.

  2. (b) Give the radius of convergence.

Hint 1/4

Treat $p$ as $x$ times $(1+x)^{-2}$.

Hint 2/4

Multiply the given series for $(1+x)^{-2}$ by $x$.

Hint 3/4

Multiplying by $x$ shifts each power up: $x\cdot x^{n}=x^{n+1}$.

Hint 4/4

So $p(x)=\sum(-1)^{n}(n+1)x^{n+1}$, radius $1$.

Show solution
Multiply by x
$$x\sum_{n=0}^{\infty}(-1)^{n}(n+1)x^{n}=\sum_{n=0}^{\infty}(-1)^{n}(n+1)x^{n+1}$$

the outside x raises every exponent by one

State the radius
$$R=1$$

the binomial series for (1+x)^{-2} converges for |x|<1, and multiplying by x does not change the radius

Answer $$\boxed{\sum(-1)^{n}(n+1)x^{n+1},\ R=1}$$
Check

At $x=0.5$: $\tfrac{0.5}{2.25}=0.2222$, and $0.5-0.5+0.375-\cdots\to 0.2222$.

2§05.6 - estimate ln 1.1 and bound the error●●●○○

Estimation with a stated accuracy is a standard graded task. Use the logarithm series and the alternating-series error bound.

Given
  • $\ln(1+x)=x-\dfrac{x^{2}}{2}+\dfrac{x^{3}}{3}-\cdots$

  • take $x=0.1$ for $\ln 1.1$

Find
  1. (a) Estimate $\ln 1.1$ using three terms.

  2. (b) Bound the error.

Hint 1/4

Substitute $x=0.1$ into the first three terms of the log series.

Hint 2/4

That gives $0.1-\dfrac{0.1^{2}}{2}+\dfrac{0.1^{3}}{3}$.

Hint 3/4

The series alternates, so the error is at most the next term $\dfrac{0.1^{4}}{4}$.

Hint 4/4

The estimate is $0.09533$ with error under $2.5\times10^{-5}$.

Show solution
Sum three terms
$$0.1-\frac{0.01}{2}+\frac{0.001}{3}=0.1-0.005+0.000333=0.095333$$

plug x=0.1 into the first three terms of the log series

Bound by the next term
$$|\text{error}|\le \frac{0.1^{4}}{4}=2.5\times10^{-5}$$

an alternating series with decreasing terms errs by less than the first omitted term

Answer $$\boxed{\ln 1.1\approx 0.09533,\ |\text{err}|\le 2.5\times10^{-5}}$$
Check

True $\ln 1.1=0.0953102$; the actual error $2.3\times10^{-5}$ obeys the bound.

3§05.3 - a Taylor polynomial away from zero●●●●○

Not every Taylor series is centered at $0$. This one centers at $4$, where the square root is exact, to estimate a nearby value.

Given
  • $f(x)=\sqrt{x}$

  • center $a=4$

Find
  1. (a) Write $T_{2}$ for $f$ at $a=4$.

  2. (b) Estimate $\sqrt{4.2}$.

Hint 1/4

Compute $f(4)$, $f'(4)$ and $f''(4)$ first.

Hint 2/4

With $f'=\dfrac{1}{2\sqrt{x}}$ and $f''=-\dfrac{1}{4x^{3/2}}$, get $2,\ \tfrac14,\ -\tfrac{1}{32}$.

Hint 3/4

Then $T_{2}(x)=2+\tfrac14(x-4)-\tfrac{1}{64}(x-4)^{2}$; put $x=4.2$.

Hint 4/4

The estimate is $\sqrt{4.2}\approx 2.04938$.

Show solution
Derivatives at the center
$$f(4)=2,\ f'(4)=\tfrac14,\ f''(4)=-\tfrac{1}{32}$$

evaluate sqrt, 1/(2 sqrt x), -1/(4 x^{3/2}) at x=4

Assemble and evaluate
$$T_{2}(x)=2+\tfrac14(x-4)-\tfrac{1}{64}(x-4)^{2}$$

divide f''(4) by 2! to get the coefficient -1/64

$$T_{2}(4.2)=2+0.05-0.000625=2.049375$$

substitute x-4=0.2

Answer $$\boxed{\sqrt{4.2}\approx 2.04938}$$
Check

True $\sqrt{4.2}=2.0493902$; the degree-two estimate is right to four decimals.

Mistake ledger (13 entries)
⚠ Reusing the plus-sign series without flipping the ratio

the geometric template subtracts $r$, so a plus in the denominator forces $r=-x$

wrong$$\frac{1}{1+x}=\sum x^{n}$$
right$$\frac{1}{1+x}=\sum(-1)^{n}x^{n}$$
⚠ Forgetting to factor the constant out of the denominator

the leading constant is treated as scenery, so the coefficients come out wrong

wrong$$\frac{1}{2-x}=\sum x^{n}$$
right$$\frac{1}{2-x}=\sum \frac{x^{n}}{2^{n+1}}$$
⚠ Dropping the constant of integration

the series is the visible part, so the $+C$ is dropped

wrong$$\int \sum c_{n}x^{n}\,dx=\sum \frac{c_{n}x^{n+1}}{n+1}$$
right$$\int \sum c_{n}x^{n}\,dx=C+\sum \frac{c_{n}x^{n+1}}{n+1}$$
⚠ Leaving a differentiated series indexed from n equals 0

the lower limit is copied by habit though the constant term died

wrong$$\frac{d}{dx}\sum_{n=0}^{\infty}c_{n}x^{n}=\sum_{n=0}^{\infty}nc_{n}x^{n-1}$$
right$$\frac{d}{dx}\sum_{n=0}^{\infty}c_{n}x^{n}=\sum_{n=1}^{\infty}nc_{n}x^{n-1}$$
⚠ Assuming endpoints survive term-by-term calculus

the radius is preserved, so the whole interval feels preserved

wrong$$\text{same endpoints after } \int \text{ or } \frac{d}{dx}$$
right$$\text{radius same; endpoints rechecked}$$
⚠ Forgetting to divide by n factorial in a Taylor coefficient

the derivative feels like the substance and the factorial like bookkeeping

wrong$$c_{n}=f^{(n)}(0)$$
right$$c_{n}=\frac{f^{(n)}(0)}{n!}$$
⚠ Evaluating the derivatives at a running x instead of the center

the derivative is written as a function, so the substitution $x=a$ is skipped

wrong$$c_{n}=\frac{f^{(n)}(x)}{n!}$$
right$$c_{n}=\frac{f^{(n)}(a)}{n!}$$
⚠ Substituting into powers but not signs

the minus inside $-x^{2}$ is easy to lose when squaring

wrong$$e^{-x^{2}}=\sum \frac{x^{2n}}{n!}$$
right$$e^{-x^{2}}=\sum (-1)^{n}\frac{x^{2n}}{n!}$$
⚠ Expecting the binomial series to terminate for fractional k

the integer binomial theorem is the only version most students have met

wrong$$\sqrt{1+x}=1+\tfrac{x}{2}-\tfrac{x^{2}}{8}\ (\text{stops})$$
right$$\sqrt{1+x}=1+\tfrac{x}{2}-\tfrac{x^{2}}{8}+\tfrac{x^{3}}{16}-\cdots$$
⚠ Confusing the Taylor polynomial with the Taylor series

both share the same coefficients, so the finite and infinite objects blur

wrong$$T_{n}=\sum_{n=0}^{\infty}\frac{f^{(n)}(a)}{n!}(x-a)^{n}$$
right$$T_{n}=\sum_{i=0}^{n}\frac{f^{(i)}(a)}{i!}(x-a)^{i}$$
⚠ Using n factorial instead of n plus one factorial in the bound

the polynomial has degree $n$, so $n$ is the number the eye grabs

wrong$$|R_{n}|\le \frac{M}{n!}|x-a|^{n+1}$$
right$$|R_{n}|\le \frac{M}{(n+1)!}|x-a|^{n+1}$$
⚠ Bounding f to the n instead of f to the n plus one

the last kept term is the $n$-th, so the $n$-th derivative feels like the one to bound

wrong$$|f^{(n)}(x)|\le M$$
right$$|f^{(n+1)}(x)|\le M$$
⚠ Reading M at the center only

the value at $a$ is the easiest number to compute

wrong$$M=|f^{(n+1)}(a)|$$
right$$M=\max_{[a,x]}|f^{(n+1)}|$$
Formula card
Geometric series representation
$$\frac{1}{1-x}=\sum_{n=0}^{\infty}x^{n}$$

$|x|<1$

Term-by-term differentiation
$$f'(x)=\sum_{n=1}^{\infty}nc_{n}(x-a)^{n-1}$$

inside the radius $R$; endpoints rechecked

Term-by-term integration
$$\int f\,dx=C+\sum_{n=0}^{\infty}\frac{c_{n}(x-a)^{n+1}}{n+1}$$

inside the radius $R$; endpoints rechecked

Taylor / Maclaurin coefficients
$$c_{n}=\frac{f^{(n)}(a)}{n!}$$

$f$ has all derivatives at $a$

Binomial series
$$(1+x)^{k}=\sum_{n=0}^{\infty}\binom{k}{n}x^{n}$$

$|x|<1$ for non-integer $k$

Equality criterion
$$f=\sum \tfrac{f^{(n)}(a)}{n!}(x-a)^{n}\iff R_{n}(x)\to 0$$

pointwise in $x$

Taylor's Inequality
$$|R_{n}(x)|\le \frac{M}{(n+1)!}|x-a|^{n+1}$$

$|f^{(n+1)}|\le M$ on the interval

Exponential series
$$e^{x}=\sum_{n=0}^{\infty}\frac{x^{n}}{n!}$$

all $x$

Sine series
$$\sin x=\sum_{n=0}^{\infty}(-1)^{n}\frac{x^{2n+1}}{(2n+1)!}$$

all $x$

Cosine series
$$\cos x=\sum_{n=0}^{\infty}(-1)^{n}\frac{x^{2n}}{(2n)!}$$

all $x$

Logarithm series
$$\ln(1+x)=\sum_{n=1}^{\infty}(-1)^{n-1}\frac{x^{n}}{n}$$

$-1<x\le 1$

Arctangent series
$$\arctan x=\sum_{n=0}^{\infty}(-1)^{n}\frac{x^{2n+1}}{2n+1}$$

$|x|\le 1$

Check yourself

Close the page and write, from memory: the geometric series and its interval; the coefficient formula $f^{(n)}(a)/n!$; the six library series; the equality criterion $R_{n}\to 0$; and Taylor's Inequality. Then represent $\dfrac{1}{3-x}$ two ways.

  • Represent $\dfrac{1}{5+x}$ as a power series and give its interval?

    c-geometric-engine

  • Build the series for $\arctan x$ by integrating a geometric series?

    c-calculus-on-series

  • Compute the Maclaurin series of $\cos x$ from its derivatives at $0$?

    c-taylor-machine

  • Expand $e^{-x^{2}}$ and $\sqrt{1+x}$ by reusing library series?

    c-series-library

  • State when a function equals its Taylor series, and what $R_{n}$ measures?

    c-convergence-remainder

  • Decide how many terms of $e^{x}$ pin $e$ to within $0.001$ using Taylor's Inequality?

    c-taylor-inequality

Glossary (12 terms)
power serieskuvvet serisi

An infinite polynomial $\sum c_{n}(x-a)^{n}$ that defines a function on its interval of convergence.

geometric seriesgeometrik seri

The series $\sum ar^{n}$, which sums to $\dfrac{a}{1-r}$ when $|r|<1$ and is the seed for every representation here.

radius of convergenceyakınsaklık yarıçapı

The number $R$ such that a power series converges for $|x-a|<R$ and diverges for $|x-a|>R$.

interval of convergenceyakınsaklık aralığı

The full set of $x$ where a power series converges: the radius together with a verdict at each endpoint.

Maclaurin seriesMaclaurin serisi

The Taylor series centered at $a=0$, with coefficients $f^{(n)}(0)/n!$.

Taylor seriesTaylor serisi

The series $\sum \dfrac{f^{(n)}(a)}{n!}(x-a)^{n}$ built from a function's derivatives at a center $a$.

Taylor polynomialTaylor polinomu

The finite piece $T_{n}$ of the Taylor series up to the degree-$n$ term.

remainderkalan terim

The difference $R_{n}(x)=f(x)-T_{n}(x)$; the function equals its series exactly where $R_{n}\to 0$.

Taylor's InequalityTaylor eşitsizliği

The bound $|R_{n}(x)|\le \dfrac{M}{(n+1)!}|x-a|^{n+1}$ whenever $|f^{(n+1)}|\le M$ on the interval.

binomial seriesbinom serisi

The Maclaurin series of $(1+x)^{k}$, namely $\sum \binom{k}{n}x^{n}$, infinite unless $k$ is a nonnegative integer.

binomial coefficientbinom katsayısı

For real $k$, the number $\binom{k}{n}=\dfrac{k(k-1)\cdots(k-n+1)}{n!}$.

coefficientkatsayı

The constant $c_{n}$ multiplying $(x-a)^{n}$ in a power series.

What comes next
§06 · Vectors, lines and planes in space

With series behind us, the next section leaves the number line for space: vectors as arrows you can add and scale, the dot and cross products, and the lines and planes they describe. The algebra is lighter but the pictures are three-dimensional.

Sources
  • James Stewart, Calculus, ninth edition, sections 11.9, 11.10 and 11.11 The three sections named on this week's syllabus line; statements, intervals and the binomial series follow this book's conventions.
  • The standard Maclaurin library and Taylor's Inequality The six library series and the remainder bound are standard results, stated here in the form used across single-variable calculus texts.

Spotted something missing or wrong? tell us · share your own notes or an old exam.