Algebra · real student question

Simplify (a - 2b)^2 + 8ab.

Question

Simplify

(a2b)2+8ab(a-2b)^2+8ab

Step-by-step solution

  1. Expand the square. Use (pq)2=p22pq+q2(p-q)^2=p^2-2pq+q^2 with p=ap=a, q=2bq=2b:

    (a2b)2=a22(a)(2b)+(2b)2=a24ab+4b2(a-2b)^2=a^2-2(a)(2b)+(2b)^2=a^2-4ab+4b^2

  2. Add the loose term and combine like terms. Only the abab terms interact:

    a24ab+4b2+8ab=a2+4ab+4b2a^2-4ab+4b^2+8ab=a^2+4ab+4b^2

    since 4ab+8ab=4ab-4ab+8ab=4ab.

  3. Recognise the result as a perfect square. Now a2a^2, 4b2=(2b)24b^2=(2b)^2 and the middle term 2a2b=4ab2\cdot a\cdot 2b=4ab all match the square-of-a-sum pattern:

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

  4. Note the structural reason. The two squares (a±2b)2(a\pm 2b)^2 differ by exactly 22(a)(2b)=8ab2\cdot 2\cdot(a)(2b)=8ab:

    (a+2b)2(a2b)2=8ab(a+2b)^2-(a-2b)^2=8ab

    so adding 8ab8ab to the difference-square is guaranteed to produce the sum-square. This identity is the general fact behind the problem.

  5. Check numerically. At a=3a=3, b=1b=1: the original is (32)2+24=1+24=25(3-2)^2+24=1+24=25, and (3+2)2=25(3+2)^2=25 \checkmark.

Answer

(a2b)2+8ab=(a+2b)2(a-2b)^2+8ab=(a+2b)^2

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