6.7. Solutions Recursive Definitions#

Solutions to Section 3.7

Solution to Exercise (1†)

Proof: We prove this once again by induction.

  • Base Case: When n=0 and when n=1, the statement is clearly true, since f0=0<1=20 and f1=1<2=21, so f0<20 and f1<21.

  • Inductive Case: If we now take an arbitrary k such that k2, we assume that fn<2n for n=k1 and n=k2 holds. To complete the induction, we need to show that fk<2k is also true:

    fk=fk1+fk2<2k1+2k2(inductive hypothesis)=2k2+2k4=342k<2k

    This shows that fk<2k is true, which completes the induction.

Solution to Exercise (2†)

Proof: We prove the equation using induction.

  • Base Case: When n=1, a1=1211 is true since both sides are equal to 1.

  • Inductive Case: Let k1 be an arbitrary integer. We asssume that an=n2n1 holds for n=k1. To complete the induction, we need to show that the equation also holds for n=k.

    ak=2ak1+2k1=2(k1)2k11+2k1(inductive hypothesis)=(k1)2k1+2k1=((k1)+1)2k1=k2k1

    Which proves that the equation also holds for n=k. Thereby the induction is completed.