If a+b=10 and a−b=4, find the value of a2−b2
30
35
40
45
We know that (a+b)(a−b)=a2−b2
We have a+b=10 and a−b=4
Hence, a2−b2=(a+b)×(a−b)=10×4=40
If a + b = 10 and ab = 16, find the value of a2−ab+b2 and a2+ab+b2.