Example 5
To try to stay awake for an exam, Barney drinks one cappuccino every hour for six hours (achieving the maximum recommended daily amount of caffeine). Each cappuccino contains the same amount of caffeine, and after one hour (i.e., every time he drinks a new cappuccino), some of the previous caffeine remains in his body.
- The sequence \(t_1=75\), \(t_n=75+0.2t_{n-1}\) for \(n=2,~3, \ldots,6\) represents this situation. \(t_n\) represents the amount of caffeine (in mg) in Barney's body after drinking \(n\) cappuccinos. Use the recursion formula to identify how much caffeine is in one cappuccino and the percentage of caffeine that remains in Barney's body after one hour.
- How much caffeine is in Barney's system immediately after each of his six cappuccinos? In other words, determine all six terms in the sequence.
- Represent the sequence as a graph.
Solution — Part A
\(t_1=75\), so after the first cappuccino, there is \(75\) mg of caffeine in Barney's system. This means that each cappuccino must contain \(75\) mg of caffeine.
In the formula \(t_n=75+0.2t_{n-1}\), the \(75\) represents the \(75\) mg of caffeine that is in his most recent cappuccino.
- \(t_{n-1}\) represents the amount of caffeine in Barney's system after the previous cappuccino.
- Since \(0.2t_{n-1}\) represents \(20 \%\) of \(t_{n-1}\), it means that \(20\%\) of the previous caffeine remains in Barney's body after one hour.
Solution — Part B
We can use the recursion formula to generate the six terms in the sequence.
We are given that \(t_1=75\).
\(t_2=75+0.2t_1\), so we can use \(t_1=75\) to calculate \(t_2\):
\[\begin{align*}t_2&=75+0.2(75) \\ &= 75+15 \\ &= 90\end{align*}\]
Similarly, use \(t_2\) to calculate \(t_3\):
\[\begin{align*} t_3&=75 + 0.2t_2 \\ &= 75+0.2(90) \\ &= 75+18 \\ &= 93 \end{align*}\]
Use \(t_3\) to calculate \(t_4\):
\[\begin{align*} t_4&= 75+0.2t_3 \\ &= 75+0.2(93) \\ &= 75+18.6 \\ &= 93.6 \end{align*}\]
Use \(t_4\) to calculate \(t_5\):
\[\begin{align*} t_5&= 75+0.2t_4 \\ &= 75+0.2(93.6) \\ &= 75+18.72 \\ &= 93.72 \end{align*}\]
Finally, use \(t_5\) to calculate \(t_6\):
\[\begin{align*} t_6&= 75+0.2t_5 \\ &= 75+0.2(93.72) \\ &= 75+18.744 \\ &= 93.744 \end{align*}\]
The sequence is \(75,~90,~93,~93.6,~93.72,~93.744 \).
These numbers represent the amount of caffeine (in mg) in Barney's system immediately after each of his six cappuccinos.
Solution — Part C
Graph \(n\) (the term number, or number of cappuccinos) as the independent variable and \(t_n\) as the dependent variable. Since the only possible values of \(n\) are \(n=1,~2,~3,~4,~5,~6\), we do not join the points on the graph.

We can see on the graph that the amount of caffeine in Barney's system hits a plateau (where the amount of caffeine remains close to constant). From the numbers in the sequence, we know that this plateau occurs somewhere between \(93.7\) and \(93.8\) mg.
In the previous example, we were able to write the terms of the sequence from the recursion formula. Let's practise this some more.
Example 6
Write the first five terms of each sequence.
- \(t_1=30\), \(t_n=t_{n-1}-4n\) for \(n \ge 2\)
- \(t_1=9\), \(t_2=-\dfrac13\) and \(t_n=(t_{n-1})(t_{n-2})\) for \(n \ge 3\) \(\)
Solution — Part A
We are given that \(\)\(t_1=30\).
To calculate \(t_2\), use \(t_1\) and \(n=2\):
\[\begin{align*} t_2&= t_1-4(2) \\ &= 30-8 \\ &= 22 \end{align*}\]
To calculate \(t_3\), use \(t_2\) and \(n=3\):
\[\begin{align*} t_3&= t_2-4(3) \\ &= 22-12 \\ &= 10 \end{align*}\]
To calculate \(t_4\), use \(t_3\) and \(n=4\):
\[\begin{align*} t_4&= t_3-4(4) \\ &= 10-16 \\ &= -6 \end{align*}\]
To calculate \(t_5\), use \(t_4\) and \(n=5\):
\[\begin{align*} t_5&= t_4-4(5) \\ &= -6-20 \\ &= -26 \end{align*}\]
The first five terms are \(30\), \(22\), \(10\), \(-6\), and \(-26\).
Solution — Part B
Notice that for this sequence, we are given two known terms. This is because \(t_n\) depends on two of the previous terms. \(t_{n-1}\) is the term that precedes \(t_n\), and \(t_{n-2}\) is the term that precedes \(t_{n-1}\).
We are given both \(t_1=9\) and \(t_2=-\dfrac13\).
To calculate \(t_3\), use \(t_1\) and \(t_2\):
\[\begin{align*} t_3 &= (t_2)(t_1) \\ &= - \dfrac13(9) \\ &= -3 \end{align*}\]
To calculate \(t_4\), use \(t_2\) and \(t_3\):
\[\begin{align*} t_4 &= (t_3)(t_2) \\ &= -3 \left(-\dfrac13\right) \\ &= 1 \end{align*}\]
To calculate \(t_5\), use \(t_3\) and \(t_4\)
\[\begin{align*} t_5 &= (t_4)(t_3) \\ &= 1(-3) \\ &= -3 \end{align*}\]
The first five terms are \(9\), \(-\dfrac13\), \(-3\), \(1\), and \(-3\).