Multiply(a + b)(a 2 - ab + b^2)
To multiply (a + b)(a^2 - ab + b^2), we can use the distributive property and multiply each term in the first expression by each term in the second expression:
(a + b)(a^2 - ab + b^2) = a(a^2 - ab + b^2) + b(a^2 - ab + b^2)
Now we can distribute the terms:
= a(a^2) + a(-ab) + a(b^2) + b(a^2) + b(-ab) + b(b^2)
= a^3 - a^2b + ab^2 + a^2b - ab^2 + b^3
Combining like terms, we have:
= a^3 + b^3