Prove by mathematical induction, the following formula for the sum of a geometric series: S(n) r^i = r^(n+1) - 1/r-1 if r is not equal to 1
first do the basis case,
Sum r^i , i=1 .. n = r^(n+1) - 1/r-1
\[\sum_{n}^{i=0} r^i = r ^{n-1} - 1 \div r-1,\] if \[r \neq 1\]
Just to be clear. :-D
did the sum upside down...I'm new here.
How do I show the base case?
ok plug in k=1
also you should probably use parenthesees
So, would the base case be n=0 or n=1?
i believe i=0
Yes, but in order to derive the base case, how would I format it?
so start at i = 0
\[\sum_{i=0}^{n-1} r^i = (r ^{n} - 1)/ (r-1)\ \]
ok. So \[r ^{0}+r^{1} ... r^{n-1} ?\]
the basis case is just one number
lets do the basis case i = 1 then show r^0 + r^1 = ( r^2 - 1) / ( r - 1 )
actually it might be easier if we do this
\[\sum_{i=0}^{n} r^i = (r ^{n+1} - 1)/ (r-1)\ \]
this is easier to prove, methinks
with me so far?
So n=1, \[r^{0} + r^{1} = (r^{(1+1)} - 1) / (r-1)\]
so let's prove that r^0 + r^1 + r^2 + ... r^n = ( r^(n+1) - 1 ) ( r-1)
we can use zero i = 0 r^0 = ( r^(1+0) - 1 ) / ( r - 1 )
but i=1 is fine too, any number in fact
Sorry to be obtuse, but what I'm confused about is that i is already = 0 as stated in the original equation
So are you meaning to change n=0?
'i' is the index, i = 0,1,2,3... n
you dont have to apologize, any questions you can ask. just bear with me, this program is so buggy
Yes. So in this case, it's stated that i=0. I thought in the base case you're supposed to set n to the lowest possible integer to test teh hypothesis
So if we set n=0 we get: \[r^{0} = r^{1} - 1 / r-1\]
which is 1=1. Would that be acceptable base case?
yes,
so it passes the basis case.
sorry, the basis test
Does the common ratio (r) not being equal to 1 factor into the basis test at all?
if r = 1 , then we have division by zero
Ok, but the basis test still holds true in this case.
right
because we assumed originally that r != 1
so now to prove by induction, n = k+1 correct?
or rather, we assume that \[\sum_{i=0}^{k} = r^{(k+1)}-1 / r-1\] is true
right, and then show it will be true for \[\sum_{i=0}^{k+1} = (r^{((k+1)+1)}-1) / r-1\]
and try by induction to prove that \[\sum_{i=0}^{k+1} r^{i} = r^{((k+1)+1)} -1 / r-1\]
exactly
Yayy I'm getting smarter!
you just need parenthesees!
So now, I have to somehow simplify it. \[\sum_{i=0}^{k+1} r^{i} = r^{0} + r ... r^{k+1} = (r^{k+2} - 1) / (r -1) \]
sometimes its easier to write out the sum we assume that 1 + r + r^2 + ... + r^k = ( r^(k+1) - 1 ) / ( r - 1)
what if we add r^(k+1) to both sides
Oh wait, yes, I remember my professor doing that.
then the left side is the left hand side of the conclusion
and its a legal algebraic move
Ok, can you explain that one more time? (Thank you so much for your time, this is exactly the clarification i needed)
so i wrote out the assumption (what we assume to be true) 1 + r + r^2 + ... + r^k = ( r^(k+1) - 1 ) / ( r - 1) Then we stare at the conclusion 1 + r + r^2 + ... +r^k + r^(k+1) = ( r^(k+2) - 1 ) / ( r - 1) to go from the assumption to the conclusion, it seems natural to add r^k+1 to both sides of the assumption (and thats fine because we assumed it is true, and you can add the same number to both sides of a true equality)
by adding r^k+1 to both sides of the assumption , that will immediately give us the LHS (left hand side) of the conclusion
1 + r + r^2 + ... + r^k = ( r^(k+1) - 1 ) / ( r - 1) +r^k+1 +r^k+1 --------------------------------------------
OK. so how can we simplify it from there to verify the equality?
ok so we get
1 + r + r^2 + ... + r^k = ( r^(k+1) - 1 ) / ( r - 1) +r^k+1 +r^k+1 -------------------------------------------- 1+ r + r^2 + ... + r^k +1 = ( r^(k+1) - 1 ) / ( r - 1) + r^k+1
now we just have to simplify the right hand side (RHS)
did i lose you?
No, I'm with you so far.
Actually
in the RHS why is the parenthetical \[r^{k+1}\] not \[r^{k+2}\]
because that was what we had in the assumption
but after we simplify we should get r^k+2
Ok so how do we simplify the RHS
because this is where I always screw up
we just need a common denominator
|dw:1366903732677:dw|
Join our real-time social learning platform and learn together with your friends!