IB Maths AA HL Topic 2 โ€” Functions Paper 1 & 2 HL only ~9 min read

Rational Functions with Quadratics

When a quadratic shows up on top, on bottom, or both, you still hunt for the same four feature types โ€” y-intercept, x-intercepts, vertical asymptotes, end-behaviour asymptote. The differences are: there can now be 0, 1, or 2 of each kind, and the end-behaviour asymptote can be oblique (a slanted line) instead of horizontal. Polynomial division is the new tool you’ll need to find that oblique asymptote.

๐Ÿ“˜ What you need to know

The general approach โ€” same four features, more cases

Y-intercept
f(0) = g(0)/h(0)
substitute x = 0; defined unless h(0) = 0
X-intercepts
g(x) = 0
solve the numerator; can be 0, 1, or 2 solutions
Vertical asymptotes
h(x) = 0
solve the denominator; can be 0, 1, or 2 solutions
The number of x-intercepts and vertical asymptotes is set by the discriminant of the relevant quadratic. ฮ” > 0 โ†’ two; ฮ” = 0 โ†’ one; ฮ” < 0 โ†’ none. Same rule you used for ordinary quadratics.

Quadratic over linear โ€” the oblique asymptote case

Quadratic over linear f(x) = ax2 + bx + cdx + e

For very large |x|, this function behaves like a straight line โ€” but it’s not horizontal anymore. It’s an oblique asymptote (slanted), and it’s found by polynomial division.

Finding the oblique asymptote

Rewrite the numerator in the form  ax2 + bx + c = (dx + e)(px + q) + r:

Polynomial division identity ax2 + bx + cdx + e = (px + q) + rdx + e

As |x| โ†’ โˆž, the remainder term r/(dx + e) โ†’ 0, so the function tends to the line y = px + q. That’s the oblique asymptote.

๐Ÿงญ Recipe โ€” finding an oblique asymptote

  1. Write the numerator as (denominator)(px + q) + r.
  2. Compare coefficients: x2, x, and constant terms must match on both sides.
  3. Solve the system to find p, q, and r.
  4. The oblique asymptote is y = px + q (the remainder r is irrelevant).
Quadratic over linear โ€” vertical asymptote + oblique asymptote
x y VA: x = a y = px + q left branch right branch

Linear over quadratic โ€” horizontal asymptote at y = 0

Linear over quadratic f(x) = ax + bcx2 + dx + e

Now the bottom grows faster than the top โ€” so as |x| gets large, the fraction shrinks toward zero:

Horizontal asymptote y = 0   (the x-axis)

How many vertical asymptotes?

That depends entirely on the denominator’s discriminant. The graph can have 0, 1, or 2 vertical asymptotes:

ฮ” > 0
two distinct VAs
denominator factors โ†’ two values to exclude
ฮ” = 0
one VA (repeated root)
denominator is a perfect square
ฮ” < 0
no VAs
denominator never zero on the reals
For linear-over-quadratic graphs, a horizontal line drawn anywhere should hit the curve at most twice. If your sketch shows three crossings on a horizontal line, something’s gone wrong.

The general sketching recipe

๐Ÿงญ Recipe โ€” sketching a quadratic rational function

  1. Find the y-intercept: substitute x = 0.
  2. Find the x-intercepts: solve numerator = 0.
  3. Find the vertical asymptote(s): solve denominator = 0.
  4. Find the end-behaviour asymptote: horizontal (y = 0) for linear-over-quadratic, oblique (use polynomial division) for quadratic-over-linear.
  5. Draw all asymptotes as dashed lines; mark intercepts as dots with coordinates.
  6. Sketch each branch based on which sides of the asymptotes it sits on. Confirm with your GDC if available.

Worked examples

WE 1

Quadratic over linear โ€” find all features

For f(x) = x2 โˆ’ x โˆ’ 6x + 1,   x โ‰  โˆ’1, find: (a) y-intercept, (b) x-intercepts, (c) vertical asymptote, (d) oblique asymptote.

(a) y-intercept: f(0) f(0) = (0 โˆ’ 0 โˆ’ 6)/(0 + 1) = โˆ’6 โ†’ (0, โˆ’6) (b) x-intercepts: xยฒ โˆ’ x โˆ’ 6 = 0 (x โˆ’ 3)(x + 2) = 0 โ†’ x = 3 or x = โˆ’2 (3, 0) and (โˆ’2, 0) (c) Vertical asymptote: x + 1 = 0 โ†’ x = โˆ’1 (d) Oblique asymptote โ€” polynomial division write xยฒ โˆ’ x โˆ’ 6 = (x + 1)(px + q) + r expand: (x + 1)(px + q) + r = pxยฒ + (p + q)x + q + r compare: p = 1, p + q = โˆ’1 โ†’ q = โˆ’2, q + r = โˆ’6 โ†’ r = โˆ’4 so xยฒ โˆ’ x โˆ’ 6 = (x + 1)(x โˆ’ 2) โˆ’ 4 (a) (0, โˆ’6); (b) (โˆ’2, 0), (3, 0); (c) VA x = โˆ’1; (d) oblique y = x โˆ’ 2 notice the numerator factors nicely AND has a clean oblique asymptote โ€” typical exam set-up
WE 2

Linear over quadratic โ€” find all features

For g(x) = x โˆ’ 2x2 โˆ’ 4x + 3, find: (a) y-intercept, (b) x-intercept, (c) vertical asymptote(s), (d) horizontal asymptote.

(a) y-intercept: g(0) g(0) = (โˆ’2)/3 = โˆ’2/3 โ†’ (0, โˆ’2/3) (b) x-intercept: x โˆ’ 2 = 0 โ†’ x = 2 โ†’ (2, 0) (c) Vertical asymptotes: xยฒ โˆ’ 4x + 3 = 0 (x โˆ’ 1)(x โˆ’ 3) = 0 โ†’ x = 1 or x = 3 two VAs: x = 1 and x = 3 (d) Horizontal asymptote: linear over quadratic โ†’ y = 0 (a) (0, โˆ’2/3); (b) (2, 0); (c) VAs x = 1 and x = 3; (d) HA y = 0 three vertical lines (the two VAs and the y-axis) cut the plane into regions โ€” work out the sign of g in each
WE 3

Find an oblique asymptote by comparing coefficients

Show that f(x) = 3x2 + 7x โˆ’ 1x + 2 can be written as f(x) = px + q + rx + 2, and hence find the oblique asymptote.

Step 1: Set up identity 3xยฒ + 7x โˆ’ 1 = (x + 2)(px + q) + r Step 2: Expand RHS (x + 2)(px + q) = pxยฒ + (q + 2p)x + 2q + r โ†’ 3xยฒ + 7x โˆ’ 1 = pxยฒ + (q + 2p)x + (2q + r) Step 3: Compare coefficients xยฒ: p = 3 x: q + 2p = 7 โ†’ q + 6 = 7 โ†’ q = 1 const: 2q + r = โˆ’1 โ†’ 2 + r = โˆ’1 โ†’ r = โˆ’3 f(x) = 3x + 1 โˆ’ 3/(x + 2);   oblique asymptote: y = 3x + 1 the remainder term r/(x+2) โ†’ 0 as x โ†’ ยฑโˆž, so the function settles onto the line y = 3x + 1
WE 4

Determine the number of vertical asymptotes

State the number of vertical asymptotes of each function:
(a) f(x) = x + 5x2 โˆ’ 6x + 8   (b) g(x) = 2x โˆ’ 1x2 + 4x + 4   (c) h(x) = x + 3x2 + 1

(a) discriminant of xยฒ โˆ’ 6x + 8 ฮ” = 36 โˆ’ 32 = 4 > 0 โ†’ two distinct roots (a) 2 vertical asymptotes (b) discriminant of xยฒ + 4x + 4 ฮ” = 16 โˆ’ 16 = 0 โ†’ one repeated root (b) 1 vertical asymptote (c) discriminant of xยฒ + 1 ฮ” = 0 โˆ’ 4 = โˆ’4 < 0 โ†’ no real roots (c) 0 vertical asymptotes the discriminant of the denominator alone tells you everything about VAs โ€” no need to plot
WE 5

Sketch a quadratic-over-linear graph

Sketch f(x) = x2 โˆ’ 4x โˆ’ 3, marking all intercepts and asymptotes.

Find features y-int: f(0) = (โˆ’4)/(โˆ’3) = 4/3 โ†’ (0, 4/3) x-ints: xยฒ โˆ’ 4 = 0 โ†’ x = ยฑ2 โ†’ (โˆ’2, 0) and (2, 0) VA: x โˆ’ 3 = 0 โ†’ x = 3 Oblique asymptote โ€” polynomial division xยฒ โˆ’ 4 = (x โˆ’ 3)(x + 3) + 5 f(x) = x + 3 + 5/(x โˆ’ 3) oblique: y = x + 3 Sketch elements dashed VA x = 3, dashed oblique y = x + 3 left branch passes through (โˆ’2, 0), (0, 4/3), (2, 0); follows oblique downward to lower-left, dives down toward VA right branch comes from top of VA, follows oblique up to top-right sketch with VA x = 3, oblique y = x + 3, x-ints (โˆ’2, 0) and (2, 0), y-int (0, 4/3) when both intercepts lie on the same branch (left of VA here), the curve is bowed โ€” usually with a local max/min between them
WE 6

Find a function from its features

A function of the form f(x) = k(x โˆ’ 1)(x + 4) has y-intercept (0, 1/2). Find k and state the equations of the vertical asymptotes.

Step 1: Use y-intercept f(0) = k / [(โˆ’1)(4)] = k/(โˆ’4) = 1/2 k = โˆ’2 Step 2: Vertical asymptotes โ€” denominator zero (x โˆ’ 1)(x + 4) = 0 โ†’ x = 1 or x = โˆ’4 k = โˆ’2;   VAs: x = 1 and x = โˆ’4 denominator already factored โ€” read off the VAs immediately, then use the y-intercept to nail down k

๐Ÿ’ก Top tips

โš  Common mistakes

And that closes Section 2.8 โ€” Reciprocal & Rational Functions. The next section, Transformations of Graphs, takes any function you’ve already met and shifts, stretches, or flips it. The patterns learned there apply across every later topic โ€” trig graphs, polynomial graphs, modulus graphs, all of them.

Need help with Rational Functions?

Get 1-on-1 help from an IB examiner who knows exactly what Paper 1 & 2 are looking for.

Book Free Session โ†’