Relation between Roots and Coefficients for Quadratic
The number of...
Question
The number of integral values of a such that x2+ax+a+1=0 has integral roots is
Open in App
Solution
Given : x2+ax+a+1=0
As the roots are integer, so discriminant should be perfect square, D=a2−4(a+1)⇒D=a2−4a+4−8⇒D=(a−2)2−8
For integral a, ⇒D=1⇒(a−2)2=9⇒a−2=±3∴a=5,−1