document.write( "Question 18128: f(n)=1^2+2^2+3^2+...+n^2 it turns out that f is a polynomial of degree x in n. Figure out the coefficients of f: f(n)=___n^3+___n^2+___n+___. \n" ); document.write( "
Algebra.Com's Answer #8733 by venugopalramana(3286)![]() ![]() You can put this solution on YOUR website! find...f(n)=1^2+2^2+3^2+...+n^2 \n" ); document.write( "consider the identity... \n" ); document.write( "n(n+1)(2n+1)-(n-1)n(2n-1)=6n^2..(you can expand the 2 expressions,simplify to get the result..n(n+1)(2n+1)-(n-1)n(2n-1)=(n^2+n)(2n+1)-(n^2-n)(2n-1) \n" ); document.write( "=(2n^3+n^2+2n^2+n)-(2n^3-n^2-2n^2+n)=2n^3+3n^2+n-2n^3+3n^2-n=6n^2) \n" ); document.write( "now put n=1,2,3...etc in the above and add up as shown below \n" ); document.write( "..................n(n+1)(2n+1)-(n-1)n(2n-1)=6n^2 \n" ); document.write( "for n=1...........1.2.3-0..................... =6*1^2 \n" ); document.write( "for n=2...........2.3.5-1.2.3..................=6*2^2 \n" ); document.write( "for n=3...........3.4.7-2.3.5..................=6*3^2 \n" ); document.write( ".................................................................. \n" ); document.write( "................................................................. \n" ); document.write( "for n=n-1.........(n-1)n(2n-1)-(n-2)(n-1)(2n-3)=6*(n-1)^2 \n" ); document.write( "for n=n............n(n+1)(2n+1)-(n-1)n(2n-1)...=6n^2 \n" ); document.write( "************************************************************** \n" ); document.write( "adding all above we get......... n(n+1)(2n+1)...=6*(1^2+2^2+3^2+...+n^2) \n" ); document.write( "hence we have f(n)=(1^2+2^2+3^2+...+n^2)=n(n+1)(2n+1)/6 \n" ); document.write( "or..f(n)=(1/3)n^3+(1/2)n^2+(1/6)n\r \n" ); document.write( "\n" ); document.write( " \n" ); document.write( " |