AP · Precalculus · Rational Functions

End Behavior of Rational Functions

13 min readUpdated November 30, 2026FreeAP Precalculus, Polynomial and Rational Functions

The end behavior of a rational function is decided by comparing the degrees of its numerator and denominator. If the denominator has the greater degree, the graph approaches y=0y = 0; if the degrees are equal, it approaches the ratio of the leading coefficients; and if the numerator's degree is exactly one more, the graph approaches a slant line that you find by polynomial division.

Quick check

  1. What are the degree and the leading coefficient of 4−3x24 - 3x^2?Show answerHide answer

    Degree 22 and leading coefficient −3-3.

  2. What does 1x\dfrac{1}{x} approach as x→∞x \to \infty?Show answerHide answer

    00. Dividing 11 by larger and larger numbers gives values closer and closer to 00.

  3. For very large xx, roughly what is 6x2+52x2\dfrac{6x^2 + 5}{2x^2}?Show answerHide answer

    About 33. The +5+5 becomes tiny next to 6x26x^2, leaving 6x22x2=3\dfrac{6x^2}{2x^2} = 3.

Know these already? Jump to the practice questions

What you'll be able to do

  • Determine the horizontal asymptote of a rational function, or show it has none, by comparing degrees.
  • Write the end behavior of a rational function using limits as x→±∞x \to \pm\infty.
  • Find the slant asymptote when the numerator's degree is one more than the denominator's.
  • Interpret a horizontal asymptote in context as the long-run value of a quantity.

Key terms

Rational function

A function r(x)=p(x)q(x)r(x) = \dfrac{p(x)}{q(x)}, where pp and qq are polynomials and qq is not the zero polynomial.

In plain English
One polynomial divided by another.
Don't write
"rational" for a function with a root or a variable exponent in it.

Horizontal asymptote

The line y=by = b when lim⁡x→∞r(x)=b\displaystyle\lim_{x \to \infty} r(x) = b or lim⁡x→−∞r(x)=b\displaystyle\lim_{x \to -\infty} r(x) = b.

In plain English
The level the graph settles toward at the far left or the far right.
Don't write
"the graph can never cross it"; it can, away from the ends.

Slant asymptote

A line y=kx+cy = kx + c with k≠0k \neq 0 that the graph gets closer and closer to as x→∞x \to \infty or x→−∞x \to -\infty.

In plain English
A tilted line the ends of the graph hug.
Don't write
The slant asymptote with the remainder term still attached.

Why do the leading terms decide the end behavior?

When ∣x∣|x| is very large, each polynomial is dominated by its leading term, so the whole fraction behaves like the ratio of leading terms.

Take r(x)=3x2−5x2+4xr(x) = \dfrac{3x^2 - 5}{x^2 + 4x}. At x=1000x = 1000 it equals 2,999,9951,004,000≈2.988\dfrac{2{,}999{,}995}{1{,}004{,}000} \approx 2.988, close to 3x2x2=3\dfrac{3x^2}{x^2} = 3. As xx grows, the −5-5 and the 4x4x matter less and less, so lim⁡x→±∞r(x)=3\displaystyle\lim_{x \to \pm\infty} r(x) = 3.

So the method is: take the leading term of the numerator, divide by the leading term of the denominator, and simplify. What is left tells you everything about the ends.

Check yourself

Which single term does 8x3−x2x5+7\dfrac{8x^3 - x}{2x^5 + 7} behave like for large ∣x∣|x|?
Show answerHide answer

8x32x5=4x2\dfrac{8x^3}{2x^5} = \dfrac{4}{x^2}, which approaches 00.

What are the three cases?

Let the numerator have degree nn and leading coefficient aa, and the denominator degree mm and leading coefficient bb.

Learn this:

DegreesEnd behaviorAsymptote
n<mn < mr(x)→0r(x) \to 0 at both endsy=0y = 0
n=mn = mr(x)→abr(x) \to \dfrac{a}{b} at both endsy=aby = \dfrac{a}{b}
n=m+1n = m + 1r(x)r(x) is unbounded and follows a lineSlant asymptote, no horizontal asymptote
n>m+1n > m + 1r(x)r(x) is unboundedNo horizontal or slant asymptote

When n>mn > m, the leading-term ratio abxn−m\dfrac{a}{b}x^{n - m} tells you whether each end goes to ∞\infty or −∞-\infty, exactly as for a polynomial (see the note on end behavior and extrema of polynomials).

Key idea

Compare the degrees first; only when they are equal does the ratio of leading coefficients give the asymptote.

Check yourself

What is the horizontal asymptote of 10x25x3−1\dfrac{10x^2}{5x^3 - 1}?
Show answerHide answer

y=0y = 0, because the denominator has the greater degree.

When is there a slant asymptote?

When n=m+1n = m + 1, divide the numerator by the denominator. The result has the form

r(x)=(kx+c)+R(x)q(x)r(x) = (kx + c) + \frac{R(x)}{q(x)}

where the remainder R(x)R(x) has a smaller degree than q(x)q(x). That last fraction approaches 00 at both ends, so the graph approaches the line y=kx+cy = kx + c. The note on equivalent forms of polynomial and rational expressions covers the division itself.

For example, x2+3x+1x+1=x+2−1x+1\dfrac{x^2 + 3x + 1}{x + 1} = x + 2 - \dfrac{1}{x + 1}, because (x+1)(x+2)=x2+3x+2(x + 1)(x + 2) = x^2 + 3x + 2. So the slant asymptote is y=x+2y = x + 2.

The sign of the remainder fraction tells you which side of the line the graph is on. Here −1x+1-\dfrac{1}{x + 1} is negative for large positive xx, so the graph sits just below y=x+2y = x + 2 on the right.

Check yourself

r(x)=3x−1+5x2+1r(x) = 3x - 1 + \dfrac{5}{x^2 + 1}. What is its slant asymptote?
Show answerHide answer

y=3x−1y = 3x - 1. The fraction 5x2+1\dfrac{5}{x^2 + 1} approaches 00.

Which method fits the question?

The question asksDo this
Horizontal asymptote or limit at ±∞\pm\inftyCompare degrees; if equal, divide the leading coefficients
Slant asymptote (n=m+1n = m + 1)Divide; the quotient is the line
Unbounded end behavior (n>mn > m)Simplify the leading-term ratio and read its sign at each end
Long-run value in contextFind the limit as the input →∞\to \infty, with units

Worked example 1: Horizontal asymptotes

Question: Find the horizontal asymptote of each function, and write its end behavior with limits. (a) r(x)=6x2−x+23x2+5r(x) = \dfrac{6x^2 - x + 2}{3x^2 + 5} (b) s(x)=4x+1x2−9s(x) = \dfrac{4x + 1}{x^2 - 9}

What tells you the method

"horizontal asymptote" means compare degrees.

  1. Step 1: Compare degrees for rr.

    Both are 22, so the asymptote is the ratio of leading coefficients, 63=2\dfrac{6}{3} = 2.

    Why

    For large ∣x∣|x|, r(x)r(x) behaves like 6x23x2=2\dfrac{6x^2}{3x^2} = 2.

  2. Step 2: Compare degrees for ss.

    The numerator has degree 11 and the denominator degree 22, so the asymptote is y=0y = 0.

    Why

    s(x)s(x) behaves like 4xx2=4x\dfrac{4x}{x^2} = \dfrac{4}{x}, which approaches 00.

Check it

r(1000)=5,999,0023,000,005≈2.000r(1000) = \dfrac{5{,}999{,}002}{3{,}000{,}005} \approx 2.000 and s(1000)=4001999,991≈0.004s(1000) = \dfrac{4001}{999{,}991} \approx 0.004.

Answer

(a) y=2y = 2, with lim⁡x→±∞r(x)=2\displaystyle\lim_{x \to \pm\infty} r(x) = 2. (b) y=0y = 0, with lim⁡x→±∞s(x)=0\displaystyle\lim_{x \to \pm\infty} s(x) = 0.

Worked example 2: A slant asymptote

Question: Find the slant asymptote of f(x)=2x2+3x−4x−1f(x) = \dfrac{2x^2 + 3x - 4}{x - 1}.

What tells you the method

The numerator's degree, 22, is one more than the denominator's, 11.

  1. Step 1: Divide the leading terms.

    2x2÷x=2x2x^2 \div x = 2x; then 2x(x−1)=2x2−2x2x(x - 1) = 2x^2 - 2x, and subtracting leaves 5x−45x - 4.

    Why

    Each step removes the highest power.

  2. Step 2: Divide again.

    5x÷x=55x \div x = 5; then 5(x−1)=5x−55(x - 1) = 5x - 5, and subtracting leaves 11.

    Why

    The remainder 11 has a lower degree than x−1x - 1, so the division stops.

  3. Step 3: Write the result.

    f(x)=2x+5+1x−1f(x) = 2x + 5 + \dfrac{1}{x - 1}.

    Why

    1x−1→0\dfrac{1}{x - 1} \to 0 at both ends, so the graph approaches the quotient.

Check it

(x−1)(2x+5)+1=2x2+3x−5+1=2x2+3x−4(x - 1)(2x + 5) + 1 = 2x^2 + 3x - 5 + 1 = 2x^2 + 3x - 4, the original numerator.

Answer

y=2x+5y = 2x + 5

Worked example 3: A long-run value

Question: A tank holds 44 liters of water with 88 grams of salt dissolved in it. Brine containing 2525 grams of salt per liter flows in at 22 liters per minute and mixes completely, and the tank does not overflow. The concentration after tt minutes is C(t)=8+50t4+2tC(t) = \dfrac{8 + 50t}{4 + 2t} grams per liter (given in the question). (a) Find lim⁡t→∞C(t)\displaystyle\lim_{t \to \infty} C(t) and interpret it. (b) Find the time at which the concentration is 2424 grams per liter.

What tells you the method

"t→∞t \to \infty" means compare degrees; "find the time" means solve C(t)=24C(t) = 24.

  1. Step 1: Compare degrees.

    Both are 11, so the limit is 502=25\dfrac{50}{2} = 25.

    Why

    Equal degrees give the ratio of leading coefficients.

  2. Step 2: Interpret.

    In the long run the concentration approaches 2525 grams per liter, the concentration of the incoming brine.

    Why

    An interpretation says what the value means, with units.

  3. Step 3: Solve.

    8+50t=24(4+2t)=96+48t8 + 50t = 24(4 + 2t) = 96 + 48t, so 2t=882t = 88 and t=44t = 44.

    Why

    Multiplying both sides by 4+2t4 + 2t, which is positive, clears the fraction.

Check it

C(44)=220892=24C(44) = \dfrac{2208}{92} = 24.

Answer

(a) 2525 grams per liter: the concentration approaches that of the incoming brine. (b) t=44t = 44 minutes.

Your turn

Question: Find the slant asymptote of s(x)=x2−4x+7x−2s(x) = \dfrac{x^2 - 4x + 7}{x - 2}.

  1. Step 1:

    x2÷x=xx^2 \div x = x, and x(x−2)=x2−2xx(x - 2) = x^2 - 2x. Subtracting leaves −2x+7-2x + 7.

  2. Step 2: Your go: divide −2x+7-2x + 7 by x−2x - 2, write s(x)s(x) as a quotient plus a remainder fraction, and read off the line.

Show the full solutionHide the solution

−2x÷x=−2-2x \div x = -2, and −2(x−2)=−2x+4-2(x - 2) = -2x + 4. Subtracting leaves 33. So s(x)=x−2+3x−2s(x) = x - 2 + \dfrac{3}{x - 2}, and the fraction approaches 00 at both ends.

Answer: y=x−2y = x - 2

Traps

Trap

Thinking the horizontal asymptote is always the ratio of the leading coefficients.

It seems right because that ratio works whenever the degrees match. But it applies only when they are equal: for 4x+1x2−9\dfrac{4x + 1}{x^2 - 9} the denominator wins and the asymptote is y=0y = 0, not y=4y = 4.

Check yourself

What is the horizontal asymptote of 7x2+1x3\dfrac{7x^2 + 1}{x^3}?
Show answerHide answer

y=0y = 0. The denominator has the greater degree.

Trap

Thinking a graph can never cross its horizontal asymptote.

It seems right because a graph never crosses a vertical asymptote. But a horizontal asymptote only describes the ends: x2+xx2+1\dfrac{x^2 + x}{x^2 + 1} has asymptote y=1y = 1 yet equals 11 at x=1x = 1.

Check yourself

Solve x2+xx2+1=1\dfrac{x^2 + x}{x^2 + 1} = 1.
Show answerHide answer

x=1x = 1. Multiplying out gives x2+x=x2+1x^2 + x = x^2 + 1, so x=1x = 1.

What's examined

End behavior and asymptotes of rational functions are Unit 1 (Polynomial and Rational Functions) content on the AP® Precalculus exam. Multiple-choice questions ask you to identify a horizontal asymptote or a limit as x→±∞x \to \pm\infty from a formula, graph or table. Free-response parts ask you to write end behavior in limit notation and to interpret a long-run value in context, with units.

Practice questions

  1. Recall What is the horizontal asymptote of f(x)=5x3−22x3+xf(x) = \dfrac{5x^3 - 2}{2x^3 + x}?
    • A) y=0y = 0
    • B) y=52y = \dfrac{5}{2}
    • C) y=5y = 5
    • D) There is none.
Show answer

Answer: B) y=52y = \dfrac{5}{2}

Marking points:

  • Equal degrees, so divide the leading coefficients: 52\dfrac{5}{2}.
  • A is for a larger denominator degree. C ignores the 22. D is for a larger numerator degree.
  1. Recall What is lim⁡x→∞7x+3x2+1\displaystyle\lim_{x \to \infty} \dfrac{7x + 3}{x^2 + 1}?
    • A) 00
    • B) 77
    • C) 33
    • D) ∞\infty
Show answer

Answer: A) 00

Marking points:

  • The denominator has the greater degree, so the function behaves like 7x→0\dfrac{7}{x} \to 0.
  • B divides the leading coefficients anyway. C reads the constants. D reverses the rule.
  1. Apply Find the slant asymptote of g(x)=3x2−x+2x+1g(x) = \dfrac{3x^2 - x + 2}{x + 1}.
Show answer

Answer: y=3x−4y = 3x - 4

Marking points:

  • 3x2÷x=3x3x^2 \div x = 3x; subtracting 3x(x+1)=3x2+3x3x(x + 1) = 3x^2 + 3x leaves −4x+2-4x + 2.
  • −4x÷x=−4-4x \div x = -4; subtracting −4(x+1)=−4x−4-4(x + 1) = -4x - 4 leaves 66.
  • g(x)=3x−4+6x+1g(x) = 3x - 4 + \dfrac{6}{x + 1}, and the fraction approaches 00.
  1. Apply Which function has the horizontal asymptote y=−3y = -3?
    • A) −3x2+1x+2\dfrac{-3x^2 + 1}{x + 2}
    • B) x−3x+3\dfrac{x - 3}{x + 3}
    • C) 6x−15−2x\dfrac{6x - 1}{5 - 2x}
    • D) −3xx2+1\dfrac{-3x}{x^2 + 1}
Show answer

Answer: C) 6x−15−2x\dfrac{6x - 1}{5 - 2x}

Marking points:

  • Equal degrees, and the leading coefficients give 6−2=−3\dfrac{6}{-2} = -3.
  • A has a larger numerator degree, so it has no horizontal asymptote. B approaches 11. D approaches 00.
  1. Apply Which describes the end behavior of r(x)=x4−12−x2r(x) = \dfrac{x^4 - 1}{2 - x^2}?
    • A) lim⁡x→±∞r(x)=−1\displaystyle\lim_{x \to \pm\infty} r(x) = -1
    • B) lim⁡x→±∞r(x)=0\displaystyle\lim_{x \to \pm\infty} r(x) = 0
    • C) lim⁡x→−∞r(x)=−∞\displaystyle\lim_{x \to -\infty} r(x) = -\infty and lim⁡x→∞r(x)=∞\displaystyle\lim_{x \to \infty} r(x) = \infty
    • D) lim⁡x→−∞r(x)=−∞\displaystyle\lim_{x \to -\infty} r(x) = -\infty and lim⁡x→∞r(x)=−∞\displaystyle\lim_{x \to \infty} r(x) = -\infty
Show answer

Answer: D) both limits are −∞-\infty.

Marking points:

  • The leading-term ratio is x4−x2=−x2\dfrac{x^4}{-x^2} = -x^2, which goes to −∞-\infty at both ends.
  • A divides the leading coefficients without comparing degrees. B reverses the rule. C treats −x2-x^2 like an odd power.
  1. Exam-style The average cost per item of producing nn items is A(n)=4n+900nA(n) = \dfrac{4n + 900}{n} dollars per item. (a) Find lim⁡n→∞A(n)\displaystyle\lim_{n \to \infty} A(n), and interpret it. (b) Find the number of items for which the average cost is 4.54.5 dollars per item.
Show answer

Answer: (a) 44 dollars per item: as production grows, the average cost per item approaches 44 dollars. (b) n=1800n = 1800 items.

Marking points:

  • Equal degrees: 41=4\dfrac{4}{1} = 4.
  • 4n+900=4.5n4n + 900 = 4.5n gives 0.5n=9000.5n = 900, so n=1800n = 1800.
  1. Exam-style Let r(x)=2x2+xx2+1r(x) = \dfrac{2x^2 + x}{x^2 + 1}. (a) Identify the horizontal asymptote of the graph of rr. (b) Find the xx-coordinate where the graph crosses this asymptote.
Show answer

Answer: (a) y=2y = 2 (b) x=2x = 2

Marking points:

  • Equal degrees: 21=2\dfrac{2}{1} = 2.
  • 2x2+x=2(x2+1)2x^2 + x = 2(x^2 + 1) gives x=2x = 2, and r(2)=105=2r(2) = \dfrac{10}{5} = 2.

Key points

Recall, then reveal

Say the main points from memory first, then check them.

Show key pointsHide key points
  • Divide the leading term of the numerator by the leading term of the denominator, and the result shows the ends.
  • A bigger denominator degree gives y=0y = 0; equal degrees give the ratio of the leading coefficients.
  • A numerator degree one bigger gives a slant asymptote: the quotient from division.
  • A horizontal asymptote is a limit at the ends, so the graph may cross it elsewhere.

Keep learning

Explore AP Precalculus tutoring →

View the full Precalculus syllabus →

More in this unit

Polynomial and Rational Functions

All Rational Functions notes

Part of Novark's AP Precalculus notes