Here's a question I've encountered in a recent high school examination.
Find the range of values of m such that the line $y=mx-3$ intersects with the graph of $ y=2-|3x - 5|$ at exactly two points.
The answer is $-3 < m < 3$.
Picture
The suggested method to solve this by the exam setter is:
1. Sketch the absolute value line(s).
2. Calculate the two gradients of the absolute value line(s).
3. Use logic to determine the range of values in which the straight line intersects with both absolute value line(s).
However, I tried using another method.
1. Simultaneously solving
2. Turning them into a single quadratic equation
3. Using the discriminant to find 2 intersections
But I'm not getting the correct answer. What went wrong?
I also tried splitting $y = 2-|3x - 5|$ into 2 different equations, $y=2 - 3x + 5$ and $y=2 + 3x - 5$, but that wasn't too successful either.Failed attempt
I have no idea why both methods are wrong and am confused.
You want to find values of $m$ such that the line $y=mx-3$ intersects
with the graph of $ y=2-|3x - 5|$ at exactly two points.
Note that for $x\le\dfrac53, y=2+3x-5=3x-3,$ so $y=mx-3$ intersects $y=3x-3$ only when $x=0\le\dfrac53$ (unless $m=3$, in which case there are infinitely many intersection points).
Thus (when $m\ne3)$ we have one intersection point when $x\le\dfrac53,$ so we want exactly one intersection point when $x>\dfrac53$. When $x>\dfrac53$, $y=2-3x+5=7-3x,$ and this intersects $y=mx-3$ when $x=\dfrac{10}{m+3}$ (unless $m+3=0$, in which case there is no intersection), as you correctly calculated. Now we want $\dfrac{10}{m+3}\gt\dfrac53;$ i.e., $\dfrac6{m+3}>1.$
This happens when $m+3>0$ and $m+3<6$; i.e., $-3<m<3$.