Algebra · real student question

Simplify (x + 3)² + (x − 2)² − 2(x + 3)(x − 2).

Question

Simplify

(x+3)2+(x2)22(x+3)(x2)(x+3)^2 + (x-2)^2 - 2(x+3)(x-2)

Step-by-step solution

  1. Match the three terms to a known identity. The layout is a square, plus another square, minus twice the product of the two bases. That is

    A2+B22AB=(AB)2A^2 + B^2 - 2AB = (A-B)^2

    Use it in reverse: the expression is already the expanded form of a single square.

  2. Assign the two bases. Here

    A=x+3,B=x2A = x+3, \qquad B = x-2

    Check the middle term: 2AB=2(x+3)(x2)2AB = 2(x+3)(x-2), which is exactly what is being subtracted, so the identity applies with no adjustment.

  3. Compute A − B, watching the double negative.

    AB=(x+3)(x2)=x+3x+2=5A - B = (x+3) - (x-2) = x + 3 - x + 2 = 5

    The xx terms cancel because both bases have leading coefficient 11 — this is why the answer will not depend on xx at all.

  4. Square the result.

    (AB)2=52=25(A-B)^2 = 5^2 = 25

    So the expression is the constant 2525 for every value of xx.

  5. Confirm by brute-force expansion. Term by term:

    (x2+6x+9)+(x24x+4)2(x2+x6)(x^2 + 6x + 9) + (x^2 - 4x + 4) - 2(x^2 + x - 6)

    =2x2+2x+132x22x+12=25= 2x^2 + 2x + 13 - 2x^2 - 2x + 12 = 25

    Both the x2x^2 and the xx columns vanish, confirming the constant. Testing x=0x = 0 gives 9+42(6)=259 + 4 - 2(-6) = 25 as well.

Answer

2525

Need to solve a different problem like this? Open the solver →