the title says it all. I'm pretty sure this is a hyperbola, but is there an alternative way of doing this besides a table of values?
"Graph the equation $y=\frac {x-2}{x+1}$"
I know that $x$ cannot equal $-1$ but I'm not sure how to carry on from there.
Any help would be appreciated. If you could provide a step by step explanation, and a picture of the graph itself, that would be great :D!
When you want draw the graph of the function, you need to check a couple of things:
Check if there are any points in the domain where the function is undefined, you know there's something happening there. For instance here you saw that when $x=-1$ it is undefined.
Then, $y$ can be equal to $0$, there's no problem with that, and you should find all the $x$ such that $y=0$. In this case, when $x=2, y=0$. Thus you know that the function goes through the point $(2,0)$.
Now you have all the points where there's something special happening, you can check where the function is positive, and where it is negative. You need to look at all the intervals between the special points. In your case : $(-\infty,-1),\,(-1,2),\,(2,\infty)$. Take $(-\infty,-1)$ for example. On this interval, you know that the numerator is always negative and the denominator is always negative as well, so the value for $y\in(-\infty,-1)$ will always be positive. Do that for all the intervals.
Finally, you need to check some limits to see what happens at those special points and also when you tend to infinity (in your case only $-1$ is a special point because you already now that the value of your function when $x=2$ is $0$). So you should check :
$$\lim_{x\rightarrow\infty}f(x),\; \lim_{x\rightarrow-\infty}f(x),\; \lim_{x\rightarrow-1^+}f(x),\; \lim_{x\rightarrow-1^-}f(x),\;$$
That's it, you have everything you need to graph your function! (If you want to go into further details you can also check the derivative for extremas and the second derivative for inflexion points. This means that you have to compute the derivatives and check for which values of $x$ they are equal to $0$).