IB Maths AA HL Topic 2 โ€” Functions Paper 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

The reciprocal function โ€” y = 1/x

Reciprocal function f(x) = 1x,   x โ‰  0
domain: โ„ \ {0}   ยท   range: โ„ \ {0}

Key features of y = 1/x

Vertical asymptote
x = 0
y-axis
Horizontal asymptote
y = 0
x-axis
Symmetry axes
y = ยฑx
two diagonals
Self-inverse
f = fโˆ’1
flip a number, flip again
y = 1/x โ€” the basic reciprocal graph
x y O VA: x = 0 HA: y = 0 y = x

๐Ÿค” Why is it self-inverse?

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 function f(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
x y x = โˆ’d/c y = a/c (0, b/d) (โˆ’b/a, 0)
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)

  1. Find the y-intercept: substitute x = 0 โ†’ coordinate (0, b/d).
  2. Find the x-intercept: set numerator = 0 โ†’ coordinate (โˆ’b/a, 0).
  3. Find the vertical asymptote: set denominator = 0 โ†’ vertical line x = โˆ’d/c.
  4. Find the horizontal asymptote: y = a/c โ€” horizontal line.
  5. Sketch: draw the asymptotes as dashed lines; mark the intercepts; draw two branches that approach the asymptotes without crossing them.
  6. 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 = 0 f(0) = (0 โˆ’ 6)/(0 + 2) = โˆ’6/2 = โˆ’3 โ†’ (0, โˆ’3) (b) x-intercept: numerator = 0 3x โˆ’ 6 = 0 โ†’ x = 2 โ†’ (2, 0) (c) Vertical asymptote: denominator = 0 x + 2 = 0 โ†’ x = โˆ’2 (d) Horizontal asymptote: ratio a/c a = 3, c = 1 โ†’ y = 3 y-int (0, โˆ’3); x-int (2, 0); VA x = โˆ’2; HA y = 3 always 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 features y-int: f(0) = 4/(โˆ’1) = โˆ’4 โ†’ (0, โˆ’4) x-int: 2x + 4 = 0 โ†’ x = โˆ’2 โ†’ (โˆ’2, 0) VA: x โˆ’ 1 = 0 โ†’ x = 1 HA: y = 2/1 = 2 Sketch draw asymptotes x = 1 and y = 2 as dashed lines left branch passes through (โˆ’2, 0) and (0, โˆ’4), approaches both asymptotes right branch sits in upper-right region, also approaching both sketch 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 y y = (x + 4)/(x โˆ’ 3) swap โ†’ x = (y + 4)/(y โˆ’ 3) Step 2: Multiply by (y โˆ’ 3) and rearrange x(y โˆ’ 3) = y + 4 xy โˆ’ 3x = y + 4 xy โˆ’ y = 3x + 4 y(x โˆ’ 1) = 3x + 4 y = (3x + 4)/(x โˆ’ 1) Step 3: Domain of fโปยน = range of f โ†’ exclude HA y = 1 fโปยน(x) = (3x + 4)/(x โˆ’ 1),   x โ‰  1 note: 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 = 0 2x + 3 = 0 โ†’ x = โˆ’3/2 domain: x โˆˆ โ„, x โ‰  โˆ’3/2 Range: exclude horizontal asymptote HA: y = 5/2 range: f(x) โˆˆ โ„, f(x) โ‰  5/2 domain: x โ‰  โˆ’3/2; range: f(x) โ‰  5/2 remember: 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-inverse Apply at x = 7 f(7) = 1/7, then f(1/7) = 7 f is self-inverse;   f(f(7)) = 7 flip, 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 d x = 4 means denominator zero at x = 4 โ†’ x + d = 0 โ†’ d = โˆ’4 Step 2: HA gives a y = a/c, with c = 1 (coefficient of x in denom) โ†’ a = 3 Step 3: y-intercept gives b f(0) = b/d = b/(โˆ’4) = โˆ’2 b = 8 a = 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

โš  Common mistakes

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.

Book Free Session โ†’