MathorynMathematical Formula Database

Algebra

Square of a Trinomial

The square of a trinomial is the sum of the three squares plus twice every pairwise product. Use it to expand brackets with three terms quickly, to relate the sum of squares to the square of a sum, and in many symmetric-polynomial problems.

(a+b+c)2=a2+b2+c2+2ab+2bc+2ca(a+b+c)^2=a^2+b^2+c^2+2ab+2bc+2ca
LaTeX(a+b+c)^2=a^2+b^2+c^2+2ab+2bc+2ca

Variables

a, b, ca,\ b,\ c
the three terms

Example

Verify the identity for a=2, b=3, c=4a=2,\ b=3,\ c=4.

  1. Left side: (2+3+4)2=92=81(2+3+4)^2=9^2=81.
  2. Squares: 4+9+16=294+9+16=29.
  3. Products: 2(6+12+8)=522(6+12+8)=52, and 29+52=8129+52=81.

Answer: Both sides equal 8181.

Related formulas