Simplify $\sqrt{a^6 + 2a^4b^2 + a^2b^4}$ for $a < 0$
I've almost got it but I have a question about the answer. This is my solution:
$$\sqrt{a^6 + 2a^4b^2 + a^2b^4}$$ $$\sqrt{a^2 (a^4 + 2a^2b^2 + b^4)}$$ $$a \cdot \sqrt{a^4 + 2a^2b^2 + b^4}$$ $$a^2 = t$$ $$a \cdot \sqrt{t^2 + 2b^2t + b^4}$$ $$a \cdot \sqrt{(t+b^2)^2}$$ $$a \cdot |t+b^2|$$ $$a \cdot |a^2+b^2|$$
Now splitting the cases for when $a^2 + b^2 < 0$ vs $a^2 + b^2 > 0$ gives $$a \cdot (a^2+b^2)$$ $$-a \cdot (a^2 + b^2)$$
Now, my textbook only gives the solution $$-a\cdot(a^2+b^2)$$ Why?
When you moved $a^2$ out from square root, you forgot to take absolute value:
$$\sqrt{a^2 \cdot (a^4+2a^2b^2+b^4)}=|a| \sqrt{a^4+2a^2b^2+b^4}$$
and since $a < 0$, we have $$|a| = -a$$