You can put this solution on YOUR website!
Before looking for vertical asymptotes, you should simplify (reduce) the fraction if possible. To reduce this (or any fraction) we need to factor the numerator and denominator and look for common factors which can be canceled.
So we start with factoring. And factoring starts with the Greastest Common Factor (GCF). But the GCF of the numerator and the denominator is a 1 (which we often don't bother factoring).
Next we try any and all other factoring techniques in any order as many times as possible to factor each expression as completely as possible. Among these techniques are:
Factoring by patterns:
Difference of squares:
Sum of Cubes:
Difference of cubes:
Perfect square trinomials:
Trinomial factoring
Factoring by Grouping
Factoring by trial and error of the possible rational roots
Since our numerator is a difference of squares, , we can use that pattern to factor it. The denominator does not fit any of the patterns but it is a trinomial which will factor. (If you do not see how the numerator and denominator factor, multiply out the factored forms ans see how you end up with the original expressions.)
Now we can see what values of for x must be excluded from the domain (because they make the denominator zero). We must exclude 1/2 and 2 from the domain of g(x). (If you do not see this, then solve (2x-1) = 0 and (x-2) = 0.)
we can also cancel the common factor of (x-2) leaving:
Now we can determine the vertical asymptote(s). They would be the vertical lines for x values that make the reduced denominator zero: x = 1/2.
NOTE: x = 2 is not a vertical asymptote. g(x) is undefined at x=2 but there is a "hole" (aka discontinuity) at x=2 not a vertical asymptote. Unfortunately Algebra.com's graphing software will not show this "hole". You'll just have to picture a "hole" or gap at x=2 in the graph of g(x) below:
P.S. There is a horizontal asymptote of y = 1/2.