document.write( "Question 1183221: Hello, this is a mathematical induction question i had a hard time to prove\r
\n" ); document.write( "\n" ); document.write( "Show that, for every positive integer n:
\n" ); document.write( "a 1^2 + 3^2 + 5^2 + … + (2n − 1)^2 = (n(4n^2 - 1))/3
\n" ); document.write( "

Algebra.Com's Answer #813429 by math_helper(2461)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "LHS is \"1%5E2%2B3%5E2\"+...+\"+%282n-1%29%5E2+\" (1)
\n" ); document.write( "RHS is \"n%284n%5E2-1%29%2F3\" (2)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Base case:
\n" ); document.write( "n=1: LHS is \"+%282%281%29-1%29%5E2+\" = 1
\n" ); document.write( " RHS is \"+1%2A%284%2A1%5E2-1%29%2F3+\" = (4-1)/3 }}} = 1 \r
\n" ); document.write( "\n" ); document.write( "Base case holds.\r
\n" ); document.write( "\n" ); document.write( "Hypothesis:
\n" ); document.write( " Assume LHS = RHS for n=k (*)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Step case:
\n" ); document.write( " Let n=k+1 (recall the index k counts by 1 and the 2k-1 in the LHS & RHS is what makes sure you have odd numbers only)\r
\n" ); document.write( "\n" ); document.write( "What you need to do now, is show LHS=RHS for n=k+1, then the proof is complete.\r
\n" ); document.write( "\n" ); document.write( "LHS is \"+green%28+1%5E2%2B3%5E2+%29+\"+...+\"+green%28%282k-1%29%5E2%29+\" + \"+%282%28k%2B1%29-1%29%5E2+\"
\n" ); document.write( "Where I have separated the (k+1)th term. The terms in green are the n=k case, which by the hypothesis (*), can be replaced by \"k%284k%5E2-1%29%2F3\", giving:\r
\n" ); document.write( "\n" ); document.write( "LHS = \"+k%284k%5E2-1%29%2F3+\" + \"+%282%28k%2B1%29-1%29%5E2+\"\r
\n" ); document.write( "\n" ); document.write( " ...expand and simplify...
\n" ); document.write( " = \"+%284k%5E3%2B12k%5E2%2B11k%2B3%29%2F3+\"\r
\n" ); document.write( "\n" ); document.write( " ... factor (I used WolframAlpha, you could also guess k+1 as likely
\n" ); document.write( "factor and do the division)...\r
\n" ); document.write( "\n" ); document.write( " = \"+%282k%2B1%29%282k%2B3%29%28k%2B1%29+%2F+3+\"
\n" ); document.write( "
\n" ); document.write( "Is this last expression the same as (2)?
\n" ); document.write( " Let u=k+1, --> k=u-1
\n" ); document.write( " Then the last expression above, in terms of u, is:
\n" ); document.write( " = \"+%282%28u-1%29%2B1%29%282%28u-1%29%2B3%29u%29%2F3+\"
\n" ); document.write( " = \"+%28%282u-1%29%282u%2B1%29u%29%2F3+\"
\n" ); document.write( " = \"++%28%284u%5E2-1%29u%29%2F3+\" Yes, it is the same (replace u with n). Proof complete.\r
\n" ); document.write( "\n" ); document.write( " \n" ); document.write( "
\n" );