Prove that discrete math by induction that for all integers n \geq 1 \sum_{i=1}^n i^2 = \frac{n(n+1)(2n+1)}{6}

ddaeeric

ddaeeric

Answered question

2021-07-30

Prove that discrete math by induction that for all integers n1
i=1ni2=n(n+1)(2n+1)6

Answer & Explanation

Nichole Watt

Nichole Watt

Skilled2021-07-31Added 100 answers

To prove i=1ni2=n(n+1)(2n+1)6
by induction
basic step n=1
Then i=1ni2=1,n(n+1)(2n+1)6=1236=1
Hence true for n=1
Induction hypotesis: Let formula is true for n=k
i.e.i=1ni2=k(k+1)(2k+1)6(1)
To prove for n=k+1add(k+1)2 both sides of (1)
i=1ki2=(k+1)2=k(k+1)(2k+2)6+(k+1)2
i=1k+1i2=(k+1)(k(2k+2)6+k+1)
i=1k+1i2=(k+1)6(2k2+k+6k+6)
i=1k+1i2=(k+1)(k+2)(2(k+1)+1)6
Hence formula is prove for n = k+1 so that prove done by induction.

Do you have a similar question?

Recalculate according to your conditions!

New Questions in Discrete math

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?