Question:-
$x^2-4x-1=2k(x-5)$ has two equal roots. Calculate the possible values of $k$.
I know that that must mean the discriminant must equal $0$. So I found:
$b = (-2k-4)$
$a = 1$
$c = (10k-1).$
Yet when I input this into $b^2 - 4ac$ I always get an incorrect answer. The correct answers are supposed to be $k = 1$ or $k = 5$.
Can someone explain where I went wrong? Thanks.
You have$$x^2-4x-1=2k(x-5)\iff x^2-(4+2k)x+10k-1=0.$$And\begin{align}\bigl(-(4+2k)\bigr)^2-4(10k-1)=0&\iff4(k^2-6k+5)=0\\&\iff k=1\vee k=5.\end{align}