An asymptote is a line that a graph approaches more and more closely but does not reach as x or y grows without limit. In IB Maths AA SL you need two kinds: vertical asymptotes, where the function is undefined because a denominator is zero or a log argument reaches zero, and horizontal asymptotes, the value y settles towards as x becomes very large or very negative. Every asymptote is written as an equation, such as x = −2 or y = 3, never as a bare number.
Asymptotes belong to Topic 2, Functions (21 of the 150 AA SL hours in the IB guide). They show up in sketching, domain and range, inverse functions and transformations. They are tested in Paper 1 without a calculator and in Paper 2 alongside the GDC. For help that follows your school's pace, see AA SL support from our tutors.
The reciprocal function, y = 1/x
Start here, because every AA SL rational function is a transformed version of it.
- Vertical asymptote x = 0, horizontal asymptote y = 0.
- Two branches, in the first and third quadrants.
- Domain x ≠ 0 and range y ≠ 0.
- It is self-inverse: solving y = 1/x for x gives x = 1/y, so f⁻¹(x) = 1/x. The graph is symmetric about y = x.
Rational functions of the form (ax + b)/(cx + d)
For f(x) = (ax + b)/(cx + d), with c ≠ 0:
- Vertical asymptote: where the denominator is zero, x = −d/c.
- Horizontal asymptote: for very large x, the constants hardly matter, so f(x) gets close to ax/cx. The asymptote is y = a/c.
- x-intercept: where the numerator is zero, x = −b/a.
- y-intercept: f(0) = b/d.
- Domain x ≠ −d/c, range y ≠ a/c.
AA HL extends this to rational functions with a quadratic on the top or the bottom, which can have oblique asymptotes. That is beyond SL.
Worked example 1: everything about one function
f(x) = (3x − 1)/(x + 2).
Asymptotes. The denominator is zero at x = −2, so the vertical asymptote is x = −2. The ratio of the x-coefficients is 3/1, so the horizontal asymptote is y = 3.
Intercepts. 3x − 1 = 0 gives x = 1/3. f(0) = −1/2. So the graph crosses at (1/3, 0) and (0, −1/2).
Domain and range. x ≠ −2 and y ≠ 3.
Inverse. Write y = (3x − 1)/(x + 2) and solve for x:
y(x + 2) = 3x − 1
xy + 2y = 3x − 1
xy − 3x = −1 − 2y
x(y − 3) = −(1 + 2y)
x = (2y + 1)/(3 − y)
So f⁻¹(x) = (2x + 1)/(3 − x). Its asymptotes are x = 3 and y = −2: the original asymptotes swapped, as you would expect from a reflection in y = x. That swap is a quick check worth writing down.
Worked example 2: a transformation of 1/x
Describe how y = 1/x is transformed to give y = 4/(x − 1) + 2, and write the result as a single fraction.
- x − 1 in place of x: a translation of 1 unit right.
- The 4 in the numerator: a vertical stretch by scale factor 4.
- The + 2: a translation of 2 units up.
So the asymptotes move from x = 0 and y = 0 to x = 1 and y = 2.
As one fraction: 4/(x − 1) + 2 = (4 + 2(x − 1))/(x − 1) = (2x + 2)/(x − 1).
Going the other way is just as useful. Given (2x + 2)/(x − 1), write the top as 2(x − 1) + 4, so the fraction is 2 + 4/(x − 1). This form shows the transformations straight away. Our guide to transformations of graphs covers the order of stretches and translations in more depth.
Worked example 3: finding unknown constants
The graph of f(x) = (ax + 6)/(2x + c) has asymptotes x = −3 and y = 2. Find a and c, then find the intercepts.
- Vertical asymptote: 2x + c = 0 at x = −3, so c = 6.
- Horizontal asymptote: a/2 = 2, so a = 4.
So f(x) = (4x + 6)/(2x + 6).
- y-intercept: f(0) = 6/6 = 1.
- x-intercept: 4x + 6 = 0, so x = −3/2.
Do not cancel the 2 from the top and bottom unless it divides every term. Here (4x + 6)/(2x + 6) = (2x + 3)/(x + 3), which is fine, and it has the same asymptotes.
Worked example 4: asymptotes beyond rational functions
AA SL also asks about the asymptotes of exponential and logarithmic graphs. They follow from two facts: e^x approaches 0 as x becomes very negative, and ln x is only defined for x > 0.
(a) f(x) = 3 − 2e^(−x). As x grows, e^(−x) approaches 0, so f(x) approaches 3. The horizontal asymptote is y = 3. Because 2e^(−x) is always positive, f(x) is always less than 3, so the range is f(x) < 3.
(b) g(x) = ln(x − 2) + 1. The log needs x − 2 > 0, so the domain is x > 2 and the vertical asymptote is x = 2. For the x-intercept, ln(x − 2) = −1, so x − 2 = e^(−1) and x = 2 + e^(−1) ≈ 2.37.
Our exponential and logarithmic functions guide covers the laws behind these steps.
Sketching so you earn every mark
A sketch in an IB question is marked on features, so include all of them:
- Draw each asymptote as a dashed line and label it with its equation.
- Mark and label the intercepts with coordinates.
- Show both branches of a rational graph, each approaching both asymptotes.
- Keep the graph inside any domain the question gives.
On the GDC, some calculators join the two branches with a near-vertical line at the asymptote. That line is not part of the graph; do not copy it. Our guide to graphing on the GDC shows how to set a sensible window.
Mistakes our tutors see
- Writing "asymptote = 3" instead of y = 3.
- Using a/c when c is negative and dropping the sign: for (x + 1)/(4 − 2x), the horizontal asymptote is y = −1/2, not 1/2.
- Forgetting to exclude the asymptote value from the range.
- Drawing the curve crossing the vertical asymptote. A function is undefined there.
- Wrong log domain. ln(x − 2) needs x > 2, not x > 0.
- Swapping the stretch and translation order when describing a transformation.
Self-check
- State the asymptotes of y = (5 − x)/(2x − 4).
- Find the range of y = 1/(x + 3) − 4.
- Find f⁻¹(x) for f(x) = (x + 1)/(x − 2).
- State the horizontal asymptote of y = e^x − 5.
Answers. 1: x = 2 and y = −1/2. 2: y ≠ −4 (all real numbers except −4). 3: f⁻¹(x) = (2x + 1)/(x − 1), with asymptotes x = 1 and y = 2 (the swap of f's x = 2 and y = 1). 4: y = −5.
Exam technique
- Paper 1: expect to find asymptotes, intercepts and an inverse by hand, then sketch. Neat algebra matters, so set out the inverse line by line as in example 1.
- Paper 2: the GDC helps with intersections, for example solving (3x − 1)/(x + 2) = e^x. Sketch what you see, label the asymptotes and give coordinates to 3 significant figures.
- Read the command term. "Sketch" means the shape and key features; "draw" means an accurate graph on given axes.
Where this leads
Asymptotes come back in calculus. Areas under curves near an asymptote, and graphs of derivatives, both need you to know where a function is undefined; our sibling post on AA SL integration and areas picks this up. For the full picture of Topic 2 alongside the other topics, read the AA SL syllabus at a glance. Students moving to HL will meet modulus functions and inequalities at HL, which build on the same graph-reading skills.
How Maths Bodhi helps
Graph questions show quickly whether a student understands a function or is following steps. In the free demo, our tutor asks for a sketch of one rational function and checks each feature. Sessions then build from y = 1/x outwards, with written working and past-paper-style sketching practice. Students who find functions hard across courses can also use our functions tutoring.
Home tuition is available in Gurgaon (Gurugram). Students elsewhere in India and abroad learn with us online. You can book a free demo class.
Written and checked by the Maths Bodhi team. Facts checked against official IB sources, November 2026.
Frequently asked questions
- How do I find the asymptotes of a rational function in IB Maths AA SL?
- For (ax + b)/(cx + d), the vertical asymptote is where the denominator is zero, x = −d/c, and the horizontal asymptote is y = a/c, the ratio of the x-coefficients.
- Can a graph cross a horizontal asymptote?
- For the rational functions (ax + b)/(cx + d) in AA SL, no. Some other functions can cross a horizontal asymptote for small x, because the asymptote only describes behaviour as x becomes very large.
- Why is f(x) = 1/x called self-inverse?
- Solving y = 1/x for x gives x = 1/y, so the inverse function is the same as the original. Its graph is symmetric in the line y = x.
- What are the asymptotes of an exponential or log graph?
- y = e^x + k has the horizontal asymptote y = k. y = ln(x − h) has the vertical asymptote x = h, and its domain is x > h.
- Are oblique asymptotes in AA SL?
- No. Rational functions with a quadratic numerator or denominator, which can have oblique asymptotes, are part of AA HL.
- How should I label asymptotes on a sketch?
- Draw each one as a dashed line and write its equation, such as x = −2 or y = 3, next to it. A number on its own may not earn the mark.
