How to find the Range of function $$f(x)= \frac{x^2+2x-3}{x^2 - 3x +2}$$
I made a quadratic equation in terms of y which came to be:
$$ y(x^2 - 3x +2)= x^2+2x-3 $$
$$\implies x^2(y-1)-x(3y+2)+2y+3=0$$
Now I made two cases :
When y=1
This means the quadratc expression reduces to a linear expression and gives x=1. But x=1 is not possible because no value exists there.So y=1 is not possible
When $y\neq1$
I set $D \geq0$
Which gives me $$(y+4)^2 \geq0$$
So this is true for all values of y .
Combining the results of two cases gives me range to be $y\in (R-1)$ but y is also not equal to {-4}.Can you tell me why is this true