Find two numbers whose sum is 5 and whose product is −4.
Solution
By Vieta’s formulas, two numbers with sum s and product p are the roots of the equation
t2−st+p=0.
With s=5 and p=−4:
t2−5t−4=0.
Discriminant:
Δ=(−5)2−4⋅1⋅(−4)=25+16=41>0,
so there are two distinct real solutions:
t=25±41.
Numerically, 41≈6.403, hence
t1=25+41≈5.702,t2=25−41≈−0.702.Check: sum t1+t2=5; product t1t2=425−41=4−16=−4. ✓
x1=25+41≈5.702,x2=25−41≈−0.702