Exercises – Long Day#


Exercise 1: Repetition Exercise on Recursion#

We recursively define a sequence of numbers c0,c1,c2, as follows:

c0=0, c1=1, c2=2, and for n3 it applies that cn=cn1cn2+cn3.

Which values do c3,c4 and c5 have?


Question 2: Derivative Functions and Induction#

As is known from high-school, it applies for all nZ1 that the derivative of xn is equal to nxn1, meaning (xn)=nxn1. In this exercise we will show this using induction. You may in this exercise use the fact that the derivative of x is 1, as well as the product rule (f(x)g(x))=f(x)g(x)+f(x)g(x).

Question a#

Formulate the base case of the induction. Then check that this base case holds.

Question b#

Now formulate the induction step. What is the induction hypothesis in this case?

Question c#

Show that the induction step holds. The induction principle now implies that the formula (xn)=nxn1 holds true for all nZn1.

Exercise 3: The Sum of Odd Numbers and Induction#

Question a#

Compute for n=1,2,3,4 the sum of the first n odd natural numbers. In other words, determine the value of k=1n(2k1) for n{1,2,3,4}. Is there a pattern in the values you find? Now try to find/guess a short expression of k=1n(2k1) that gives the correct result for n{1,2,3,4} and check that your guess also gives the correct value of k=1n(2k1) if n=5.

Question b#

Let P(n) be the logical proposition that k=1n(2k1) is equal to the short expression that you found in Question a. The goal is now to show that P(n) is true for all natural numbers n (that is, for all nN=Z1).

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 4: Multiplying into Parentheses#

Let nZ2 and a,b1,,bn be complex numbers. Show the following using induction on n:

a(b1++bn)=ab1++abn.

You may use the fact that the equation holds true for n=2 by refering to Theorem 3.2.2, part(iii).


Opgave 5: The Geometric Series: part 1#

Spørgsmål a#

A bouncy ball is dropped from two metres above the floor. After hitting the floor, it bounces up one metre again before falling back to the ground. After hitting the floor the second time, it bounces up half a metre, then a quarter metre the third time, and so on. In other words, the fall height is halved with each impact with the floor.

Let n be a natural number. What is the total distance the ball has traveled by the time it hits the floor for the n’th time?


Exercise 6: The Geometric Series: part 2#

Let rC{1} be a complex number and n a natural number. In this exercise we will show the following identity:

1+r++rn=rn+11r1.

Question a#

Why can r not be equal to 1 in the identity?

Question b#

Check that the identity holds for n=1.

Question c#

Show that the identity 1+r++rn=rn+11r1 holds for all natural numbers n.

Question d#

Let us return to the bouncy ball from Exercise 5. How many metres has the ball traversed in total before it lies still on the floor?


Exercise 7: An Inequality#

A sequence of real numbers a0,a1, is defined recursively as follows:

a1=0 and an=2+an1 if n2.

Question a#

Compute a1,a2,a3, and a4.

Question b#

The claim is now that for all natural numbers n it applies that an<2. Prove this using induction on n.


Exercise 8: A Sum with Fractions#

Show that the identity

k=1n1k(k+1)=11n+1

applies for all nN.


Exercise 9: Area under a Parabola#

Let N be a positive real number and n a natural number. We define d=N/n. As is known from high-school, the area under the parabola (between the parabola and the first axis) from x=0 to x=N can be determined as follows:

0Nx2dx=13N31303=13N3.

In this exercise we will investigate how well we can approximate this area by using the finite sum k=1nd(kd)2. The situation is illustrated in the following figure:

Question a#

Use the drawing to realise that

13N3k=1nd(kd)2.

Question b#

Use the result from Exercise 4 to realise that

d3k=1nk2=k=1nd3k2=k=1nd(kd)2.

Question c#

Use induction on n to realise that k=1nk2=13n(n+1/2)(n+1) for all natural numbers n.

Question d#

Now show that k=1nd(kd)2=13N(N+d/2)(N+d).

Note: The equation implies that if N is kept fixed, and if n goes towards infinity, then d goes towards zero and the sum thus goes towards 13N3, which is the area under the parabola.