Educerie · IB Diploma · Mathematics: analysis and approaches
IB Mathematics AA 2.8 · SL and HL
The reciprocal function and rational functions
What does a graph look like when is in the denominator, and how do you find its asymptotes and intercepts without drawing it first?
What you will learn
- Know the graph of y = 1 ÷ x, its two branches, its asymptotes, domain and range.
- Understand why 1 ÷ x is self-inverse and why its graph is symmetric in y = x.
- Know that ax + b ÷ cx + d has vertical asymptote x = −d ÷ c and horizontal asymptote y = a ÷ c.
- Understand how intercepts and asymptotes fix where the two branches of a rational graph lie.
You must be able to
- Write down the equations of the vertical and horizontal asymptotes of a rational function.
- Sketch a rational function, labelling its asymptotes and intercepts with the axes.
- Find the inverse of a rational function and state its domain and range.
- Show that a function such as 1 ÷ x is self-inverse.
- Find the constants of a rational function from its asymptotes and a point.
- Interpret the horizontal asymptote of a rational model in context.
In the exam. Paper 1, often: "write down the equations of the asymptotes" (2 marks), "sketch the graph of , showing the asymptotes and intercepts" (3 to 5 marks), "find " for a rational (4 marks). Paper 2 sets rational models in context, an average cost, a concentration, where the horizontal asymptote is the long-run value and a question asks you to interpret it.
1The reciprocal function and its stretches
| undefined |
As gets close to , becomes huge: , and . The graph shoots up on the right and down on the left, so the line (the -axis) is a vertical asymptote.
As gets large, positive or negative, gets close to without reaching it: . So the line (the -axis) is a horizontal asymptote.
In symbols, read as "tends to":
- As (from the right), .
- As (from the left), .
- As , from above.
- As , from below.
"Tends to": the graph gets as close as you like but never arrives.
Figure 1 is a rectangular hyperbola. Key facts:
| Feature | For |
|---|---|
| Domain | , |
| Range | , |
| Vertical asymptote | |
| Horizontal asymptote | |
| Intercepts | none |
| Symmetry | in the lines and , and rotational symmetry of order 2 about the origin |
The branches lie in the first quadrant ( and both positive) and the third (both negative). Positive numbers have positive reciprocals, negative ones negative.
The family , = a vertical stretch of by factor . It has the same asymptotes, domain and range, but lies further out.
Example: passes through instead of (Figure 2(a)). If , the branches move into the second and fourth quadrants.
To place quickly, use these points:
- It passes through and .
- It passes through and .
- One labelled point on each branch is enough.
Finding . If the curve passes through , then , so . The equation is . Since , the branches are in the second and fourth quadrants, which fits a point with negative and positive .
2The reciprocal function is its own inverse
A function is self-inverse if : doing it twice gets you back where you started. The reciprocal function is self-inverse. Three ways to see it:
By composition. , for every . Since is the identity, undoes itself.
By the swap method of 2.5. Write and swap and : . Rearranging gives , the same function.
By the graph. The graph of is the reflection of the graph of in . Figure 1 is symmetric in . The point reflects to , which is also on the curve. So the reflection is the same curve.
The same is true of for any constant . Swap and and you get , so again. Section 6 shows which other rational functions are self-inverse.
is self-inverse: , so . Its graph is symmetric in the line .
3Moving the reciprocal:
Every graph on this page is after a stretch and a translation (2.11).
is translated to the right and up. The asymptotes move with it, to and .
Example: for (Figure 2(b)), the asymptotes are and . The intercepts come from the usual rules:
- At , .
- when , so and .
The same reading works for any . The vertical asymptote is where , that is . The horizontal asymptote is .
Example: has asymptotes and . Read them straight off; do not expand first.
For the right branch is above . For it is below.
From split to combined. Put over one denominator: . That is the form , where the next section starts.
The two forms are the same function written two ways. The combined form shows the intercepts quickly. The split form shows the asymptotes and the branches.
From combined to split. Write the numerator as a multiple of the denominator plus a remainder. For : , so .
The asymptotes and are now visible. The is negative, so the branches are flipped from those of . The right branch is below , and the left branch above it.
4Rational functions
A rational function in this course has the form
, with , .
Its graph is the hyperbola of Figure 1, moved and stretched. The numbers , , and give all a sketch needs.
The vertical asymptote is
- The denominator is zero when . The function is undefined there.
- Near it the denominator is tiny, so the output is huge.
The horizontal asymptote is
- For very large , the constants and hardly matter. So behaves like .
- Precisely, divide top and bottom by : . As , both and go to , leaving .
The -intercept is , found by putting (if ).
The -intercept is , found by setting the numerator to zero (if ). A fraction is zero only when its top is zero.
- The -value is also called the zero of : the solution of . Do not confuse it with , which is the -intercept.
For : vertical asymptote , horizontal asymptote .
The domain is and the range is . The function takes every value except the one it approaches forever.
Worked example. Sketch . Here , , , .
Now place the branches. Draw the two asymptotes as dashed lines. They cross at and divide the plane into four regions.
Both intercepts are in the bottom-left region, so one branch lives there. The other is in the opposite region, top right. A test point confirms it: , above . Figure 3 shows the sketch.
Why the branches go where they do
- Dividing out gives . Check: . So the graph is plus a reciprocal-type term.
- When (right of the vertical asymptote), the extra term is positive. The curve is above .
- To the left, the extra term is negative. The curve is below .
- That one line of algebra places the branches without a test point.
Behaviour near the asymptotes. From :
- As , .
- As , .
- As , from above.
- As , from below.
That is "correct asymptotic behaviour" on a sketch: each branch bends towards both its asymptotes.
Special cases.
- If , the function is . The horizontal asymptote is . There is no -intercept, because the numerator is never zero. For example has asymptotes and and -intercept .
- If , the vertical asymptote is , the -axis. There is no -intercept. For example has asymptotes and , and its -intercept is .
- If the top is a multiple of the bottom, as in , the fraction cancels to a constant. There is no hyperbola, only the line with a gap at . Exams avoid this case. It is why the curve always needs .
5Signs, equations and inequalities
Sign diagrams. A rational function changes sign only in two places:
- where the numerator is zero (it crosses the axis),
- where the denominator is zero (it jumps across the asymptote).
Mark those two -values, then test one point in each gap. For , the markers are (undefined) and (zero):
| test value | |||
| sign of |
So for . The pattern is , not the you might expect. Test; do not guess.
The test values also show the asymptote: as and as .
Never multiply such an inequality by without splitting into the cases and . The sign diagram avoids this.
Equations and inequalities from the graph. Go back to Figure 3, .
- Solving . Multiply up (allowed, since ). Then , so and . Check: .
- Horizontal lines. A line meets the graph once for every , and never for . So has no solution. That is the range again.
- Inequalities. Read where the curve is above or below the line. Things can change only at the zero, the vertical asymptote and solutions of the matching equation.
The inequalities for this graph:
- is the right-hand branch, .
- is the top of that branch: , open at the asymptote.
- is the part below the -axis, between the zero and the asymptote: .
When a question says "hence", it wants this reading off the sketch, not a fresh algebraic solution.
6The inverse of a rational function
Find the inverse of by the method of 2.5. One extra step: appears twice, so collect the terms and factorise.
The inverse is also a rational function. Its asymptotes, and , are those of with and swapped.
The graph of is the reflection of in . So a vertical asymptote of becomes a horizontal asymptote of , and the other way round. Figure 4 shows both graphs.
Quick check: the range of , , is the domain of , .
Which rational functions are self-inverse? A graph that is its own reflection in must have its asymptotes cross on the line . The crossing point is . So this needs , that is .
The condition is enough. Swap and in . Then , so and . That is the same function again.
As always, , here , or the "function" is a constant with a hole.
Example: has and , and indeed:
To show a function is self-inverse in an exam, find and show it equals , or show that simplifies to .
7Finding the equation from its features
Given the asymptotes and a point, start from the split form, which holds the asymptotes directly.
Example: the asymptotes are and , and the curve passes through . Write . At : , so . The function is , which combines to .
Check the zero: , left of the asymptote, where the curve is above because is positive there. So is consistent.
If the form is fixed, say , the vertical asymptote gives , the horizontal one , and the point (Q4).
8Rational functions in context
Rational functions model anything shared out: a fixed cost spread over more items, a dose spread through a growing volume. The horizontal asymptote is the long-run value, and it usually has a meaning worth stating.
Example: a small firm prints T-shirts. It pays €600 to set up a design, then €4 for each shirt. The average cost per shirt for shirts is
.
Figure 5 shows the graph for . At the average cost is €10. At it is €5.
The horizontal asymptote is . However many shirts are printed, the shared setup cost shrinks towards nothing. The average cost falls towards the €4 to make each shirt, never reaching it.
The vertical asymptote has no practical meaning, since you cannot print zero shirts. The domain is .
An average cost of €7 needs , so .
A question might ask how many shirts are needed for an average cost below €4.80. Then , so , so : at least 751 shirts.
Multiplying by was allowed because is positive. A negative multiplier flips an inequality.
Practice questions
55 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.