AP Precalculus · Topic 1.7 · Reading guide, about 5 min

Long-run behavior of rational functions

Compare leading terms to find horizontal and slant asymptotes of rational functions and describe end behavior in limit notation.

In one minute

A rational function is a fraction whose top and bottom are both polynomials. When xx gets huge, both the numerator and the denominator grow, and the question is who wins. The answer decides whether the graph settles toward a horizontal line, follows a slanted line, or runs off to infinity.

The method starts with a short comparison of degrees. That comparison alone settles horizontal asymptotes and unbounded ends; only a slant asymptote needs one extra step, a division, to find the exact line.

Key terms

Rational function
A function of the form p(x)q(x)\frac{p(x)}{q(x)} where pp and qq are polynomials and qq is not the zero polynomial.
Horizontal asymptote
A horizontal line y=by=b that the graph approaches as x→∞x\to\infty or x→−∞x\to-\infty. The outputs get closer and closer to bb.
Slant asymptote
A non-horizontal line y=mx+by=mx+b that the graph approaches at the far ends. Also called an oblique asymptote.
Degree of numerator and denominator
The highest power of xx in the top and in the bottom. Comparing these two numbers sorts every case.
Ratio of leading terms
The leading term of the numerator divided by the leading term of the denominator. It gives the long-run behavior.
Unbounded end behavior
Outputs that grow in size without limit as x→±∞x\to\pm\infty, written with ∞\infty or −∞-\infty.
Limit at infinity
The value the outputs approach as xx grows without bound, written lim⁡x→∞f(x)=L\lim_{x\to\infty}f(x)=L. Here LL is a number.
Proper vs. improper
Informal labels. A proper rational expression has a smaller numerator degree than denominator degree; otherwise it is improper.

Compare leading terms

Write the function as r(x)=axm+…bxn+…r(x)=\frac{a x^m+\dots}{b x^n+\dots} with mm the numerator degree and nn the denominator degree. For very large ∣x∣|x| only the leading terms matter, so r(x)r(x) behaves like axmbxn=abxm−n\frac{a x^m}{b x^n}=\frac{a}{b}x^{m-n}. The exponent m−nm-n then tells the story.

If m<nm< n, the power xm−nx^{m-n} has a negative exponent and shrinks toward zero, so the outputs head to 00. If m=nm=n, the powers cancel and the outputs approach the number ab\frac{a}{b}. If m>nm>n, the leftover power of xx is positive and the outputs grow without bound.

Within the case m>nm>n, the exponent m−nm-n sets the shape. When it equals 1 the function behaves like a line, giving a slant asymptote. When it is 2 or more the function behaves like a parabola or steeper curve, so there is no line to hug and the end behavior is simply unbounded.

Sorting the cases by degree
DegreesLong-run behaviorAsymptote
m<nm< nOutputs approach 00Horizontal: y=0y=0
m=nm=nOutputs approach ab\frac{a}{b}Horizontal: y=aby=\frac{a}{b}
m=n+1m=n+1Follows a line with nonzero slopeSlant line from the quotient of division
m≥n+2m\ge n+2Grows without bound, like a curveNone; unbounded end behavior

Worked example: equal degrees

Find the horizontal asymptote of r(x)=6x2−x+12x2+3r(x)=\frac{6x^2-x+1}{2x^2+3} and check it numerically.

Step 1. Both degrees are 2, so the degrees are equal.

Step 2. The leading terms are 6x26x^2 and 2x22x^2, so the ratio is 62=3\frac{6}{2}=3. The horizontal asymptote is y=3y=3, and lim⁡x→∞r(x)=3\lim_{x\to\infty}r(x)=3 and lim⁡x→−∞r(x)=3\lim_{x\to-\infty}r(x)=3.

Step 3. Check at x=100x=100: the numerator is 60000−100+1=5990160000-100+1=59901 and the denominator is 20000+3=2000320000+3=20003. The quotient is about 2.99462.9946, which is very near 3. Try x=−100x=-100: the numerator is 60000+100+1=6010160000+100+1=60101, and 6010120003≈3.0046\frac{60101}{20003}\approx3.0046. Again close to 3, from the other side.

Notice that the graph is allowed to be above or below the asymptote at different places. An asymptote describes where the graph ends up, not that it never touches or crosses the line.

Slant asymptotes by division

When the numerator degree is exactly one more than the denominator degree, divide to find the line. Take f(x)=x2+1x−2f(x)=\frac{x^2+1}{x-2}. Polynomial division (or checking by multiplication) gives x2+1=(x−2)(x+2)+5x^2+1=(x-2)(x+2)+5, so f(x)=x+2+5x−2f(x)=x+2+\frac{5}{x-2}.

The leftover piece 5x−2\frac{5}{x-2} goes to 0 at the far ends, so ff follows the line y=x+2y=x+2. Test it: at x=102x=102, f=10404+1100=104.05f=\frac{10404+1}{100}=104.05 while x+2=104x+2=104. The gap is 0.050.05, which equals 5100\frac{5}{100}, just as the remainder term predicts.

You only keep the quotient. The remainder fraction never appears in the equation of the asymptote. The full method for division belongs to topic 1.11, and the slant asymptote is one of its main uses.

In limit notation, a slant asymptote also means unbounded end behavior: for this ff, lim⁡x→∞f(x)=∞\lim_{x\to\infty}f(x)=\infty and lim⁡x→−∞f(x)=−∞\lim_{x\to-\infty}f(x)=-\infty, because the line y=x+2y=x+2 itself rises on the right and falls on the left.

Reading the answer in limit notation

For m<nm< n, such as 3xx2+1\frac{3x}{x^2+1}, write lim⁡x→∞f(x)=0\lim_{x\to\infty}f(x)=0 and lim⁡x→−∞f(x)=0\lim_{x\to-\infty}f(x)=0. For m≥n+2m\ge n+2, such as x3x−1\frac{x^3}{x-1}, both ends are unbounded and you decide up or down by the sign of the ratio of leading terms and the parity of m−nm-n. Here the ratio behaves like x2x^2, so both ends go to ∞\infty.

A horizontal asymptote is about the far ends only. A rational function can cross its horizontal asymptote in the middle. A function has at most one horizontal asymptote on each side, and for rational functions the two sides give the same line.

How it connects

  • Back to 1.6: a polynomial is just the denominator-equals-1 case, so its end behavior is the m>nm>n situation here.
  • Forward to 1.9: vertical asymptotes come from the denominator at finite xx-values, while this topic covers the far left and far right.
  • Forward to 1.11: polynomial long division is the tool that finds the slant asymptote line.
  • Forward to 2.1: sequences that add or multiply also have long-run questions, such as whether terms level off or grow.

Common mistakes

  • Using the first-written terms or the constants instead of the leading terms. Only the highest power in each polynomial counts. In 1+4x23x2+7\frac{1+4x^2}{3x^2+7} the ratio is 43\frac{4}{3}, not 13\frac{1}{3} (first-written terms) or 17\frac{1}{7} (constants).
  • Saying a graph can never cross its horizontal asymptote. It can cross in the middle. The asymptote only describes the far ends.
  • Including the remainder in the slant line. The line is the quotient only; the remainder term goes to zero.
  • Mixing up the degree cases. When the numerator is smaller the asymptote is y=0y=0, not undefined; when the numerator is bigger by two or more there is no asymptote line.

How it shows up on the exam

  • You are given a rational formula and asked for the horizontal or slant asymptote, or the correct limit statements as x→±∞x\to\pm\infty.
  • A graph is shown and you match it to a formula using its end behavior, then justify the match by comparing degrees.
  • A context problem such as average cost per item asks what happens to the output as production grows, and what the asymptote means in that setting.

Check yourself

  1. What is the long-run behavior of 5x3−22x3+x\frac{5x^3-2}{2x^3+x}, and how do you know?
  2. A rational function has numerator degree 4 and denominator degree 2. Is there a horizontal or slant asymptote? What happens at the ends?
  3. Why does the leftover fraction in a division result disappear from the slant asymptote?
  4. Can a graph cross its horizontal asymptote? Explain what the asymptote does describe.

Practice this topic. AP Practice questions on exactly what this lesson covers, with an explanation for every answer.