Scribe logoScribeNotes & practice
Sign inStart free
  1. Notes
  2. ›IB Mathematics: Analysis and Approaches
  3. ›2 Functions
  4. ›2.8 Reciprocal and rational functions

IB Mathematics: Analysis and Approaches · Topic 2 · Functions

2.8 Reciprocal and rational functions

Sketch the reciprocal graph, identify vertical and horizontal asymptotes, and state the domain and range of a rational function.

  • 4 min read
  • 5 parts
  • 10 questions
  • Draft
Start a Quick 5 on this topic→Jump to the 10 questions
1/5The reciprocal function turns large inputs into small outputs
  1. 1The reciprocal function turns large inputs into small outputs
  2. 2A reciprocal graph approaches two guide lines called asymptotes
  3. 3Rational functions of this form have one asymptote of each kind
  4. 4Asymptotes give the domain and range directly
  5. 5Four steps give a reliable sketch of a rational graph
  6. Check your recall
  7. Practice: 10 questions
1

Part 1 of 5: The reciprocal function turns large inputs into small outputs

Journey time equals distance divided by speed. For a fixed 12 km, doubling the speed halves the time. This inverse relationship is the idea behind the reciprocal function, f(x)=1xf(x)=\frac{1}{x}f(x)=x1​.

Its domain excludes x=0x=0x=0, because division by zero is undefined. The outputs are never zero either, so its range also excludes 0. The table shows some values.

Values of the reciprocal function

xxxf(x)=1xf(x)=\frac{1}{x}f(x)=x1​
0.110
0.52
11
20.5
100.1
-2-0.5
$x$
0.1
f(x)=1xf(x)=\frac{1}{x}f(x)=x1​
10
$x$
0.5
f(x)=1xf(x)=\frac{1}{x}f(x)=x1​
2
$x$
1
f(x)=1xf(x)=\frac{1}{x}f(x)=x1​
1
$x$
2
f(x)=1xf(x)=\frac{1}{x}f(x)=x1​
0.5
$x$
10
f(x)=1xf(x)=\frac{1}{x}f(x)=x1​
0.1
$x$
-2
f(x)=1xf(x)=\frac{1}{x}f(x)=x1​
-0.5

As xxx grows, the outputs shrink towards zero. As xxx shrinks towards zero, the outputs grow rapidly. Negative inputs give negative outputs. Two inputs of opposite sign give outputs of opposite sign.

Key term

reciprocal function

The reciprocal function is the function f(x)=1xf(x)=\frac{1}{x}f(x)=x1​, defined for every real xxx except x=0x=0x=0.

Part 1 done

2

Part 2 of 5: A reciprocal graph approaches two guide lines called asymptotes

The table shows two patterns. Each leads to a line called an asymptote.

Near x=0x=0x=0, the outputs grow without bound. The graph climbs towards the line x=0x=0x=0 without touching it. This line is a vertical asymptote.

For large ∣x∣|x|∣x∣, the outputs approach 0. The graph settles towards the line y=0y=0y=0. This line is a horizontal asymptote.

Figure 1. The two branches of y=1xy=\frac{1}{x}y=x1​ approach the axes but never meet them.

The graph has two branches, one in the first quadrant and one in the third. Neither branch crosses either axis.

Common mistake

An asymptote is a line, not a point. Write the vertical asymptote as x=0x=0x=0, not as 0.

Key terms · tap one for its definition

vertical asymptote

A vertical asymptote is a line x=ax=ax=a that the graph approaches as xxx nears aaa, while the outputs grow without bound in size.

horizontal asymptote

A horizontal asymptote is a line y=Ly=Ly=L when a function approaches finite LLL at either end.

Part 2 done

Quick check

One question on the part you just read

Easy

Identify the domain of f(x)=1xf(x)=\frac{1}{x}f(x)=x1​.
Show answer and explanation

Answer: A · Worked explanation

Division by zero is undefined, so x=0x=0x=0 is excluded and every other real number is allowed. The set x>0x>0x>0 is too small, because negative inputs also give outputs. Every other real number has a reciprocal, so no other input is excluded.
3

Part 3 of 5: Rational functions of this form have one asymptote of each kind

Now shift and scale the reciprocal graph to get a wider family. A rational function is a quotient of two polynomial expressions. The simplest family is f(x)=ax+bcx+df(x)=\frac{ax+b}{cx+d}f(x)=cx+dax+b​, with c≠0c\ne0c=0.

The vertical asymptote sits where the denominator is zero. Solving cx+d=0cx+d=0cx+d=0 gives x=−dcx=-\frac{d}{c}x=−cd​.

For large ∣x∣|x|∣x∣, the constants bbb and ddd matter less. So f(x)≈axcx=acf(x)\approx\frac{ax}{cx}=\frac{a}{c}f(x)≈cxax​=ca​, and the horizontal asymptote is y=acy=\frac{a}{c}y=ca​. The values bbb and ddd shift the graph but do not change this asymptote.

Figure 2. The curve approaches the dashed lines x=1x=1x=1 and y=2y=2y=2 on each side.

For the graph shown, a=2a=2a=2, c=1c=1c=1 and d=−1d=-1d=−1. The asymptotes are x=1x=1x=1 and y=2y=2y=2.

Go deeperWhy the form needs ad ≠ bc

If ad=bcad=bcad=bc, the numerator is a constant multiple of the denominator. Then f(x)=acf(x)=\frac{a}{c}f(x)=ca​ for every allowed xxx, and the graph is a horizontal line with one point missing.

You can also find the horizontal asymptote by dividing the top and bottom by xxx. This gives a+b/xc+d/x\frac{a+b/x}{c+d/x}c+d/xa+b/x​, which approaches ac\frac{a}{c}ca​ as ∣x∣|x|∣x∣ grows.

Key terms · tap one for its definition

rational function

A rational function is a quotient of two polynomials, with denominator values of zero excluded from its domain.

polynomial

A polynomial is a finite sum of constant multiples of nonnegative integer powers of xxx.

Part 3 done

4

Part 4 of 5: Asymptotes give the domain and range directly

Asymptotes show which inputs and outputs are missing. The domain excludes the value of xxx that makes the denominator zero. The range is the set of outputs, and for this family it excludes the horizontal asymptote value.

Worked example

Find asymptotes, domain and range

For f(x)=3x−2x+4f(x)=\frac{3x-2}{x+4}f(x)=x+43x−2​, find both asymptotes, the domain and the range.
  1. 1
    The denominator is zero when x+4=0x+4=0x+4=0, so x=−4x=-4x=−4.
  2. 2
    The vertical asymptote is x=−4x=-4x=−4.
  3. 3
    For large ∣x∣|x|∣x∣, f(x)≈3xx=3f(x)\approx\frac{3x}{x}=3f(x)≈x3x​=3, so the horizontal asymptote is y=3y=3y=3.
  4. 4
    The domain excludes -4 and the range excludes 3.

Answer: Asymptotes: x=−4x=-4x=−4 and y=3y=3y=3. Domain: x≠−4x\ne-4x=−4. Range: y≠3y\ne3y=3.

The output 3 is never reached. Solving 3x−2x+4=3\frac{3x-2}{x+4}=3x+43x−2​=3 gives 3x−2=3x+123x-2=3x+123x−2=3x+12, so −2=12-2=12−2=12, which is impossible.

The vertical asymptote value is excluded from the domain. The horizontal asymptote value is excluded from the range. Keep these two apart.

Exam tip

State the excluded value in each set, as in x≠−4x\ne-4x=−4. Do not leave the domain or range unstated.

Part 4 done

Quick check

One question on the part you just read

Easy

State the equation of the horizontal asymptote of f(x)=1xf(x)=\frac{1}{x}f(x)=x1​.
Show answer and explanation

Answer: B · Worked explanation

For large ∣x∣|x|∣x∣, the outputs approach 0, so the line y=0y=0y=0 is the horizontal asymptote. The line x=0x=0x=0 is the vertical asymptote. The line y=0y=0y=0 is the xxx-axis, which the graph approaches for large positive and large negative xxx. Large outputs occur only near x=0x=0x=0, not for large ∣x∣|x|∣x∣.
5

Part 5 of 5: Four steps give a reliable sketch of a rational graph

Now we can collect these facts into a sketch.

  • Draw the asymptotes as dashed lines.
  • Find the yyy-intercept by setting x=0x=0x=0.
  • Find the xxx-intercept by setting the numerator to zero.
  • Draw one smooth branch on each side of the vertical asymptote.

For f(x)=3x−2x+4f(x)=\frac{3x-2}{x+4}f(x)=x+43x−2​, the intercepts are (23,0)\left(\frac{2}{3},0\right)(32​,0) and (0,−12)\left(0,-\frac{1}{2}\right)(0,−21​). The right branch lies below y=3y=3y=3. The left branch lies above it. Use a test point on each side of the vertical asymptote if a branch position is unclear. Label the intercepts and asymptote equations.

Common mistake

Do not let the curve cross the vertical asymptote. Each side of it has its own separate branch.

Note read

Check your recall[14 marks]

6 written questions. Answer each one in your head or on paper, then open the mark scheme.

  1. 1.State[2 marks]

    State the equations of the vertical and horizontal asymptotes of f(x)=1xf(x)=\frac{1}{x}f(x)=x1​.

    Show mark schemeHide mark scheme

    Model answer

    The vertical asymptote is x=0x=0x=0 and the horizontal asymptote is y=0y=0y=0.

    • 1 mark for stating the vertical asymptote x=0x=0x=0
    • 1 mark for stating the horizontal asymptote y=0y=0y=0
  2. 2.Determine[2 marks]

    Determine the equations of the asymptotes of f(x)=4x−3x+2f(x)=\frac{4x-3}{x+2}f(x)=x+24x−3​.

    Show mark schemeHide mark scheme

    Model answer

    The denominator is zero at x=−2x=-2x=−2, so the vertical asymptote is x=−2x=-2x=−2. The horizontal asymptote is y=41=4y=\frac{4}{1}=4y=14​=4.

    • 1 mark for stating the vertical asymptote x=−2x=-2x=−2
    • 1 mark for stating the horizontal asymptote y=4y=4y=4
  3. 3.Determine[3 marks]

    Determine the domain and range of f(x)=5x+12x−6f(x)=\frac{5x+1}{2x-6}f(x)=2x−65x+1​.

    Show mark schemeHide mark scheme

    Model answer

    The denominator is zero when x=3x=3x=3, so the domain is x≠3x\ne3x=3. The horizontal asymptote is y=52y=\frac{5}{2}y=25​, so the range is y≠52y\ne\frac{5}{2}y=25​.

    • 1 mark for finding that the denominator is zero at x=3x=3x=3
    • 1 mark for stating the domain x≠3x\ne3x=3
    • 1 mark for stating the range y≠52y\ne\frac{5}{2}y=25​
  4. 4.Explain[2 marks]

    Explain why f(x)=1xf(x)=\frac{1}{x}f(x)=x1​ has a vertical asymptote at x=0x=0x=0.

    Show mark schemeHide mark scheme

    Model answer

    The function is undefined at x=0x=0x=0. As xxx approaches 0, the outputs grow without bound in size, so the graph approaches the line x=0x=0x=0.

    • 1 mark for stating that the function is undefined at x=0x=0x=0
    • 1 mark for stating that outputs grow without bound in size as xxx approaches 0
  5. 5.Calculate[2 marks]

    Calculate the xxx-intercept and yyy-intercept of f(x)=2x−6x+1f(x)=\frac{2x-6}{x+1}f(x)=x+12x−6​.

    Show mark schemeHide mark scheme

    Model answer

    Setting the numerator to zero gives x=3x=3x=3, so the xxx-intercept is (3,0)(3,0)(3,0). Setting x=0x=0x=0 gives f(0)=−6f(0)=-6f(0)=−6, so the yyy-intercept is (0,−6)(0,-6)(0,−6).

    • 1 mark for finding the xxx-intercept (3,0)(3,0)(3,0)
    • 1 mark for finding the yyy-intercept (0,−6)(0,-6)(0,−6)
  6. 6.Sketch[3 marks]

    Sketch the graph of f(x)=x+3x−2f(x)=\frac{x+3}{x-2}f(x)=x−2x+3​, showing the asymptotes and the intercepts.

    Show mark schemeHide mark scheme

    Model answer

    Draw dashed asymptotes x=2x=2x=2 and y=1y=1y=1. Mark the intercepts (−3,0)(-3,0)(−3,0) and (0,−32)\left(0,-\frac{3}{2}\right)(0,−23​). Draw one branch above y=1y=1y=1 to the right of x=2x=2x=2 and one below y=1y=1y=1 to the left.

    • 1 mark for drawing and labelling the asymptotes x=2x=2x=2 and y=1y=1y=1
    • 1 mark for marking the intercepts (−3,0)(-3,0)(−3,0) and (0,−32)\left(0,-\frac{3}{2}\right)(0,−23​)
    • 1 mark for drawing one branch on each side of x=2x=2x=2, in the correct positions

Practice this topic

10 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)

0 right0 of 10 answered

Includes the 2 quick checks in the note above.

3.

Easy·Identify[1 mark]

Identify the vertical asymptote of f(x)=1x−3f(x)=\frac{1}{x-3}f(x)=x−31​.
Show answer and explanation

Answer: C · Worked explanation

The denominator is zero when x−3=0x-3=0x−3=0, so the vertical asymptote is x=3x=3x=3. The value -3 comes from copying the sign in the denominator instead of solving for xxx. Check: at x=3x=3x=3 the denominator is 3−3=03-3=03−3=0, which is why the graph has a break there.
4.

Medium·Determine[1 mark]

Determine the vertical and horizontal asymptotes of f(x)=3x+2x−5f(x)=\frac{3x+2}{x-5}f(x)=x−53x+2​.
Show answer and explanation

Answer: A · Worked explanation

The denominator is zero at x=5x=5x=5. For large ∣x∣|x|∣x∣, f(x)≈3xx=3f(x)\approx\frac{3x}{x}=3f(x)≈x3x​=3. The pair x=3x=3x=3 and y=5y=5y=5 swaps the two asymptotes, putting each value in the wrong line. For example, f(1000)=3002995≈3.02f(1000)=\frac{3002}{995}\approx3.02f(1000)=9953002​≈3.02, which is close to 3. The numerator coefficient 3 and the denominator coefficient 1 give the ratio 31\frac{3}{1}13​.
5.

Medium·Determine[2 marks]

Determine the range of f(x)=2x−1x+3f(x)=\frac{2x-1}{x+3}f(x)=x+32x−1​.
Show answer and explanation

Answer: D · Worked explanation

The horizontal asymptote is y=21=2y=\frac{2}{1}=2y=12​=2, so the range excludes 2. The value -3 is the excluded input, so it belongs in the domain, not the range. Check: f(x)=2f(x)=2f(x)=2 would need 2x−1=2x+62x-1=2x+62x−1=2x+6, which is impossible, so 2 is not an output.
6.

Medium·Calculate[2 marks]

Calculate the intercepts of f(x)=x−4x+2f(x)=\frac{x-4}{x+2}f(x)=x+2x−4​ with the axes.
Show answer and explanation

Answer: B · Worked explanation

The numerator is zero at x=4x=4x=4, so the xxx-intercept is (4,0)(4,0)(4,0). Also f(0)=−42=−2f(0)=\frac{-4}{2}=-2f(0)=2−4​=−2. The pair (−2,0)(-2,0)(−2,0) and (0,4)(0,4)(0,4) swaps the roles of the two axes, using the denominator for the xxx-intercept. Check: f(4)=0f(4)=0f(4)=0 and f(0)=−2f(0)=-2f(0)=−2. Use the numerator for the xxx-intercept and substitute x=0x=0x=0 for the yyy-intercept.
7.

Medium·Predict[1 mark]

Predict what happens to the outputs of f(x)=1xf(x)=\frac{1}{x}f(x)=x1​ as xxx approaches 0 from the positive side.
Show answer and explanation

Answer: A · Worked explanation

For small positive xxx, such as 0.01, the output is 100. Smaller inputs give larger outputs, with no upper limit. Large negative outputs occur when xxx approaches 0 from the negative side. For example, f(0.1)=10f(0.1)=10f(0.1)=10 and f(0.001)=1000f(0.001)=1000f(0.001)=1000. The sign of the output follows the sign of the input, since reciprocals keep their sign.
8.

Hard·Determine[2 marks]

The graph of f(x)=ax+1x−2f(x)=\frac{ax+1}{x-2}f(x)=x−2ax+1​ has horizontal asymptote y=3y=3y=3. Determine f(1)f(1)f(1).
Show answer and explanation

Answer: C · Worked explanation

The horizontal asymptote is y=a1y=\frac{a}{1}y=1a​, so a=3a=3a=3. Then f(1)=3+11−2=−4f(1)=\frac{3+1}{1-2}=-4f(1)=1−23+1​=−4. The value -3 comes from using a=2a=2a=2, which confuses the vertical asymptote x=2x=2x=2 with the coefficient aaa. Check: f(100)=30198≈3.07f(100)=\frac{301}{98}\approx3.07f(100)=98301​≈3.07, which is near 3. Compare the coefficients of xxx on the top and bottom, which are aaa and 1.
9.

Hard·Determine[2 marks]

Determine the equations of the vertical and horizontal asymptotes of f(x)=4x+82x−6f(x)=\frac{4x+8}{2x-6}f(x)=2x−64x+8​.
Show answer and explanation

Answer: D · Worked explanation

The denominator is zero when 2x−6=02x-6=02x−6=0, so x=3x=3x=3. The horizontal asymptote is the ratio of the leading coefficients, y=42=2y=\frac{4}{2}=2y=24​=2. The value y=4y=4y=4 uses only the numerator coefficient and ignores the denominator. Check: dividing top and bottom by 2 gives 2x+4x−3\frac{2x+4}{x-3}x−32x+4​, which has asymptotes x=3x=3x=3 and y=2y=2y=2.
10.

Hard·Determine[2 marks]

Determine the number of solutions of 2x+1x−1=2\frac{2x+1}{x-1}=2x−12x+1​=2.
Show answer and explanation

Answer: B · Worked explanation

Multiplying by x−1x-1x−1 gives 2x+1=2x−22x+1=2x-22x+1=2x−2, so 1=−21=-21=−2, which is impossible. The output 2 is the horizontal asymptote value, so it is not in the range. The answer 'One' comes from assuming that every output value is reached. Check: solving y=2x+1x−1y=\frac{2x+1}{x-1}y=x−12x+1​ for xxx gives x=y+1y−2x=\frac{y+1}{y-2}x=y−2y+1​, which is undefined when y=2y=2y=2.

Keep going

Next topic2.9 Exponential and logarithmic functionsPrevious topic2.7 Quadratic equations and inequalities

More in Topic 2 · Functions

  1. 2.4Key features of graphsNotes · 10 questions
  2. 2.5Composite and inverse functionsNotes · 10 questions
  3. 2.6Quadratic functionsNotes · 10 questions
  4. 2.7Quadratic equations and inequalitiesNotes · 10 questions
  5. 2.8Reciprocal and rational functionsNotes · 10 questions
  6. 2.9Exponential and logarithmic functionsNotes · 10 questions
  7. 2.10Solving equationsNotes · 10 questions
  8. 2.11Transformations of graphsNotes · 10 questions
  9. 2.12Polynomial functionsNotes · 10 questions· HL only

All IB Mathematics: Analysis and Approaches topics →

Draft: written by Scribe and checked automatically, not yet by a subject reviewer.

Practice questions are original, written by Scribe and checked automatically for correctness.

Topic codes follow the official numbering. Not endorsed by IB Diploma Programme or any exam board.

On this page

0/5 read

  1. 1The reciprocal function turns large inputs into small outputs
  2. 2A reciprocal graph approaches two guide lines called asymptotes
  3. 3Rational functions of this form have one asymptote of each kind
  4. 4Asymptotes give the domain and range directly
  5. 5Four steps give a reliable sketch of a rational graph
  6. Check your recall
  7. Practice: 10 questions
All coursesScribeHow it worksPricingPrivacyTerms

Notes and questions are written by Scribe in our own words. Topic codes follow the official course numbering so you can find your place. Not produced or endorsed by the IB, College Board, AQA, OCR, Pearson Edexcel or any exam board.

© 2026 Scribe

The reciprocal function

y-6-4-20246-6-4-20246x
  • f(x) = 1/x

A rational function with asymptotes

y-6-4-202468-6-4-20246810x
  • f(x) = (2x+1)/(x−1)
  • x = 1
  • y = 2