Jump to content

Science:Math Exam Resources/Courses/MATH307/April 2009/Question 07 (a)/Solution 1

From UBC Wiki

We can start by finding the first few values of this relation. x2=3b−2a x3=7b−6a x4=15b−14a x5=31b−30a With these, we can guess at a scalar expression for xn and then use induction to prove that it is correct. By inspection, we come up with the following:

xn=(2n−1)b−(2n−2)a.

Proof: n=0: x0=(20−1)b−(20−2)a=0b−(−1)a=a n=1: x1=(21−1)b−(21−2)a=1b−0a=b n=2: x2=(22−1)b−(22−2)a=(4−1)b−(4−2)a=3b−2a, which is what we found using the recurrence.

Assume that for n≤k, the expression is true.

We now want to prove that the expression is true for n=k+1. Using the recurrence relation and our induction hypothesis, we find that xk+1=3xk−2xk−1 =3((2k−1)b−(2k−2)a)−2((2k−1−1)b−(2k−1−2)a) =b(3(2k−1)−2(2k−1−1))−a(3(2k−2)−2(2k−1−2)) =b(2k(3−1)−3+2)−a(2k(3−1)−2) =b(2k+1−1)−a(2k+1−2), which is the expression we had come up with. So for all integers n, xn=(2n−1)b−(2n−2)a.