Skip to content

Sequences and Series | IB - Wyatt's Notes

A sequence is an ordered list of numbers a1,a2,a3,a_1, a_2, a_3, \ldots written {an}n=1\{a_n\}_{n=1}^{\infty} Or {an}\{a_n\}. Each ana_n is called a term of the sequence. A series is the sum of The terms of a sequence: n=1an\displaystyle\sum_{n=1}^{\infty} a_n.

A sequence converges to a limit LL if limnan=L\displaystyle\lim_{n \to \infty} a_n = L. Otherwise it diverges.


An arithmetic sequence has a constant common difference dd between consecutive terms:

an=a1+(n1)da_n = a_1 + (n - 1)d

Where a1a_1 is the first term and d=an+1and = a_{n+1} - a_n for all nn.

The sum of the first nn terms is:

Sn=n2(a1+an)=n2[2a1+(n1)d]S_n = \frac{n}{2}(a_1 + a_n) = \frac{n}{2}\bigl[2a_1 + (n-1)d\bigr]

Proof. Write the sum forward and backward:

Sn=a1+(a1+d)+(a1+2d)++anS_n = a_1 + (a_1 + d) + (a_1 + 2d) + \cdots + a_n Sn=an+(and)+(an2d)++a1S_n = a_n + (a_n - d) + (a_n - 2d) + \cdots + a_1

Adding: 2Sn=n(a1+an)2S_n = n(a_1 + a_n)Hence Sn=n2(a1+an)S_n = \dfrac{n}{2}(a_1 + a_n).

Example. Find the sum of the first 50 positive odd numbers.

a1=1a_1 = 1, d=2d = 2, a50=1+492=99a_{50} = 1 + 49 \cdot 2 = 99.

S50=502(1+99)=2500S_{50} = \frac{50}{2}(1 + 99) = 2500

The arithmetic mean of aa and bb is a+b2\dfrac{a + b}{2}. In an arithmetic sequence, each term is The arithmetic mean of its neighbours.


A geometric sequence has a constant common ratio rr between consecutive terms:

an=a1rn1a_n = a_1 \cdot r^{n-1}

Where a1a_1 is the first term and r=an+1anr = \dfrac{a_{n+1}}{a_n} for all nn.

For r1r \ne 1:

Sn=a1(1rn)1r=a1(rn1)r1S_n = \frac{a_1(1 - r^n)}{1 - r} = \frac{a_1(r^n - 1)}{r - 1}

Proof. Sn=a1+a1r+a1r2++a1rn1S_n = a_1 + a_1 r + a_1 r^2 + \cdots + a_1 r^{n-1}.

rSn=a1r+a1r2++a1rn1+a1rnrS_n = a_1 r + a_1 r^2 + \cdots + a_1 r^{n-1} + a_1 r^n

Subtracting: SnrSn=a1a1rnS_n - rS_n = a_1 - a_1 r^n.

Sn(1r)=a1(1rn)    Sn=a1(1rn)1rS_n(1 - r) = a_1(1 - r^n) \implies S_n = \frac{a_1(1 - r^n)}{1 - r}

If r<1|r| \lt 1The infinite geometric series converges:

S=n=1a1rn1=a11rS_{\infty} = \sum_{n=1}^{\infty} a_1 r^{n-1} = \frac{a_1}{1 - r}

If r1|r| \ge 1The series diverges.

Example. Express 0.70.\overline{7} as a fraction.

0.7=710+7100+71000+0.\overline{7} = \frac{7}{10} + \frac{7}{100} + \frac{7}{1000} + \cdots

This is a geometric series with a1=710a_1 = \dfrac{7}{10} and r=110r = \dfrac{1}{10}.

S=7/1011/10=7/109/10=79S_{\infty} = \frac{7/10}{1 - 1/10} = \frac{7/10}{9/10} = \frac{7}{9}

Example. Evaluate n=034n\displaystyle\sum_{n=0}^{\infty} \frac{3}{4^n}.

a1=3a_1 = 3, r=14r = \dfrac{1}{4}.

S=311/4=33/4=4S_{\infty} = \frac{3}{1 - 1/4} = \frac{3}{3/4} = 4

The geometric mean of positive numbers aa and bb is ab\sqrt{ab}. In a geometric sequence with Positive terms, each term is the geometric mean of its neighbours.


k=mnak=am+am+1++an\sum_{k=m}^{n} a_k = a_m + a_{m+1} + \cdots + a_n

k=mncak=ck=mnak\sum_{k=m}^{n} c \cdot a_k = c\sum_{k=m}^{n} a_k

k=mn(ak+bk)=k=mnak+k=mnbk\sum_{k=m}^{n}(a_k + b_k) = \sum_{k=m}^{n} a_k + \sum_{k=m}^{n} b_k

SumClosed Form
k=1nk\displaystyle\sum_{k=1}^{n} kn(n+1)2\dfrac{n(n+1)}{2}
k=1nk2\displaystyle\sum_{k=1}^{n} k^2n(n+1)(2n+1)6\dfrac{n(n+1)(2n+1)}{6}
k=1nk3\displaystyle\sum_{k=1}^{n} k^3n2(n+1)24\dfrac{n^2(n+1)^2}{4}
k=0nrk\displaystyle\sum_{k=0}^{n} r^k1rn+11r,r1\dfrac{1 - r^{n+1}}{1 - r}, \quad r \ne 1

If limnan0\displaystyle\lim_{n \to \infty} a_n \ne 0 Then an\displaystyle\sum a_n diverges.

Caution. If limnan=0\lim_{n \to \infty} a_n = 0The series may or may not converge. The harmonic series 1n\sum \dfrac{1}{n} diverges despite its terms tending to zero.

If 0anbn0 \le a_n \le b_n for all nn:

  • If bn\sum b_n converges, then an\sum a_n converges.
  • If an\sum a_n diverges, then bn\sum b_n diverges.

For a series an\sum a_n with an0a_n \ne 0:

L=limnan+1anL = \lim_{n \to \infty} \left|\frac{a_{n+1}}{a_n}\right|

  • L<1L \lt 1: the series converges absolutely.
  • L>1L \gt 1: the series diverges.
  • L=1L = 1: the test is inconclusive.

Example. Does n=1n22n\displaystyle\sum_{n=1}^{\infty} \frac{n^2}{2^n} converge?

L=limn(n+1)2/2n+1n2/2n=limn(n+1)22n2=12<1L = \lim_{n \to \infty} \frac{(n+1)^2 / 2^{n+1}}{n^2 / 2^n} = \lim_{n \to \infty} \frac{(n+1)^2}{2n^2} = \frac{1}{2} \lt 1

The series converges.

If ff is continuous, positive, and decreasing on [1,)[1, \infty) Then f(n)\sum f(n) converges if and Only if 1f(x)dx\displaystyle\int_1^{\infty} f(x)\,dx converges.

Example. The harmonic series diverges because:

11xdx=limblnb=\int_1^{\infty} \frac{1}{x}\,dx = \lim_{b \to \infty} \ln b = \infty

An alternating series (1)n+1an\sum (-1)^{n+1} a_n (or (1)nan\sum (-1)^n a_n) converges if:

  1. ana_n is decreasing: an+1ana_{n+1} \le a_n for all nn.
  2. limnan=0\displaystyle\lim_{n \to \infty} a_n = 0.

Example. n=1(1)n+1n\displaystyle\sum_{n=1}^{\infty} \frac{(-1)^{n+1}}{n} converges (the alternating harmonic Series) since 1n\dfrac{1}{n} decreases to 00.


For nZ+n \in \mathbb{Z}^+:

(a+b)n=k=0n(nk)ankbk(a + b)^n = \sum_{k=0}^{n} \binom{n}{k} a^{n-k} b^k

Where the binomial coefficient is:

(nk)=n!k!(nk)!\binom{n}{k} = \frac{n!}{k!(n-k)!}

For any nRn \in \mathbb{R} and x<1|x| \lt 1:

(1+x)n=1+nx+n(n1)2!x2+n(n1)(n2)3!x3+(1 + x)^n = 1 + nx + \frac{n(n-1)}{2!}x^2 + \frac{n(n-1)(n-2)}{3!}x^3 + \cdots

This is an infinite series that converges for x<1|x| \lt 1 (and at the endpoints depending on nn).

Example. Expand (1+x)2(1 + x)^{-2} up to the term in x3x^3.

(1+x)2=1+(2)x+(2)(3)2x2+(2)(3)(4)6x3+(1 + x)^{-2} = 1 + (-2)x + \frac{(-2)(-3)}{2}x^2 + \frac{(-2)(-3)(-4)}{6}x^3 + \cdots

=12x+3x24x3+= 1 - 2x + 3x^2 - 4x^3 + \cdots

Example. Find the coefficient of x3x^3 in the expansion of (23x)1/2(2 - 3x)^{1/2}.

(23x)1/2=2(13x2)1/2(2 - 3x)^{1/2} = \sqrt{2}\left(1 - \frac{3x}{2}\right)^{1/2}

=2[1+12 ⁣(3x2)+(1/2)(1/2)2 ⁣(3x2) ⁣2+(1/2)(1/2)(3/2)6 ⁣(3x2) ⁣3+]= \sqrt{2}\left[1 + \frac{1}{2}\!\left(-\frac{3x}{2}\right) + \frac{(1/2)(-1/2)}{2}\!\left(-\frac{3x}{2}\right)^{\!2} + \frac{(1/2)(-1/2)(-3/2)}{6}\!\left(-\frac{3x}{2}\right)^{\!3} + \cdots\right]

The x3x^3 coefficient:

23/86(278)=281384=272128\sqrt{2} \cdot \frac{-3/8}{6} \cdot \left(-\frac{27}{8}\right) = \sqrt{2} \cdot \frac{81}{384} = \frac{27\sqrt{2}}{128}


The Maclaurin series of a function ff is its Taylor series expansion about x=0x = 0:

f(x)=n=0f(n)(0)n!xn=f(0)+f"(0)x+f(0)2!x2+f(0)3!x3+f(x) = \sum_{n=0}^{\infty} \frac{f^{(n)}(0)}{n!}\,x^n = f(0) + f"(0)x + \frac{f''(0)}{2!}x^2 + \frac{f'''(0)}{3!}x^3 + \cdots

FunctionMaclaurin SeriesRadius of Convergence
exe^xn=0xnn!\displaystyle\sum_{n=0}^{\infty} \frac{x^n}{n!}\infty
sinx\sin xn=0(1)nx2n+1(2n+1)!\displaystyle\sum_{n=0}^{\infty} \frac{(-1)^n x^{2n+1}}{(2n+1)!}\infty
cosx\cos xn=0(1)nx2n(2n)!\displaystyle\sum_{n=0}^{\infty} \frac{(-1)^n x^{2n}}{(2n)!}\infty
ln(1+x)\ln(1 + x)n=1(1)n+1xnn\displaystyle\sum_{n=1}^{\infty} \frac{(-1)^{n+1} x^n}{n}11
(1+x)n(1 + x)^nk=0(nk)xk\displaystyle\sum_{k=0}^{\infty} \binom{n}{k}x^k11
11x\dfrac{1}{1 - x}n=0xn\displaystyle\sum_{n=0}^{\infty} x^n11
arctanx\arctan xn=0(1)nx2n+12n+1\displaystyle\sum_{n=0}^{\infty} \frac{(-1)^n x^{2n+1}}{2n+1}11

Example. Find the Maclaurin series of exe^x.

f(0)=1,f(0)=1,f(0)=1,,f(n)(0)=1f(0) = 1, \quad f'(0) = 1, \quad f''(0) = 1, \quad \ldots, \quad f^{(n)}(0) = 1

ex=1+x+x22!+x33!+=n=0xnn!e^x = 1 + x + \frac{x^2}{2!} + \frac{x^3}{3!} + \cdots = \sum_{n=0}^{\infty} \frac{x^n}{n!}

Example. Find the Maclaurin series of sinx\sin x.

f(0)=0,f(0)=1,f(0)=0,f(0)=1,f(4)(0)=0,f(0) = 0, \quad f'(0) = 1, \quad f''(0) = 0, \quad f'''(0) = -1, \quad f^{(4)}(0) = 0, \quad \ldots

sinx=xx33!+x55!x77!+=n=0(1)nx2n+1(2n+1)!\sin x = x - \frac{x^3}{3!} + \frac{x^5}{5!} - \frac{x^7}{7!} + \cdots = \sum_{n=0}^{\infty} \frac{(-1)^n x^{2n+1}}{(2n+1)!}

Example. Find the Maclaurin series of x2exx^2 e^x.

Since ex=n=0xnn!e^x = \displaystyle\sum_{n=0}^{\infty} \frac{x^n}{n!}Multiplying by x2x^2:

x2ex=n=0xn+2n!=x2+x3+x42!+x53!+x^2 e^x = \sum_{n=0}^{\infty} \frac{x^{n+2}}{n!} = x^2 + x^3 + \frac{x^4}{2!} + \frac{x^5}{3!} + \cdots

Example. Find the Maclaurin series of 11+x2\dfrac{1}{1 + x^2}.

11+x2=1x2+x4x6+=n=0(1)nx2n\frac{1}{1 + x^2} = 1 - x^2 + x^4 - x^6 + \cdots = \sum_{n=0}^{\infty} (-1)^n x^{2n}

Integrating term by term gives the series for arctanx\arctan x:

arctanx=xx33+x55x77+\arctan x = x - \frac{x^3}{3} + \frac{x^5}{5} - \frac{x^7}{7} + \cdots


The Taylor series of ff about x=ax = a is:

f(x)=n=0f(n)(a)n!(xa)nf(x) = \sum_{n=0}^{\infty} \frac{f^{(n)}(a)}{n!}(x - a)^n

This reduces to the Maclaurin series when a=0a = 0.

The nn-th degree Taylor polynomial of ff about aa is:

Tn(x)=k=0nf(k)(a)k!(xa)kT_n(x) = \sum_{k=0}^{n} \frac{f^{(k)}(a)}{k!}(x - a)^k

The error in approximating f(x)f(x) by Tn(x)T_n(x) is bounded by:

Rn(x)=f(x)Tn(x)Mxan+1(n+1)!|R_n(x)| = \left|f(x) - T_n(x)\right| \le \frac{M|x - a|^{n+1}}{(n+1)!}

Where MM is an upper bound for f(n+1)(t)|f^{(n+1)}(t)| for all tt between aa and xx.

Example. Approximate e\sqrt{e} using a 3rd degree Maclaurin polynomial and bound the error.

T3(x)=1+x+x22+x36T_3(x) = 1 + x + \dfrac{x^2}{2} + \dfrac{x^3}{6}.

T3(0.5)=1+0.5+0.125+0.020833=1.64583T_3(0.5) = 1 + 0.5 + 0.125 + 0.020833\ldots = 1.64583\ldots

True value: e0.51.64872e^{0.5} \approx 1.64872.

For the error bound, f(4)(t)=ete0.5|f^{(4)}(t)| = e^t \le e^{0.5} for 0t0.50 \le t \le 0.5:

R3(0.5)e0.5(0.5)4241.6490.0625240.0043|R_3(0.5)| \le \frac{e^{0.5} \cdot (0.5)^4}{24} \approx \frac{1.649 \cdot 0.0625}{24} \approx 0.0043

Actual error: 1.648721.645830.0029|1.64872 - 1.64583| \approx 0.0029Which is within the bound.


Mathematical induction proves a statement P(n)P(n) for all integers nn0n \ge n_0:

  1. Base case: Verify P(n0)P(n_0) is true.
  2. Inductive hypothesis: Assume P(k)P(k) is true for some arbitrary kn0k \ge n_0.
  3. Inductive step: Using the hypothesis, prove P(k+1)P(k + 1) is true.
  4. Conclusion: By the principle of mathematical induction, P(n)P(n) is true for all nn0n \ge n_0.

Example. Prove that k=1nk2=n(n+1)(2n+1)6\displaystyle\sum_{k=1}^{n} k^2 = \frac{n(n+1)(2n+1)}{6} for all nZ+n \in \mathbb{Z}^+.

Base case (n=1n = 1): 1236=1\dfrac{1 \cdot 2 \cdot 3}{6} = 1. True.

Inductive hypothesis: Assume k=1jk2=j(j+1)(2j+1)6\displaystyle\sum_{k=1}^{j} k^2 = \frac{j(j+1)(2j+1)}{6} for some j1j \ge 1.

Inductive step:

k=1j+1k2=k=1jk2+(j+1)2=j(j+1)(2j+1)6+(j+1)2\sum_{k=1}^{j+1} k^2 = \sum_{k=1}^{j} k^2 + (j+1)^2 = \frac{j(j+1)(2j+1)}{6} + (j+1)^2

=(j+1)6[j(2j+1)+6(j+1)]=(j+1)6[2j2+7j+6]= \frac{(j+1)}{6}\bigl[j(2j+1) + 6(j+1)\bigr] = \frac{(j+1)}{6}\bigl[2j^2 + 7j + 6\bigr]

=(j+1)(j+2)(2j+3)6= \frac{(j+1)(j+2)(2j+3)}{6}

This is the formula with n=j+1n = j + 1. Hence P(j+1)P(j+1) is true. By induction, the result holds for All nZ+n \in \mathbb{Z}^+.

Example. Prove that 3n13^n - 1 is divisible by 22 for all nNn \in \mathbb{N}.

Base case (n=0n = 0): 301=03^0 - 1 = 0Which is divisible by 22. True.

Inductive hypothesis: 3k1=2m3^k - 1 = 2m for some mZm \in \mathbb{Z}.

Inductive step:

3k+11=33k1=3(2m+1)1=6m+31=6m+2=2(3m+1)3^{k+1} - 1 = 3 \cdot 3^k - 1 = 3(2m + 1) - 1 = 6m + 3 - 1 = 6m + 2 = 2(3m + 1)

This is divisible by 22. By induction, the result holds.

Example. Prove that 2n>n2^n \gt n for all nZ+n \in \mathbb{Z}^+.

Base case (n=1n = 1): 21=2>12^1 = 2 \gt 1. True.

Inductive hypothesis: 2k>k2^k \gt k for some k1k \ge 1.

Inductive step:

2k+1=22k>2kk+12^{k+1} = 2 \cdot 2^k \gt 2k \ge k + 1

(The last inequality holds since k1k \ge 1.) Therefore 2k+1>k+12^{k+1} \gt k + 1. By induction, 2n>n2^n \gt n For all positive integers nn.