If a + b = 10 and ab = 21, find the value of a3+b3.
a + b = 10, ab = 21
Cubing both sides,
(a+b)3=(10)3⇒ a3+b3+3ab(a+b)=1000⇒ a3+b3+3×21×10=1000⇒ a3+b3+630=1000⇒ a3+b3=1000−630=370∴ a3+b3=370
If a - b = 4 and ab = 21, find the value of a3−b3.