Proof by induction an expression

AI Thread Summary
The discussion focuses on proving the expression \sum_{i=1}^{n-1}(n-i)=\frac{n(n-1)}{2} using mathematical induction. The base case for n=2 is verified, and the participant seeks clarification on the term for n+1. After some back and forth, a complete proof is presented, showing that both the left-hand side and right-hand side of the equation are equal, confirming the expression's validity. The final consensus is that the proof by induction is correct, and the discussion emphasizes the importance of clearly defining the terms being summed. The solution effectively demonstrates the inductive step necessary for the proof.
xeon123
Messages
90
Reaction score
0
I'm trying to prove by induction the expression:

\sum_{i=1}^{n-1}(n-i)=\frac{n(n-1)}{2}

For the base case, n=2, S(2)=\frac{2(2-1)}{2}=1

For S(n+1)=\frac{(n+1)((n+1)-1)}{2} I have:

S(n+1) = \frac{n(n-1)}{2} + (n+1) <--- Is this correct?

I don't know what is the term for n+1. Any help?
 
Last edited:
Physics news on Phys.org
xeon123 said:
I'm trying to prove by induction the expression:

\sum_{i=1}^{n-1}=\frac{n(n-1)}{2}
There appears to be something missing here! What is being summed?

For the base case, n=2, S(2)=\frac{2(2-1)}{2}=1

For S(n+1)=\frac{(n+1)((n+1)-1)}{2} I have:

S(n+1) = \frac{n(n-1)}{2} + (n+1) <--- Is this correct?

I don't know what is the term for n+1. Any help?
No one can tell you until you tell us what is being summed.
 
I corrected in the first message now.
 
I solved. Here's the solution. Can you check it if it's right?

For n=2, I got
0+1=\frac{2(2-1)}{2}

For n=3,
0+1+2=\frac{3(3-1)}{2}

So, for n, I got
0+1+2+3+...+n-1=\frac{n(n-1)}{2}

For n+1 I got
0+1+2+3+...+n-1+n=\frac{(n+1)(n+1-1)}{2}=\frac{(n+1)(n)}{2}

For the LHS

LHS=\frac{n(n-1)}{2}+n=\frac{n(n-1)+2n}{2}=\frac{n^2-n+2n}{2}=\frac{n^2+n}{2}

For the RHS
RHS=\frac{(n+1)(n)}{2}=\frac{n^2+n}{2}

So, the LHS = RHS, proofing that \frac{n(n-1)}{2} is correct for any n.

Is this solution correct?
 
What you have written is basically a "proof by induction" and, yes, it is correct.

Actually, the first thing I would do is write that as
\sum_{i= 1}^{n- 1} n- 1= \sum_{j= 0}^n j
where I have taken j= i- 1.

If I really didn't want to do that, I might note that
\sum_{i=1}^{n-1}= n\sum_{i= 1}^n 1- \sum_{i=1}^{n- 1}i
 
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...
Back
Top