Find the sum of the roots of the equation $\sqrt{x-1}+\sqrt{2x-1}=x$
My attempt: Squaring the equation: $(x-1)+(2x-1) +2\sqrt{(x-1)(2x-1)}=x^2$
$\implies x^2-3x+2=2\sqrt{(x-1)(2x-1)} $
$\implies (x-1)(x-2)=2\sqrt{(x-1)(2x-1)} $
$\implies (x-2)=2\sqrt{\displaystyle \frac{(2x-1)}{(x-1)}} $
Squaring, $(x^2-4x+4)(x-1)=8x-4$
$\implies x^2(x-5)=0$. So, the sum of roots should be five.
The given answer is 6.
Could anyone look at my attempt to find where I went wrong. Thanks.