IB Maths AA HLTopic 2 โ FunctionsPaper 1 & 2~9 min read
Reciprocal & Rational Functions
A rational function is just a fraction whose top and bottom are both polynomials. The simplest is y = 1/x โ the reciprocal function. The general linear-over-linear form (ax + b)/(cx + d) builds on it by stretching, shifting, and reflecting that basic shape. The four things you’ll always need to find: y-intercept, x-intercept, vertical asymptote, horizontal asymptote. Once you have these four, sketching the graph is automatic.
๐ What you need to know
Reciprocal function: f(x) = 1/x, with x โ 0. Domain and range both โ \ {0}. Self-inverse: fโ1(x) = f(x).
Reciprocal graph: two asymptotes (x = 0 and y = 0); two axes of symmetry (y = x and y = โx); no intercepts; no max/min; two branches in opposite quadrants.
Linear rational function: f(x) = (ax + b)/(cx + d), with x โ โd/c.
Y-intercept: substitute x = 0 โ b/d. X-intercept: solve numerator = 0 โ x = โb/a.
Vertical asymptote: solve denominator = 0 โ x = โd/c.
Horizontal asymptote: y = a/c (ratio of leading coefficients โ what the function tends to as x โ ยฑโ).
Domain: โ except x = โd/c. Range: โ except y = a/c.
The inverse is also a rational function โ find it by the swap-and-rearrange method (no need to memorise a formula).
Apply the function twice: f(f(x)) = 1/(1/x) = x. Flipping a number, then flipping again, gets you back to the original. So 1/x is its own inverse โ it equals its mirror image in y = x.
Linear rational functions โ (ax + b)/(cx + d)
Linear rational functionf(x) = ax + bcx + d, x โ โd/c
This is the general linear-over-linear shape โ same two-branch structure as 1/x, but shifted so the asymptotes aren’t on the axes anymore. The four key features come from simple substitutions:
y-intercept
y = b/d
substitute x = 0
x-intercept
x = โb/a
solve numerator = 0
Vertical asymptote
x = โd/c
solve denominator = 0
Horizontal asymptote
y = a/c
ratio of leading coefficients
A general (ax + b)/(cx + d) graph with all four features
Memorise the rule “denominator = 0 โ vertical asymptote; ratio of leading coefficients โ horizontal asymptote“. This works for every rational function in this section.
How to sketch a linear rational function
๐งญ Recipe โ sketching y = (ax + b)/(cx + d)
Find the y-intercept: substitute x = 0 โ coordinate (0, b/d).
Find the x-intercept: set numerator = 0 โ coordinate (โb/a, 0).
Find the vertical asymptote: set denominator = 0 โ vertical line x = โd/c.
Find the horizontal asymptote: y = a/c โ horizontal line.
Sketch: draw the asymptotes as dashed lines; mark the intercepts; draw two branches that approach the asymptotes without crossing them.
Label everything on your sketch โ examiners check for asymptote equations and intercept coordinates.
Domain, range, and the inverse
Domain & range
domain: x โ โd/c range: y โ a/c
excludes the vertical asymptote x-value; range excludes the horizontal asymptote y-value
Inverse
also a rational function
find by swap-and-rearrange (no formula to memorise)
Reflection check: the graph of fโ1(x) is the reflection of f(x) in the line y = x. So vertical and horizontal asymptotes swap when you take the inverse.
Worked examples
WE 1
Find the four key features of a linear rational function
For f(x) = 3x โ 6x + 2, x โ โ2, find: (a) the y-intercept, (b) the x-intercept, (c) the vertical asymptote, (d) the horizontal asymptote.
(a) y-intercept: substitute x = 0f(0) = (0 โ 6)/(0 + 2) = โ6/2 = โ3 โ (0, โ3)(b) x-intercept: numerator = 03x โ 6 = 0 โ x = 2 โ (2, 0)(c) Vertical asymptote: denominator = 0x + 2 = 0 โ x = โ2(d) Horizontal asymptote: ratio a/ca = 3, c = 1 โ y = 3y-int (0, โ3); x-int (2, 0); VA x = โ2; HA y = 3always do all four โ the marks come from labelling, not algebra
WE 2
Sketch a rational function with all features labelled
Sketch the graph of f(x) = 2x + 4x โ 1, marking the intercepts and asymptotes.
Find all four featuresy-int: f(0) = 4/(โ1) = โ4 โ (0, โ4)x-int: 2x + 4 = 0 โ x = โ2 โ (โ2, 0)VA: x โ 1 = 0 โ x = 1HA: y = 2/1 = 2Sketchdraw asymptotes x = 1 and y = 2 as dashed linesleft branch passes through (โ2, 0) and (0, โ4), approaches both asymptotesright branch sits in upper-right region, also approaching bothsketch with VA x = 1, HA y = 2, x-int (โ2, 0), y-int (0, โ4)the two branches sit on opposite sides of where VA and HA meet โ visualise that intersection point as the “centre”
WE 3
Find the inverse of a linear rational function
Find fโ1(x) for f(x) = x + 4x โ 3 and state its domain.
Step 1: Set y = f(x) and swap x and yy = (x + 4)/(x โ 3)swap โ x = (y + 4)/(y โ 3)Step 2: Multiply by (y โ 3) and rearrangex(y โ 3) = y + 4xy โ 3x = y + 4xy โ y = 3x + 4y(x โ 1) = 3x + 4y = (3x + 4)/(x โ 1)Step 3: Domain of fโปยน = range of f โ exclude HA y = 1fโปยน(x) = (3x + 4)/(x โ 1), x โ 1note: HA of f was y = 1 (a/c = 1/1) โ that becomes the excluded x-value for fโปยน
WE 4
State domain and range
Find the domain and range of f(x) = 5x โ 12x + 3.
Domain: exclude denominator = 02x + 3 = 0 โ x = โ3/2domain: x โ โ, x โ โ3/2Range: exclude horizontal asymptoteHA: y = 5/2range: f(x) โ โ, f(x) โ 5/2domain: x โ โ3/2; range: f(x) โ 5/2remember: domain excludes VA x-value; range excludes HA y-value
WE 5
Show 1/x is self-inverse
Show that f(x) = 1/x, x โ 0 is self-inverse, and find f(f(7)).
Compute f(f(x))f(f(x)) = f(1/x) = 1 / (1/x) = x โso fโปยน = f โ self-inverseApply at x = 7f(7) = 1/7, then f(1/7) = 7f is self-inverse; f(f(7)) = 7flip, flip, back to start โ works for any non-zero input
WE 6
Identify a rational function from its features
A rational function of the form f(x) = (ax + b)/(x + d) has vertical asymptote x = 4, horizontal asymptote y = 3, and y-intercept (0, โ2). Find a, b, and d.
Step 1: VA gives dx = 4 means denominator zero at x = 4 โ x + d = 0 โ d = โ4Step 2: HA gives ay = a/c, with c = 1 (coefficient of x in denom) โ a = 3Step 3: y-intercept gives bf(0) = b/d = b/(โ4) = โ2b = 8a = 3, b = 8, d = โ4 โ f(x) = (3x + 8)/(x โ 4)three features, three unknowns โ work them out one at a time using the right-side relationships
๐ก Top tips
The four features are the whole game: y-intercept (substitute x = 0); x-intercept (numerator = 0); VA (denominator = 0); HA (ratio of leading coefficients).
Asymptotes are dashed on a sketch. The curve approaches but doesn’t cross them.
Always label asymptote equations (x = โฆ, y = โฆ) and intercept coordinates on your sketch.
For domain: exclude any x that makes the denominator zero.
For range: exclude the horizontal asymptote y-value.
1/x is self-inverse โ and so is any function of the form (ax + b)/(cx โ a) (where the constant in denom is the negative of a).
Sketch with the GDC first if you’re unsure โ then transfer the key features to your hand sketch.
โ Common mistakes
Drawing asymptotes as solid lines. They should always be dashed โ the curve doesn’t actually touch them.
Forgetting to label intercepts on the sketch โ examiners deduct marks for incomplete sketches.
Confusing horizontal asymptote rule: it’s the ratio of leading coefficients (a/c), not the ratio of constants.
Using b/d for the x-intercept. The y-intercept is b/d; the x-intercept is โb/a.
Sketching the curve crossing the asymptote. Linear-over-linear graphs never touch their asymptotes.
Forgetting the range excludes the horizontal asymptote. Domain โ range.
Not stating the domain restriction when finding an inverse โ the inverse has its own VA-related exclusion.
The next note steps up the complexity to rational functions with quadratics โ fractions with quadratics on top, on bottom, or both. The number of asymptotes can change (you may get two, one, or none), and you’ll meet a new type โ oblique asymptotes โ which require a polynomial division to find.
Need help with Reciprocal & Rational Functions?
Get 1-on-1 help from an IB examiner who knows exactly what Paper 1 & 2 are looking for.