How can you find $m$ in $mx^2+(m-3)x+1=0 $ so that there is only one solution How can you find $m$ in $$mx^2+(m-3)x+1=0 $$ so that there is only one solution.

I tried to solve it by quadratic equation but I end up with two solutions.

So I want it know that is there a way so that I'll only get one solution the end.

Thanks.
A quadratic equation always has $2$ solutions, by the Fundamental Theorem of Algebra.

So if it has one distinct solution, then the two roots must be same.

Hence the discriminant must be equated to $0$.

Therefore, $$(m-3)^2-4\cdot m\cdot 1=0$$
$$m^2-10m+9=0$$
$$(m-9)(m-1)=0$$

So required value of $m$ is $1$ and $9$.
If we want only one solution, we need the discriminant of the quadratic equation to equal $0$. That is, in $$x = {3 - m \pm \sqrt{(m-3)^2 - 4m} \over 2m},$$ we need the stuff under the radical $(m-3)^2 - 4m = 0$. So $$m^2 - 6m + 9 - 4m = m^2 - 10m + 9 = (m-9)(m-1)=0.$$ So we get two answers, $m = 9$ and $m=1$. These are the only two solutions because if this is the case, then $$x = {3-9\pm \sqrt{6^2-4(9)} \over 2(9)} = {-6 \pm 0 \over 18} = -{1 \over 3}$$ and $$x = {2 - 1 \pm \sqrt{(-2)^2-4} \over 2} = {1 \pm 0 \over 2} = {1 \over 2}$$

Notice how each case of $m=9$ and $m=1$ respectively yields only one solution.