a, x + y = 3 => (x + y)2 = 9 <=> x2 + 2xy + y2 = 9 <=> 5 + 2xy = 9 <=> 2xy = 4 <=> xy = 2
Ta có: x3 + y3 = (x + y)(x2 - xy + y2) = 3 . (5 - 2) = 3 . 3 = 9
b, x - y = 5 => (x - y)2 = 25 <=> x2 - 2xy + y2 = 25 <=> 15 - 2xy = 25 <=> -2xy = 10 <=> xy = -5
Ta có: x3 - y3 = (x - y)(x2 + xy + y2) = 5 . (15 - 5) = 5 . 10 = 50