I am working on my scholarship exam practice but not sure how to start here.
Find the range of $m$ such that the equation $|x^2-3x+2|=mx$ has $4$ distinct real solutions.
The answer provided is $0<m<3-2\sqrt{2}$.
Could you please give a solution or at least a hint to this question?
Let $m_0$ be a value when $y=m_0x$ touches $y=-x^2+3x-2$, then the answer is $m\in (0,m_0)$.
That is $$x^2+x(m-3)+2=0\implies (m-3)^2=8\implies m_0 = 3-\sqrt{8}$$
See why $\color{red}{m=3+\sqrt{8}}$ is not good: