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$.
- A linear expression in $k$ under the sigma always gives an arithmetic series;
- an expression of the form $a\cdot b^{\,k}$ always gives a geometric series;
- the number of terms in $\displaystyle\sum_{k=m}^{n}$ is $n-m+1$, not $n-m$.
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.