HL AA · Functions

Rational functions — asymptotes, holes, and sketches (IB Math AA HL)

Updated October 2026

Quick answer: Factorise first. A factor that cancels from the top and bottom leaves a hole, not an asymptote. The zeros of what is left in the denominator give the vertical asymptotes. Compare degrees for the rest: equal degrees give a horizontal asymptote at the ratio of the leading coefficients, and a numerator one degree higher gives an oblique asymptote, found by division.

Vertical asymptotes from denominator = 0 (unless the numerator also = 0 → hole), horizontal from limits at ±∞, oblique from polynomial division.

Practise Rational functions — asymptotes, holes, and sketches with AI marking

Open the full HL AA engine — every question in this unit is worked through with instant AI-graded feedback on your handwritten workings.

Practise HL AA Functions →

Key ideas

Worked example

(a) Let f(x) = (x² + x − 2)/(x² − 4). Find the asymptotes, the hole and the intercepts of the graph of f. (b) Let g(x) = (2x² + 3x − 1)/(x + 2). Find the equations of the asymptotes of the graph of g.

  1. (a) Factorise: f(x) = (x + 2)(x − 1) ÷ ((x − 2)(x + 2)) = (x − 1)/(x − 2) for x ≠ −2.
  2. The factor (x + 2) cancels, so there is a hole at x = −2, with y = (−2 − 1)/(−2 − 2) = 3/4.
  3. Vertical asymptote x = 2. Equal degrees with leading coefficients 1 and 1, so the horizontal asymptote is y = 1.
  4. Intercepts: f(0) = (−1)/(−2) = 1/2, so (0, 1/2); the numerator is zero at x = 1, so (1, 0).
  5. (b) Divide: 2x² + 3x − 1 = (x + 2)(2x − 1) + 1, so g(x) = 2x − 1 + 1/(x + 2).
  6. Vertical asymptote x = −2; as x → ±∞, 1/(x + 2) → 0, so the oblique asymptote is y = 2x − 1.

Answer: (a) x = 2 and y = 1; hole at (−2, 3/4); intercepts (0, 1/2) and (1, 0). (b) x = −2 and y = 2x − 1.

Exam-style HL AA questions on this topic

Try it now

1 of 5

  1. Question 1 of 5
  2. Question 2 of 5
  3. Question 3 of 5
  4. Question 4 of 5
  5. Question 5 of 5

5 quick questions on rational functions and asymptotes. No sign-in needed.

\(f(x) = \frac{3x - 1}{2x + 5}\). Find the equation of the vertical asymptote of the graph of \(y = f(x)\).
Choose your answer · keys 1–4

See it on a graph

Maths IA ideas that use rational functions

Related in Functions

Revise Rational functions for the exam

Stretch yourself: original algebra problems at Senior level (ages 16 to 18), with hints and full solutions: Problem S92 · Problem S27 · Problem S91 · Problem S26. All 22 →

More on this topic

Sibling topic in other IB Maths courses

FAQ

What is the difference between a hole and a vertical asymptote?

Both come from a zero of the denominator. If the same factor also cancels from the numerator, the graph just has one missing point (a hole). If it does not cancel, the function grows without limit near that x-value, which is a vertical asymptote.

Where can I practise rational functions questions?

On the Polynomials and Rational Functions questions page: 79 exam-style HL AA questions with full mark schemes, plus free step-by-step worked examples.

Can I use my calculator for rational functions?

In HL AA, Paper 1 is non-calculator and the other papers allow a GDC, so learn the exact method as well as the calculator one.

What else is free here

Save your progress as you reviseA free account remembers the questions you have done on every topic and brings you back to this page.

Join free

Already have an account? Sign in