How to find the range of a function $y=\frac{(x-1)(x+4)}{(x-2)(x-3)}$ I have the following function:
\begin{equation}
y=\frac{(x-1)(x+4)}{(x-2)(x-3)}
\end{equation}
It's easy to find it's domain, which is: $\mathbb{R} - \{3,2\}$. I know how to find the range of easier functions such as parabolas and such. Is there a systematic way to find the range of more difficult functions such as this one? Thank you in advance.
 A: $y(x-2)(x-3)=(x-1)(x+4) \implies (y-1)x^2-(5y+3)x+(6y+4) = 0$.  Thus for any value of $y$, there will be corresponding value(s) of $x$ iff $\Delta = (5y+3)^2-4(y-1)(6y+4) \ge 0 \iff (y+19)^2 \ge 336$, which is true for all real $y \not \in (-19-4\sqrt{21}, -19+4\sqrt{21})$.
A: $$f(x)=\frac{(x-1)(x+4)}{(x-2)(x-3)}=1-\frac{6}{x-2}+\frac{14}{x-3}$$
hence the stationary points of $f(x)$ occur at $x=\frac{5\pm\sqrt{21}}{4}$. 
$f$ is a continuous function on its domain and we have:
$$ \lim_{x\to \pm\infty}f(x)=1,\qquad \lim_{x\to 2^{\pm}}f(x) = \mp\infty,\qquad \lim_{x\to 3^{\pm}}f(x)=\pm\infty $$
hence the range of $f$ is given by:
$$ \left(-\infty,\,f\left(\frac{5+\sqrt{21}}{4}\right)\right]\cup \left[\,f\left(\frac{5-\sqrt{21}}{4}\right),+\infty\right)=\mathbb{R}\setminus\left(-19-4\sqrt{21},-19+4\sqrt{21}\right).$$
An alternative approach is the following: $f(x)=l$ is equivalent to $(x-1)(x+4)=l(x-2)(x-3)$ so a real solution exists provided that a discriminant is non-negative. Such a discriminant is $l^2+38l+25$, so we get the same conclusion as above.
