MHB How can we prove the recursive definition of $S$ by induction?

MarkFL
Gold Member
MHB
Messages
13,284
Reaction score
12
I was recently sent the following question via PM (which we discourage here), so I thought I would start a thread and help here (and give the OP a link to this thread). Here's the question:

419089e327ebd61d79d892db74c94a8f.png


(a) We can observe that we may write:

$$2\cdot\sum_{k=0}^{n}\left(3^k\right)=2\cdot\sum_{k=0}^{n-1}\left(3^k\right)+2\cdot3^n$$

Hence:

$$S(n)=S(n-1)+2\cdot3^n$$

Now, if we were to derive a closed form for $S(n)$ from the above linear inhomogeneous recursion, we would observe that the homogeneous solution is:

$$h_n=c_1$$

And, we would be looking for a particular solution of the form:

$$p_n=A3^n$$

So, to use the method of undetermined coefficients, we would substitute $p_n$ into the recursion to get:

$$A3^n-A3^{n-1}=2\cdot3^n$$

Divide through by $3^{n-1}$:

$$3A-A=6\implies A=3$$

Thus:

$$p_n=3^{n+1}$$

Hence, by the principle of superposition, we find the general solution to be:

$$S(n)=h_n+p_n=3^{n+1}+c_1$$

Now, to determine the parameter $c_1$, we find:

$$S(1)=2(1+3)=8=3^{1+1}+c_1=9+c_1\implies c_1=-1$$

And so we have:

$$S(n)=3^{n+1}-1$$

This agrees with the induction hypothesis we are to prove for part (b).

(b) State the induction hypothesis $$P_n$$:

$$2\cdot\sum_{k=0}^{n}\left(3^k\right)=3^{n+1}-1$$

Show the base case $P_1$ is true:

$$2\cdot\sum_{k=0}^{1}\left(3^k\right)=3^{1+1}-1$$

$$2(3^0+3^1)=3^{1+1}-1$$

$$8=8\quad\checkmark$$

The base case is true, so as our induction step, we may add $2\cdot3^{n+1}$ to each side of $P_n$:

$$2\cdot\sum_{k=0}^{n}\left(3^k\right)+2\cdot3^{n+1}=3^{n+1}-1+2\cdot3^{n+1}$$

One the left, incorporate the added term within the sum while on the right combine like terms:

$$2\cdot\sum_{k=0}^{n+1}\left(3^k\right)=3\cdot3^{n+1}-1$$

$$2\cdot\sum_{k=0}^{n+1}\left(3^k\right)=3^{(n+1)+1}-1$$

We have derived $P_{n+1}$ from $P_n$, thereby completing the proof by induction.
 
Mathematics news on Phys.org
Did the person who sent it to you say why? There does not appear to be any question asked.
 
HallsofIvy said:
Did the person who sent it to you say why? There does not appear to be any question asked.

The question is in an image hot-linked to a free image hosting site...and I know from experience that they don't always show up, so I will type it out:

2.) Let $S$ be the function defined over $\mathbb{N}$ by:

$$S(n)=2\times\sum_{k=0}^n3^k$$
(a) Give the recursive definition of $S$.

(b) Prove the following statement by induction:

for all $n\in\mathbb{N}$, $S(*n)=3^{n+1}-1$​
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Thread 'Imaginary Pythagorus'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...
Back
Top