Find the value of k for which the quadratic equation (3k+1)x2+2(k+1)x+1=0 has equal roots. Also, find the roots.
For the equation to be a perfect square, the determinant should be zero.
Hence,
Now if k=0 then the equation becomes,
Therefore when k=0 then the roots of the equation are -1 and -1.
Now when k=1 then the equation becomes,
Therefpore when k=1 then the roots of the equation are and