Exercises – Short Day#

Exercise 1: Revision of recursion and summation notation#

We define a sequence of numbers \(c_0,c_1,c_2,\dots\) recursively as follows:

\(c_0=0\), \(c_1=1\), \(c_2=2\), and for \(n \ge 3\) we let \(c_n=c_{n-1}c_{n-2}+c_{n-3}\).

Question a#

What are the values of \(c_3\), \(c_4\) and \(c_5\)?

Question b#

What is the value of \(\sum_{k=0}^n c_k\) for \(n=0,1,2,3,4,5\)?

Exercise 2: The sum of odd numbers and induction#

Question a#

For \(n=1,2,3,4\), calculate the sum of the first \(n\) odd natural numbers. In other words, calculate the value of \(\sum_{k=1}^n (2k-1)\) for \(n \in \{1,2,3,4\}\). Do you see a pattern in these values?

Now, find (or guess) a simple expression for \(\sum_{k=1}^n (2k-1)\) that produces the right answer for \(n \in \{1,2,3,4\}\), and check that your guess also produces the right value of \(\sum_{k=1}^n (2k-1)\) for \(n=5\).

Question b#

Let \(P(n)\) be the logical proposition that \(\sum_{k=1}^n (2k-1)\) equals the short expression you provided in Question a. Now the goal is to show that \(P(n)\) is true for all natural numbers \(n\) (that is, for all \(n \in \mathbb{N}=\mathbb{Z}_{\ge 1}\)).

Show that the base case of the induction holds.

Question c#

Now carry out the induction step, and then use the induction principle to conclude that \(P(n)\) is true for all natural numbers \(n\).

Exercise 3: A geometric series#

A geometric sequence is a sequence of numbers in which each number equals the previous number times a fixed factor. A geometric series is the sum of such a geometric sequence. Let us study such geometric series in this exercise and the next.

Let \(r \in \mathbb{C} \setminus \{1\}\) be a complex number and \(n\) a natural number. We wish to prove the following identity:

\[1+r+\cdots + r^n= \frac{r^{n+1}-1}{r-1}.\]

Question a#

Why can \(r\) not be equal to \(1\) in this identity?

Question b#

Check that the identity holds for \(n=1\).

Question c#

Show that the identity \(\displaystyle 1+r+\cdots + r^n= \frac{r^{n+1}-1}{r-1}\) holds for all natural numbers \(n\).

Exercise 4: A bouncing ball as a geometric series#

Question a#

A bouncing ball is released from a height of two metres above the floor. After hitting the floor for the first time, it bounces back up one metre; after the second time, half a metre; after the third, a quarter of a metre; and so on. In other words, the falling distance is halved for each subsequent drop. Let \(n\) be a natural number. Provide an expression that gives the total distance the ball has travelled when it hits the floor the \(n\)th time.

Question b#

What total distance does the bouncing ball travel before it finally comes to rest on the floor?

Exercise 5: An inequality#

A sequence of real numbers \(a_1,a_2,\dots\) is defined recursively as follows:

\(a_1=0\), and \(a_n=\sqrt{2+a_{n-1}}\) if \(n \ge 2\).

Question a#

Calculate \(a_1\), \(a_2\), \(a_3\) and \(a_4\).

Question b#

We now claim that \(a_n<2\) holds for all natural numbers \(n\). Prove this using induction on \(n\).

Have you finished all the exercises?#

If it went too quickly and you are eager for more, then click here for some challenging optional extra exercises.