Exercises – Short Day#


Exercise 1: Brush-Up on 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#

Which values do \(c_3,c_4,\) and \(c_5\) take?

Question b#

Which values does \(\sum_{k=0}^n c_k\) take for \(n=0,1,2,3,4,\) and \(5\)?


Exercise 2: The Sum of Odd Numbers and Induction#

Question a#

Calculate for \(n=1,2,3,4\) 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\}.\) Is there a pattern in the found values?

Now, find/guess a short 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\) (meaning, for all \(n \in \mathbb{N}=\mathbb{Z}_{\ge 1}\)).

Show that the base case of the induction holds true.

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, Part 1#

Let \(r \in \mathbb{C} \setminus \{1\}\) be a complex number and \(n\) a natural number. In this exercise we wish to prove the following relation:

\[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 true for \(n=1\).

Question c#

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


Exercise 4: A Geometric Series, Part 2#

Question a#

A bouncing ball is released from a height of two meters above the floor. After hitting the floor, it bounces back up one meter, the second time half a meter, then a quarter of a meter at the third bounce, 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 produces the total distance the ball has traversed the moment it hits the floor the \(n\)-th time.

Question b#

How many meters does the bouncing ball traverse through before finally finding rest on the floor?


Exercise 5: An Inequality#

A sequence of real numbers \(a_0,a_1,\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#

The claim is now that it for all natural numbers \(n\) is true that \(a_n<2\). Prove this using induction on \(n\).


Exercise 6: Area under a Parabola#

Let \(N\) be a positive real number and \(n\) a natural number. We define \(d=N/n\). As is most likely known from highschool, the area between the parabola and the first axis between \(x=0\) and \(x=N\) can be computed as a definite integral as follows:

\[\int_0^N x^2 dx =\frac13 N^3-\frac13 0^3=\frac13 N^3.\]

In this exercise we wish to investigate how well this area is approximated using the finite sum \(\sum_{k=1}^n d\cdot(kd)^2\). The situation is illustrated in the following figure:

Question a#

Use the figure above to realize that

\[\frac13 N^3 \le \sum_{k=1}^n d\cdot (kd)^2.\]

Question b#

The following distributive rule holds true for all natural numbers \(n\) and all complex numbers \(a,b_1,\dots,b_n\):

\[a \cdot (b_1+\cdots+b_n)=a\cdot b_1+\cdots + a \cdot b_n.\]

Use this fact to realize that

\[d^3\sum_{k=1}^n k^2=\sum_{k=1}^n d^3\cdot k^2=\sum_{k=1}^n d\cdot (kd)^2.\]

Question c#

Use induction on \(n\) to realize that \(\sum_{k=1}^n k^2=\frac13 n(n+1/2)(n+1)\) for all natural numbers \(n\).

Question d#

Now show that \(\sum_{k=1}^n d\cdot (kd)^2=\frac{1}{3}N(N+d/2)(N+d)\).

Note that this equation implies that if \(N\) is held fixed while \(n\) goes towards infinity, then \(d\) goes towards zero, and the sum hence goes towards \(\frac13 N^3,\) which precisely is the area under the parabola.