If x=23 and x = - 3 are the roots of equation ax2+7x+b=0, find values of a and b.
for a polynomial a1x2+b1x+c1=0 sum of the roots is −b1a1
and the products of the roots is c1a1
hence here sum of the roots is −7a= x1+x2 = −3+23=−73
hence −7a = −73 hence a=3
and product of the roots is x1×x2=23×(−3)=−2=b3(from the given equation)
hence b=−6
so a=3 and b=−6