Lessons and exercises follow the school system and stay in its language.Les leçons et les exercices suivent le système scolaire et restent dans sa langue.Lektionen und Übungen folgen dem Schulsystem und bleiben in seiner Sprache.

Sequences and series

Print the topic

Every lesson of the topic, from the first year to the last, ready for paper. Exercise sets are lettered A, B, C… and answered at the end.

To save a PDF, choose “Save as PDF” in the print dialog.

1. Sequences: explicit and recursive formulas

Warm-up

Three quick questions from earlier lessons.

  1. A candle is 32 cm tall when lit and burns 4 cm per hour. Let yy be its height after xx hours.
    1. Its height after 2 hours, in cm:   ?\;?
    2. An equation for yy: y=  ?y = \;?
    3. After how many hours has it burned down?   ?\;?
    4. Let f(x)f(x) be its height after xx hours. Compute f(1)f(1).
    5. By what percent did its height decrease during the first hour?
    6. For how many hours at most is the candle at least 4 cm tall?
  2. f(x)=2x2+7f(x) = 2x^2 + 7. Find f(−2)f(-2).
  3. f(x)=x2+5f(x) = x^2 + 5. Find f(1+2)f(1 + 2).

Discover

A sequence starts 5,8,11,14,…5, 8, 11, 14, \dots Which rule gives the next term from the one before?

  1. Add 3
  2. Multiply by 3

Key idea

A sequence is a function whose inputs are the whole numbers 1,2,3,…1, 2, 3, \dots: ana_n is its nnth term.

An explicit formula gives ana_n from nn directly (for example an=3n+2a_n = 3n + 2). A recursive formula gives a first term and a rule from one term to the next (for example a1=5a_1 = 5, an+1=an+3a_{n+1} = a_n + 3).

Worked example

a1=2a_1 = 2 and an+1=3an−1a_{n+1} = 3a_n - 1. Find a4a_4.

a2=3⋅2−1=5a_2 = 3 \cdot 2 - 1 = 5
Apply the rule to a₁.
a3=3⋅5−1=14a_3 = 3 \cdot 5 - 1 = 14
Then to a₂.
a4=3⋅14−1=41a_4 = 3 \cdot 14 - 1 = 41
Then to a₃.

Your turn, guided

Your turn: an=n2−1a_n = n^2 - 1. Find a5a_5.

a5=52−1a_5 = 5^2 - 1
Replace n by 5.
a5=24a_5 = 24
25 − 1.

Practice ★

  1. an=n2+5a_n = n^2 + 5. Complete the table.
    nnana_n
    11
    22
    33
    44
  2. an=n2+9a_n = n^2 + 9. Complete the table.
    nnana_n
    11
    22
    33
    44

Watch out!

Practice ★★

  1. a1=3a_1 = 3 and an+1=2an−1a_{n+1} = 2a_n - 1. Find a3a_3.
  2. a1=10a_1 = 10 and an+1=2an−24a_{n+1} = 2a_n - 24. Find a3a_3.
  3. a1=5a_1 = 5 and an+1=2an−1a_{n+1} = 2a_n - 1. Find a3a_3.
  1. Write a formula for ana_n, starting at n=1n = 1: 2,5,8,11,…2,5, 8, 11, \dots
  2. Write a formula for ana_n, starting at n=1n = 1: 27,47,67,87,…27,47, 67, 87, \dots
  3. Write a formula for ana_n, starting at n=1n = 1: 1,3,5,7,…1,3, 5, 7, \dots

Exit ticket

Three questions to check you have got it.

  1. Write a formula for ana_n, starting at n=1n = 1: 2,5,8,11,…2,5, 8, 11, \dots
  2. Write a formula for ana_n, starting at n=1n = 1: 27,47,67,87,…27,47, 67, 87, \dots
  3. Write a formula for ana_n, starting at n=1n = 1: 1,3,5,7,…1,3, 5, 7, \dots

Summary card

Sequences

  • Explicit: ana_n straight from nn.
  • Recursive: a first term and a rule from ana_n to an+1a_{n+1}.

Watch out: check your formula with n=1n = 1.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. u0=7u_0 = 7 and un+1=un+2n+1u_{n+1} = u_n + 2n + 1. Find a formula for unu_n.

2. Arithmetic sequences

Warm-up

Three quick questions from earlier lessons.

  1. a1=3a_1 = 3 and an+1=2an−1a_{n+1} = 2a_n - 1. Find a3a_3.
  2. Write a formula for ana_n, starting at n=1n = 1: 2,5,8,11,…2,5, 8, 11, \dots
  3. an=n2+5a_n = n^2 + 5. Complete the table.
    nnana_n
    11
    22
    33
    44

Discover

A taxi charges 3 dollars, plus 2 dollars per mile. Mile by mile, the fare is 5,7,9,…5, 7, 9, \dots What does the 10th mile cost in total?

  1. 23 dollars
  2. 25 dollars

Key idea

An arithmetic sequence adds the same number dd (the common difference) each time.

an=a1+(n−1)da_n = a_1 + (n - 1)d. From apa_p to aqa_q there are q−pq - p steps, so d=aq−apq−pd = \dfrac{a_q - a_p}{q - p}.

Worked example

An arithmetic sequence has a3=11a_3 = 11 and a8=31a_8 = 31. Find dd and a20a_{20}.

d=31−115=4d = \dfrac{31 - 11}{5} = 4
5 steps from a₃ to a₈.
a1=11−2⋅4=3a_1 = 11 - 2 \cdot 4 = 3
Back 2 steps from a₃.
a20=3+19⋅4=79a_{20} = 3 + 19 \cdot 4 = 79
19 steps from a₁.

Your turn, guided

Your turn: a1=7a_1 = 7, d=5d = 5. Find a12a_{12}.

a12=7+11⋅5a_{12} = 7 + 11 \cdot 5
11 steps.
a12=62a_{12} = 62
7 + 55.

Practice ★

  1. An arithmetic sequence has a1=11a_1 = 11 and common difference 3. Find a15a_{ 15 }.
  2. An arithmetic sequence has a1=85a_1 = 85 and common difference 20. Find a53a_{ 53 }.
  3. An arithmetic sequence has a1=16a_1 = 16 and common difference 2. Find a10a_{ 10 }.
  4. An arithmetic sequence has a1=93a_1 = 93 and common difference 17. Find a74a_{ 74 }.

Watch out!

Practice ★★

  1. In an arithmetic sequence, a2=11a_{ 2 } = 11 and a8=35a_{ 8 } = 35. Find the common difference.
  2. In an arithmetic sequence, a5=114a_{ 5 } = 114 and a38=642a_{ 38 } = 642. Find the common difference.
  3. In an arithmetic sequence, a3=14a_{ 3 } = 14 and a10=42a_{ 10 } = 42. Find the common difference.
  1. What kind of sequence is 3,6,12,24,…3, 6, 12, 24, \dots?
    1. Geometric, with ratio 2
    2. Arithmetic
    3. Neither

Exit ticket

Three questions to check you have got it.

  1. An arithmetic sequence has a1=11a_1 = 11 and common difference 3. Find a15a_{ 15 }.
  2. An arithmetic sequence has a1=85a_1 = 85 and common difference 20. Find a53a_{ 53 }.
  3. An arithmetic sequence has a1=16a_1 = 16 and common difference 2. Find a10a_{ 10 }.

Summary card

Arithmetic sequences

  • Add dd each time: an=a1+(n−1)da_n = a_1 + (n - 1)d.
  • d=aq−apq−pd = \dfrac{a_q - a_p}{q - p}.

Watch out: n−1n - 1 steps from a1a_1 to ana_n.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. In an arithmetic sequence, u3+u7=86u_3 + u_7 = 86. Find u5u_5.

3. Geometric sequences

Warm-up

Three quick questions from earlier lessons.

  1. a1=3a_1 = 3 and an+1=2an−1a_{n+1} = 2a_n - 1. Find a3a_3.
  2. Write a formula for ana_n, starting at n=1n = 1: 2,5,8,11,…2,5, 8, 11, \dots
  3. an=n2+5a_n = n^2 + 5. Complete the table.
    nnana_n
    11
    22
    33
    44

Discover

A rumor spreads: 3 people know it on day 1, and each day the number triples. How many know it on day 4?

  1. 81
  2. 12
  3. 243

Key idea

A geometric sequence multiplies by the same number rr (the common ratio) each time.

an=a1⋅r n−1a_n = a_1 \cdot r^{\,n-1}, and r=an+1anr = \dfrac{a_{n+1}}{a_n}.

Worked example

Find a7a_7 for 2,6,18,…2, 6, 18, \dots

r=3r = 3
6 ÷ 2.
a7=2⋅36a_7 = 2 \cdot 3^6
6 multiplications from a₁ to a₇.
a7=1458a_7 = 1458
3⁶ = 729.

Your turn, guided

Your turn: a1=5a_1 = 5, r=2r = 2. Find a6a_6.

a6=5⋅25a_6 = 5 \cdot 2^5
5 multiplications.
a6=160a_6 = 160
5 · 32.

Practice ★

  1. A geometric sequence has a1=5a_1 = 5 and ratio 2. Find a5a_{ 5 }.
  2. A geometric sequence has a1=3a_1 = 3 and ratio 3. Find a5a_{ 5 }.
  3. A geometric sequence has a1=6a_1 = 6 and ratio 2. Find a5a_{ 5 }.
  4. A geometric sequence has a1=5a_1 = 5 and ratio 3. Find a6a_{ 6 }.

Watch out!

Practice ★★

  1. Find the common ratio of the geometric sequence 2,6,18,…2, 6, 18, \dots
  2. Find the common ratio of the geometric sequence 13,78,468,…13, 78, 468, \dots
  1. Write a formula for ana_n, starting at n=1n = 1: 5,10,20,…5, 10, 20, \dots
  2. Write a formula for ana_n, starting at n=1n = 1: 10,70,490,…10, 70, 490, \dots
  3. Write a formula for ana_n, starting at n=1n = 1: 2,4,8,…2, 4, 8, \dots

Exit ticket

Three questions to check you have got it.

  1. Write a formula for ana_n, starting at n=1n = 1: 5,10,20,…5, 10, 20, \dots
  2. Write a formula for ana_n, starting at n=1n = 1: 10,70,490,…10, 70, 490, \dots
  3. Write a formula for ana_n, starting at n=1n = 1: 2,4,8,…2, 4, 8, \dots

Summary card

Geometric sequences

  • Multiply by rr each time: an=a1r n−1a_n = a_1 r^{\,n-1}.
  • rr = a term divided by the one before.

Watch out: the exponent is n−1n - 1.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. A geometric sequence with positive terms has u2=3u_2 = 3 and u4=12u_4 = 12. What is its ratio?

4. Sigma notation and arithmetic series

Warm-up

Three quick questions from earlier lessons.

  1. An arithmetic sequence has a1=11a_1 = 11 and common difference 3. Find a15a_{ 15 }.
  2. In an arithmetic sequence, a2=11a_{ 2 } = 11 and a8=35a_{ 8 } = 35. Find the common difference.
  3. What kind of sequence is 3,6,12,24,…3, 6, 12, 24, \dots?
    1. Geometric, with ratio 2
    2. Arithmetic
    3. Neither

Discover

To add 1+2+⋯+1001 + 2 + \dots + 100, pair the first and last terms: 1+1001 + 100, 2+992 + 99, … How many pairs, and what is each pair worth?

  1. 50 pairs of 101
  2. 100 pairs of 101

Key idea

∑k=pqak\displaystyle\sum_{k=p}^{q} a_k means ap+ap+1+⋯+aqa_p + a_{p+1} + \dots + a_q: it has q−p+1q - p + 1 terms.

The sum of the nn terms of an arithmetic sequence is Sn=n(a1+an)2S_n = \dfrac{n(a_1 + a_n)}{2}: the number of terms times the average of the first and last. In particular 1+2+⋯+n=n(n+1)21 + 2 + \dots + n = \dfrac{n(n + 1)}{2}.

Worked example

Find ∑k=120(3k+2)\displaystyle\sum_{k=1}^{20} (3k + 2).

First term 55, last term 6262
k = 1 and k = 20.
S=20(5+62)2S = \dfrac{20(5 + 62)}{2}
20 terms.
S=670S = 670
10 · 67.

Your turn, guided

Your turn: 2+4+6+⋯+402 + 4 + 6 + \dots + 40.

n=20n = 20
40 ÷ 2: 20 terms.
S=420S = 420
20 · 42 / 2.

Practice ★

  1. How many terms does ∑k=220(2k+1)\displaystyle\sum_{k=2}^{ 20 } (2k + 1) have?
  2. How many terms does ∑k=24268(2k+1)\displaystyle\sum_{k=24}^{ 268 } (2k + 1) have?
  3. How many terms does ∑k=319(2k+1)\displaystyle\sum_{k=3}^{ 19 } (2k + 1) have?

Watch out!

Practice ★★

  1. Find ∑k=130(3k+7)\displaystyle\sum_{k=1}^{ 30 } (3k + 7).
  2. Find ∑k=111(6k+8)\displaystyle\sum_{k=1}^{ 11 } (6k + 8).
  3. Find ∑k=121(6k+6)\displaystyle\sum_{k=1}^{ 21 } (6k + 6).
  1. Find 1+2+3+⋯+201 + 2 + 3 + \dots + 20.
  2. Find 1+2+3+⋯+801 + 2 + 3 + \dots + 80.

Exit ticket

Three questions to check you have got it.

  1. Find ∑k=130(3k+7)\displaystyle\sum_{k=1}^{ 30 } (3k + 7).
  2. Find ∑k=111(6k+8)\displaystyle\sum_{k=1}^{ 11 } (6k + 8).
  3. Find ∑k=121(6k+6)\displaystyle\sum_{k=1}^{ 21 } (6k + 6).

Summary card

Arithmetic series

  • ∑k=pq\displaystyle\sum_{k=p}^{q} has q−p+1q - p + 1 terms.
  • Sn=n(a1+an)2S_n = \dfrac{n(a_1 + a_n)}{2}.
  • 1+2+⋯+n=n(n+1)21 + 2 + \dots + n = \dfrac{n(n + 1)}{2}.

Watch out: count the terms with +1+1.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. Find the sum of the first 56 odd numbers, 1+3+5+…1 + 3 + 5 + \dots

5. Finite geometric series

Warm-up

Three quick questions from earlier lessons.

  1. A geometric sequence has a1=5a_1 = 5 and ratio 2. Find a5a_{ 5 }.
  2. Find the common ratio of the geometric sequence 2,6,18,…2, 6, 18, \dots
  3. Write a formula for ana_n, starting at n=1n = 1: 5,10,20,…5, 10, 20, \dots

Discover

S=1+2+4+8+16S = 1 + 2 + 4 + 8 + 16. What is 2S−S2S - S?

  1. 32−1=3132 - 1 = 31
  2. 1616

Key idea

Multiplying by rr and subtracting gives the sum of a geometric sequence.

The sum of the first nn terms of a geometric sequence (r≠1r \ne 1) is Sn=a1 rn−1r−1S_n = a_1\,\dfrac{r^n - 1}{r - 1}.

Worked example

Find 3+6+12+…3 + 6 + 12 + \dots (8 terms).

S8=3⋅28−12−1S_8 = 3 \cdot \dfrac{2^8 - 1}{2 - 1}
a₁ = 3, r = 2, n = 8.
S8=3⋅255=765S_8 = 3 \cdot 255 = 765
2⁸ = 256.

Your turn, guided

Your turn: 1+3+9+…1 + 3 + 9 + \dots (5 terms).

S5=35−13−1S_5 = \dfrac{3^5 - 1}{3 - 1}
a₁ = 1, r = 3.
S5=121S_5 = 121
(243 − 1)/2.

Practice ★

  1. Find the sum of the first 6 terms of the geometric sequence with a1=8a_1 = 8 and ratio 3.
  2. Find the sum of the first 5 terms of the geometric sequence with a1=7a_1 = 7 and ratio 2.
  3. Find the sum of the first 5 terms of the geometric sequence with a1=4a_1 = 4 and ratio 2.

Watch out!

Practice ★★

  1. Find ∑k=062k\displaystyle\sum_{k=0}^{ 6 } 2^k.
  2. Find ∑k=0102k\displaystyle\sum_{k=0}^{ 10 } 2^k.
  1. You put 764 dollars in a savings account at the end of each year, at 5 % interest a year. How much is in the account right after the 12th payment? Round to the nearest cent.
  2. You put 344 dollars in a savings account at the end of each year, at 5 % interest a year. How much is in the account right after the 11th payment? Round to the nearest cent.

Exit ticket

Three questions to check you have got it.

  1. Find the sum of the first 6 terms of the geometric sequence with a1=8a_1 = 8 and ratio 3.
  2. Find the sum of the first 5 terms of the geometric sequence with a1=7a_1 = 7 and ratio 2.
  3. Find the sum of the first 5 terms of the geometric sequence with a1=4a_1 = 4 and ratio 2.

Summary card

Finite geometric series

  • Sn=a1 rn−1r−1S_n = a_1\,\dfrac{r^n - 1}{r - 1}.
  • nn is the number of terms; the power is rnr^n.

Watch out: the last term is a1r n−1a_1 r^{\,n-1}, but the sum uses rnr^n.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. Find ∑k=156⋅2k−1\displaystyle\sum_{k=1}^{ 5 } 6 \cdot 2^{k-1}.

6. The binomial theorem

Warm-up

Three quick questions from earlier lessons.

  1. How many terms does ∑k=220(2k+1)\displaystyle\sum_{k=2}^{ 20 } (2k + 1) have?
  2. Find ∑k=130(3k+7)\displaystyle\sum_{k=1}^{ 30 } (3k + 7).
  3. Find 1+2+3+⋯+201 + 2 + 3 + \dots + 20.

Discover

(1+x)2=1+2x+x2(1 + x)^2 = 1 + 2x + x^2 and (1+x)3=1+3x+3x2+x3(1 + x)^3 = 1 + 3x + 3x^2 + x^3. The coefficients 1,3,3,11, 3, 3, 1 are a row of Pascal's triangle. What is the next row?

  1. 1,4,6,4,11, 4, 6, 4, 1
  2. 1,4,4,4,11, 4, 4, 4, 1

Key idea

The binomial theorem expands any power of a sum.

(a+b)n=∑k=0n(nk)a n−kb k(a + b)^n = \displaystyle\sum_{k=0}^{n} \binom{n}{k} a^{\,n-k} b^{\,k}, with (nk)=n!k! (n−k)!\dbinom{n}{k} = \dfrac{n!}{k!\,(n - k)!}. For example (n1)=n\dbinom{n}{1} = n and (n2)=n(n−1)2\dbinom{n}{2} = \dfrac{n(n - 1)}{2}.

Worked example

Find the coefficient of x2x^2 in (x+3)5(x + 3)^5.

Term: (53)x2⋅33\dbinom{5}{3} x^2 \cdot 3^3
x² means b = 3 appears 3 times: k = 3 with b = 3.
10⋅27=27010 \cdot 27 = 270
C(5, 3) = 10.

Your turn, guided

Your turn: the coefficient of x2x^2 in (1+x)6(1 + x)^6.

(62)=6⋅52\dbinom{6}{2} = \dfrac{6 \cdot 5}{2}
C(6, 2).
=15= 15
30 ÷ 2.

Practice ★

  1. Find the coefficient of x2x^2 in (1+x)6(1 + x)^{ 6 }.
  2. Find the coefficient of x2x^2 in (1+x)35(1 + x)^{ 35 }.
  3. Find the coefficient of x2x^2 in (1+x)4(1 + x)^{ 4 }.

Watch out!

Practice ★★

  1. Find the coefficient of xx in (x+4)4(x + 4)^{ 4 }.
  2. Find the coefficient of xx in (x+3)5(x + 3)^{ 5 }.
  3. Find the coefficient of xx in (x+5)4(x + 5)^{ 4 }.
  1. In (2x+2)2=4x2+kx+4(2x + 2)^2 = 4x^2 + kx + 4, what is kk?
  2. In (7x+2)2=49x2+kx+4(7x + 2)^2 = 49x^2 + kx + 4, what is kk?

Exit ticket

Three questions to check you have got it.

  1. Find the coefficient of xx in (x+4)4(x + 4)^{ 4 }.
  2. Find the coefficient of xx in (x+3)5(x + 3)^{ 5 }.
  3. Find the coefficient of xx in (x+5)4(x + 5)^{ 4 }.

Summary card

The binomial theorem

  • (a+b)n=∑(nk)a n−kb k(a + b)^n = \sum \dbinom{n}{k} a^{\,n-k} b^{\,k}.
  • Coefficients: a row of Pascal's triangle.
  • Include the powers of the constants.

Watch out: (a+b)2≠a2+b2(a + b)^2 \ne a^2 + b^2.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. Find the coefficient of x2x^2 in (1+2x)10(1 + 2x)^{ 10 }.

7. Fibonacci sequences and the golden ratio

Discover

1, 1, 2, 3, 5, 8, 13, … each term is the sum of the two before. Divide each term by the one before: 2, 1.5, 1.67, 1.6, 1.625, … Do these ratios settle down?

  1. Yes, near 1.618
  2. No, they keep growing like the terms

Key idea

Fibonacci and the golden ratio.

If un+1=un+un−1u_{n+1} = u_n + u_{n-1} and the ratio un+1un\dfrac{u_{n+1}}{u_n} tends to xx, then x=1+1xx = 1 + \dfrac{1}{x}, so x2=x+1x^2 = x + 1 and

x=φ=1+52≈1.618x = \varphi = \dfrac{1 + \sqrt{5}}{2} \approx 1.618.

Worked example

A sequence follows the same rule with u1=2u_1 = 2 and u2=5u_2 = 5. Find u5u_5.

u3=7u_3 = 7, u4=12u_4 = 12
u3=5+2u_3 = 5 + 2, u4=7+5u_4 = 7 + 5.
u5=19u_5 = 19
u5=12+7u_5 = 12 + 7.

Your turn, guided

Your turn: with u1=1u_1 = 1 and u2=3u_2 = 3, what is u4u_4?

u4=7u_4 = 7
u3=4u_3 = 4, then u4=4+3u_4 = 4 + 3.

Practice ★

  1. un+1=un+un−1u_{n+1} = u_n + u_{n-1} with u1=3u_1 = 3 and u2=6u_2 = 6. Find u5u_5.
  2. un+1=un+un−1u_{n+1} = u_n + u_{n-1} with u1=4u_1 = 4 and u2=4u_2 = 4. Find u5u_5.
  3. un+1=un+un−1u_{n+1} = u_n + u_{n-1} with u1=5u_1 = 5 and u2=6u_2 = 6. Find u5u_5.

Practice ★★

  1. The ratio of consecutive Fibonacci numbers tends to the positive solution of x2=x+1x^2 = x + 1. Give it exactly.

Exit ticket

Two questions to check.

  1. un+1=un+un−1u_{n+1} = u_n + u_{n-1} with u1=3u_1 = 3 and u2=6u_2 = 6. Find u5u_5.
  2. un+1=un+un−1u_{n+1} = u_n + u_{n-1} with u1=4u_1 = 4 and u2=4u_2 = 4. Find u5u_5.

Summary card

Fibonacci-type sequences

  • Each term is the sum of the two before.
  • The ratio of consecutive terms tends to φ≈1.618\varphi \approx 1.618.

Spirals in sunflowers and pine cones often show Fibonacci numbers.

8. History of sequences: Zeno, Fibonacci and Gauss

Discover

Around 450 BC, Zeno of Elea argued: to cross a room you must first reach the middle, then the middle of what is left, and so on, forever. So you can never arrive! What is wrong?

  1. Infinitely many steps can have a finite total: 12+14+18+⋯=1\tfrac{1}{2} + \tfrac{1}{4} + \tfrac{1}{8} + \dots = 1
  2. Nothing: motion is impossible

Key idea

Sequences through history.

500 BCE150010001500c. 450 BCEZenoc. 450 BCEZeno
  1. Step 1500 BCE150010001500c. 450 BCEZenoc. 450 BCEZenoZeno of Elea c. 490 – c. 430 BCImagined portraitJan de Bisschop, 1666–1671. CC0 1.0Zeno of Elea (about 490–425 BC): the dichotomy, an infinite number of halves.
  2. Step 2500 BCE150010001500c. 450 BCEZenoc. 1202Fibonaccic. 450 BCEZenoc. 1202FibonacciFibonacci c. 1170 – c. 1250Imagined portraitUnknown artist. Public domain1202: Fibonacci's Liber abaci brings Hindu-Arabic numerals to Europe and poses the rabbit problem.
  3. Step 3500 BCE150010001500c. 450 BCEZenoc. 1202Fibonaccic. 1786Gaussc. 450 BCEZenoc. 1202Fibonaccic. 1786GaussCarl Friedrich Gauss 1777–1855Gottlieb Biermann / After Christian Albrecht Jensen, 1840. Public domainGauss (born 1777), at school, adds 1 to 100 instantly by pairing the numbers.

Zeno's puzzles led to infinite sums. In 1202 Fibonacci's Liber abaci asked how many pairs of rabbits grow from one pair: 1,1,2,3,5,8,…1, 1, 2, 3, 5, 8, \dots As a schoolboy, Gauss added 1+2+⋯+1001 + 2 + \dots + 100 at once: 50 pairs, each summing to 101.

Worked example

Gauss's trick for 1+2+⋯+1001 + 2 + \dots + 100:

each pair is 101
Pair the first and last terms: 1+1001 + 100, 2+992 + 99, …
50×101=505050 \times 101 = 5050
There are 50 pairs.

Practice ★

  1. Besides the rabbit problem, what did Fibonacci's Liber abaci (1202) bring to Europe?
    1. The Hindu-Arabic place-value numerals
    2. Logarithm tables
    3. Roman numerals
  1. Use Gauss's pairing trick: 1+2+⋯+981 + 2 + \dots + 98.
  2. Use Gauss's pairing trick: 1+2+⋯+781 + 2 + \dots + 78.
  1. Zeno's walker has covered 12+14+⋯+123\tfrac{1}{2} + \tfrac{1}{4} + \dots + \tfrac{1}{2^{ 3 } } of the room. How much is that?

Summary card

Sequences today

  • Savings and loans grow as geometric sequences.
  • Computer programs repeat steps with recursive rules, like Fibonacci's.
  • Zeno's sums appear whenever a quantity halves again and again, such as radioactive decay.

Sources: MacTutor biographies of Zeno of Elea, Fibonacci and Gauss (see "Sources and credits").

9. Infinite geometric series

Warm-up

Three quick questions from earlier lessons.

  1. A stadium section has 15 seats in its first row, and each row has 4 more seats than the row before. There are 24 rows.
    1. Seats in the last row:   ?\;?
    2. Total number of seats:   ?\;?
    3. Write the number of seats in row nn, ana_n:
    4. Which row has 51 seats?
    5. If instead each row had twice as many seats as the row before (first row 15), how many seats would row 3 have?
    6. In that doubling section, the total number of seats in the first 3 rows:
  2. Find the sum of the first 6 terms of the geometric sequence with a1=8a_1 = 8 and ratio 3.
  3. Find ∑k=062k\displaystyle\sum_{k=0}^{ 6 } 2^k.

Discover

You walk half way to a wall, then half the remaining distance, and so on: 12+14+18+…\dfrac{1}{2} + \dfrac{1}{4} + \dfrac{1}{8} + \dots What does this add up to?

  1. 1
  2. It grows without bound

Key idea

When ∣r∣<1|r| < 1, the terms shrink so fast that the infinite sum has a value.

If ∣r∣<1|r| < 1: a+ar+ar2+⋯=a1−ra + ar + ar^2 + \dots = \dfrac{a}{1 - r}. If ∣r∣≥1|r| \ge 1, the series has no sum.

Worked example

Write 0.36‾=0.363636…0.\overline{36} = 0.363636\dots as a fraction.

0.36‾=36100+361002+…0.\overline{36} = \dfrac{36}{100} + \dfrac{36}{100^2} + \dots
Blocks of two digits.
S=36/1001−1/100=3699S = \dfrac{36/100}{1 - 1/100} = \dfrac{36}{99}
a = 36/100, r = 1/100.
0.36‾=4110.\overline{36} = \dfrac{4}{11}
Divide by 9.

Your turn, guided

Your turn: 6+2+23+…6 + 2 + \dfrac{2}{3} + \dots

r=13r = \dfrac{1}{3}, and ∣r∣<1|r| < 1
2 ÷ 6.
S=9S = 9
6 / (1 − 1/3) = 6 / (2/3).

Practice ★

  1. Find the sum 3+32+34+…3 + \dfrac{ 3 }{ 2 } + \dfrac{ 3 }{ 4 } + \dots
  2. Find the sum 17+1712+17144+…17 + \dfrac{ 17 }{ 12 } + \dfrac{ 17 }{ 144 } + \dots
  3. Find the sum 2+22+24+…2 + \dfrac{ 2 }{ 2 } + \dfrac{ 2 }{ 4 } + \dots

Watch out!

Practice ★★

  1. Does the series 1+62+(62)2+…1 + \dfrac{ 6 }{ 2 } + \left(\dfrac{ 6 }{ 2 }\right)^2 + \dots have a sum?
    1. No: the ratio is greater than 1, so the terms keep growing
    2. Yes: 11−r\dfrac{1}{1 - r} with r=62r = \dfrac{ 6 }{ 2 }
    3. Yes: every infinite geometric series has a sum
  1. Write 0.4‾=0.444…0.\overline{ 4 } = 0.444\dots as a fraction, using 410+4100+…\dfrac{ 4 }{10} + \dfrac{ 4 }{100} + \dots
  2. Write 0.6‾=0.666…0.\overline{ 6 } = 0.666\dots as a fraction, using 610+6100+…\dfrac{ 6 }{10} + \dfrac{ 6 }{100} + \dots
  3. Write 0.1‾=0.111…0.\overline{ 1 } = 0.111\dots as a fraction, using 110+1100+…\dfrac{ 1 }{10} + \dfrac{ 1 }{100} + \dots

Exit ticket

Three questions to check you have got it.

  1. Find the sum 3+32+34+…3 + \dfrac{ 3 }{ 2 } + \dfrac{ 3 }{ 4 } + \dots
  2. Find the sum 17+1712+17144+…17 + \dfrac{ 17 }{ 12 } + \dfrac{ 17 }{ 144 } + \dots
  3. Find the sum 2+22+24+…2 + \dfrac{ 2 }{ 2 } + \dfrac{ 2 }{ 4 } + \dots

Summary card

Infinite geometric series

  • ∣r∣<1|r| < 1: S=a1−rS = \dfrac{a}{1 - r}.
  • ∣r∣≥1|r| \ge 1: no sum.
  • Repeating decimals are such series.

Watch out: check ∣r∣<1|r| < 1 before using the formula.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. Write 0.83‾0.\overline{ 83 } as a fraction, using the series 83100+8310000+…\dfrac{ 83 }{100} + \dfrac{ 83 }{10000} + \dots

10. Convergence of series; the nth-term test

Warm-up

Three quick questions from earlier lessons.

  1. Find lim⁡x→∞9x2+42x2+5\displaystyle\lim_{x \to \infty} \dfrac{ 9x^2 + 4}{ 2x^2 + 5}.
  2. Find lim⁡x→∞2x+6x2+4\displaystyle\lim_{x \to \infty} \dfrac{ 2x + 6}{x^2 + 4}.
  3. What is lim⁡x→∞5x3x2+5\displaystyle\lim_{x \to \infty} \dfrac{ 5x^3}{x^2 + 5}?
    1. It is ∞\infty: the fraction grows without bound
    2. 55
    3. 00

Discover

∑n=1∞nn+1=12+23+34+⋯\displaystyle\sum_{n=1}^{\infty} \dfrac{n}{n + 1} = \tfrac{1}{2} + \tfrac{2}{3} + \tfrac{3}{4} + \dotsb. The terms get close to 1. Can the sum be a finite number?

  1. No
  2. Yes, since each term is less than 1

Key idea

A series converges when its partial sums settle.

∑an\displaystyle\sum a_n converges to SS if the partial sums SN=a1+⋯+aNS_N = a_1 + \dotsb + a_N tend to SS. nth-term test: if an↛0a_n \not\to 0, the series diverges. If an→0a_n \to 0, the test says nothing (∑ 1/n diverges).

Worked example

∑n=1∞(1n−1n+1)\displaystyle\sum_{n=1}^{\infty} \left(\dfrac{1}{n} - \dfrac{1}{n + 1}\right), a telescoping sum.

SN=1−1N+1S_N = 1 - \dfrac{1}{N + 1}
Terms cancel in pairs.
SN→1S_N \to 1
N → ∞.
The series converges to 1
So:

Your turn, guided

Your turn: ∑3nn+2\displaystyle\sum \dfrac{3n}{n + 2}. The limit of the terms is…

33, so the series diverges
3n/(n + 2) → 3 ≠ 0: diverges.

Practice ★

  1. Does ∑n=1∞6nn+3\displaystyle\sum_{n=1}^{\infty} \dfrac{ 6n}{n + 3} converge?
    1. No: the terms tend to 6 ≠ 0, so it diverges (nth-term test)
    2. Yes, because each term is less than 6
    3. The nth-term test cannot decide
  2. Does ∑n=1∞5nn+8\displaystyle\sum_{n=1}^{\infty} \dfrac{ 5n}{n + 8} converge?
    1. No: the terms tend to 5 ≠ 0, so it diverges (nth-term test)
    2. Yes, because each term is less than 5
    3. The nth-term test cannot decide
  1. Find ∑n=1∞(2n−2n+1)\displaystyle\sum_{n=1}^{\infty} \left(\dfrac{ 2 }{n} - \dfrac{ 2 }{n + 1}\right).
  2. Find ∑n=1∞(52n−52n+1)\displaystyle\sum_{n=1}^{\infty} \left(\dfrac{ 52 }{n} - \dfrac{ 52 }{n + 1}\right).

Watch out!

Practice ★★

  1. ∑n=1∞4n\displaystyle\sum_{n=1}^{\infty} \dfrac{ 4 }{n}: its terms tend to 0. What does that tell you?
    1. Nothing by itself: this series in fact diverges (harmonic series)
    2. The series converges
    3. The sum is 0

Exit ticket

Three questions to check you have got it.

  1. Does ∑n=1∞6nn+3\displaystyle\sum_{n=1}^{\infty} \dfrac{ 6n}{n + 3} converge?
    1. No: the terms tend to 6 ≠ 0, so it diverges (nth-term test)
    2. Yes, because each term is less than 6
    3. The nth-term test cannot decide
  2. Does ∑n=1∞5nn+8\displaystyle\sum_{n=1}^{\infty} \dfrac{ 5n}{n + 8} converge?
    1. No: the terms tend to 5 ≠ 0, so it diverges (nth-term test)
    2. Yes, because each term is less than 5
    3. The nth-term test cannot decide
  3. Does ∑n=1∞5nn+2\displaystyle\sum_{n=1}^{\infty} \dfrac{ 5n}{n + 2} converge?
    1. No: the terms tend to 5 ≠ 0, so it diverges (nth-term test)
    2. Yes, because each term is less than 5
    3. The nth-term test cannot decide

Summary card

Convergence

  • Converges: the partial sums have a limit.
  • an↛0a_n \not\to 0: diverges. an→0a_n \to 0: test another way.

Watch out: the harmonic series diverges.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. Find ∑n=1∞2n(n+1)\displaystyle\sum_{n=1}^{\infty} \dfrac{ 2 }{n(n + 1)}.

11. The integral test and p-series

Warm-up

Three quick questions from earlier lessons.

  1. Evaluate ∫0∞xe−2x dx\displaystyle\int_0^{\infty} x e^{-2x}\,dx.
    1. An antiderivative of xe−2xxe^{-2x} (by parts):   ?\;?
    2. Its limit as x→∞x \to \infty:   ?\;?
    3. The value of the integral:   ?\;?
    4. Compare with a p-integral: ∫1∞dxx3=  ?\displaystyle\int_1^{\infty} \dfrac{dx}{x^{ 3 } } = \;?
    5. An integrand that blows up at 0: ∫01dxx=  ?\displaystyle\int_0^1 \dfrac{dx}{\sqrt{x} } = \;?
  2. Which improper integrals converge? Tick all that do.
    1. ∫1∞3x2 dx\displaystyle\int_1^{\infty} \dfrac{ 3 }{x^2}\,dx
    2. ∫013x dx\displaystyle\int_0^1 \dfrac{ 3 }{\sqrt{x} }\,dx
    3. ∫0∞e−3x dx\displaystyle\int_0^{\infty} e^{-3x}\,dx
    4. ∫1∞3x dx\displaystyle\int_1^{\infty} \dfrac{ 3 }{\sqrt{x} }\,dx
    5. ∫013x2 dx\displaystyle\int_0^1 \dfrac{ 3 }{x^2}\,dx
  3. For which pp does ∫2∞dxxp\displaystyle\int_{ 2 }^{\infty} \dfrac{dx}{x^p} converge?
    1. p>1p > 1
    2. p≥1p \ge 1
    3. p<1p < 1

Discover

Draw rectangles of width 1 and heights 1n2\tfrac{1}{n^2} from n=2n = 2 on. They fit under y=1x2y = \tfrac{1}{x^2} from 1 to ∞, whose area is 1. So is ∑n=2∞1n2\displaystyle\sum_{n=2}^{\infty} \tfrac{1}{n^2} finite?

  1. Yes, less than 1
  2. No, there are infinitely many terms

Key idea

A series and an integral share their fate.

Integral test: if ff is positive, continuous and decreasing with an=f(n)a_n = f(n), then ∑an\sum a_n and ∫1∞f(x) dx\displaystyle\int_1^{\infty} f(x)\,dx both converge or both diverge. p-series: ∑1np\displaystyle\sum \dfrac{1}{n^p} converges exactly when p>1p > 1.

Worked example

Does ∑1n1.1\displaystyle\sum \dfrac{1}{n^{1.1}} converge? And ∑1n0.9\displaystyle\sum \dfrac{1}{n^{0.9}}?

∑1n1.1\displaystyle\sum \dfrac{1}{n^{1.1}} converges
p = 1.1 > 1.
∑1n0.9\displaystyle\sum \dfrac{1}{n^{0.9}} diverges
p = 0.9 ≤ 1.

Your turn, guided

Your turn: the p of ∑1nn\displaystyle\sum \dfrac{1}{n\sqrt{n}}.

p=32p = \tfrac{3}{2}: converges
n · n^{1/2} = n^{3/2}.

Practice ★

  1. Which series converge? Tick all that do.
    1. ∑n=1∞1n2\displaystyle\sum_{n=1}^{\infty} \dfrac{ 1 }{n^2}
    2. ∑n=1∞1n3/2\displaystyle\sum_{n=1}^{\infty} \dfrac{ 1 }{n^{3/2} }
    3. ∑n=1∞1n\displaystyle\sum_{n=1}^{\infty} \dfrac{ 1 }{\sqrt{n} }
    4. ∑n=1∞1n\displaystyle\sum_{n=1}^{\infty} \dfrac{ 1 }{n}
  2. Which series converge? Tick all that do.
    1. ∑n=1∞4n2\displaystyle\sum_{n=1}^{\infty} \dfrac{ 4 }{n^2}
    2. ∑n=1∞4n3/2\displaystyle\sum_{n=1}^{\infty} \dfrac{ 4 }{n^{3/2} }
    3. ∑n=1∞4n\displaystyle\sum_{n=1}^{\infty} \dfrac{ 4 }{\sqrt{n} }
    4. ∑n=1∞4n\displaystyle\sum_{n=1}^{\infty} \dfrac{ 4 }{n}

Watch out!

Practice ★★

  1. Use the integral test on ∑n=1∞7ne−n2\displaystyle\sum_{n=1}^{\infty} 7n e^{-n^2}.
    1. It converges: the integral of 7xe^(−x²) from 1 to ∞ is finite
    2. It diverges, because n grows
    3. The integral test does not apply
  1. The integral test bounds ∑k=2∞1k6\displaystyle\sum_{k=2}^{\infty} \dfrac{1}{k^{ 6 } } by ∫1∞dxx6\displaystyle\int_1^{\infty} \dfrac{dx}{x^{ 6 } }. Find that integral.
  2. The integral test bounds ∑k=2∞1k2\displaystyle\sum_{k=2}^{\infty} \dfrac{1}{k^{ 2 } } by ∫1∞dxx2\displaystyle\int_1^{\infty} \dfrac{dx}{x^{ 2 } }. Find that integral.

Exit ticket

Three questions to check you have got it.

  1. Which series converge? Tick all that do.
    1. ∑n=1∞1n2\displaystyle\sum_{n=1}^{\infty} \dfrac{ 1 }{n^2}
    2. ∑n=1∞1n3/2\displaystyle\sum_{n=1}^{\infty} \dfrac{ 1 }{n^{3/2} }
    3. ∑n=1∞1n\displaystyle\sum_{n=1}^{\infty} \dfrac{ 1 }{\sqrt{n} }
    4. ∑n=1∞1n\displaystyle\sum_{n=1}^{\infty} \dfrac{ 1 }{n}
  2. Which series converge? Tick all that do.
    1. ∑n=1∞4n2\displaystyle\sum_{n=1}^{\infty} \dfrac{ 4 }{n^2}
    2. ∑n=1∞4n3/2\displaystyle\sum_{n=1}^{\infty} \dfrac{ 4 }{n^{3/2} }
    3. ∑n=1∞4n\displaystyle\sum_{n=1}^{\infty} \dfrac{ 4 }{\sqrt{n} }
    4. ∑n=1∞4n\displaystyle\sum_{n=1}^{\infty} \dfrac{ 4 }{n}
  3. Which series converge? Tick all that do.
    1. ∑n=1∞8n2\displaystyle\sum_{n=1}^{\infty} \dfrac{ 8 }{n^2}
    2. ∑n=1∞8n3/2\displaystyle\sum_{n=1}^{\infty} \dfrac{ 8 }{n^{3/2} }
    3. ∑n=1∞8n\displaystyle\sum_{n=1}^{\infty} \dfrac{ 8 }{\sqrt{n} }
    4. ∑n=1∞8n\displaystyle\sum_{n=1}^{\infty} \dfrac{ 8 }{n}

Summary card

Integral test, p-series

  • Positive decreasing terms: compare with ∫1∞f\int_1^{\infty} f.
  • ∑1/np\sum 1/n^p: converges iff p>1p > 1.

Watch out: p=1p = 1 diverges.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. Use ∑n=1∞1n4≤1+∫1∞dxx4\displaystyle\sum_{n=1}^{\infty} \dfrac{1}{n^{ 4 } } \le 1 + \int_1^{\infty} \dfrac{dx}{x^{ 4 } }. Give this upper bound.

12. Comparison tests

Warm-up

Three quick questions from earlier lessons.

  1. Which series converge? Tick all that do.
    1. ∑n=1∞1n2\displaystyle\sum_{n=1}^{\infty} \dfrac{ 1 }{n^2}
    2. ∑n=1∞1n3/2\displaystyle\sum_{n=1}^{\infty} \dfrac{ 1 }{n^{3/2} }
    3. ∑n=1∞1n\displaystyle\sum_{n=1}^{\infty} \dfrac{ 1 }{\sqrt{n} }
    4. ∑n=1∞1n\displaystyle\sum_{n=1}^{\infty} \dfrac{ 1 }{n}
  2. Use the integral test on ∑n=1∞7ne−n2\displaystyle\sum_{n=1}^{\infty} 7n e^{-n^2}.
    1. It converges: the integral of 7xe^(−x²) from 1 to ∞ is finite
    2. It diverges, because n grows
    3. The integral test does not apply
  3. The integral test bounds ∑k=2∞1k6\displaystyle\sum_{k=2}^{\infty} \dfrac{1}{k^{ 6 } } by ∫1∞dxx6\displaystyle\int_1^{\infty} \dfrac{dx}{x^{ 6 } }. Find that integral.

Discover

0<1n2+5<1n20 < \dfrac{1}{n^2 + 5} < \dfrac{1}{n^2} and ∑1n2\sum \dfrac{1}{n^2} converges. What can you say about ∑1n2+5\sum \dfrac{1}{n^2 + 5}?

  1. It converges
  2. Nothing

Key idea

Compare with a series you know.

Direct comparison (0≤an≤bn0 \le a_n \le b_n): if ∑bn\sum b_n converges, so does ∑an\sum a_n; if ∑an\sum a_n diverges, so does ∑bn\sum b_n. Limit comparison: if an,bn>0a_n, b_n > 0 and an/bn→ca_n/b_n \to c with 0<c<∞0 < c < \infty, both series converge or both diverge.

Worked example

∑3n+2n3−n+4\displaystyle\sum \dfrac{3n + 2}{n^3 - n + 4}.

It behaves like 3n2\dfrac{3}{n^2}
Leading terms: 3n/n³.
Limit comparison with ∑1n2\sum \dfrac{1}{n^2}
Ratio with 1/n² → 3.
Converges
p = 2 > 1.

Your turn, guided

Your turn: ∑nn2+1\displaystyle\sum \dfrac{n}{n^2 + 1} behaves like ∑1np\sum \dfrac{1}{n^{p}} with…

p=1p = 1: diverges
n/n² = 1/n: diverges.

Practice ★

  1. Does ∑n=1∞1n2+7\displaystyle\sum_{n=1}^{\infty} \dfrac{1}{n^2 + 7} converge?
    1. Yes: it is smaller than the convergent ∑ 1/n²
    2. No: it is smaller than the divergent ∑ 1/n
    3. No test applies
  1. Does ∑n=1∞2n+1n3+8\displaystyle\sum_{n=1}^{\infty} \dfrac{2n + 1}{n^3 + 8} converge?
    1. Yes: it behaves like ∑ 2/n², a convergent p-series
    2. No: the top grows
    3. No: it behaves like ∑ 1/n

Watch out!

Practice ★★

  1. Does ∑n=1∞1n+8\displaystyle\sum_{n=1}^{\infty} \dfrac{1}{\sqrt{n} + 8} converge?
    1. No: it behaves like ∑ 1/√n, which diverges (limit comparison)
    2. Yes: it is smaller than ∑ 1/√n
    3. Yes: its terms tend to 0
  2. Does ∑n=1∞1n+6\displaystyle\sum_{n=1}^{\infty} \dfrac{1}{\sqrt{n} + 6} converge?
    1. No: it behaves like ∑ 1/√n, which diverges (limit comparison)
    2. Yes: it is smaller than ∑ 1/√n
    3. Yes: its terms tend to 0

Exit ticket

Three questions to check you have got it.

  1. Does ∑n=1∞1n2+7\displaystyle\sum_{n=1}^{\infty} \dfrac{1}{n^2 + 7} converge?
    1. Yes: it is smaller than the convergent ∑ 1/n²
    2. No: it is smaller than the divergent ∑ 1/n
    3. No test applies
  2. Does ∑n=1∞1n2+8\displaystyle\sum_{n=1}^{\infty} \dfrac{1}{n^2 + 8} converge?
    1. Yes: it is smaller than the convergent ∑ 1/n²
    2. No: it is smaller than the divergent ∑ 1/n
    3. No test applies
  3. Does ∑n=1∞1n2+9\displaystyle\sum_{n=1}^{\infty} \dfrac{1}{n^2 + 9} converge?
    1. Yes: it is smaller than the convergent ∑ 1/n²
    2. No: it is smaller than the divergent ∑ 1/n
    3. No test applies

Summary card

Comparison tests

  • Below convergent: converges. Above divergent: diverges.
  • Same leading behavior: limit comparison.

Watch out: below a divergent series tells you nothing.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. For the limit comparison test, find lim⁡n→∞1/(n2+5)1/n2\displaystyle\lim_{n \to \infty} \dfrac{1/(n^2 + 5)}{1/n^2}.

13. Alternating series and the error bound

Warm-up

Three quick questions from earlier lessons.

  1. Does ∑n=1∞6nn+3\displaystyle\sum_{n=1}^{\infty} \dfrac{ 6n}{n + 3} converge?
    1. No: the terms tend to 6 ≠ 0, so it diverges (nth-term test)
    2. Yes, because each term is less than 6
    3. The nth-term test cannot decide
  2. ∑n=1∞4n\displaystyle\sum_{n=1}^{\infty} \dfrac{ 4 }{n}: its terms tend to 0. What does that tell you?
    1. Nothing by itself: this series in fact diverges (harmonic series)
    2. The series converges
    3. The sum is 0
  3. Find ∑n=1∞(2n−2n+1)\displaystyle\sum_{n=1}^{\infty} \left(\dfrac{ 2 }{n} - \dfrac{ 2 }{n + 1}\right).

Discover

1−12+13−14+⋯1 - \tfrac{1}{2} + \tfrac{1}{3} - \tfrac{1}{4} + \dotsb: the partial sums go 1,0.5,0.83,0.58,0.78,…1, 0.5, 0.83, 0.58, 0.78, \dots. Do they settle?

  1. Yes
  2. No, because ∑1n\sum \tfrac{1}{n} diverges

Key idea

Alternating signs help convergence, and give an error bound.

Alternating series test: if bn>0b_n > 0 decreases to 0, then ∑(−1)n+1bn\sum (-1)^{n+1} b_n converges, and ∣S−SN∣≤bN+1|S - S_N| \le b_{N+1} (the first term left out). If ∑∣an∣\sum |a_n| converges, the series converges absolutely; if only ∑an\sum a_n does, conditionally.

Worked example

∑(−1)n+1n3\displaystyle\sum \dfrac{(-1)^{n+1}}{n^3} with 3 terms.

S3=197216≈0.912S_3 = \tfrac{197}{216} \approx 0.912
1 − 1/8 + 1/27.
∣S−S3∣≤164|S - S_3| \le \tfrac{1}{64}
First omitted term.
Absolutely convergent
∑1/n³ converges.

Your turn, guided

Your turn: the error bound for ∑(−1)n+1n\displaystyle\sum \dfrac{(-1)^{n+1}}{n} after 4 terms.

15\tfrac{1}{5}
b₅.

Practice ★

  1. Does ∑n=1∞(−1)n+17n\displaystyle\sum_{n=1}^{\infty} \dfrac{(-1)^{n+1} 7 }{n} converge?
    1. Yes, conditionally: the terms alternate, shrink and tend to 0
    2. No: ∑ 7/n diverges
    3. Yes, absolutely
  1. Find the partial sum S3S_3 of ∑n=1∞(−1)n+16n\displaystyle\sum_{n=1}^{\infty} \dfrac{(-1)^{n+1} 6 }{n}.
  2. Find the partial sum S3S_3 of ∑n=1∞(−1)n+178n\displaystyle\sum_{n=1}^{\infty} \dfrac{(-1)^{n+1} 78 }{n}.

Watch out!

Practice ★★

  1. S=∑n=1∞(−1)n+1n2S = \displaystyle\sum_{n=1}^{\infty} \dfrac{(-1)^{n+1} }{n^2} is approximated by its first 8 terms. Give the alternating-series bound on the error.
  2. S=∑n=1∞(−1)n+1n2S = \displaystyle\sum_{n=1}^{\infty} \dfrac{(-1)^{n+1} }{n^2} is approximated by its first 2 terms. Give the alternating-series bound on the error.

Exit ticket

Three questions to check you have got it.

  1. S=∑n=1∞(−1)n+1n2S = \displaystyle\sum_{n=1}^{\infty} \dfrac{(-1)^{n+1} }{n^2} is approximated by its first 8 terms. Give the alternating-series bound on the error.
  2. S=∑n=1∞(−1)n+1n2S = \displaystyle\sum_{n=1}^{\infty} \dfrac{(-1)^{n+1} }{n^2} is approximated by its first 2 terms. Give the alternating-series bound on the error.
  3. S=∑n=1∞(−1)n+1n2S = \displaystyle\sum_{n=1}^{\infty} \dfrac{(-1)^{n+1} }{n^2} is approximated by its first 6 terms. Give the alternating-series bound on the error.

Summary card

Alternating series

  • bnb_n decreasing to 0: converges.
  • Error after NN terms ≤bN+1\le b_{N+1}.
  • Absolute vs conditional: test ∑∣an∣\sum |a_n|.

Watch out: the bound uses the first omitted term.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. ∑n=1∞(−1)n+1n\displaystyle\sum_{n=1}^{\infty} \dfrac{(-1)^{n+1} }{n} is approximated by its first 17 terms. Give the alternating series error bound.

14. The ratio test; absolute and conditional convergence

Warm-up

Three quick questions from earlier lessons.

  1. Which series converge? Tick all that do.
    1. ∑n=1∞1n2\displaystyle\sum_{n=1}^{\infty} \dfrac{ 1 }{n^2}
    2. ∑n=1∞1n3/2\displaystyle\sum_{n=1}^{\infty} \dfrac{ 1 }{n^{3/2} }
    3. ∑n=1∞1n\displaystyle\sum_{n=1}^{\infty} \dfrac{ 1 }{\sqrt{n} }
    4. ∑n=1∞1n\displaystyle\sum_{n=1}^{\infty} \dfrac{ 1 }{n}
  2. Use the integral test on ∑n=1∞7ne−n2\displaystyle\sum_{n=1}^{\infty} 7n e^{-n^2}.
    1. It converges: the integral of 7xe^(−x²) from 1 to ∞ is finite
    2. It diverges, because n grows
    3. The integral test does not apply
  3. The integral test bounds ∑k=2∞1k6\displaystyle\sum_{k=2}^{\infty} \dfrac{1}{k^{ 6 } } by ∫1∞dxx6\displaystyle\int_1^{\infty} \dfrac{dx}{x^{ 6 } }. Find that integral.

Discover

For ∑2nn!\displaystyle\sum \dfrac{2^n}{n!}, each term is the previous one times 2n+1\dfrac{2}{n + 1}. For large nn that factor is tiny. Does the series converge?

  1. Yes
  2. No, 2n2^n grows

Key idea

Compare with a geometric series through the ratio of terms.

Ratio test: L=lim⁡n→∞∣an+1an∣L = \displaystyle\lim_{n \to \infty} \left|\dfrac{a_{n+1}}{a_n}\right|. If L<1L < 1, ∑an\sum a_n converges absolutely; if L>1L > 1, it diverges; if L=1L = 1, the test is inconclusive.

Worked example

∑n23n\displaystyle\sum \dfrac{n^2}{3^n}.

an+1an=(n+1)2n2⋅13\dfrac{a_{n+1}}{a_n} = \dfrac{(n + 1)^2}{n^2} \cdot \dfrac{1}{3}
Divide consecutive terms.
L=13L = \tfrac{1}{3}
(n + 1)²/n² → 1.
Converges absolutely
L < 1.

Your turn, guided

Your turn: LL for ∑5nn\displaystyle\sum \dfrac{5^n}{n}.

L=5L = 5
5 · n/(n + 1) → 5 > 1: diverges.

Practice ★

  1. For an=n2na_n = \dfrac{n}{ 2^n}, find L=lim⁡n→∞∣an+1an∣L = \displaystyle\lim_{n \to \infty} \left|\dfrac{a_{n+1} }{a_n}\right|.
  2. For an=n35na_n = \dfrac{n}{ 35^n}, find L=lim⁡n→∞∣an+1an∣L = \displaystyle\lim_{n \to \infty} \left|\dfrac{a_{n+1} }{a_n}\right|.
  3. For an=n3na_n = \dfrac{n}{ 3^n}, find L=lim⁡n→∞∣an+1an∣L = \displaystyle\lim_{n \to \infty} \left|\dfrac{a_{n+1} }{a_n}\right|.

Watch out!

Practice ★★

  1. For ∑n=1∞1n2\displaystyle\sum_{n=1}^{\infty} \dfrac{1}{n^{ 2 } }, the ratio test gives L=1L = 1. What does it tell you?
    1. Nothing: the ratio test is inconclusive when L = 1
    2. The series converges
    3. The series diverges
  1. How does ∑n=1∞(−1)n1n2\displaystyle\sum_{n=1}^{\infty} \dfrac{(-1)^n 1 }{n^2} converge?
    1. Absolutely: ∑ 1/n² converges
    2. Only conditionally
    3. It diverges

Exit ticket

Three questions to check you have got it.

  1. For an=n2na_n = \dfrac{n}{ 2^n}, find L=lim⁡n→∞∣an+1an∣L = \displaystyle\lim_{n \to \infty} \left|\dfrac{a_{n+1} }{a_n}\right|.
  2. For an=n35na_n = \dfrac{n}{ 35^n}, find L=lim⁡n→∞∣an+1an∣L = \displaystyle\lim_{n \to \infty} \left|\dfrac{a_{n+1} }{a_n}\right|.
  3. For an=n3na_n = \dfrac{n}{ 3^n}, find L=lim⁡n→∞∣an+1an∣L = \displaystyle\lim_{n \to \infty} \left|\dfrac{a_{n+1} }{a_n}\right|.

Summary card

Ratio test

L=lim⁡∣an+1/an∣L = \lim |a_{n+1}/a_n|: L<1L < 1 converges, L>1L > 1 diverges, L=1L = 1 unknown.

Watch out: use it for factorials and powers; not for p-series.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. For an=8nn!a_n = \dfrac{ 8^n}{n!}, find L=lim⁡n→∞∣an+1an∣L = \displaystyle\lim_{n \to \infty} \left|\dfrac{a_{n+1} }{a_n}\right|.

15. Choosing a convergence test

Warm-up

Three quick questions from earlier lessons.

  1. Does ∑n=1∞1n2+7\displaystyle\sum_{n=1}^{\infty} \dfrac{1}{n^2 + 7} converge?
    1. Yes: it is smaller than the convergent ∑ 1/n²
    2. No: it is smaller than the divergent ∑ 1/n
    3. No test applies
  2. Does ∑n=1∞1n+8\displaystyle\sum_{n=1}^{\infty} \dfrac{1}{\sqrt{n} + 8} converge?
    1. No: it behaves like ∑ 1/√n, which diverges (limit comparison)
    2. Yes: it is smaller than ∑ 1/√n
    3. Yes: its terms tend to 0
  3. Does ∑n=1∞2n+1n3+8\displaystyle\sum_{n=1}^{\infty} \dfrac{2n + 1}{n^3 + 8} converge?
    1. Yes: it behaves like ∑ 2/n², a convergent p-series
    2. No: the top grows
    3. No: it behaves like ∑ 1/n

Discover

∑n2n+1\displaystyle\sum \dfrac{n}{2n + 1}: before any clever test, what should you check first?

  1. Whether the terms tend to 0
  2. The ratio test

Key idea

A short checklist.

1. an↛0a_n \not\to 0: diverges. 2. Geometric or p-series: read off. 3. Alternating: alternating series test. 4. Factorials or cnc^n: ratio test. 5. Rational or root expressions: compare with a p-series. 6. Easy integral: integral test.

Worked example

Choose tests for three series.

∑n!10n\displaystyle\sum \dfrac{n!}{10^n}: ratio test, L=∞L = \infty, diverges
Factorial.
∑(−1)nln⁡(n+1)\displaystyle\sum \dfrac{(-1)^n}{\ln(n + 1)}: alternating series test, converges
Signs alternate, terms decrease to 0.
∑1n2+n\displaystyle\sum \dfrac{1}{n^2 + n}: comparison, converges
Leading terms 1/n².

Your turn, guided

Your turn: ∑(23)n\displaystyle\sum \left(\tfrac{2}{3}\right)^n is geometric with ratio…

r=23r = \tfrac{2}{3}
|r| < 1: converges.

Practice ★

  1. Which test suits ∑n=1∞n!9n\displaystyle\sum_{n=1}^{\infty} \dfrac{n!}{ 9^n} best?
    1. The ratio test
    2. Comparison with a p-series
    3. The alternating series test
  1. Which test settles ∑n=1∞1n6\displaystyle\sum_{n=1}^{\infty} \dfrac{1}{n^{ 6 } } fastest?
    1. The p-series test: p = 6 > 1, so it converges
    2. The nth-term test
    3. The ratio test

Watch out!

Practice ★★

  1. Which test shows that ∑n=1∞(−1)n5n\displaystyle\sum_{n=1}^{\infty} \dfrac{(-1)^n 5 }{\sqrt{n} } converges?
    1. The alternating series test
    2. The p-test with p = ½
    3. The ratio test
  2. Which test shows that ∑n=1∞(−1)n6n\displaystyle\sum_{n=1}^{\infty} \dfrac{(-1)^n 6 }{\sqrt{n} } converges?
    1. The alternating series test
    2. The p-test with p = ½
    3. The ratio test

Exit ticket

Three questions to check you have got it.

  1. Which test suits ∑n=1∞n!9n\displaystyle\sum_{n=1}^{\infty} \dfrac{n!}{ 9^n} best?
    1. The ratio test
    2. Comparison with a p-series
    3. The alternating series test
  2. Which test suits ∑n=1∞n!8n\displaystyle\sum_{n=1}^{\infty} \dfrac{n!}{ 8^n} best?
    1. The ratio test
    2. Comparison with a p-series
    3. The alternating series test
  3. Which test suits ∑n=1∞n!4n\displaystyle\sum_{n=1}^{\infty} \dfrac{n!}{ 4^n} best?
    1. The ratio test
    2. Comparison with a p-series
    3. The alternating series test

Summary card

Choosing a test

nth-term → known series → alternating → ratio → comparison → integral.

Watch out: a divergent absolute series does not make an alternating series diverge.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. Choose a test, then find ∑n=0∞(14)n\displaystyle\sum_{n=0}^{\infty} \left(\dfrac{ 1 }{ 4 }\right)^n.

16. Taylor polynomials

Warm-up

Three quick questions from earlier lessons.

  1. f(2)=3f(2) = 3 and f′(2)=2f'(2) = 2. Write the local linearization L(x)L(x) of ff at x=2x = 2.
  2. f(x)=xf(x) = \sqrt{x} has f′(x)=12xf'(x) = \dfrac{1}{2\sqrt{x}}. Use the local linearization at x=4x = 4 to estimate 6\sqrt{ 6 }. Give an exact fraction.
  3. Near x=4x = 4, the graph of ff is concave up. Does the local linearization at x=4x = 4 over- or underestimate f(x)f(x) for xx near 44?
    1. Underestimate: the tangent line lies below the curve.
    2. Overestimate: the tangent line lies above the curve.
    3. Neither: near x=4x = 4 the linearization is exact.

Discover

The violet curve is y=exy = e^x. The blue curve is 1+x+x22+a x361 + x + \tfrac{x^2}{2} + a\,\tfrac{x^3}{6}. Switch aa from 0 to 1 to add the cubic term.

The curve y = eˣ and its Maclaurin polynomial of degree 2 (a = 0) or 3 (a = 1). The cubic term keeps the polynomial close to eˣ over a wider range.

What happens when you add the cubic term?

  1. The polynomial hugs exe^x over a wider range
  2. Nothing changes near the curve

Key idea

Match the value and derivatives at a point.

The Taylor polynomial of degree nn of ff centered at aa is Pn(x)=∑k=0nf(k)(a)k!(x−a)kP_n(x) = \displaystyle\sum_{k=0}^{n} \dfrac{f^{(k)}(a)}{k!}(x - a)^k. Centered at 0 it is a Maclaurin polynomial.

Worked example

P3P_3 of sin⁡x\sin x at 0.

f(0)=0f(0) = 0, f′(0)=1f'(0) = 1, f′′(0)=0f''(0) = 0, f(3)(0)=−1f^{(3)}(0) = -1
Derivatives at 0: sin, cos, −sin, −cos.
P3(x)=x−x36P_3(x) = x - \dfrac{x^3}{6}
Divide by k!.
P3(0.5)=0.4792P_3(0.5) = 0.4792
sin(0.5) = 0.4794…

Your turn, guided

Your turn: P2P_2 of cos⁡x\cos x at 0.

P2(x)=1−x22P_2(x) = 1 - \dfrac{x^2}{2}
1, 0, −1 divided by 0!, 1!, 2!.

Practice ★

  1. f(0)=−6f(0) = -6, f′(0)=−6f'(0) = -6 and f′′(0)=4f''(0) = 4. Write the degree-2 Maclaurin polynomial of ff.
  2. f(0)=4f(0) = 4, f′(0)=4f'(0) = 4 and f′′(0)=1f''(0) = 1. Write the degree-2 Maclaurin polynomial of ff.
  1. Find the degree-2 Maclaurin polynomial of f(x)=e8xf(x) = e^{ 8x}.
  2. Find the degree-2 Maclaurin polynomial of f(x)=e6xf(x) = e^{ 6x}.

Watch out!

Practice ★★

  1. Find the degree-2 Taylor polynomial of f(x)=8ln⁡xf(x) = 8\ln x centered at x=1x = 1.
  2. Find the degree-2 Taylor polynomial of f(x)=6ln⁡xf(x) = 6\ln x centered at x=1x = 1.

Exit ticket

Three questions to check you have got it.

  1. Find the degree-2 Maclaurin polynomial of f(x)=e8xf(x) = e^{ 8x}.
  2. Find the degree-2 Maclaurin polynomial of f(x)=e6xf(x) = e^{ 6x}.
  3. Find the degree-2 Maclaurin polynomial of f(x)=e7xf(x) = e^{ 7x}.

Summary card

Taylor polynomials

Pn(x)=∑k=0nf(k)(a)k!(x−a)kP_n(x) = \displaystyle\sum_{k=0}^{n} \dfrac{f^{(k)}(a)}{k!}(x - a)^k.

Watch out: divide by k!k!; use powers of (x−a)(x - a).

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. Find the degree-2 Taylor polynomial of f(x)=xf(x) = \sqrt{x} centered at x=1x = 1.

17. The Lagrange error bound

Warm-up

Three quick questions from earlier lessons.

  1. Find the degree-2 Maclaurin polynomial of f(x)=e8xf(x) = e^{ 8x}.
  2. f(0)=−6f(0) = -6, f′(0)=−6f'(0) = -6 and f′′(0)=4f''(0) = 4. Write the degree-2 Maclaurin polynomial of ff.
  3. Find the degree-2 Taylor polynomial of f(x)=8ln⁡xf(x) = 8\ln x centered at x=1x = 1.

Discover

P2P_2 matches ff, f′f' and f′′f'' at aa. Which derivative is responsible for the error?

  1. f(3)f^{(3)}
  2. f′′f''

Key idea

The next term, with the worst derivative, bounds the error.

Lagrange error bound: if ∣f(n+1)(t)∣≤M|f^{(n+1)}(t)| \le M between aa and xx, then ∣f(x)−Pn(x)∣≤M ∣x−a∣n+1(n+1)!|f(x) - P_n(x)| \le \dfrac{M\,|x - a|^{n+1}}{(n + 1)!}.

Worked example

Bound the error of P3P_3 for exe^x at x=0.5x = 0.5 (center 0).

M=2M = 2
f⁽⁴⁾ = eˣ ≤ e^0.5 < 2 on [0, 0.5].
∣R3∣≤2⋅0.5424|R_3| \le \dfrac{2 \cdot 0.5^4}{24}
|x|⁴/4!.
≈0.0052\approx 0.0052
Compute.

Your turn, guided

Your turn: ∣f(3)∣≤6|f^{(3)}| \le 6; bound the error of P2P_2 at ∣x−a∣=1|x - a| = 1.

∣R2∣≤1|R_2| \le 1
6 · 1³/3!.

Practice ★

  1. ∣f(3)(x)∣≤3|f^{(3)}(x)| \le 3 on [0,1][0, 1]. Bound the error of the degree-2 Maclaurin polynomial at x=1x = 1.
  2. ∣f(3)(x)∣≤13|f^{(3)}(x)| \le 13 on [0,1][0, 1]. Bound the error of the degree-2 Maclaurin polynomial at x=1x = 1.
  1. The Lagrange error bound for the degree-4 Taylor polynomial uses the maximum of which derivative?
    1. f(5)f^{(5)}, the next derivative
    2. f(4)f^{(4)}
    3. ff itself

Watch out!

Practice ★★

  1. On the interval, ∣f(2)(x)∣≤2|f^{(2)}(x)| \le 2. Bound the error of the degree-1 Taylor polynomial centered at aa, at a point with ∣x−a∣=12|x - a| = \tfrac{1}{2}.
  2. On the interval, ∣f(3)(x)∣≤1|f^{(3)}(x)| \le 1. Bound the error of the degree-2 Taylor polynomial centered at aa, at a point with ∣x−a∣=12|x - a| = \tfrac{1}{2}.

Exit ticket

Three questions to check you have got it.

  1. ∣f(3)(x)∣≤3|f^{(3)}(x)| \le 3 on [0,1][0, 1]. Bound the error of the degree-2 Maclaurin polynomial at x=1x = 1.
  2. ∣f(3)(x)∣≤13|f^{(3)}(x)| \le 13 on [0,1][0, 1]. Bound the error of the degree-2 Maclaurin polynomial at x=1x = 1.
  3. ∣f(3)(x)∣≤1|f^{(3)}(x)| \le 1 on [0,1][0, 1]. Bound the error of the degree-2 Maclaurin polynomial at x=1x = 1.

Summary card

Lagrange error bound

∣Rn∣≤M∣x−a∣n+1(n+1)!|R_n| \le \dfrac{M|x - a|^{n+1}}{(n + 1)!}, M≥∣f(n+1)∣M \ge |f^{(n+1)}|.

Watch out: n+1n + 1 everywhere.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. Bound the error of the degree-3 Maclaurin polynomial of sin⁡x\sin x at x=19x = \dfrac{1}{ 9 }, using ∣f(4)(x)∣≤1|f^{(4)}(x)| \le 1.

18. Radius and interval of convergence of a power series

Warm-up

Three quick questions from earlier lessons.

  1. S=∑n=1∞(−1)n+12n2S = \displaystyle\sum_{n=1}^{\infty} \dfrac{(-1)^{n+1} 2 }{n^2}.
    1. The partial sum S3S_3:   ?\;?
    2. A bound on ∣S−S3∣|S - S_3|:   ?\;?
    3. ∑n=1∞∣(−1)n+12n2∣\displaystyle\sum_{n=1}^{\infty} \left|\dfrac{(-1)^{n+1} 2 }{n^2}\right| is a p-series with p=  ?p = \;?
    4. nth-term check: lim⁡n→∞2n2=  ?\displaystyle\lim_{n \to \infty} \dfrac{ 2 }{n^2} = \;?
    5. The ratio test on ∑2n2\displaystyle\sum \dfrac{ 2 }{n^2}: L=  ?L = \;? (so the test is inconclusive)
  2. For an=n2na_n = \dfrac{n}{ 2^n}, find L=lim⁡n→∞∣an+1an∣L = \displaystyle\lim_{n \to \infty} \left|\dfrac{a_{n+1} }{a_n}\right|.
  3. For ∑n=1∞1n2\displaystyle\sum_{n=1}^{\infty} \dfrac{1}{n^{ 2 } }, the ratio test gives L=1L = 1. What does it tell you?
    1. Nothing: the ratio test is inconclusive when L = 1
    2. The series converges
    3. The series diverges

Discover

∑n=0∞xn\displaystyle\sum_{n=0}^{\infty} x^n is geometric. For which xx does it converge?

  1. −1<x<1-1 < x < 1
  2. −1≤x≤1-1 \le x \le 1

Key idea

A power series converges in an interval around its center.

∑cn(x−a)n\displaystyle\sum c_n (x - a)^n converges for ∣x−a∣<R|x - a| < R and diverges for ∣x−a∣>R|x - a| > R (the radius). Find RR with the ratio test. At the endpoints x=a±Rx = a \pm R anything can happen: test each one separately.

Worked example

∑n=1∞xnn 3n\displaystyle\sum_{n=1}^{\infty} \dfrac{x^n}{n\,3^n}.

R=3R = 3
Ratio test: |x|/3 · n/(n + 1) → |x|/3.
Right endpoint excluded
x = 3: ∑1/n diverges.
Interval [−3,3)[-3, 3)
x = −3: ∑(−1)ⁿ/n converges.

Your turn, guided

Your turn: the radius of ∑xn5n\displaystyle\sum \dfrac{x^n}{5^n}.

R=5R = 5
|x|/5 < 1.

Practice ★

  1. Find the radius of convergence of ∑n=0∞xn2n\displaystyle\sum_{n=0}^{\infty} \dfrac{x^n}{ 2^n}.
  2. Find the radius of convergence of ∑n=0∞xn27n\displaystyle\sum_{n=0}^{\infty} \dfrac{x^n}{ 27^n}.
  1. Find the radius of convergence of ∑n=0∞(2x)n\displaystyle\sum_{n=0}^{\infty} (2x)^n.
  2. Find the radius of convergence of ∑n=0∞(66x)n\displaystyle\sum_{n=0}^{\infty} (66x)^n.

Watch out!

Practice ★★

  1. What is the interval of convergence of ∑n=1∞(x−7)nn\displaystyle\sum_{n=1}^{\infty} \dfrac{(x - 7)^n}{n}?
    1. [6,8)[6, 8)
    2. (6,8)(6, 8)
    3. [6,8][6, 8]

Exit ticket

Three questions to check you have got it.

  1. Find the radius of convergence of ∑n=0∞xn2n\displaystyle\sum_{n=0}^{\infty} \dfrac{x^n}{ 2^n}.
  2. Find the radius of convergence of ∑n=0∞xn27n\displaystyle\sum_{n=0}^{\infty} \dfrac{x^n}{ 27^n}.
  3. Find the radius of convergence of ∑n=0∞xn3n\displaystyle\sum_{n=0}^{\infty} \dfrac{x^n}{ 3^n}.

Summary card

Radius and interval

  1. Ratio test → ∣x−a∣<R|x - a| < R.
  2. Test x=a−Rx = a - R and x=a+Rx = a + R separately.

Watch out: solve for ∣x−a∣|x - a| carefully; never skip the endpoints.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. Find the radius of convergence of ∑n=1∞xnn⋅81n\displaystyle\sum_{n=1}^{\infty} \dfrac{x^n}{n \cdot 81^n}.

19. Maclaurin series of eˣ, sin x, cos x and 1/(1 − x)

Warm-up

Three quick questions from earlier lessons.

  1. Find the degree-2 Maclaurin polynomial of f(x)=e8xf(x) = e^{ 8x}.
  2. f(0)=−6f(0) = -6, f′(0)=−6f'(0) = -6 and f′′(0)=4f''(0) = 4. Write the degree-2 Maclaurin polynomial of ff.
  3. Find the degree-2 Taylor polynomial of f(x)=8ln⁡xf(x) = 8\ln x centered at x=1x = 1.

Discover

Every derivative of exe^x at 0 is 1. So its Maclaurin series is ∑xnn!\displaystyle\sum \dfrac{x^n}{n!}. What about sin⁡x\sin x, whose derivatives at 0 cycle 0,1,0,−10, 1, 0, -1?

  1. x−x33!+x55!−⋯x - \dfrac{x^3}{3!} + \dfrac{x^5}{5!} - \dotsb
  2. 1+x+x22!+⋯1 + x + \dfrac{x^2}{2!} + \dotsb

Key idea

Four series to know by heart.

ex=∑n≥0xnn!e^x = \displaystyle\sum_{n \ge 0} \dfrac{x^n}{n!}; sin⁡x=∑n≥0(−1)nx2n+1(2n+1)!\sin x = \displaystyle\sum_{n \ge 0} \dfrac{(-1)^n x^{2n+1}}{(2n+1)!}; cos⁡x=∑n≥0(−1)nx2n(2n)!\cos x = \displaystyle\sum_{n \ge 0} \dfrac{(-1)^n x^{2n}}{(2n)!} (all xx); 11−x=∑n≥0xn\dfrac{1}{1 - x} = \displaystyle\sum_{n \ge 0} x^n (∣x∣<1|x| < 1).

Worked example

The first terms of e−x2e^{-x^2}.

1+(−x2)+(−x2)22!+⋯1 + (-x^2) + \dfrac{(-x^2)^2}{2!} + \dotsb
Substitute u = −x² into eᵘ.
1−x2+x42−⋯1 - x^2 + \dfrac{x^4}{2} - \dotsb
Simplify.

Your turn, guided

Your turn: the coefficient of x2x^2 in cos⁡(3x)\cos(3x).

−92-\tfrac{9}{2}
−(3x)²/2!.

Practice ★

  1. Find the coefficient of x3x^3 in the Maclaurin series of e5xe^{ 5x}.
  2. Find the coefficient of x3x^3 in the Maclaurin series of e6xe^{ 6x}.
  1. ∑n=0∞(−1)n(1x)2n+1(2n+1)!\displaystyle\sum_{n=0}^{\infty} \dfrac{(-1)^n (1x)^{2n+1} }{(2n + 1)!} is the Maclaurin series of which function?
    1. sin⁡(1x)\sin(1x)
    2. cos⁡(1x)\cos(1x)
    3. e1xe^{ 1x}

Watch out!

Practice ★★

  1. Find the coefficient of x4x^4 in the Maclaurin series of cos⁡(2x)\cos(2x).
  2. Find the coefficient of x4x^4 in the Maclaurin series of cos⁡(5x)\cos(5x).

Exit ticket

Three questions to check you have got it.

  1. Find the coefficient of x3x^3 in the Maclaurin series of e5xe^{ 5x}.
  2. Find the coefficient of x3x^3 in the Maclaurin series of e6xe^{ 6x}.
  3. Find the coefficient of x3x^3 in the Maclaurin series of e4xe^{ 4x}.

Summary card

Known Maclaurin series

exe^x, sin⁡x\sin x (odd), cos⁡x\cos x (even), 11−x\dfrac{1}{1 - x}.

Watch out: signs alternate in sin and cos.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. Find the coefficient of x5x^5 in the Maclaurin series of sin⁡(4x)\sin(4x).

20. New series from known ones

Warm-up

Three quick questions from earlier lessons.

  1. Find the antiderivative FF of f(x)=3x2+2f(x) = 3x^{ 2 } + 2 with F(0)=0F(0) = 0.
  2. Find the antiderivative FF of f(x)=cos⁡x+exf(x) = \cos x + e^x with F(0)=5F(0) = 5.
  3. Find the antiderivative FF of f(x)=1xf(x) = \dfrac{1}{x}, for x>0x > 0, with F(1)=−9F(1) = -9.

Discover

To get the series of xsin⁡xx\sin x, can you just multiply the series of sin⁡x\sin x by xx?

  1. Yes, each power goes up by one
  2. No, the derivatives must be computed again

Key idea

Build new series from known ones.

Inside its interval, a power series can be multiplied by xkx^k, have xx replaced by u(x)u(x) (such as −x2-x^2 or 3x3x), and be differentiated or integrated term by term. The radius stays the same for differentiation and integration.

Worked example

The series of ln⁡(1+x)\ln(1 + x).

11+x=1−x+x2−x3+⋯\dfrac{1}{1 + x} = 1 - x + x^2 - x^3 + \dotsb
Substitute −x into 1/(1 − u).
ln⁡(1+x)=x−x22+x33−⋯\ln(1 + x) = x - \dfrac{x^2}{2} + \dfrac{x^3}{3} - \dotsb
Integrate term by term from 0.

Your turn, guided

Your turn: the coefficient of x3x^3 in x2exx^2 e^x.

11
x² · x¹/1!.

Practice ★

  1. Find the coefficient of x3x^3 in the Maclaurin series of xe4xxe^{ 4x}.
  2. Find the coefficient of x3x^3 in the Maclaurin series of xe9xxe^{ 9x}.
  3. Find the coefficient of x3x^3 in the Maclaurin series of xe2xxe^{ 2x}.

Watch out!

Practice ★★

  1. Find the coefficient of x10x^{ 10 } in the Maclaurin series of 11+x2\dfrac{1}{1 + x^2}.
  2. Find the coefficient of x2x^{ 2 } in the Maclaurin series of 11+x2\dfrac{1}{1 + x^2}.
  1. arctan⁡x=∫0xdt1+t2\arctan x = \displaystyle\int_0^x \dfrac{dt}{1 + t^2}. Find the coefficient of x3x^{ 3 } in its Maclaurin series.
  2. arctan⁡x=∫0xdt1+t2\arctan x = \displaystyle\int_0^x \dfrac{dt}{1 + t^2}. Find the coefficient of x9x^{ 9 } in its Maclaurin series.

Exit ticket

Three questions to check you have got it.

  1. Find the coefficient of x3x^3 in the Maclaurin series of xe4xxe^{ 4x}.
  2. Find the coefficient of x3x^3 in the Maclaurin series of xe9xxe^{ 9x}.
  3. Find the coefficient of x3x^3 in the Maclaurin series of xe2xxe^{ 2x}.

Summary card

New series from old

  • Multiply by xkx^k: shift the powers.
  • Substitute: replace xx by u(x)u(x).
  • Differentiate or integrate term by term.

Watch out: integrating divides by the new power.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. Integrate the series of 11+x\dfrac{1}{1 + x} to get ln⁡(1+x)\ln(1 + x). Find the coefficient of x6x^{ 6 }.