2.8 · SLPaper 1Paper 2

Reciprocal and linear-over-linear rational functions

In a minute

The f(x)=1xf(x) = \frac{1}{x} has two separate branches that hug the axes, and it is its own inverse. Every function ax+bcx+d\frac{ax + b}{cx + d} has the same shape, moved and stretched. You'll read its asymptotes straight from aa, cc and dd, then sketch it with its intercepts.

You'll be able to

  • Sketch y=1xy = \frac{1}{x} and explain why the reciprocal function is .
  • Write down the x=−dcx = -\frac{d}{c} and y=acy = \frac{a}{c} of y=ax+bcx+dy = \frac{ax + b}{cx + d}, and use them to find unknown constants.
  • Sketch y=ax+bcx+dy = \frac{ax + b}{cx + d} with its asymptotes and axis intercepts, and state its domain and range.
  • Find the inverse of a linear-over-linear function, spot when it is self-inverse, and solve problems with it on your calculator.
Before you start3 quick questions on what this builds on
Check yourself
For which value of xx is f(x)=x+12x−7f(x) = \frac{x + 1}{2x - 7} not defined?
Check yourself
Where does the graph of y=12−3xy = 12 - 3x meet the xx-axis?
Check yourself
Let f(x)=3x−4f(x) = 3x - 4, for x∈Rx \in \mathbb{R}. Find f−1(x)f^{-1}(x).

Revise first: 2.2 Function concepts, domain and range, 2.3 Graphs of functions and 2.5 Composite and inverse functions

The reciprocal function

Divide 1 by a small number and you get a big one: 10.1=10\frac{1}{0.1} = 10 and 10.001=1000\frac{1}{0.001} = 1000. Divide 1 by a big number and you get a tiny one: 11000=0.001\frac{1}{1000} = 0.001. And you can't divide by 0 at all.

So as xx gets close to 0 from the right, 1x\frac{1}{x} shoots up, and from the left it shoots down. Far from 0, the graph flattens towards the xx-axis.

Graph of y equals 1 over x with the mirror line y equals x x y O (2, 0.5) (0.5, 2) y = x y = 1/x
Reflecting y=1xy = \frac{1}{x} in y=xy = x gives the same curve: (2,0.5)(2, 0.5) goes to (0.5,2)(0.5, 2), which is also on it.

The curve is symmetric in the line y=xy = x: if b=1ab = \frac{1}{a}, then a=1ba = \frac{1}{b}. Reflecting in y=xy = x gives the graph of the (2.5), so the reciprocal function is its own inverse.

Worked exampleLet f(x)=1xf(x) = \frac{1}{x}, for x≠0x \ne 0. Find f−1(x)f^{-1}(x) by algebra, and show that ff is self-inverse.

Try it first, then reveal one step at a time.

  1. Write y=1xy = \frac{1}{x}.

Multiplying by a constant keeps the shape. For k>0k > 0, y=kxy = \frac{k}{x} is a vertical stretch of y=1xy = \frac{1}{x}, with the same asymptotes (2.11). It is self-inverse too, since y=kxy = \frac{k}{x} rearranges to x=kyx = \frac{k}{y}.

Worked exampleLet g(x)=9xg(x) = \frac{9}{x}, for x≠0x \ne 0. (a) Show that gg is self-inverse. (b) The line y=xy = x meets the graph of gg at the points A and B. Find the exact distance AB.

Try it first, then reveal one step at a time.

  1. (a) Write y=9xy = \frac{9}{x}, so xy=9xy = 9 and x=9yx = \frac{9}{y}. Swapping xx and yy gives g−1(x)=9x=g(x)g^{-1}(x) = \frac{9}{x} = g(x).
Check yourself
The point (4,14)\left(4, \tfrac{1}{4}\right) lies on y=1xy = \frac{1}{x}. The curve is symmetric in the line y=xy = x. Which point must also lie on it, by that symmetry?
Check yourself
What is the range of f(x)=1xf(x) = \frac{1}{x}, for x≠0x \ne 0?

Asymptotes of linear-over-linear functions

A is a fraction with a polynomial on the top and on the bottom. In this lesson both are linear: f(x)=ax+bcx+df(x) = \frac{ax + b}{cx + d}, with c≠0c \ne 0.

Try f(x)=2x+3x−1f(x) = \frac{2x + 3}{x - 1}. At x=1x = 1 the bottom is 0, so f(1)f(1) doesn't exist. Just right of it, f(1.01)=502f(1.01) = 502. Just left, f(0.99)=−498f(0.99) = -498. The graph shoots up and down beside the line x=1x = 1.

Far out, f(1000)=2003999=2.005…f(1000) = \frac{2003}{999} = 2.005\ldots The +3+3 and −1-1 hardly matter next to 2x2x and xx, so f(x)f(x) is close to 2xx=2\frac{2x}{x} = 2. The graph levels off towards the line y=2y = 2.

Learn this
y=ax+bcx+d:vertical asymptote x=−dc,horizontal asymptote y=acy = \frac{ax + b}{cx + d}: \quad \text{vertical asymptote } x = -\frac{d}{c}, \quad \text{horizontal asymptote } y = \frac{a}{c}

These are not in the formula booklet, so learn them. They assume ad−bc≠0ad - bc \ne 0; otherwise the graph is just a horizontal line with a gap.

The is every real number except −dc-\frac{d}{c}. The is every real number except ac\frac{a}{c}, because the graph never meets its horizontal asymptote. Try solving ax+bcx+d=ac\frac{ax + b}{cx + d} = \frac{a}{c}: it simplifies to bc=adbc = ad, which is false.

Worked exampleLet f(x)=6x+12x−3f(x) = \frac{6x + 1}{2x - 3}, for x≠32x \ne \frac{3}{2}. Write down the equations of the vertical and horizontal asymptotes of the graph of ff.

Try it first, then reveal one step at a time.

  1. Match to ax+bcx+d\frac{ax + b}{cx + d}: a=6a = 6, b=1b = 1, c=2c = 2, d=−3d = -3.
Check yourself
What is the horizontal asymptote of the graph of y=5x+23x−1y = \frac{5x + 2}{3x - 1}?
Worked exampleThe graph of y=ax+32x+dy = \frac{ax + 3}{2x + d} has asymptotes x=4x = 4 and y=−3y = -3. Find aa and dd.

Try it first, then reveal one step at a time.

  1. Here the xx-coefficient on the bottom is c=2c = 2.
Check yourself
The graph of y=x−74x+10y = \frac{x - 7}{4x + 10} has a vertical asymptote x=kx = k. Find kk.

Sketching the graph

The graph of y=ax+bcx+dy = \frac{ax + b}{cx + d} has the same shape as y=1xy = \frac{1}{x}: two branches. They are moved so that they hug the new instead of the axes.

1. Draw both asymptotes as dashed lines. Label each with its equation.

2. Find the axis intercepts. If d≠0d \ne 0, the is (0,bd)\left(0, \frac{b}{d}\right). If d=0d = 0, there is none, because x=0x = 0 is then the vertical asymptote.

The graph meets the xx-axis where the top is 0. If a≠0a \ne 0, the is (−ba,0)\left(-\frac{b}{a}, 0\right). If a=0a = 0, the top is never 0, so there is no xx-intercept: y=9xy = \frac{9}{x} is an example.

3. The asymptotes split the plane into four regions. The branches lie in two opposite regions. Plot an intercept to see which pair.

4. Draw each branch through its points. It gets closer and closer to both asymptotes without touching them.

Learn this
y-intercept (0,bd)  (d≠0)x-intercept (−ba,0)  (a≠0)y\text{-intercept } \left(0, \frac{b}{d}\right) \; (d \ne 0) \qquad x\text{-intercept } \left(-\frac{b}{a}, 0\right) \; (a \ne 0)
Worked exampleLet f(x)=3x−6x+3f(x) = \frac{3x - 6}{x + 3}, for x≠−3x \ne -3. Find the axis intercepts, then sketch the graph of ff, showing its asymptotes.

Try it first, then reveal one step at a time.

  1. Asymptotes: the bottom is 0 at x=−3x = -3, and ac=31=3\frac{a}{c} = \frac{3}{1} = 3. So draw dashed lines x=−3x = -3 and y=3y = 3.
Sketch of y equals 3x minus 6 over x plus 3, with dashed asymptotes x equals minus 3 and y equals 3 x y x = −3 y = 3 (0, −2) (2, 0)
The sketch of y=3x−6x+3y = \frac{3x - 6}{x + 3}: dashed asymptotes with their equations, both intercepts marked, and two branches in opposite regions.
Check yourself
The graph of y=2x−5x−1y = \frac{2x - 5}{x - 1} has asymptotes x=1x = 1 and y=2y = 2. In which two regions do its branches lie?
Worked exampleLet f(x)=x+68−2xf(x) = \frac{x + 6}{8 - 2x}, for x≠4x \ne 4. (a) Write down the equations of the asymptotes of the graph of ff. (b) Find the axis intercepts. (c) Sketch the graph of ff. (d) Write down the of ff.

Try it first, then reveal one step at a time.

  1. (a) Reorder the bottom as −2x+8-2x + 8, so a=1a = 1, b=6b = 6, c=−2c = -2 and d=8d = 8.
Check yourself
The graph of y=x−93x−4y = \frac{x - 9}{3x - 4} meets the yy-axis at (0,k)(0, k). Find kk.

Inverses, self-inverse functions and models

Find the of ax+bcx+d\frac{ax + b}{cx + d} the usual way (2.5): write y=f(x)y = f(x), make xx the subject, then swap xx and yy. To make xx the subject, gather the xx terms on one side and factorise out xx.

Worked exampleLet f(x)=4x−3x+6f(x) = \frac{4x - 3}{x + 6}, for x≠−6x \ne -6. Find f−1(x)f^{-1}(x), and state its domain.

Try it first, then reveal one step at a time.

  1. Write y=4x−3x+6y = \frac{4x - 3}{x + 6} and multiply by x+6x + 6: y(x+6)=4x−3y(x + 6) = 4x - 3.

Compare the asymptotes. ff has x=−6x = -6 and y=4y = 4, while f−1f^{-1} has x=4x = 4 and y=−6y = -6. Reflecting in y=xy = x swaps them.

Worked exampleLet h(x)=3x+42x−3h(x) = \frac{3x + 4}{2x - 3}, for x≠32x \ne \frac{3}{2}. Show that (h∘h)(x)=x(h \circ h)(x) = x, and hence state h−1(x)h^{-1}(x).

Try it first, then reveal one step at a time.

  1. (h∘h)(x)=h(h(x))=3h(x)+42h(x)−3(h \circ h)(x) = h(h(x)) = \frac{3h(x) + 4}{2h(x) - 3}, where h(x)=3x+42x−3h(x) = \frac{3x + 4}{2x - 3}.
Check yourself
Which of these functions is self-inverse?
Check yourself
Let f(x)=2x+9x−7f(x) = \frac{2x + 9}{x - 7}, for x≠7x \ne 7. The graph of y=f−1(x)y = f^{-1}(x) has a vertical asymptote x=kx = k. Find kk.

These functions also model quantities that level off. The horizontal asymptote gives the limiting value.

Worked exampleMaya is learning to type. After tt weeks of practice, her speed is modelled by S(t)=60t+20t+4S(t) = \frac{60t + 20}{t + 4} words per minute. Her brother's speed is modelled by B(t)=15+4tB(t) = 15 + 4t words per minute. Both models apply for 0≤t≤100 \le t \le 10. (a) State the horizontal asymptote of the graph of SS as an equation, and interpret it. (b) Use your calculator to find the values of tt for which their speeds are equal. Give your answers to 3 s.f.

Try it first, then reveal one step at a time.

  1. (a) ac=601\frac{a}{c} = \frac{60}{1}, so the horizontal asymptote is S=60S = 60.
Check yourself
In the same model, find the value of tt at which Maya's speed is 40 words per minute.

Common mistakes

  • Writing an asymptote as a number, or as x≠…x \ne \ldots. Asymptotes are lines, so write equations such as x=2x = 2 and y=−1y = -1.
  • Dividing the constant terms for the horizontal asymptote. It comes from the xx-coefficients: y=acy = \frac{a}{c}.
  • Losing a minus sign when the bottom is written like 8−2x8 - 2x. Reorder it as −2x+8-2x + 8 first, so you see that c=−2c = -2.
  • Drawing the branches in the wrong pair of regions, or letting a branch cross the horizontal asymptote. Place an intercept first, and keep each branch on one side of each asymptote.
  • Writing the range with ≤\le or ≥\ge, or as only one side of the asymptote. The value ac\frac{a}{c} is never reached, but values on both sides are: write y≠acy \ne \frac{a}{c}.
  • Giving the domain of f−1f^{-1} as the domain of ff. It is the range of ff: x≠acx \ne \frac{a}{c}.

Exam tips

  • "Write down" the asymptotes: no working is needed, but each must be a full equation, x=…x = \ldots or y=…y = \ldots.
  • "Sketch": label both asymptotes with their equations and each intercept with its value. A correct shape with missing labels loses marks.
  • "Find f−1(x)f^{-1}(x)": show each rearranging line and end with f−1(x)=…f^{-1}(x) = \ldots in terms of xx. If asked for its domain, use the range of ff.

Key takeaways

Learn thisy=ax+bcx+d:vertical asymptote x=−dc,horizontal asymptote y=acy = \frac{ax + b}{cx + d}: \quad \text{vertical asymptote } x = -\frac{d}{c}, \quad \text{horizontal asymptote } y = \frac{a}{c}
Learn thisy-intercept (0,bd)  (d≠0)x-intercept (−ba,0)  (a≠0)y\text{-intercept } \left(0, \frac{b}{d}\right) \; (d \ne 0) \qquad x\text{-intercept } \left(-\frac{b}{a}, 0\right) \; (a \ne 0)
Learn thisy=1xy = \frac{1}{x}: two branches, asymptotes x=0x = 0 and y=0y = 0, domain x≠0x \ne 0, range y≠0y \ne 0. It is self-inverse: f−1(x)=1xf^{-1}(x) = \frac{1}{x}.
Learn thisDomain x≠−dcx \ne -\frac{d}{c}, range y≠acy \ne \frac{a}{c}. The graph never meets its asymptotes.
Learn thisTo sketch: dashed asymptotes with equations, both intercepts, then two branches in opposite regions. Place an intercept to choose the regions.
Learn thisReflecting in y=xy = x swaps the asymptotes. ax+bcx+d\frac{ax + b}{cx + d} is self-inverse exactly when a=−da = -d.

Practise this

5 past-paper questions on 2.8 in the AA HL bank, each with a mark scheme and a worked explanation.

Practise 2.8 →