From charlesreid1

Friday Morning Math Problem

Inferring Rule from Sequence

             1 = 1
         1 - 4 = -(1 + 2)
     1 - 4 + 9 = 1 + 2 + 3
1 - 4 + 9 - 16 = -(1 + 2 + 3 + 4)

Guess the general law suggested by these examples, express it in suitable mathematical notation, and prove it.

Solution
The general law is:

This can be proved for the base case of n=1, in which case above equation reduces to 1=1

Then can show that if assume n is true, then n+1 holds

Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://en.wikipedia.org/api/rest_v1/":): {\displaystyle \sum_{k=1}^{n+1} (-1)^{k-1} k^2 = (-1)^{n} \frac{(n+1)(n+2)}{2} }

If you split the left side into the sum from k=1 to n, (which can be reduced to a single term by using the identity above for the case of n, which you assume is true), and the last n+1 term written explicitly, you can do some algebraic manipulation to show it's equivalent to the right side.

Flags