Arithmetic and geometric sequences and series

IB Math AA · Number and Algebra

Arithmetic sequences and series

An arithmetic sequence has a constant common difference $d$, so $u_n=u_1+(n-1)d$. The sum of the first $n$ terms is

$$S_n=\frac{n}{2}\left(2u_1+(n-1)d\right)=\frac{n}{2}\left(u_1+u_n\right)$$

The second form is the one to reach for whenever the last term is already known; the first is the one to use when only $u_1$ and $d$ are known.

Geometric sequences and series

A geometric sequence has a constant common ratio $r$, so $u_n=u_1r^{\,n-1}$ and

$$S_n=\frac{u_1\left(r^{\,n}-1\right)}{r-1}=\frac{u_1\left(1-r^{\,n}\right)}{1-r},\qquad r\neq 1$$

The series converges if and only if $|r|<1$, and only then does the sum to infinity exist:

$$S_\infty=\frac{u_1}{1-r},\qquad |r|<1$$

Sigma notation

$\displaystyle\sum_{k=1}^{n}u_k=u_1+u_2+\cdots+u_n$. Two standard results are worth knowing without derivation: $\displaystyle\sum_{k=1}^{n}k=\frac{n(n+1)}{2}$ and $\displaystyle\sum_{k=1}^{n}c=nc$ for a constant $c$.

0 5 10 15 16 8 12 10 11 10,5 S∞ n=1 2 3 4 5 6 S∞ = 32/3 ≈ 10,67 u₁ = 16, r = −1/2 |Sₙ − S∞| halves each step Partial sum Sₙ
A geometric series with negative common ratio converges by jumping from side to side. The six dots are $S_1$ to $S_6$ of the series $16-8+4-2+1-\dfrac12+\cdots$. Reading the figure lets you answer straight away three questions that algebra has to compute: the odd partial sums always lie above $S_\infty$, the even partial sums always lie below, and the distance to the dashed line is halved after each step — because $S_n-S_\infty=-\dfrac{u_1r^{\,n}}{1-r}$, so the error is exactly $|r|$ times the previous error. With $r>0$ the picture would be quite different: the series creeps up from one side and never passes $S_\infty$. That is why the question "the first term at which $S_n$ exceeds $M$" only makes sense when $r>0$; with $r<0$ you must ask in terms of $|S_n-S_\infty|$.

Worked example: arithmetic sequence given any two terms

An arithmetic sequence has $u_4=17$ and $u_9=42$. Find $u_1$, $d$, and the smallest value of $n$ such that $S_n>1000$.

Solution

Step 1 — find $d$ from the difference in indices. From $u_4$ to $u_9$ there are $9-4=5$ steps, so

$$5d=42-17=25\;\Longrightarrow\;d=5$$

Step 2 — go back to $u_1$. $u_4=u_1+3d$ so $u_1=17-15=2$.

Step 3 — set up the inequality.

$$S_n=\frac{n}{2}\left(2(2)+(n-1)5\right)=\frac{n(5n-1)}{2}>1000$$$$5n^{2}-n-2000>0\;\Longrightarrow\;n>\frac{1+\sqrt{1+40000}}{10}=\frac{1+\sqrt{40001}}{10}\approx 20.1$$

Since $n$ is a positive integer, $n=21$. Check to be sure: $S_{20}=\dfrac{20(99)}{2}=990<1000$ and $S_{21}=\dfrac{21(104)}{2}=1092>1000$.

This check is worth five seconds: the solution $20.1$ is very close to an integer, and a rushed candidate can easily round down to $20$.

Worked example: use the ratio of S3 to S infinity

The sum of the first three terms of a geometric sequence is $26$, and its infinite sum is $27$. Find $r$ and $u_1$.

Solution

Don't solve the two-unknown system by substitution. Divide the two equations and $u_1$ cancels by itself:

$$\frac{S_3}{S_\infty}=\frac{\dfrac{u_1\left(1-r^{3}\right)}{1-r}}{\dfrac{u_1}{1-r}}=1-r^{3}$$$$1-r^{3}=\frac{26}{27}\;\Longrightarrow\;r^{3}=\frac{1}{27}\;\Longrightarrow\;r=\frac{1}{3}$$

Since $\left|\dfrac13\right|<1$, the infinite sum really exists — this check step must be written out in an IB answer.

$$u_1=S_\infty(1-r)=27\left(1-\frac13\right)=18$$

Check: $18+6+2=26$. The nice idea in this problem is the ratio $\dfrac{S_3}{S_\infty}=1-r^{3}$ — in general $\dfrac{S_n}{S_\infty}=1-r^{\,n}$, i.e. the percentage of the infinite sum already reached after $n$ terms. Many Paper 2 questions ask directly in that form.

Common mistake

Using $S_\infty=\dfrac{u_1}{1-r}$ when $|r|\ge 1$. With $u_1=4$ and $r=\dfrac32$, the formula returns $\dfrac{4}{1-1.5}=-8$: a series of all positive numbers with a negative "sum". The mechanism: the expression $\dfrac{u_1}{1-r}$ is the limit of $\dfrac{u_1\left(1-r^{\,n}\right)}{1-r}$ as $r^{\,n}\to 0$, and $r^{\,n}\to 0$ is only true when $|r|<1$; outside that condition the expression is still a valid fraction algebraically so the calculator still gives a number, with nothing signaling an error. This trap is often set in the form "find $k$ such that the series has an infinite sum equal to $\dots$", and the equation gives two solutions, of which exactly one satisfies $|r|<1$. A candidate who does not write the condition-check line submits both solutions and loses the final mark completely.

Key takeaway

Three moves carry almost the whole series area: get the common difference or ratio by dividing by the difference in indices, use $\dfrac{S_n}{S_\infty}=1-r^{\,n}$ instead of solving a system, and write the check line $|r|<1$ before touching $S_\infty$. IB series questions are rarely hard to compute — they are hard because these three steps are easy to skip when rushed.

All IB Math AA lessons · Practice IB Math AA questions (free, instant scoring) · Exponents, logarithms and exponential equations →