document.write( "Question 1008316: Please solve:
\n" ); document.write( "Sn=a^2+(a+d)^2+(a+2d)^2+(a+3d)^2+....+[(a+(n-1)d]^2
\n" ); document.write( "Sn=a²+(a+d)²+(a+2d)²+(a+3d)²+....+[(a+(n-1)d]²
\n" ); document.write( "

Algebra.Com's Answer #624078 by ikleyn(52800)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "Please solve:
\n" ); document.write( "Sn=a^2+(a+d)^2+(a+2d)^2+(a+3d)^2+....+[(a+(n-1)d]^2
\n" ); document.write( "Sn=a²+(a+d)²+(a+2d)²+(a+3d)²+....+[(a+(n-1)d]²
\n" ); document.write( "----------------------------------------------------\r
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "Let us consider one typical term \"%28a%2Bkd%29%5E2\". It is\r\n" );
document.write( "\"a%5E2\" + \"2%2Ak%2Ad\" + \"k%5E2%2Ad%5E2\".\r\n" );
document.write( "\r\n" );
document.write( "We need to sum up n such terms/trinomials from k = 0 to k = n-1.\r\n" );
document.write( "\r\n" );
document.write( "By combining the first addends of these trinomials, you will get \"n%2Aa%5E2\", right?\r\n" );
document.write( "\r\n" );
document.write( "By combining the second addends of these trinomials, you will get \"2d%2A%280+%2B+1+%2B+2+%2B+3+%2B+ellipsis+%2B+%28n-1%29%29\".\r\n" );
document.write( "\r\n" );
document.write( "If you know it, this sum \"1+%2B+2+%2B+3+%2B+ellipsis+%2B+%28n-1%29\" is equal to \"%28n-1%29%2An%2F2\". \r\n" );
document.write( "\r\n" );
document.write( "It is the sum of a special arithmetic progression which is the sequence of the first (n-1) natural numbers. \r\n" );
document.write( "If you don't know it, see the lesson Arithmetic progressions in this site. \r\n" );
document.write( "\r\n" );
document.write( "By combining the third addends of these trinomials, you will get \"d%5E2%2A%280+%2B+1%5E2+%2B+2%5E2+%2B+3%5E2+%2B+ellipsis+%2B+%28n-1%29%5E2%29\".\r\n" );
document.write( "\r\n" );
document.write( "This sum of squares of the first (n-1) natural numbers \"1%5E2+%2B+2%5E2+%2B+3%5E2+%2B+ellipsis+%2B+%28n-1%29%5E2\" is equal to \"%28%28n-1%29%2An%2A%282n-1%29%29%2F6\".\r\n" );
document.write( "\r\n" );
document.write( "For the proof see, for example, the lesson Mathematical induction for sequences other than arithmetic or geometric in this site. \r\n" );
document.write( "\r\n" );
document.write( "Now we can finalize our calculations.\r\n" );
document.write( "\r\n" );
document.write( "\"S%5Bn%5D\" =  = \r\n" );
document.write( "\r\n" );
document.write( "= \"n%2Aa%5E2\" + \"2d\".\"%28n-1%29%2An%29%2F2\" + \"d%5E2%2A%28%28n-1%29%2An%2A%282n-1%29%2F6%29\" = \r\n" );
document.write( "\r\n" );
document.write( "= \"n%2Aa%5E2\" + \"d%2A%28n-1%29%2An\" + \"d%5E2\".\"%28%28n-1%29%2An%2A%282n-1%29%29%2F6%29\".\r\n" );
document.write( "

\n" ); document.write( "
\n" ); document.write( "
\n" );