So what I am trying to prove is for any real number x and natural number n, prove xn−1=(x−1)(xn−1+xn−2+...+x+1)
I think that to prove this I should use induction, however I am a bit stuck with how to implement my induction hypothesis. My base case is when n=2 we have on the left side of the equation x2−1 and on the right side: (x−1)(x+1) which when distributed is x2−1. So my base case holds.
Now I assume that xn−1=(x−1)(xn−1+xn−2+...+x+1) for some n. However, this is where I am stuck. Am I trying to show xn+1−1=(x−1)(xn+xn−1+xn−2+...+x+1)? I am still a novice when it comes to these induction proofs. Thanks
Answer
To conclude your induction proof, just multiply x both sides :
xn−1=(x−1)(xn−1+xn−2+...+x+1)
multiply x both sides :
xn+1−x=(x−1)(xn+xn−1+xn−2+...+x2+x)xn+1−1−(x−1)=(x−1)(xn+xn−1+xn−2+...+x2+x)xn+1−1=(x−1)(xn+xn−1+xn−2+...+x2+x)+(x−1)
factor (x−1) and you're done !
No comments:
Post a Comment