Solveeit Logo

Question

Question: If a + b = 7 and ab = 12 then what is the value of \(a^2 - ab - b^2\)?...

If a + b = 7 and ab = 12 then what is the value of a2abb2a^2 - ab - b^2?

A

12

B

13

C

14

D

-5

Answer

-5

Explanation

Solution

Step 1: Let S=a+b=7S = a + b = 7 and P=ab=12P = ab = 12.
Step 2: The quadratic equation with roots aa and bb is

t2St+P=t27t+12=0,t^2 - S\,t + P = t^2 - 7t + 12 = 0,

whose roots are t=3t = 3 and t=4t = 4.
Step 3: Assuming a=4a = 4 and b=3b = 3, compute

a2abb2=42(4)(3)32=16129=5.a^2 - ab - b^2 = 4^2 - (4)(3) - 3^2 = 16 - 12 - 9 = -5.

Hence, the required value is 5-5.