Educerie

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

  1. HL Write down the equations of all the asymptotes of a rational function
  2. HL Express a quadratic over a linear function as a line plus a remainder fraction
  3. HL Sketch the graph, showing every asymptote and intercept and the correct behaviour near each asymptote
  4. HL Find the range, using the discriminant or the turning points from the GDC
  5. HL Find the intercepts of the graph with the axes
  6. 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)f(x) in the form Ax+B+Cdx+eAx + B + \dfrac{C}{dx + e}", "sketch the graph of ff, showing all asymptotes and intercepts", "find the range of ff". 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=kx = k for every real kk that makes the denominator zero while the numerator stays non-zero. Near such a kk 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=0y = 0.
  • Equal degrees (the SL case): y=acy = \dfrac{a}{c}, 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∣|x| the leading terms dominate.

  • ax+bcx2+dx+e\dfrac{ax + b}{cx^{2} + dx + e} behaves like axcx2=acx\dfrac{ax}{cx^{2}} = \dfrac{a}{cx}, which tends to 0.
  • ax2+bx+cdx+e\dfrac{ax^{2} + bx + c}{dx + e} behaves like ax2dx=adx\dfrac{ax^{2}}{dx} = \dfrac{a}{d}x. That is a line of gradient ad\dfrac{a}{d}, 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 top degree < bottom degree (ax + b)/(cx² + dx + e) horizontal asymptote y = 0 equal degrees (ax + b)/(cx + d) (SL 2.8) horizontal asymptote y = a/c top one degree higher (ax² + bx + c)/(dx + e) oblique asymptote: divide every case vertical asymptote x = k wherever the denominator is 0 and the top is not Vertical asymptotes come from the denominator; the long-run asymptote comes from comparing degrees.
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+Rdx+ef(x) = Ax + B + \dfrac{R}{dx + e}
  • Here Ax+BAx + B is the quotient and RR is a constant remainder. As x→±∞x \to \pm\infty, Rdx+e→0\dfrac{R}{dx + e} \to 0. So the graph closes in on the line y=Ax+By = Ax + B.
  • The vertical asymptote is x=−edx = -\dfrac{e}{d}, provided the numerator is not zero there. That happens exactly when R≠0R \ne 0.

Worked example 1 · finding the oblique asymptote (Paper 1). Let f(x)=x2+2x−3x−2f(x) = \dfrac{x^{2} + 2x - 3}{x - 2}. Compare coefficients, as in 2.12:

x2+2x−3=(x−2)(Ax+B)+Rx^{2} + 2x - 3 = (x - 2)(Ax + B) + Rx2:A=1x^{2}:\quad A = 1x:B−2A=2, so B=4x:\quad B - 2A = 2, \ \text{so } B = 4constant:−2B+R=−3, so R=5\text{constant}:\quad -2B + R = -3, \ \text{so } R = 5f(x)=x+4+5x−2f(x) = x + 4 + \frac{5}{x - 2}
  • Synthetic division gives the same with less writing. Bring down 1, then 1×2+2=41 \times 2 + 2 = 4, then 4×2−3=54 \times 2 - 3 = 5. The quotient is x+4x + 4 and the remainder is 5.
  • So the asymptotes are x=2x = 2 and y=x+4y = x + 4.
  • The numerator factorises as (x+3)(x−1)(x + 3)(x - 1). So the xx-intercepts are (−3,0)(-3, 0) and (1,0)(1, 0). And f(0)=−3−2f(0) = \dfrac{-3}{-2} gives the yy-intercept (0,1.5)(0, 1.5).

Side of the line

  • The gap between curve and line is exactly the leftover term 5x−2\dfrac{5}{x - 2}.
    • For x>2x > 2 it is positive, so the curve is above y=x+4y = x + 4.
    • For x<2x < 2 it is negative, so the curve is below.
  • Figure 2 shows both branches. The curve can never cross its oblique asymptote, because 5x−2\dfrac{5}{x - 2} is never zero.
Figure 2 · y = (x² + 2x − 3)/(x − 2): an oblique asymptote x y −6 4 8 −5 5 10 15 x = 2 y = x + 4 (−3, 0) (1, 0) (0, 1.5) above: 5/(x − 2) > 0 below: 5/(x − 2) < 0 Division gives x + 4 + 5/(x − 2). Far out the last term dies away and the curve hugs y = x + 4.
Figure 2 · y = x² + 2x − 3 ÷ x − 2: an oblique asymptote
  • On Paper 2 the GDC gives the turning points (−0.236,1.53)(-0.236, 1.53) and (4.24,10.5)(4.24, 10.5). Exactly: (2−5,6−25)\left(2 - \sqrt{5}, 6 - 2\sqrt{5}\right) and (2+5,6+25)\left(2 + \sqrt{5}, 6 + 2\sqrt{5}\right).
  • By calculus, the quotient rule gives f′(x)=(2x+2)(x−2)−(x2+2x−3)(x−2)2=x2−4x−1(x−2)2f'(x) = \dfrac{(2x + 2)(x - 2) - (x^{2} + 2x - 3)}{(x - 2)^{2}} = \dfrac{x^{2} - 4x - 1}{(x - 2)^{2}}.
  • Then x2−4x−1=0x^{2} - 4x - 1 = 0 gives x=2±5x = 2 \pm \sqrt{5}. Only the numerator of f′f' can vanish, since the bottom is a square.

Worked example 2 · a divisor whose leading coefficient is not 1. Divide 2x2+7x+12x^{2} + 7x + 1 by 2x−32x - 3.

2x2+7x+1=(2x−3)(Ax+B)+R2x^{2} + 7x + 1 = (2x - 3)(Ax + B) + Rx2:2A=2, so A=1x^{2}:\quad 2A = 2, \ \text{so } A = 1x:−3A+2B=7, so B=5x:\quad -3A + 2B = 7, \ \text{so } B = 5constant:−3B+R=1, so R=16\text{constant}:\quad -3B + R = 1, \ \text{so } R = 162x2+7x+12x−3=x+5+162x−3\frac{2x^{2} + 7x + 1}{2x - 3} = x + 5 + \frac{16}{2x - 3}
  • Oblique asymptote y=x+5y = x + 5, vertical asymptote x=32x = \tfrac{3}{2}.
  • Multiplying back catches nearly every slip: (2x−3)(x+5)+16=2x2+7x−15+16(2x - 3)(x + 5) + 16 = 2x^{2} + 7x - 15 + 16. Correct.

Worked example 3 · fractional coefficients. If dd does not divide aa, the gradient ad\dfrac{a}{d} is a fraction. The intercept usually is too. Do not hunt for whole numbers.

Take f(x)=5x2+2x−42x+3f(x) = \dfrac{5x^{2} + 2x - 4}{2x + 3}. Start from the gradient, the ratio of leading terms: A=52A = \tfrac{5}{2}. Get BB from the xx terms:

5x2+2x−4=(2x+3)(Ax+B)+R5x^{2} + 2x - 4 = (2x + 3)(Ax + B) + Rx2:2A=5, so A=52x^{2}:\quad 2A = 5, \ \text{so } A = \tfrac{5}{2}x:3A+2B=2, so 2B=−112 and B=−114x:\quad 3A + 2B = 2, \ \text{so } 2B = -\tfrac{11}{2} \text{ and } B = -\tfrac{11}{4}constant:3B+R=−4, so R=174\text{constant}:\quad 3B + R = -4, \ \text{so } R = \tfrac{17}{4}f(x)=52x−114+174(2x+3)f(x) = \tfrac{5}{2}x - \tfrac{11}{4} + \frac{17}{4(2x + 3)}
  • The oblique asymptote is y=52x−114y = \tfrac{5}{2}x - \tfrac{11}{4}. The vertical asymptote is x=−32x = -\tfrac{3}{2}.
  • A third route skips the remainder. Once you know AA, the intercept is a limit: B=lim⁡x→∞(f(x)−Ax)B = \lim\limits_{x \to \infty}\bigl(f(x) - Ax\bigr). Here f(x)−52x=−11x−82(2x+3)→−114f(x) - \tfrac{5}{2}x = \dfrac{-11x - 8}{2(2x + 3)} \to -\tfrac{11}{4}.
  • 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=y =.

3Linear over quadratic: ax+bcx2+dx+e\frac{ax + b}{cx^{2} + dx + e}

The bottom outgrows the top, so the horizontal asymptote is y=0y = 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=x+1x2−x−6y = \dfrac{x + 1}{x^{2} - x - 6}.

denominator: x2−x−6=(x−3)(x+2)zero at x=3 and x=−2\text{denominator: } x^{2} - x - 6 = (x - 3)(x + 2) \qquad \textcolor{#838c91}{\text{zero at }x = 3\text{ and }x = -2}numerator at those points: 4 and −1neither is zero, so both are asymptotes\text{numerator at those points: } 4 \text{ and } -1 \qquad \textcolor{#838c91}{\text{neither is zero, so both are asymptotes}}vertical asymptotes: x=3,x=−2\text{vertical asymptotes: } x = 3, \quad x = -2domain: x∈R, x≠−2, x≠3every real number except the zeros of the denominator\text{domain: } x \in \mathbb{R}, \ x \ne -2, \ x \ne 3 \qquad \textcolor{#838c91}{\text{every real number except the zeros of the denominator}}horizontal asymptote: y=0top degree 1, bottom degree 2\text{horizontal asymptote: } y = 0 \qquad \textcolor{#838c91}{\text{top degree 1, bottom degree 2}}x-intercept: x+1=0, so (−1,0)x\text{-intercept: } x + 1 = 0 \text{, so } (-1, 0)y-intercept: x=0 gives 1−6, so (0,−16)y\text{-intercept: } x = 0 \text{ gives } \frac{1}{-6} \text{, so } \left(0, -\frac{1}{6}\right)

The function can change sign only where the top or the bottom is zero: at −2-2, −1-1 and 33. Test one value in each interval, or count the negative factors:

Intervalx+1x + 1x+2x + 2x−3x - 3Sign of yy
x<−2x < -2−-−-−-−-
−2<x<−1-2 < x < -1−-++−-++
−1<x<3-1 < x < 3++++−-−-
x>3x > 3++++++++

That table is the sketch.

  • Far left. yy is small and negative. The curve sits just below y=0y = 0 and plunges to −∞-\infty at x=−2x = -2.
  • In the middle. Just right of −2-2 it comes down from +∞+\infty. It crosses the axis at −1-1, passes (0,−16)\left(0, -\tfrac{1}{6}\right) and plunges to −∞-\infty at x=3x = 3.
  • Far right. Right of 3 it comes down from +∞+\infty towards y=0y = 0, staying above it.

In symbols:

x→−2−: y→−∞x→−2+: y→+∞x \to -2^{-}:\ y \to -\infty \qquad x \to -2^{+}:\ y \to +\inftyx→3−: y→−∞x→3+: y→+∞x \to 3^{-}:\ y \to -\infty \qquad x \to 3^{+}:\ y \to +\inftyx→−∞: y→0−x→+∞: y→0+0− means "from below", 0+ "from above"x \to -\infty:\ y \to 0^{-} \qquad x \to +\infty:\ y \to 0^{+} \qquad \textcolor{#838c91}{0^{-}\text{ means "from below", }0^{+}\text{ "from above"}}

Figure 3 is the result.

Figure 3 · y = (x + 1)/(x² − x − 6) x y 2 4 6 −4 −2 2 4 −4 x = −2 x = 3 (−1, 0) (0, −⅙) − + − + Two vertical asymptotes from the two roots of the denominator; y = 0 as x → ±∞. The signs show which side of y = 0 each branch lies on; the middle branch crosses y = 0 at x = −1.
Figure 3 · y = x + 1 ÷ x² − x − 6
  • The middle branch crosses the horizontal asymptote at (−1,0)(-1, 0). That is allowed.
    • A horizontal asymptote describes the ends, x→±∞x \to \pm\infty, not the middle. For this family the crossing is always at the xx-intercept, because the asymptote is the xx-axis itself.

No real roots below: no vertical asymptote

  • If the discriminant of cx2+dx+ecx^{2} + 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=x+1x2+3y = \dfrac{x + 1}{x^{2} + 3}. Since x2+3≥3x^{2} + 3 \ge 3, the denominator never vanishes.
    • The intercepts are (−1,0)(-1, 0) and (0,13)\left(0, \tfrac{1}{3}\right), and the asymptote is y=0y = 0. The turning points are (1,12)\left(1, \tfrac{1}{2}\right) and (−3,−16)\left(-3, -\tfrac{1}{6}\right). 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+10x^{2} - 2x + 10, Δ=4−40=−36<0\Delta = 4 - 40 = -36 < 0. Or write x2−2x+10=(x−1)2+9≥9x^{2} - 2x + 10 = (x - 1)^{2} + 9 \ge 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+2(x−1)2y = \dfrac{x + 2}{(x - 1)^{2}} the only vertical asymptote is x=1x = 1. The factor (x−1)2(x - 1)^{2} is positive on both sides.
  • Near x=1x = 1 the numerator is about 3. So y→+∞y \to +\infty 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 (a) y = (x + 1)/(x² + 3) x y −6 −3 1 3 0.5 max (1, ½) min (−3, −⅙) (−1, 0) (0, ⅓) (b) y = (x + 2)/(x − 1)² x y −2 3 4 6 x = 1 (−2, 0) (0, 2) min (−5, −1/12) (a) x² + 3 is never zero: no vertical asymptote, and the range is −⅙ ≤ y ≤ ½. (b) A squared factor below: both sides of x = 1 go to +∞, because (x − 1)² is never negative.
Figure 4 · When the denominator has no real roots, or a repeated one

The reciprocal function is a particular case

  • 1x\dfrac{1}{x} fits ax2+bx+cdx+e\dfrac{ax^{2} + bx + c}{dx + e} with a=b=0a = b = 0, c=1c = 1, d=1d = 1, e=0e = 0. Its vertical asymptote is x=0x = 0 and its "oblique" asymptote is the line y=0y = 0.
    • Reflecting its graph in y=xy = x gives the same graph. That is why 1x\dfrac{1}{x} is its own inverse (2.14).
  • The reciprocal of a quadratic, such as 1x2−9\dfrac{1}{x^{2} - 9}, is the other family with a=0a = 0. Its asymptotes are x=±3x = \pm 3 and y=0y = 0.
    • Quick route to its turning point: 1q(x)\dfrac{1}{q(x)} turns at the same xx as q(x)q(x), and a minimum of qq becomes a maximum.
    • The vertex of x2−9x^{2} - 9 is at x=0x = 0, where q=−9q = -9. So the middle branch has a local maximum at (0,−19)\left(0, -\tfrac{1}{9}\right). The outer branches have no turning points.

A shared factor is a hole, not an asymptote

  • In x+3x2−9=1x−3\dfrac{x + 3}{x^{2} - 9} = \dfrac{1}{x - 3} for x≠−3x \ne -3, there is no asymptote at x=−3x = -3. There is only a missing point (a hole) at (−3,−16)\left(-3, -\tfrac{1}{6}\right).
  • 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.

  1. Factorise the denominator. Its real zeros give the vertical asymptotes. Check the numerator is not also zero there.
  2. Compare degrees: y=0y = 0, y=acy = \dfrac{a}{c}, or divide for the oblique asymptote.
  3. Intercepts: yy-intercept f(0)f(0); xx-intercepts from numerator =0= 0.
  4. Signs: use the zeros of top and bottom to split the xx-axis and find the sign in each interval. A single factor changes sign. A squared factor does not.
  5. Near each vertical asymptote, the signs on each side say whether the curve goes to +∞+\infty or −∞-\infty.
  6. 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 yy itself.
  7. 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.
  8. Check the domain. Unless told otherwise it is every real xx except the zeros of the denominator. If the question restricts it, for example −1<x<1-1 < x < 1 or −50≤x≤50-50 \le x \le 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)=x2−2x−8x−1f(x) = \dfrac{x^{2} - 2x - 8}{x - 1}.

x2−2x−8=(x−4)(x+2)the numerator factorises: no common factor with x−1x^{2} - 2x - 8 = (x - 4)(x + 2) \qquad \textcolor{#838c91}{\text{the numerator factorises: no common factor with }x - 1}vertical asymptote: x=1\text{vertical asymptote: } x = 1x2−2x−8=(x−1)(x−1)−9dividing, quotient x−1, remainder −9x^{2} - 2x - 8 = (x - 1)(x - 1) - 9 \qquad \textcolor{#838c91}{\text{dividing, quotient }x - 1\text{, remainder }-9}f(x)=x−1−9x−1,oblique asymptote y=x−1f(x) = x - 1 - \frac{9}{x - 1}, \quad \text{oblique asymptote } y = x - 1x-intercepts: (4,0), (−2,0)y-intercept: f(0)=8, (0,8)x\text{-intercepts: } (4, 0), \ (-2, 0) \qquad y\text{-intercept: } f(0) = 8, \ (0, 8)

Signs, using (x−4)(x+2)(x - 4)(x + 2) over (x−1)(x - 1):

  • x<−2x < -2: top positive, bottom negative, so f<0f < 0.
  • −2<x<1-2 < x < 1: both negative, so f>0f > 0.
  • 1<x<41 < x < 4: top negative, bottom positive, so f<0f < 0.
  • x>4x > 4: f>0f > 0.
  • So f→+∞f \to +\infty as x→1−x \to 1^{-} and f→−∞f \to -\infty as x→1+x \to 1^{+}.

For the sides of the line, look at the remainder term −9x−1-\dfrac{9}{x - 1}.

  • It is positive for x<1x < 1: the left branch lies above y=x−1y = x - 1.
  • It is negative for x>1x > 1: the right branch lies below it.

The left branch rises through (−2,0)(-2, 0) and (0,8)(0, 8) and shoots up beside x=1x = 1. The right branch starts at the bottom beside it, climbs through (4,0)(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 yy-values.
  • Figure 5 shows y=x2+3x−1=x+1+4x−1y = \dfrac{x^{2} + 3}{x - 1} = x + 1 + \dfrac{4}{x - 1}.
    • The left branch rises to a maximum at (−1,−2)(-1, -2) and falls away. The right branch falls to a minimum at (3,6)(3, 6) and rises. Nothing between is reached. The range is y≤−2y \le -2 or y≥6y \ge 6.
Figure 5 · y = (x² + 3)/(x − 1) never takes values between −2 and 6 x y −5 −1 3 7 −10 6 12 −2 x = 1 y = x + 1 (−1, −2) (3, 6) no outputs here The two branches turn at (−1, −2) and (3, 6). 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 yy the equation y=f(x)y = f(x) has a real solution xx.

Worked example 6 · range by the discriminant (Paper 1). Find the range of f(x)=x2+3x−1f(x) = \dfrac{x^{2} + 3}{x - 1}.

y=x2+3x−1y = \frac{x^{2} + 3}{x - 1}y(x−1)=x2+3multiply up; x≠1y(x - 1) = x^{2} + 3 \qquad \textcolor{#838c91}{\text{multiply up; }x \ne 1}x2−yx+(y+3)=0a quadratic in xx^{2} - yx + (y + 3) = 0 \qquad \textcolor{#838c91}{\text{a quadratic in }x}real x needs Δ≥0:y2−4(y+3)≥0\text{real } x \text{ needs } \Delta \ge 0:\quad y^{2} - 4(y + 3) \ge 0y2−4y−12≥0y^{2} - 4y - 12 \ge 0(y−6)(y+2)≥0(y - 6)(y + 2) \ge 0y≤−2ory≥6y \le -2 \quad\text{or}\quad y \ge 6
  • The boundary values come from Δ=0\Delta = 0: one repeated xx. That is exactly a turning point. y=6y = 6 gives x2−6x+9=0x^{2} - 6x + 9 = 0, so x=3x = 3. y=−2y = -2 gives x2+2x+1=0x^{2} + 2x + 1 = 0, so x=−1x = -1.
  • The method works for the first family too. For y=x+1x2+3y = \dfrac{x + 1}{x^{2} + 3}, multiplying up gives yx2−x+(3y−1)=0yx^{2} - x + (3y - 1) = 0. For y≠0y \ne 0 this is a quadratic in xx.
    • Real roots need 1−4y(3y−1)≥01 - 4y(3y - 1) \ge 0. That is 12y2−4y−1≤012y^{2} - 4y - 1 \le 0, or (6y+1)(2y−1)≤0(6y + 1)(2y - 1) \le 0. So −16≤y≤12-\tfrac{1}{6} \le y \le \tfrac{1}{2}.
    • y=0y = 0 is included as well, since x=−1x = -1 gives it. That is the range of Figure 4(a).
  • Quote endpoints with ≤\le and ≥\ge. 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+kx−hf(x) = Ax + B + \dfrac{k}{x - h}, where k=Rdk = \dfrac{R}{d} and h=−edh = -\dfrac{e}{d} come from the division.
  • There are turning points, and so a gap in the range, exactly when AA and kk 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=x2−4x=x−4xy = \dfrac{x^{2} - 4}{x} = x - \dfrac{4}{x} has A=1A = 1, k=−4k = -4. The method confirms it: x2−yx−4=0x^{2} - yx - 4 = 0 has Δ=y2+16>0\Delta = y^{2} + 16 > 0 for every yy.

Two vertical asymptotes

  • In Worked example 4 the middle branch runs from +∞+\infty down to −∞-\infty. A continuous curve between those passes through every value: the range is all real numbers.
  • The method agrees: yx2−(y+1)x−(6y+1)=0yx^{2} - (y + 1)x - (6y + 1) = 0 has Δ=25y2+6y+1\Delta = 25y^{2} + 6y + 1. Its own discriminant 36−10036 - 100 is negative, so Δ>0\Delta > 0 for every yy.
  • When the middle branch instead runs from +∞+\infty to +∞+\infty or −∞-\infty to −∞-\infty, as for 1x2−9\dfrac{1}{x^{2} - 9}, it has a turning point. Then the range has a gap.

Meeting a line

  • A horizontal line y=ky = k meets the curve exactly when kk 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)=x2+3x−1f(x) = \dfrac{x^{2} + 3}{x - 1} and the line y=mx−1y = mx - 1. Then x2+3=(mx−1)(x−1)x^{2} + 3 = (mx - 1)(x - 1) becomes (1−m)x2+(m+1)x+2=0(1 - m)x^{2} + (m + 1)x + 2 = 0.
    • This has Δ=(m+1)2−8(1−m)=m2+10m−7\Delta = (m + 1)^{2} - 8(1 - m) = m^{2} + 10m - 7.
    • They do not meet when Δ<0\Delta < 0: −5−42<m<−5+42-5 - 4\sqrt{2} < m < -5 + 4\sqrt{2}.
    • At m=1m = 1 the line is parallel to the asymptote y=x+1y = x + 1. The equation drops to 2x+2=02x + 2 = 0: one meeting point, at x=−1x = -1.
  • Two cautions.
    • Solve the inequality from Δ\Delta like any quadratic inequality (2.7). Sketch the parabola in yy if the direction is unclear.
    • If the coefficient of x2x^{2} can be zero for some yy (or mm), 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=x2+px+qx−2y = \dfrac{x^{2} + px + q}{x - 2} has oblique asymptote y=x+5y = x + 5 and meets the yy-axis at (0,−4)(0, -4). Find pp and qq.

x2+px+q=(x−2)(x+B)+Rthe quotient has A=1; the asymptote says B=5x^{2} + px + q = (x - 2)(x + B) + R \qquad \textcolor{#838c91}{\text{the quotient has }A = 1\text{; the asymptote says }B = 5}x terms: p=B−2=3x \text{ terms: } p = B - 2 = 3y-intercept: q−2=−4, so q=8y\text{-intercept: } \frac{q}{-2} = -4, \ \text{so } q = 8check: (x−2)(x+5)+18=x2+3x+8remainder R=18\text{check: } (x - 2)(x + 5) + 18 = x^{2} + 3x + 8 \qquad \textcolor{#838c91}{\text{remainder }R = 18}
  • A second pattern gives "vertical asymptotes at given places". Zeros of the denominator at x=r1x = r_1 and x=r2x = r_2 mean the denominator is (x−r1)(x−r2)(x - r_1)(x - r_2) 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-50 \le x \le 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.