AP Precalculus · Unit 1 · Topic 1.7

    1.7 Rational Functions and End Behavior

    Reviewed by P V Satish, Senior Faculty of Science and Academic Consultant · PG Life Sciences, PGD Biotechnology · 20+ years teaching NEET and AP · Special interest in biotechnology, biochemistry and the basics of physics
    Updated

    In short

    A rational function is a quotient of polynomials, r(x)=p(x)q(x)r(x) = \frac{p(x)}{q(x)}. Its end behaviour follows the quotient of the leading terms. If the denominator's degree is larger, y=0y = 0 is a horizontal asymptote. If the degrees are equal, the horizontal asymptote is y=aby = \frac{a}{b}, the ratio of the leading coefficients. If the numerator's degree is one larger, there is a slant asymptote, found by division.

    What you need to know

    • Determine the end behaviour of a rational function by comparing the degrees of numerator and denominator.
    • Find horizontal asymptotes and write them with limit notation.
    • Find a slant asymptote by polynomial division.
    • Interpret a horizontal asymptote in context.

    Only the leading terms matter far out

    For very large ∣x∣|x|, the numerator behaves like its leading term and so does the denominator. So the rational function behaves like the quotient of the two leading terms. That gives three cases.

    End behaviour of r(x) = p(x)/q(x)
    DegreesBehaves likeEnd behaviourExample
    deg p < deg qabxk\frac{a}{bx^k}, k > 0Horizontal asymptote y=0y = 05xx2+4→0\frac{5x}{x^2 + 4} \to 0
    deg p = deg qab\frac{a}{b}Horizontal asymptote y=aby = \frac{a}{b}3x2−2x2+1→3\frac{3x^2 - 2}{x^2 + 1} \to 3
    deg p > deg qabxk\frac{a}{b}x^k, k > 0Unbounded, like a polynomial; slant asymptote if deg p = deg q + 1x2+1x−1\frac{x^2 + 1}{x - 1}, like xx

    Horizontal asymptotes

    For r(x)=3x2−2x2+1r(x) = \frac{3x^2 - 2}{x^2 + 1}, both degrees are 2, so for large ∣x∣|x|, r(x)≈3x2x2=3r(x) \approx \frac{3x^2}{x^2} = 3. At x=10x = 10: r(10)=298101≈2.95r(10) = \frac{298}{101} \approx 2.95. The line y=3y = 3 is a horizontal asymptote:

    lim⁡x→∞r(x)=3lim⁡x→−∞r(x)=3\lim_{x \to \infty} r(x) = 3 \qquad \lim_{x \to -\infty} r(x) = 3
    r approaches 3 from below at both ends; it never reaches it.

    Here the graph stays below y=3y = 3, but a graph may cross a horizontal asymptote in the middle; the asymptote only describes the ends.

    Slant asymptotes

    For s(x)=x2+1x−1s(x) = \frac{x^2 + 1}{x - 1}, the numerator's degree is one more than the denominator's. Divide: x2+1=(x−1)(x+1)+2x^2 + 1 = (x - 1)(x + 1) + 2, so

    s(x)=x+1+2x−1s(x) = x + 1 + \frac{2}{x - 1}

    As x→±∞x \to \pm\infty, 2x−1→0\frac{2}{x - 1} \to 0, so the graph gets closer and closer to the line y=x+1y = x + 1, a slant (oblique) asymptote. The end behaviour is lim⁡x→∞s(x)=∞\lim_{x \to \infty} s(x) = \infty and lim⁡x→−∞s(x)=−∞\lim_{x \to -\infty} s(x) = -\infty.

    Far from x = 1, the graph of s hugs the slant asymptote y = x + 1.

    Putting the cases side by side. For 2x+1x2−4\frac{2x + 1}{x^2 - 4} the denominator wins, so the graph approaches y=0y = 0. For 2x2+1x2−4\frac{2x^2 + 1}{x^2 - 4} the degrees tie, so it approaches y=2y = 2. For 2x3+1x2−4\frac{2x^3 + 1}{x^2 - 4} the numerator wins by one, so it follows a slant line, here y=2xy = 2x, because 2x3+1=2x(x2−4)+8x+12x^3 + 1 = 2x(x^2 - 4) + 8x + 1. Comparing degrees first, then looking at leading coefficients, answers every end-behaviour question about rational functions in a few seconds.

    Key terms

    Rational function
    A quotient of two polynomials, p(x)q(x)\frac{p(x)}{q(x)}, with q not the zero polynomial.
    Horizontal asymptote
    A line y = b with lim⁡x→∞r(x)=b\lim_{x \to \infty} r(x) = b or lim⁡x→−∞r(x)=b\lim_{x \to -\infty} r(x) = b.
    Slant asymptote
    A non-horizontal line the graph approaches; occurs when deg p = deg q + 1.
    Leading coefficient ratio
    When degrees are equal, the horizontal asymptote is y = (leading coefficient of p)/(leading coefficient of q).

    Common mistakes

    • Using the constant terms: saying 3x2−2x2+1\frac{3x^2 - 2}{x^2 + 1} approaches −2.

      Far out only leading terms matter: it approaches 3.

    • Thinking a graph can never cross a horizontal asymptote.

      It can cross in the middle; the asymptote describes the ends only.

    • Giving y = x as the slant asymptote of x2+1x−1\frac{x^2 + 1}{x - 1}.

      Divide properly: the quotient is x + 1.

    How this topic is tested

    • State the horizontal asymptote with both limits.
    • Justify with degrees: 'the numerator and denominator have equal degree, so the limit is the ratio of leading coefficients, 3'.
    • In context, explain what the asymptote value means for the quantity.

    Practice questions

    Original AP-style multiple-choice questions. Pick an answer to see the explanation.

    1. Question 1 · MP 1 · Procedural and Symbolic Fluency

      What is the horizontal asymptote of f(x)=6x3−x2x3+5f(x) = \frac{6x^3 - x}{2x^3 + 5}?

    2. Question 2 · MP 1 · Procedural and Symbolic Fluency

      What is lim⁡x→∞4x+1x2−3\lim_{x \to \infty} \frac{4x + 1}{x^2 - 3}?

    3. Question 3 · MP 2 · Multiple Representations

      Which function has a slant asymptote?

    4. Question 4 · MP 3 · Communication and Reasoning

      The concentration of a drug, in mg/L, t hours after a dose is C(t)=20tt2+4C(t) = \frac{20t}{t^2 + 4}. Which describes the concentration in the long run?

    5. Question 5 · MP 1 · Procedural and Symbolic Fluency

      What is the slant asymptote of g(x)=x2−2x+5x−3g(x) = \frac{x^2 - 2x + 5}{x - 3}?

    Free-response practice

    Write your answer first, then mark it against the scoring guide.

    Modeling a Non-Periodic Context (short) · 3 points

    A company's average cost, in dollars per item, of making xx items is A(x)=800+12xxA(x) = \frac{800 + 12x}{x} for x>0x > 0.

    1. (a) Find lim⁡x→∞A(x)\lim_{x \to \infty} A(x).
    2. (b) Interpret the value from part (a) in context.

    Connected topics

    Frequently asked questions

    Can a rational function have two different horizontal asymptotes?

    Not when it is a quotient of polynomials: the leading terms give the same limit at both ends (or neither end levels off). Other functions, such as some exponentials, can level off at one end only.

    Do I need long division on the exam?

    Yes, in simple cases such as finding a slant asymptote or rewriting a rational expression. Topic 1.11 covers polynomial long division.

    How close is 'close' to the asymptote?

    As close as you like, if x is far enough out. That is what the limit means.

    How this shows up on the exam42 multiple-choice questions (29 without a calculator) and 4 free-response questions of 6 points. See what each one asks you to do.Full-length AP Precalculus practice examsUnit 1 is one of the 3 units on the exam. Two timed exams in the 2027 format (42 MCQ + 4 FRQ, calculator and no-calculator parts), with explanations, scoring guides and an estimated 1–5 score. $14.99 · try 5 questions free.

    Free Unit 1 cheat sheet

    Every topic in Unit 1: Polynomial and Rational Functions on a few printable pages: the core idea, key terms, the two traps students fall into and what the exam asks.

    We'll use your email to tell you when new AP Precalculus practice material is ready. No spam, and we'll delete it if you ask.

    Free Unit 1 practice test: 70 questions with explanations

    All topics in Unit 1: Polynomial and Rational Functions

    1. 1.1 Change in Tandem
    2. 1.2 Rates of Change
    3. 1.3 Rates of Change in Linear and Quadratic Functions
    4. 1.4 Polynomial Functions and Rates of Change
    5. 1.5 Polynomial Functions and Complex Zeros
    6. 1.6 Polynomial Functions and End Behavior
    7. 1.7 Rational Functions and End Behavior
    8. 1.8 Rational Functions and Zeros
    9. 1.9 Rational Functions and Vertical Asymptotes
    10. 1.10 Rational Functions and Holes
    11. 1.11 Equivalent Representations of Polynomial and Rational Expressions
    12. 1.12 Transformations of Functions
    13. 1.13 Function Model Selection and Assumption Articulation
    14. 1.14 Function Model Construction and Application

    Other units in AP Precalculus

    AP® is a trademark registered by College Board, which is not affiliated with, and does not endorse, this website.