Analyzing vertical asymptotes of rational functions