Algebra · real student question

Simplify the expression (a squared b plus a b squared) times (a squared minus a b plus b squared) minus a b to the fourth power.

Question

Simplify the expression

(a2b+ab2)(a2ab+b2)ab4(a^2b+ab^2)(a^2-ab+b^2)-ab^4

Step-by-step solution

  1. Look for structure before expanding. Expanding directly gives six products and is easy to botch. The second bracket a2ab+b2a^2-ab+b^2 is the tell-tale second factor of the sum of cubes, so the plan is to make the first bracket look like a+ba+b times something.

  2. Factor abab out of the first bracket. Both terms share abab:

    a2b+ab2=ab(a+b)a^2b+ab^2 = ab(a+b)

    The expression becomes

    ab(a+b)(a2ab+b2)ab4ab(a+b)(a^2-ab+b^2)-ab^4

  3. Apply the sum-of-cubes identity. Since

    (a+b)(a2ab+b2)=a3+b3(a+b)(a^2-ab+b^2)=a^3+b^3

    the three-bracket product turns into a single simple product:

    ab(a3+b3)ab4ab(a^3+b^3)-ab^4

  4. Distribute abab.

    aba3+abb3ab4=a4b+ab4ab4ab \cdot a^3 + ab \cdot b^3 - ab^4 = a^4b + ab^4 - ab^4

  5. Cancel the opposite terms. ab4ab^4 and ab4-ab^4 sum to zero, leaving

    a4ba^4b

    The fact that the messy b4b^4 piece cancels is the signal that the sum-of-cubes route was the intended one.

  6. Spot-check with numbers. Take a=2a=2, b=3b=3: the original is (12+18)(46+9)281=307162=210162=48(12+18)(4-6+9)-2\cdot81=30\cdot7-162=210-162=48, and a4b=163=48a^4b=16\cdot3=48. Match.

Answer

a4ba^{4}b

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