This whole subtopic is higher level. Nothing in it is on an SL paper.
Educerie · IB Diploma · Mathematics: analysis and approaches
IB Mathematics AA 2.13 · HL only
Rational functions of the form (ax + b)/(cx² + dx + e) and (ax² + bx + c)/(dx + e)
When a fraction has a linear expression over a quadratic, or a quadratic over a linear one, what do its asymptotes look like, and how do you sketch the whole graph and find its range without plotting?
What you will learn
HL Know how to find the vertical, horizontal and oblique asymptotes of these rational functions
HL Understand why linear over quadratic tends to zero and quadratic over linear settles onto a sloping line
HL Know how sign changes and repeated factors decide the behaviour of the graph near each asymptote
HL Understand how the range can have a gap, and how to find it
You must be able to
HL Write down the equations of all the asymptotes of a rational function
HL Express a quadratic over a linear function as a line plus a remainder fraction
HL Sketch the graph, showing every asymptote and intercept and the correct behaviour near each asymptote
HL Find the range, using the discriminant or the turning points from the GDC
HL Find the intercepts of the graph with the axes
HL Find unknown constants from given asymptotes or points
In the exam. both papers, Paper 2 more often, usually 5 to 8 marks: "write down the equations of all asymptotes", "express f(x) in the form Ax+B+dx+eC", "sketch the graph of f, showing all asymptotes and intercepts", "find the range of f". Paper 2 adds the GDC for turning points and ranges. The same functions return in HL calculus, where you differentiate them for turning points and integrate the divided form.
1Which asymptotes? Read them from the degrees
Two rules find every asymptote in this subtopic.
Vertical:x=k for every real k that makes the denominator zero while the numerator stays non-zero. Near such a k you divide by something tiny, so the output is enormous, positive or negative.
Long-run: compare the degree of the top with the degree of the bottom.
Top lower: the line y=0.
Equal degrees (the SL case):y=ca, the ratio of leading coefficients.
Top one higher: an oblique line, found by division.
Top two or more higher: no straight-line asymptote at all. This subtopic never asks for one.
For large ∣x∣ the leading terms dominate.
cx2+dx+eax+b behaves like cx2ax=cxa, which tends to 0.
dx+eax2+bx+c behaves like dxax2=dax. That is a line of gradient da, growing without limit.
The leading terms give only the gradient. The full line needs section 2's division.
Figure 1 · Reading the asymptotes from the degrees
2Quadratic over linear: divide, and the oblique asymptote
Start by dividing. The target form is
f(x)=Ax+B+dx+eR
Here Ax+B is the quotient and R is a constant remainder. As x→±∞, dx+eR→0. So the graph closes in on the line y=Ax+B.
The vertical asymptote is x=−de, provided the numerator is not zero there. That happens exactly when R=0.
Worked example 1 · finding the oblique asymptote (Paper 1). Let f(x)=x−2x2+2x−3. Compare coefficients, as in 2.12:
Multiplying back catches nearly every slip: (2x−3)(x+5)+16=2x2+7x−15+16. Correct.
Worked example 3 · fractional coefficients. If d does not divide a, the gradient da is a fraction. The intercept usually is too. Do not hunt for whole numbers.
Take f(x)=2x+35x2+2x−4. Start from the gradient, the ratio of leading terms: A=25. Get B from the x terms:
5x2+2x−4=(2x+3)(Ax+B)+Rx2:2A=5,so A=25x:3A+2B=2,so 2B=−211 and B=−411constant:3B+R=−4,so R=417f(x)=25x−411+4(2x+3)17
The oblique asymptote is y=25x−411. The vertical asymptote is x=−23.
A third route skips the remainder. Once you know A, the intercept is a limit: B=x→∞lim(f(x)−Ax). Here f(x)−25x=2(2x+3)−11x−8→−411.
Long division, comparing coefficients and the limit are all valid. Use the one you trust. Whatever you do, finish with an equation that starts y=.
3Linear over quadratic: cx2+dx+eax+b
The bottom outgrows the top, so the horizontal asymptote is y=0. The vertical asymptotes come from factorising the denominator. The difficulty is how many: two, one, or none.
Worked example 4 · two vertical asymptotes (Paper 1). Sketch y=x2−x−6x+1.
denominator: x2−x−6=(x−3)(x+2)zero at x=3 and x=−2numerator at those points: 4 and −1neither is zero, so both are asymptotesvertical asymptotes: x=3,x=−2domain: x∈R,x=−2,x=3every real number except the zeros of the denominatorhorizontal asymptote: y=0top degree 1, bottom degree 2x-intercept: x+1=0, so (−1,0)y-intercept: x=0 gives −61, so (0,−61)
The function can change sign only where the top or the bottom is zero: at −2, −1 and 3. Test one value in each interval, or count the negative factors:
Interval
x+1
x+2
x−3
Sign of y
x<−2
−
−
−
−
−2<x<−1
−
+
−
+
−1<x<3
+
+
−
−
x>3
+
+
+
+
That table is the sketch.
Far left.y is small and negative. The curve sits just below y=0 and plunges to −∞ at x=−2.
In the middle. Just right of −2 it comes down from +∞. It crosses the axis at −1, passes (0,−61) and plunges to −∞ at x=3.
Far right. Right of 3 it comes down from +∞ towards y=0, staying above it.
In symbols:
x→−2−:y→−∞x→−2+:y→+∞x→3−:y→−∞x→3+:y→+∞x→−∞:y→0−x→+∞:y→0+0− means "from below", 0+ "from above"
Figure 3 is the result.
Figure 3 · y = x + 1 ÷ x² − x − 6
The middle branch crosses the horizontal asymptote at (−1,0). That is allowed.
A horizontal asymptote describes the ends, x→±∞, not the middle. For this family the crossing is always at the x-intercept, because the asymptote is the x-axis itself.
No real roots below: no vertical asymptote
If the discriminant of cx2+dx+e is negative, the bottom is never zero. The graph is one unbroken curve with a maximum and a minimum.
Example: Figure 4(a) shows y=x2+3x+1. Since x2+3≥3, the denominator never vanishes.
The intercepts are (−1,0) and (0,31), and the asymptote is y=0. The turning points are (1,21) and (−3,−61). The GDC finds them on Paper 2. Section 5 finds the range without any calculator.
When a question says show there is no vertical asymptote, prove the denominator is never zero. Then say so.
Example: for x2−2x+10, Δ=4−40=−36<0. Or write x2−2x+10=(x−1)2+9≥9. Then write "the denominator is never zero, so there is no vertical asymptote".
A repeated factor: same sign on both sides
For y=(x−1)2x+2 the only vertical asymptote is x=1. The factor (x−1)2 is positive on both sides.
Near x=1 the numerator is about 3. So y→+∞ from both sides, as Figure 4(b) shows. A repeated factor in the denominator is the double root of rational functions: no change of sign.
Figure 4 · When the denominator has no real roots, or a repeated one
The reciprocal function is a particular case
x1 fits dx+eax2+bx+c with a=b=0, c=1, d=1, e=0. Its vertical asymptote is x=0 and its "oblique" asymptote is the line y=0.
Reflecting its graph in y=x gives the same graph. That is why x1 is its own inverse (2.14).
The reciprocal of a quadratic, such as x2−91, is the other family with a=0. Its asymptotes are x=±3 and y=0.
Quick route to its turning point: q(x)1 turns at the same x as q(x), and a minimum of q becomes a maximum.
The vertex of x2−9 is at x=0, where q=−9. So the middle branch has a local maximum at (0,−91). The outer branches have no turning points.
A shared factor is a hole, not an asymptote
In x2−9x+3=x−31 for x=−3, there is no asymptote at x=−3. There is only a missing point (a hole) at (−3,−61).
That is why the rule says "denominator zero and numerator non-zero". Check for it.
4Sketching: the full procedure
A sketch earns marks for these:
the correct shape of each branch
every asymptote drawn dashed and labelled with its equation
every intercept labelled as coordinates
Turning points are labelled only if the question asks.
Factorise the denominator. Its real zeros give the vertical asymptotes. Check the numerator is not also zero there.
Compare degrees: y=0, y=ca, or divide for the oblique asymptote.
Intercepts: y-intercept f(0); x-intercepts from numerator =0.
Signs: use the zeros of top and bottom to split the x-axis and find the sign in each interval. A single factor changes sign. A squared factor does not.
Near each vertical asymptote, the signs on each side say whether the curve goes to +∞ or −∞.
Far out, the sign of the remainder term says which side of the asymptote the curve approaches from. In the linear-over-quadratic family, use the sign of y itself.
Join up, without crossing a vertical asymptote and without turning back across an oblique one. Each branch must bend towards its asymptotes, never away. Draw every branch: two vertical asymptotes give three branches, one gives two.
Check the domain. Unless told otherwise it is every real x except the zeros of the denominator. If the question restricts it, for example −1<x<1 or −50≤x≤50, draw only that part. An intercept outside the domain does not exist.
Worked example 5 · the whole procedure on a quadratic over a linear (Paper 1). Sketch f(x)=x−1x2−2x−8.
x2−2x−8=(x−4)(x+2)the numerator factorises: no common factor with x−1vertical asymptote: x=1x2−2x−8=(x−1)(x−1)−9dividing, quotient x−1, remainder −9f(x)=x−1−x−19,oblique asymptote y=x−1x-intercepts: (4,0),(−2,0)y-intercept: f(0)=8,(0,8)
Signs, using (x−4)(x+2) over (x−1):
x<−2: top positive, bottom negative, so f<0.
−2<x<1: both negative, so f>0.
1<x<4: top negative, bottom positive, so f<0.
x>4: f>0.
So f→+∞ as x→1− and f→−∞ as x→1+.
For the sides of the line, look at the remainder term −x−19.
It is positive for x<1: the left branch lies abovey=x−1.
It is negative for x>1: the right branch lies below it.
The left branch rises through (−2,0) and (0,8) and shoots up beside x=1. The right branch starts at the bottom beside it, climbs through (4,0) and runs up under the line. Neither branch turns, which already hints that the range has no gap (section 5).
5The range, and the gap in the middle
Functions of the quadratic-over-linear family sometimes miss a whole band of y-values.
Figure 5 shows y=x−1x2+3=x+1+x−14.
The left branch rises to a maximum at (−1,−2) and falls away. The right branch falls to a minimum at (3,6) and rises. Nothing between is reached. The range is y≤−2 or y≥6.
Figure 5 · y = x² + 3 ÷ x − 1 never takes values between −2 and 6
On Paper 2 you read the turning points off the GDC. On Paper 1 there is an algebraic method needing no calculus: the discriminant method. It asks for which values of y the equation y=f(x) has a real solution x.
Worked example 6 · range by the discriminant (Paper 1). Find the range of f(x)=x−1x2+3.
y=x−1x2+3y(x−1)=x2+3multiply up; x=1x2−yx+(y+3)=0a quadratic in xreal x needs Δ≥0:y2−4(y+3)≥0y2−4y−12≥0(y−6)(y+2)≥0y≤−2ory≥6
The boundary values come from Δ=0: one repeated x. That is exactly a turning point. y=6 gives x2−6x+9=0, so x=3. y=−2 gives x2+2x+1=0, so x=−1.
The method works for the first family too. For y=x2+3x+1, multiplying up gives yx2−x+(3y−1)=0. For y=0 this is a quadratic in x.
Real roots need 1−4y(3y−1)≥0. That is 12y2−4y−1≤0, or (6y+1)(2y−1)≤0. So −61≤y≤21.
y=0 is included as well, since x=−1 gives it. That is the range of Figure 4(a).
Quote endpoints with ≤ and ≥. Turning points are values the function reaches, so a strict inequality is wrong. On Paper 2 the endpoints come from the GDC to 3 s.f.
Gap or no gap
Write f(x)=Ax+B+x−hk, where k=dR and h=−de come from the division.
There are turning points, and so a gap in the range, exactly when A and k have the same sign. The right-hand branch sits above a rising line, or below a falling one, and has to turn.
If they have opposite signs, each branch climbs (or falls) all the way. The range is all real numbers.
Example: y=xx2−4=x−x4 has A=1, k=−4. The method confirms it: x2−yx−4=0 has Δ=y2+16>0 for every y.
Two vertical asymptotes
In Worked example 4 the middle branch runs from +∞ down to −∞. A continuous curve between those passes through every value: the range is all real numbers.
The method agrees: yx2−(y+1)x−(6y+1)=0 has Δ=25y2+6y+1. Its own discriminant 36−100 is negative, so Δ>0 for every y.
When the middle branch instead runs from +∞ to +∞ or −∞ to −∞, as for x2−91, it has a turning point. Then the range has a gap.
Meeting a line
A horizontal line y=k meets the curve exactly when k is in the range. A sloping line works the same way. Clear the denominator, and the discriminant counts the meeting points.
Example: take f(x)=x−1x2+3 and the line y=mx−1. Then x2+3=(mx−1)(x−1) becomes (1−m)x2+(m+1)x+2=0.
This has Δ=(m+1)2−8(1−m)=m2+10m−7.
They do not meet when Δ<0: −5−42<m<−5+42.
At m=1 the line is parallel to the asymptote y=x+1. The equation drops to 2x+2=0: one meeting point, at x=−1.
Two cautions.
Solve the inequality from Δ like any quadratic inequality (2.7). Sketch the parabola in y if the direction is unclear.
If the coefficient of x2 can be zero for some y (or m), check that value separately, as above.
6Finding unknown constants from asymptotes
Exam questions run the pattern backwards: give the features, ask for the coefficients. Translate each feature into an equation.
Worked example 7 · unknowns in the numerator and denominator (Paper 1). The graph of y=x−2x2+px+q has oblique asymptote y=x+5 and meets the y-axis at (0,−4). Find p and q.
x2+px+q=(x−2)(x+B)+Rthe quotient has A=1; the asymptote says B=5x terms: p=B−2=3y-intercept: −2q=−4,so q=8check: (x−2)(x+5)+18=x2+3x+8remainder R=18
A second pattern gives "vertical asymptotes at given places". Zeros of the denominator at x=r1 and x=r2 mean the denominator is (x−r1)(x−r2) up to a constant factor. Fix that factor with a given point.
The last step is always the same: check the numerator is not also zero at those values, or you have built a hole.
7With technology
The guide suggests dynamic graphing software for exploring these functions. Paper 2 expects the GDC.
Graph the function. Graph each asymptote you found as its own line, and check the curve hugs it.
Use the maximum and minimum tools for turning points, to 3 s.f.
When a question names a window, such as −50≤x≤50, draw that window with every branch visibly closing in.
Beware a connected-mode line drawn down a vertical asymptote.
Beware a window too narrow to show the approach to an oblique line: zoom out.
Practice questions
32 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.
Practice · 2.13 Rational functions of the form (ax + b)/(cx² + dx + e) and (ax² + bx + c)/(dx + e)