Christopher T. answered 02/13/21
Former Discrete Math instructor at Wright College
Assuming that P1=2, then
P2 = P1+2*3(2) = 2+2*3(2). = 2*[1+3*2]
P3 = P2+2*3(3) = 2+2*3(2)+2*3(3) = 2*[1+3*2+3*3]
P4 = P3 + 2*3(4) = 2+2*3(2)+2*3(3)+2*3(4) = 2*[1+3*2+3*3+3*4]
Continuing this trend, we find that for k>=2 that
Pk = 2*[1+3*2+3*3+3*4+...+ 3*k] = 2*[-2+3*1+3*2+3*3+3*4+...+3*k] = 2*[-2+3[1+2+...+k]] = 2*[-2+ 3k(k+1)/2] = 3k2+3k-4
(Note that the part in bold was rewritten so that the pattern started with the term 3*1; furthemore, we use the fact that 1+2+...+k = k(k+1)/2 for any k>=1).
We now verify this formula using mathematical induction.
We first justify the base case, which is k=1 (the initial condition). We find that
P1=3*12+3*1-4=6-4=2, which agrees with the intial value given for P1.
Next, we state the inductive hypothesis: For any k>=1, we have that Pk = 3k2+3k-4.
Finally, we perform the inductive step; if the statement is true for arbitrary k, then it should be true for k+1. Specifically, we need to conclude that Pk+1=3(k+1)2+3(k+1)-4.
From the iterative definition, we know that Pk+1=Pk+2*3(k+1). By the inductive hypothesis, we know that Pk = 3k2+3k-4. Hence, we have that
Pk+1 = 3k2+3k-4 + 2*3(k+1) = 3k(k+1)-4+2*3(k+1) = 3(k+1)(k+2) - 4 = 3(k+1)([k+1]+1) - 4 = 3(k+1)2+3(k+1)-4.
This completes the inductive step, and thus we have proved that the explicit formula for
Pk=Pk-1+2*3k (k>=2) with P1=2
is given by Pk = 3k2+3k-4 for any k>=1.