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.
 
Thread 'Video on imaginary numbers and some queries'
Hi, I was watching the following video. I found some points confusing. Could you please help me to understand the gaps? Thanks, in advance! Question 1: Around 4:22, the video says the following. So for those mathematicians, negative numbers didn't exist. You could subtract, that is find the difference between two positive quantities, but you couldn't have a negative answer or negative coefficients. Mathematicians were so averse to negative numbers that there was no single quadratic...
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...
Thread 'Unit Circle Double Angle Derivations'
Here I made a terrible mistake of assuming this to be an equilateral triangle and set 2sinx=1 => x=pi/6. Although this did derive the double angle formulas it also led into a terrible mess trying to find all the combinations of sides. I must have been tired and just assumed 6x=180 and 2sinx=1. By that time, I was so mindset that I nearly scolded a person for even saying 90-x. I wonder if this is a case of biased observation that seeks to dis credit me like Jesus of Nazareth since in reality...

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