<s>[INST] Find the vertical asymptote of a function For an assignment, I was asked to find the vertical asymptote of the function $$g(x)= \frac{\frac{1}{2}x^3-4x^2+6x}{7x^2-56x+84}.$$ 
According to my text, a reliable method of finding the asymptote is to factor the numerator and denominator, and what left in the denominator that was not cancelled out is the asymptote.
I factored the numerator to $\frac{1}{2}(x^2-6x)(x-2)$, and the denominator factored to $7(x-2)(x-6)$, therefore $(x-2)$ cancelled out, leaving $(x-6)$ in the denominator.
However, 6 was not accepted as the answer, and I would like to know why.
 [/INST] Note that $\displaystyle f(x) = \frac{\frac{1}{2}x^3-4x^2+6x}{7x^2-56x+84} = \frac{1}{2}\frac{x^3-8x^2+12x}{7x^2-56x+84} = \frac{1}{2}\frac{1}{7}\frac{x^3-8x^2+12x}{x^2-8x+12} = \frac{x}{14}$.
So the function is "almost" a straight line passing through origin with a slope $\frac{1}{14}$ except at $x=2$ and $x=6$.
The function is not defined at $x=2$ and $x=6$. But $\displaystyle \lim_{x \rightarrow 2} = \frac{1}{7}$, $\displaystyle \lim_{x \rightarrow 6} = \frac{3}{7}$.
There are no asymptotes for the problem.
</s>