Rational Functions with Quadratics
You already know how to graph a linear expression over a linear expression from graphs of rational functions. This page puts a quadratic into the fraction, either on the bottom or on the top. A quadratic on the bottom can give two vertical asymptotes (or none). A quadratic on the top gives a slanted oblique asymptote instead of a horizontal one. In every case, IB sketches must show all asymptotes and all intercepts with the axes.
Key ideas
Section titled “Key ideas”Two forms
Section titled “Two forms”The reciprocal function of a linear or quadratic is a special case of these (numerator ).
Vertical asymptotes
Section titled “Vertical asymptotes”The graph has a vertical asymptote wherever the denominator is and the numerator isn’t. For Type 1, the denominator is a quadratic, so check its discriminant :
| Discriminant of the denominator | Vertical asymptotes |
|---|---|
| positive | two |
| zero | one (both sides of it go the same way, because the squared factor doesn’t change sign) |
| negative | none: the graph is one unbroken curve |
If the numerator is also at a zero of the denominator, the factor cancels and you get a hole instead of an asymptote.
Horizontal asymptote (Type 1)
Section titled “Horizontal asymptote (Type 1)”When the denominator has the higher degree, the fraction gets close to for large :
So the horizontal asymptote is , the -axis. Unlike the linear-over-linear case, the graph can cross this asymptote: it does so at its -intercept, .
Oblique asymptote (Type 2)
Section titled “Oblique asymptote (Type 2)”When the numerator’s degree is one more than the denominator’s, use polynomial division:
For large the remainder fraction gets close to , so the graph gets close to the line . That line is the oblique (slant) asymptote. There’s no horizontal asymptote.
The sign of tells you which side of the line the graph is on: above the line where the fraction is positive, below where it’s negative.
Intercepts
Section titled “Intercepts”- -intercept: , if the denominator isn’t at .
- -intercepts: where the numerator is . For Type 2 the numerator is a quadratic, so there may be two, one or none.
Behaviour near a vertical asymptote
Section titled “Behaviour near a vertical asymptote”Near , the numerator is close to a fixed non-zero number and the denominator is tiny, so is huge. Test a value just to the left and just to the right of to see whether the graph goes up or down on each side. A sign chart of the factors does the same job for every interval at once.
Steps for sketching
Section titled “Steps for sketching”- Factor the numerator and denominator (cancel any common factor and note the hole).
- Find the vertical asymptotes, and the horizontal or oblique asymptote. Draw them as dashed lines.
- Find and plot the intercepts.
- Work out the sign of on each interval (or test points near each asymptote).
- Draw each branch through its points, approaching the asymptotes. Use your GDC to check the shape and to find any turning points.
Worked examples
Section titled “Worked examples”Example 1: Two vertical asymptotes
Section titled “Example 1: Two vertical asymptotes”Sketch , showing all asymptotes and intercepts.
Solution. Factor the denominator: .
- Vertical asymptotes: and (the numerator is and there, not ).
- Horizontal asymptote: , since the denominator has the higher degree.
- -intercept: , so .
- -intercept: , so .
Sign chart. The sign can only change at , and :
| Interval | ||||
|---|---|---|---|---|
So: on the far left the graph is just below the -axis and drops down beside . The middle branch comes down from the top beside , crosses the -axis at (crossing the horizontal asymptote!), passes through and drops down beside . The right branch comes down from the top beside and levels off just above the -axis.
Example 2: No vertical asymptotes
Section titled “Example 2: No vertical asymptotes”Sketch , and use technology to find its range.
Solution.
- Vertical asymptotes: none. for every (its discriminant is ), so the graph is one unbroken curve.
- Horizontal asymptote: .
- Intercepts: -intercept ; -intercept .
- Sign: the denominator is always positive, so has the sign of : negative for , positive for .
The GDC “minimum” and “maximum” tools give a local minimum at and a local maximum at (3 s.f.).
So the graph starts just below the -axis on the far left, dips to its minimum, rises through and to its maximum, and then falls back toward the -axis from above.
Range: . (In exact form, the turning points are at and the range is , which you can find later with calculus.)
Example 3: An oblique asymptote
Section titled “Example 3: An oblique asymptote”Sketch , showing all asymptotes and intercepts.
Solution. Divide. , so
- Vertical asymptote: .
- Oblique asymptote: .
- -intercepts: , so and .
- -intercept: .
Near the asymptotes. For just above , is large and negative, so the graph plunges down; just below , it shoots up. For the fraction is negative, so the graph is below the line ; for it is above the line.
There’s no horizontal asymptote: the graph follows the slanted line upward on the right and downward on the left.
Example 4: Oblique asymptote with turning points
Section titled “Example 4: Oblique asymptote with turning points”Let . Find all asymptotes and intercepts, and use technology to find the turning points.
Solution. Divide by : the quotient is and the remainder is . Check: ✓.
- Vertical asymptote: . Oblique asymptote: .
- -intercepts: , so and .
- -intercept: .
- Near : and , so the right branch comes down from the top and the left branch goes down to the bottom.
- Side of the oblique asymptote: for , so the right branch is above ; the left branch is below it.
The GDC gives a local minimum at on the right branch and a local maximum at on the left branch (3 s.f.).
So the right branch is a “U” shape between the vertical asymptote and the oblique asymptote, with its lowest point at , and the left branch is an upside-down “U” with its highest point at .
Common mistakes
Section titled “Common mistakes”Giving a horizontal asymptote when there’s an oblique one. If the numerator’s degree is one more than the denominator’s, there’s no horizontal asymptote. Divide to find the oblique asymptote instead.
Using only the quotient’s term. The oblique asymptote is the whole quotient. For above it’s , not .
Thinking the graph can’t cross the horizontal asymptote. For Type 1 functions, the graph crosses at its -intercept. Asymptotes describe what happens far away, not near the middle.
Missing that a quadratic denominator has no zeros. Check the discriminant before writing down vertical asymptotes. has no real solutions, so has no vertical asymptotes at all.
Forgetting to check for a common factor. If the numerator and denominator share a factor, there’s a hole, not an asymptote, at that -value.
Leaving off intercepts or asymptote equations. IB mark schemes expect every asymptote labelled with its equation and every axis intercept labelled with its coordinates.
Practice
Section titled “Practice”1. (Warm-up) State the equations of all asymptotes of , and find its intercepts.
Solution
, and the numerator isn’t at , so the vertical asymptotes are and . Horizontal asymptote .
-intercept: , so . -intercept: , so .
2. (Warm-up) Find the equations of the asymptotes of .
Solution
Divide: , so
Vertical asymptote ; oblique asymptote .
3. (Warm-up) Explain why has no vertical asymptotes. What is its horizontal asymptote?
Solution
The denominator has discriminant , so it’s never and the function is defined for every real .
The denominator has the higher degree, so the horizontal asymptote is .
4. (Core) Sketch , showing all asymptotes and intercepts. Describe its symmetry.
Solution
: vertical asymptotes and . Horizontal asymptote . The only intercept is the origin .
Signs (from the factors , , ): negative for , positive for , negative for , positive for .
So the left branch is just below the -axis and drops beside ; the middle branch comes down from the top beside , passes through the origin, and drops beside ; the right branch comes down from the top beside and levels off just above the -axis.
Replacing by gives , so the function is odd: the graph has rotational symmetry of order about the origin.
5. (Core) Sketch , showing all asymptotes and intercepts, and state on which side of the oblique asymptote each branch lies.
Solution
Divide: , so
Vertical asymptote ; oblique asymptote .
-intercepts: , so and . -intercept: , so .
For , , so the right branch is below : it comes up from the bottom beside , passes through and , and approaches the line from below. For , the fraction is positive, so the left branch is above the line: it follows the line on the far left, passes through , and shoots up beside .
6. (Core) Find the equations of the asymptotes of , and show that the graph has no -intercepts.
Solution
Divide by . First term: , and , leaving . Next term: , and , leaving .
Vertical asymptote ; oblique asymptote .
-intercepts need , whose discriminant is . So there are none.
7. (Core) The graph of has oblique asymptote . Find and , and write as a linear function plus a fraction.
Solution
The quotient when the numerator is divided by must be , so
Comparing coefficients: , , and , so .
8. (Challenge) Let .
- (a) For which values of does the graph have only one vertical asymptote?
- (b) Describe the graph when .
Solution
(a) The denominator is at . A zero of the denominator gives a hole instead of an asymptote if the numerator is also there: or . So or .
(b) With :
The graph is the reciprocal graph (vertical asymptote , horizontal asymptote , -intercept ) with a hole at .
9. (Challenge) Let .
- (a) State the equations of the asymptotes.
- (b) By writing as a quadratic equation in , show that the graph never takes values between and . Hence state the range and the turning points.
Solution
(a) , so the vertical asymptote is and the oblique asymptote is .
(b) Multiply by : , so . For a given , there is a point on the graph at that height only if this quadratic in has a real solution, which needs
So the range is . The extreme heights happen when the discriminant is , giving the single solution : a local minimum at and a local maximum at . Check: ✓ and ✓.
Homework
Section titled “Homework”Try these independently after the practice questions. Show your setup and explain your reasoning. Use exact answers where possible, and check that your answers fit the question. Homework solutions are not provided on the published site.
When a question asks for a sketch, label every asymptote with its equation and every axis intercept with its coordinates.
Foundations
Section titled “Foundations”H1. (Foundations) Without a calculator, find the equations of all asymptotes of , and find its intercepts with the axes.
H2. (Foundations) Let .
- (a) Use division to write in the form .
- (b) State the equations of the asymptotes of the graph of .
- (c) Find the -intercept.
H3. (Core) Let .
- (a) Factor the denominator and simplify .
- (b) State the equations of all asymptotes, and give the coordinates of the hole.
- (c) The numerator is when . Explain why the graph still has no -intercept.
H4. (Core) Let .
- (a) State the equations of the asymptotes and find the intercepts.
- (b) Work out the sign of on each side of . Explain why both sides of the vertical asymptote go in the same direction.
- (c) Use your GDC to find the turning point. Then describe the sketch in words, including where the graph crosses its horizontal asymptote.
H5. (Core) Let .
- (a) Find the equations of the vertical and oblique asymptotes.
- (b) Find the intercepts with the axes.
- (c) State on which side of the oblique asymptote each branch lies, and describe what each branch does beside .
- (d) Use your GDC to confirm that the graph has no turning points. Hence describe the sketch in words.
H6. (Core) (IB style) A print shop in Sherbrooke makes custom T-shirts. In a hypothetical model, the total cost of printing shirts is dollars, so the average cost per shirt is
- (a) Write as a linear expression plus a fraction. Hence state the equations of the asymptotes of the graph of .
- (b) Explain what the oblique asymptote means for the shop when is very large.
- (c) Use your GDC to find the number of shirts that gives the lowest average cost, and that lowest cost.
- (d) Without a calculator, find the range of values of for which the average cost is at most $11 per shirt.
Challenge
Section titled “Challenge”H7. (Challenge) The graph of has a vertical asymptote , an oblique asymptote , and -intercept .
- (a) Find , , and .
- (b) Find the -intercepts of the graph.
- (c) State on which side of the oblique asymptote the graph lies for . Explain.
H8. (Challenge) Let .
- (a) Explain why the graph has no vertical asymptotes, and state its horizontal asymptote.
- (b) Write as a quadratic equation in . By considering its discriminant, show that the graph never takes values greater than or less than .
- (c) Hence state the range of and find the coordinates of the turning points, without a calculator.
H9. (Challenge) Rowan is asked for the asymptotes of . He divides, gets with remainder , and writes: “The vertical asymptote is and the oblique asymptote is .”
- (a) Explain what is wrong with Rowan’s answer, and describe the graph correctly.
- (b) Find all values of for which has a vertical asymptote. For those values, what is the oblique asymptote?
H10. (Challenge) Let , where is a constant.
- (a) Take . Show that the graph never takes any value strictly between and , and find the turning points.
- (b) Find all values of for which the range of is all real numbers. Be careful with the value of that makes the numerator and denominator share a factor.