Find the equations of the asymptotes for the following function: $$\frac{x^2 + 8}{x^2 - 9}$$
My solution is the asymptotes are first to find the vertical asymptotes. To do this, I have to find the value that make expression undefined. As a result, the vertical asymptotes are $x = -3$ and $x = 3$. To find the horizontal asymptotes, I have the compare the degrees of the numerator and the denominator, which result in $y = 1$
My question is, how do I find the equations for the vertical and horizontal asymptotes? Thank you.