SolveMathAI

Prove that the sum of the first n odd numbers equals n squared, using induction

Worked through step by step. More calculus.

Answer
i=1n(2i1)=n2 is true for all integers n1\boxed{\sum_{i=1}^n (2i - 1) = n^2 \text{ is true for all integers } n \ge 1}

Checking for n=2n = 2 gives 1+3=4=221 + 3 = 4 = 2^2, which matches the formula.

Problem: Prove by mathematical induction that i=1n(2i1)=1+3+5++(2n1)=n2\sum_{i=1}^n (2i - 1) = 1 + 3 + 5 + \dots + (2n - 1) = n^2 for all integers n1n \ge 1.

Steps

  1. Verify the base case n=1n = 1
    1=121 = 1^2
  2. State the induction hypothesis for n=kn = k
    1+3+5++(2k1)=k21 + 3 + 5 + \dots + (2k - 1) = k^2
  3. Add the next odd term, 2(k+1)1=2k+12(k + 1) - 1 = 2k + 1, to both sides
    1+3+5++(2k1)+(2k+1)=k2+2k+11 + 3 + 5 + \dots + (2k - 1) + (2k + 1) = k^2 + 2k + 1
  4. Factor the right-hand side
    1+3+5++(2k+1)=(k+1)21 + 3 + 5 + \dots + (2k + 1) = (k + 1)^2

Generated by SolveMath AI and kept here so the next person asking gets it instantly. AI can make mistakes, so check anything that matters.

Solve your own

Same solver, same steps, no account.

Enter to solve · Shift+Enter for a new line

  • Free
  • No account
  • Every step shown
  • Arithmetic to calculus

More solved problems

Calculus solver →