Travou nisso? Resolva com IA
Algebra · real student question

Simplify E = (x + 2)³ + (x − 2)³ + x³ − 3x(x + 2)(x − 2).

Question

Simplify

E=(x+2)3+(x−2)3+x3−3x(x+2)(x−2)E = (x+2)^3 + (x-2)^3 + x^3 - 3x(x+2)(x-2)

Step-by-step solution

  1. Expand the two cubes with the binomial formula. Using (a±b)3=a3±3a2b+3ab2±b3(a \pm b)^3 = a^3 \pm 3a^2b + 3ab^2 \pm b^3 with b=2b = 2:

    (x+2)3=x3+6x2+12x+8(x+2)^3 = x^3 + 6x^2 + 12x + 8

    (x−2)3=x3−6x2+12x−8(x-2)^3 = x^3 - 6x^2 + 12x - 8

    The odd-power terms keep their sign pattern, which is what makes the next step collapse.

  2. Add the two cubes — the even-power terms cancel.

    (x+2)3+(x−2)3=2x3+24x(x+2)^3 + (x-2)^3 = 2x^3 + 24x

    The ±6x2\pm 6x^2 terms cancel and so do the ±8\pm 8 constants, because they sit at even and odd positions with opposite signs.

  3. Simplify the product term using difference of squares. Deal with the bracketed pair first:

    (x+2)(x−2)=x2−4(x+2)(x-2) = x^2 - 4

    so

    −3x(x+2)(x−2)=−3x(x2−4)=−3x3+12x-3x(x+2)(x-2) = -3x(x^2 - 4) = -3x^3 + 12x

    Distributing the −3x-3x across both terms (including the −4-4) is where a sign is most often lost.

  4. Collect everything. Assemble the three pieces:

    E=(2x3+24x)+x3+(−3x3+12x)E = (2x^3 + 24x) + x^3 + (-3x^3 + 12x)

    Cubic column: 2x3+x3−3x3=02x^3 + x^3 - 3x^3 = 0. Linear column: 24x+12x=36x24x + 12x = 36x. There are no x2x^2 or constant terms left.

  5. State and check the result.

    E=36xE = 36x

    A numeric check at x=1x = 1: 27+(−1)+1−3(3)(−1)=27−1+1+9=36=36⋅127 + (-1) + 1 - 3(3)(-1) = 27 - 1 + 1 + 9 = 36 = 36 \cdot 1. At x=2x = 2: 64+0+8−6(4)(0)=72=36⋅264 + 0 + 8 - 6(4)(0) = 72 = 36 \cdot 2. Both confirm the linear result.

Answer

E=36xE = 36x

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