If a and b can take values 1, 2, 3 and 4, then the number of equations of the form ax2+bx+1=0 having real roots is _____.
7
ax2+bx+1=0 has real roots only if D ≥ 0 or b2−4ac≥0.
Only 7 values of a and b satisfy it which is (1,2), (1,3), (1,4), (2,3), (2,4), (3,4) and (4,4).
For (a,b) = (1,2) ⇒D=(2)2−4(1)(1)=0≥0
For (a,b) = (3,4) ⇒D=(4)2−4(3)(1)=4≥0
This can be verified for the other values of a and b.