How Is the Sum of Squares Formula Derived Using Induction?

  • Thread starter Thread starter rsala004
  • Start date Start date
  • Tags Tags
    Induction
AI Thread Summary
The discussion focuses on deriving the sum of squares formula for counting squares in an n x n box, specifically the formula 1^2 + 2^2 + ... + n^2 = (n)(n+1)(2n+1)/6. A user seeks clarification on using mathematical induction to prove this formula. The process begins with establishing the base case for n=1 and then assuming the formula holds for n, before adding (n+1)^2 and manipulating the expression to prove it for n+1. This method demonstrates that if the formula is true for one integer, it is true for all positive integers through induction. The discussion emphasizes the importance of each step in the induction process to validate the theorem.
rsala004
Messages
23
Reaction score
0
this is to figure out formula for how many squares you can find in a nxn box.

12+22+32+...+N2

Can someone show steps to how a simplified formula can be found? ( i only know the concept of induction, not how to do it really..)

it is (n)(n+1)(2n+1)/6 , but how is this accomplished

thanks a lot, would be great if some work was shown.
 
Mathematics news on Phys.org
rsala004 said:
this is to figure out formula for how many squares you can find in a nxn box.

12+22+32+...+N2

Can someone show steps to how a simplified formula can be found? ( i only know the concept of induction, not how to do it really..)

it is (n)(n+1)(2n+1)/6 , but how is this accomplished

thanks a lot, would be great if some work was shown.

What is the context of the question? Is this for school work?
 
First show the base case:
1^2 = 1
Then assume:
1^2+2^2+\cdots+n^2 = \frac{n(n+1)(2n+1)}{6}
Now add (n+1)^2 to get:
1^2+2^2+\cdots+n^2+(n+1)^2 = \frac{n(n+1)(2n+1)}{6}+(n+1)^2
Now your task is do manipulate the right hand side to get:
\frac{n(n+1)(2n+1)}{6}+(n+1)^2 = \frac{(n+1)(n+2)(2n+3)}{6}
which would prove the induction hypothesis that if the formula is true for n, then it's true for n+1.

If you do this you show the theorem true for n=1 and therefore also by n=2, and therefore also for n=3, and therefore also for n=4, ... So by induction you have shown it true for all positive n.
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...

Similar threads

Replies
6
Views
5K
Replies
4
Views
1K
Replies
7
Views
3K
Replies
4
Views
2K
Replies
1
Views
1K
Replies
2
Views
1K
Replies
8
Views
3K
Back
Top