Steply

Taylor and Maclaurin series

Calculus 2 · 21 problems, easy to harder

▶ Watch the first one solved

How we do it

  1. The derivatives
  2. Divide by n factorial
  3. Write the series
  4. The pattern
  5. Check

The steps for Maclaurin series of e^x. Every solution names its steps, so you always know what comes next.

Worked examples

Maclaurin series of e^x Easy

The question

Question: find the Maclaurin series of e to the x.

f(x) = ex

The Maclaurin series: the nth derivative at 0, divided by n factorial, times x to the n.

Maclaurin means a = 0.

f(x) = Σ f⁽ⁿ⁾(a)n!(x − a)n

1 The derivatives

Then put in x = 0: f(0) is 1.

f(0) = 1

The derivative of e to the kx is k times e to the kx.

f′(x) = ex
f′(0) = 1
f″(x) = ex
f″(0) = 1
f‴(x) = ex
f‴(0) = 1
f⁗(x) = ex
f⁗(0) = 1

2 Divide by n factorial

Divide each value by n factorial: 0!

= 1, 1!

= 1, 2!

= 2, 3!

= 6, 4!

= 24.

numbers : 10!, 11!, 12! = 12, 13! = 16, 14! = 124

Careful!

Do not forget to divide by n factorial.

The x squared term is f″ over 2 factorial.

Careful: not the x² term = f″(0) × x² ✗

3 Write the series

Put them together: each number times x to its power.

The dots mean it goes on for ever.

f(x) = 1 + x + x22 + x36 + x424 + ...

4 The pattern

The pattern: x to the n/n factorial.

With Σ the whole series fits on one line.

f(x) = Σn = 0∞xnn!

5 Check

Let's check close to 0, at x = 0.1.

Our terms give about 1.10517.

A calculator gives 1.10517 for e to the x.

Almost the same.

Right!

x = 0.1: the terms ≈ 1.10517, e^x ≈ 1.10517

Let's look back.

First: the derivatives.

Then: divide by n factorial.

Then: write the series.

Then: the pattern.

Last: check.

Answer
f(x) = Σn = 0∞xnn!

▶ Watch it solved

Maclaurin series of ln(1 + x) Medium

The question

Question: find the Maclaurin series of ln(1 + x).

f(x) = ln(1 + x)

The Maclaurin series: the nth derivative at 0, divided by n factorial, times x to the n.

Maclaurin means a = 0.

f(x) = Σ f⁽ⁿ⁾(a)n!(x − a)n

1 The derivatives

Then put in x = 0: f(0) is 0.

f(0) = 0

Take the derivative again and again.

f′(x) = 1(1 + x)
f′(0) = 1
f″(x) = −1(1 + x)2
f″(0) = −1
f‴(x) = 2(1 + x)3
f‴(0) = 2
f⁗(x) = −6(1 + x)4
f⁗(0) = −6

2 Divide by n factorial

Divide each value by n factorial: 0!

= 1, 1!

= 1, 2!

= 2, 3!

= 6, 4!

= 24.

numbers : 00!, 11!, −12! = −12, 23! = 13, −64! = −14

Careful!

Do not forget to divide by n factorial.

The x squared term is f″ over 2 factorial.

Careful: not the x² term = f″(0) × x² ✗

3 Write the series

Put them together: each number times x to its power.

The dots mean it goes on for ever.

f(x) = x − x22 + x33 − x44 + ...

4 Check

Let's check close to 0, at x = 0.1.

Our terms give about 0.09531.

A calculator gives 0.09531 for ln(1 + x).

Almost the same.

Right!

x = 0.1: the terms ≈ 0.09531, ln(1 + x) ≈ 0.09531

Let's look back.

First: the derivatives.

Then: divide by n factorial.

Then: write the series.

Last: check.

Answer
f(x) = x − x22 + x33 − x44 + ...

▶ Watch it solved

Taylor polynomial of degree 3 for √x at x = 4 Harder

The question

Question: find the Taylor polynomial of degree 3 of √x at x = 4.

f(x) = √x

The Taylor series: the nth derivative at the point a, divided by n factorial, times x minus a to the n.

f(x) = Σ f⁽ⁿ⁾(a)n!(x − a)n

1 The derivatives

Then put in x = 4: f(4) is 2.

f(4) = 2

Take the derivative again and again.

f′(x) = 12√x
f′(4) = 14
f″(x) = −14x^(3/2)
f″(4) = −132
f‴(x) = 38x^(5/2)
f‴(4) = 3256

2 Divide by n factorial

Divide each value by n factorial: 0!

= 1, 1!

= 1, 2!

= 2, 3!

= 6, 4!

= 24.

numbers : 20!, 14 ÷ 1!, −132 ÷ 2! = −164, 3256 ÷ 3! = 1512

Careful!

Do not forget to divide by n factorial.

The x squared term is f″ over 2 factorial.

Careful: not the (x − 4)² term = f″(4) × (x − 4)² ✗

3 Write the series

Put them together: each number times (x − 4) to its power.

Stop at the power 3.

P₃(x) = 2 + (x − 4)4 − (x − 4)264 + (x − 4)3512

4 Check

Let's check close to 4, at x = 4.1.

Our terms give about 2.02485.

A calculator gives 2.02485 for √x.

Almost the same.

Right!

x = 4.1: the terms ≈ 2.02485, √x ≈ 2.02485

Let's look back.

First: the derivatives.

Then: divide by n factorial.

Then: write the series.

Last: check.

Answer
P₃(x) = 2 + (x − 4)4 − (x − 4)264 + (x − 4)3512

▶ Watch it solved

Practice

Try each one, then open the answer. Stuck? Open the problem to watch every step.

Easy

  1. Maclaurin series of e^x
    Answer
    f(x) = Σn = 0∞xnn!
  2. Maclaurin series of 1/(1 - x)
    Answer
    f(x) = Σn = 0∞xn
  3. Maclaurin series of cos x
    Answer
    f(x) = 1 − x22 + x424 + ...
  4. Maclaurin series of sin x
    Answer
    f(x) = x − x36 + x5120 + ...
  5. Maclaurin series of e^(2x)
    Answer
    f(x) = 1 + 2x + 2x2 + 4x33 + 2x43 + ...
  6. Maclaurin series of e^(-x)
    Answer
    f(x) = 1 − x + x22 − x36 + x424 + ...
  7. Maclaurin polynomial of degree 3 for e^x
    Answer
    P₃(x) = 1 + x + x22 + x36

Medium

  1. Maclaurin series of ln(1 + x)
    Answer
    f(x) = x − x22 + x33 − x44 + ...
  2. Taylor series of ln x at x = 1
    Answer
    f(x) = (x − 1) − (x − 1)22 + (x − 1)33 − (x − 1)44 + ...
  3. Taylor series of 1/x at x = 1
    Answer
    f(x) = 1 − (x − 1) + (x − 1)2 − (x − 1)3 + (x − 1)4 + ...
  4. Maclaurin polynomial of degree 4 for cos x
    Answer
    P₄(x) = 1 − x22 + x424
  5. Maclaurin polynomial of degree 5 for sin x
    Answer
    P₅(x) = x − x36 + x5120
  6. Maclaurin series of e^(3x)
    Answer
    f(x) = 1 + 3x + 9x22 + 9x32 + 27x48 + ...
  7. Maclaurin polynomial of degree 3 for ln(1 + x)
    Answer
    P₃(x) = x − x22 + x33
  8. Maclaurin series of 1/(1 + x)
    Answer
    f(x) = Σn = 0∞(−1)nxn

Harder

  1. Taylor polynomial of degree 3 for √x at x = 4
    Answer
    P₃(x) = 2 + (x − 4)4 − (x − 4)264 + (x − 4)3512
  2. Taylor series of e^x at x = 1
    Answer
    f(x) = e + e(x − 1) + e2(x − 1)2 + e6(x − 1)3 + e24(x − 1)4 + ...
  3. Taylor series of e^x at x = 2
    Answer
    f(x) = e2 + e2(x − 2) + e22(x − 2)2 + e26(x − 2)3 + e224(x − 2)4 + ...
  4. Taylor polynomial of degree 4 for ln x at x = 1
    Answer
    P₄(x) = (x − 1) − (x − 1)22 + (x − 1)33 − (x − 1)44
  5. Taylor polynomial of degree 3 for 1/x at x = 1
    Answer
    P₃(x) = 1 − (x − 1) + (x − 1)2 − (x − 1)3
  6. Maclaurin polynomial of degree 4 for e^(-2x)
    Answer
    P₄(x) = 1 − 2x + 2x2 − 4x33 + 2x43