Algebraic Identities Example

An algebraic identity is an equality that holds for every allowed value of its variables. The perfect-square identity (a + b)² = a² + 2ab + b² expands a sum squared; the related difference identity is (a − b)² = a² − 2ab + b². These formulas save repeated multiplication while preserving every term. This example expands (x + 3)² and verifies it by multiplying the binomials.

Expand (x + 3)²

Match (x + 3)² with (a + b)². Use a = x and b = 3, then substitute into the identity.

(x+3)2(x+3)^2
Key facts used in this example
Sum-square identity(a + b)² = a² + 2ab + b²
Substitutiona = x, b = 3
Middle term2 · x · 3 = 6x
Expanded formx² + 6x + 9

Step-by-step solution

  1. 1

    Choose the matching identity

    The expression is a binomial sum squared, so use the perfect-square formula.

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

    Substitute x and 3

    Replace a with x and b with 3 in each part of the identity.

    (x+3)2=x2+2(x)(3)+32(x+3)^2=x^2+2(x)(3)+3^2
  3. 3

    Simplify each term

    Multiply the middle term and square the constant.

    x2+2(x)(3)+32=x2+6x+9x^2+2(x)(3)+3^2=x^2+6x+9

ANSWER

(x + 3)² = x² + 6x + 9

The middle term is twice the product of the two terms, not simply 3x.

(x+3)2=x2+6x+9(x+3)^2=x^2+6x+9

Check by direct multiplication

Write the square as two identical factors and distribute each term. This independently confirms the identity result.

(x+3)(x+3)=x2+3x+3x+9=x2+6x+9(x+3)(x+3)=x^2+3x+3x+9=x^2+6x+9