IB Maths AA HLTopic 2 โ FunctionsPaper 1 & 2HL 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
General form: f(x) = g(x)/h(x) where g and h are polynomials.
Y-intercept: substitute x = 0 โ evaluate g(0)/h(0). Defined only if h(0) โ 0.
X-intercepts: solve numerator g(x) = 0. Can be 0, 1, or 2 roots depending on the discriminant.
Vertical asymptotes: solve denominator h(x) = 0. Can be 0, 1, or 2 vertical asymptotes.
End-behaviour asymptote (quadratic over linear): oblique asymptote y = px + q โ found by polynomial division so that g(x) = h(x)ยท(px + q) + r.
End-behaviour asymptote (linear over quadratic): horizontal asymptote y = 0 (the bottom grows much faster than the top).
Sketches must label: all asymptotes (with equations), all intercepts (with coordinates), and the general shape of each branch.
Use the GDC on Paper 2 to confirm the shape โ but always work the algebra to find exact features.
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 linearf(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 identityax2 + 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
Write the numerator as (denominator)(px + q) + r.
Compare coefficients: x2, x, and constant terms must match on both sides.
Solve the system to find p, q, and r.
The oblique asymptote is y = px + q (the remainder r is irrelevant).
Quadratic over linear โ vertical asymptote + oblique asymptote
Linear over quadratic โ horizontal asymptote at y = 0
Linear over quadraticf(x) = ax + bcx2 + dx + e
Now the bottom grows faster than the top โ so as |x| gets large, the fraction shrinks toward zero:
Horizontal asymptotey = 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
Find the y-intercept: substitute x = 0.
Find the x-intercepts: solve numerator = 0.
Find the vertical asymptote(s): solve denominator = 0.
Find the end-behaviour asymptote: horizontal (y = 0) for linear-over-quadratic, oblique (use polynomial division) for quadratic-over-linear.
Draw all asymptotes as dashed lines; mark intercepts as dots with coordinates.
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 divisionwrite xยฒ โ x โ 6 = (x + 1)(px + q) + rexpand: (x + 1)(px + q) + r = pxยฒ + (p + q)x + q + rcompare: p = 1, p + q = โ1 โ q = โ2, q + r = โ6 โ r = โ4so xยฒ โ x โ 6 = (x + 1)(x โ 2) โ 4(a) (0, โ6); (b) (โ2, 0), (3, 0); (c) VA x = โ1; (d) oblique y = x โ 2notice the numerator factors nicely AND has a clean oblique asymptote โ typical exam set-up
(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 = 3two 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 = 0three 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 identity3xยฒ + 7x โ 1 = (x + 2)(px + q) + rStep 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 coefficientsxยฒ: p = 3x: q + 2p = 7 โ q + 6 = 7 โ q = 1const: 2q + r = โ1 โ 2 + r = โ1 โ r = โ3f(x) = 3x + 1 โ 3/(x + 2); oblique asymptote: y = 3x + 1the 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 asymptotesthe 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 featuresy-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 = 3Oblique asymptote โ polynomial divisionxยฒ โ 4 = (x โ 3)(x + 3) + 5f(x) = x + 3 + 5/(x โ 3)oblique: y = x + 3Sketch elementsdashed VA x = 3, dashed oblique y = x + 3left branch passes through (โ2, 0), (0, 4/3), (2, 0); follows oblique downward to lower-left, dives down toward VAright branch comes from top of VA, follows oblique up to top-rightsketch 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-interceptf(0) = k / [(โ1)(4)] = k/(โ4) = 1/2k = โ2Step 2: Vertical asymptotes โ denominator zero(x โ 1)(x + 4) = 0 โ x = 1 or x = โ4k = โ2; VAs: x = 1 and x = โ4denominator already factored โ read off the VAs immediately, then use the y-intercept to nail down k
๐ก Top tips
Always check both top and bottom for the discriminant: it tells you the number of x-intercepts (numerator) and vertical asymptotes (denominator).
Quadratic over linear โ oblique asymptote. Find it by polynomial division or by comparing coefficients.
Linear over quadratic โ horizontal asymptote y = 0. The bottom grows faster than the top.
Compare-coefficients method beats long division for most exam questions โ it’s faster and less error-prone.
The remainder doesn’t matter for the asymptote โ the asymptote is just the polynomial part of the division.
Plot on the GDC first when uncertain โ see the shape, then check it matches your algebraic features.
Label everything on the sketch: each asymptote with its equation, each intercept with its coordinates. Marks come from labels.
โ Common mistakes
Forgetting the oblique asymptote when the numerator’s degree exceeds the denominator’s. It’s there, just slanted.
Using the wrong horizontal asymptote rule: y = 0 only works when the bottom degree exceeds the top degree.
Ignoring the discriminant of the denominator. It controls how many VAs the graph has โ sometimes zero.
Including the remainder in the asymptote equation. Only the polynomial part (px + q) is the asymptote.
Confusing “no real roots” with “no graph”. A quadratic with negative discriminant just has no real x-intercepts โ the curve still exists.
Sketching the curve crossing a vertical asymptote. It can’t โ that’s where the function is undefined.
Forgetting to label asymptotes as dashed lines. Solid lines on a sketch suggest the curve passes through them.
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.