MathorynMathematical Formula Database

Algebra

Square of a Sum

The square of a sum identity expands (a+b)2(a+b)^2. It is the n=2n=2 case of the binomial theorem and is used when expanding brackets, completing the square and in quick mental squaring.

(a+b)2=a2+2ab+b2(a+b)^2=a^2+2ab+b^2
LaTeX(a+b)^2=a^2+2ab+b^2

Variables

aa
first term
bb
second term

Example

Compute 1032103^2.

  1. Write 103=100+3103=100+3.
  2. (100+3)2=1002+2⋅100⋅3+32=10000+600+9(100+3)^2=100^2+2\cdot100\cdot3+3^2=10000+600+9.

Answer: 1032=10609103^2=10609.

Related formulas