We know that while finding the root of a quadratic equation ax2+bx+c=0 by quadratic formula x=−b±√b2−4ac2a,
if b2−4ac>0, then the roots are real and distinct
if b2−4ac=0, then the roots are real and equal and
if b2−4ac<0, then the roots are imaginary.
Here, the given quadratic equation r2−(m+1)r+4=0 is in the form ax2+bx+c=0 where a=1,b=−(m+1) and c=4.
(i) If the roots are equal then b2−4ac=0, therefore,
b2−4ac=0⇒(−(m+1))2−(4×1×4)=0⇒(m+1)2−16=0⇒(m+1)2=16⇒m+1=±√16⇒m+1=±4⇒m+1=4,m+1=−4⇒m=4−1,m=−4−1⇒m=3,m=−5
(ii) If the roots are distinct then b2−4ac>0, therefore,
b2−4ac>0⇒(−(m+1))2−(4×1×4)>0⇒(m+1)2−16>0⇒(m+1)2>16⇒m+1>±√16⇒m+1>±4⇒m+1>4,m+1>−4⇒m>4−1,m>−4−1⇒m>3,m>−5
(iii) If the roots are imaginary then b2−4ac<0, therefore,
b2−4ac<0⇒(−(m+1))2−(4×1×4)<0⇒(m+1)2−16<0⇒(m+1)2<16⇒m+1<±√16⇒m+1<±4⇒m+1<4,m+1<−4⇒m<4−1,m<−4−1⇒m<3,m<−5
Hence m=3,m=−5 if the roots are equal, m>3,m>−5 if the roots are distinct and m<3,m<−5 if the roots are imaginary.