Skip to main content

Rational functions and asymptotes - TCE Mathematics Specialised (Tasmania)

Syllabus dot point

“Sketch rational functions, identifying vertical, horizontal and oblique asymptotes.”

TCESpecialist MathematicsUnit 39 min read

Quick answer

A rational function is a ratio of polynomials P(x)Q(x)\tfrac{P(x)}{Q(x)}. Sketch it by finding intercepts, vertical asymptotes where Q(x)=0Q(x) = 0, and the end behaviour: a horizontal asymptote if the degrees match or the bottom wins, an oblique (slant) asymptote if the top degree is exactly one more than the bottom.

What this dot point is asking

This dot point pulls together everything in the sketching strand. A rational function combines zeros, asymptotes and sign behaviour, and a clean sketch comes from working through a fixed checklist rather than plotting random points.

The checklist for a rational function

  1. Domain and vertical asymptotes. Set Q(x)=0Q(x) = 0. Each zero of the denominator that is not cancelled by the numerator gives a vertical asymptote.
  2. Intercepts. The yy intercept is the value at x=0x = 0. The xx intercepts are where P(x)=0P(x) = 0 (and Q(x)≠0Q(x) \ne 0).
  3. End behaviour. Compare degrees of PP and QQ to find horizontal or oblique asymptotes.
  4. Sign analysis. Use the zeros and asymptotes to split the number line into intervals and test the sign in each.

End behaviour rules

Choosing the type of horizontal or oblique asymptote

Let deg⁡P\deg P and deg⁡Q\deg Q be the degrees of numerator and denominator.

  • If deg⁡P<deg⁡Q\deg P < \deg Q, the horizontal asymptote is y=0y = 0.
  • If deg⁡P=deg⁡Q\deg P = \deg Q, the horizontal asymptote is y=leading coeff of Pleading coeff of Qy = \tfrac{\text{leading coeff of }P}{\text{leading coeff of }Q}.
  • If deg⁡P=deg⁡Q+1\deg P = \deg Q + 1, there is an oblique asymptote, found by polynomial long division.

Finding an oblique asymptote

When the numerator degree is one more than the denominator, divide P(x)P(x) by Q(x)Q(x). The quotient is a linear expression y=mx+cy = mx + c, which is the oblique asymptote, and the remainder term vanishes as x→±∞x \to \pm\infty.

Sketching a rational function with a horizontal asymptote

Sketch y=2xx−1y = \dfrac{2x}{x - 1}.

Step 1: Find the vertical asymptote

Set the denominator equal to zero to locate where the function is undefined. Each genuine zero of the denominator that is not cancelled by the numerator produces a vertical asymptote.

The denominator is zero at x=1x = 1. The numerator 2x2x is not zero there, so there is a vertical asymptote at x=1x = 1.

Step 2: Find the intercepts

Setting x=0x = 0 gives the yy-intercept, and setting the numerator to zero (excluding denominator zeros) gives any xx-intercepts. Both intercepts are needed to anchor the sketch.

At x=0x = 0: y=0−1=0y = \tfrac{0}{-1} = 0, so the graph passes through the origin. This single point is both the xx-intercept and the yy-intercept.

Step 3: Determine the end behaviour

Compare the degrees of numerator and denominator to find the horizontal asymptote. When the degrees are equal, the asymptote is the ratio of the leading coefficients.

Both numerator and denominator have degree 11, so the horizontal asymptote is:

y=21=2. y = \frac{2}{1} = 2.

Step 4: Analyse the sign and direction near each asymptote

Checking the sign of the function on each side of the vertical asymptote tells us whether each branch runs to +∞+\infty or −∞-\infty, and knowing whether the curve approaches the horizontal asymptote from above or below completes the shape.

Just left of x=1x = 1: the denominator is small and negative while the numerator is near 22, so y→−∞y \to -\infty. Just right of x=1x = 1: the denominator is small and positive, so y→+∞y \to +\infty. For large positive xx, yy approaches 22 from above; for large negative xx, it approaches 22 from below.

Final answer: the curve has two branches separated by the vertical asymptote x=1x = 1, passes through the origin, and both branches approach the horizontal asymptote y=2y = 2.

Sketching a rational function with an oblique asymptote

Sketch y=x2+1xy = \dfrac{x^2 + 1}{x}.

Step 1: Find the vertical asymptote and intercepts

Set the denominator to zero to find the vertical asymptote. Then check for xx-intercepts by solving x2+1=0x^2 + 1 = 0; since this has no real solutions (x2+1>0x^2 + 1 > 0 always), there are none. The function is also undefined at x=0x = 0 so there is no yy-intercept.

Vertical asymptote: x=0x = 0. No xx-intercepts and no yy-intercept.

Step 2: Determine the end behaviour by polynomial division

When the numerator degree is exactly one more than the denominator degree, long division reveals an oblique asymptote. Dividing gives a linear quotient plus a remainder term that vanishes as x→±∞x \to \pm\infty.

x2+1x=x+1x. \frac{x^2 + 1}{x} = x + \frac{1}{x}.

The oblique asymptote is y=xy = x, and the remainder 1x\tfrac{1}{x} vanishes at both extremes.

Step 3: Locate turning points by differentiating

Writing the function in divided form makes differentiation straightforward. Setting the derivative to zero finds the local extrema, which determine the precise shape of each branch.

Differentiating x+1xx + \tfrac{1}{x}:

dydx=1−1x2=0⟹x2=1⟹x=±1. \frac{dy}{dx} = 1 - \frac{1}{x^2} = 0 \quad\Longrightarrow\quad x^2 = 1 \quad\Longrightarrow\quad x = \pm 1.

At x=1x = 1: y=1+1=2y = 1 + 1 = 2 (local minimum on the positive branch). By the odd symmetry of x+1xx + \tfrac{1}{x}, there is a local maximum at (−1,−2)(-1, -2) on the negative branch.

Step 4: Describe the final shape

For x>0x > 0 the term 1x>0\tfrac{1}{x} > 0 means the curve lies above the asymptote y=xy = x; for x<0x < 0 the term 1x<0\tfrac{1}{x} < 0 means the curve lies below y=xy = x. Combined with the turning points, this gives the full picture.

Final answer: the graph has a vertical asymptote at x=0x = 0 and oblique asymptote y=xy = x, with a local minimum at (1,2)(1, 2) and a local maximum at (−1,−2)(-1, -2). Both branches hug the line y=xy = x for large ∣x∣|x|.

Sign and shape

After placing intercepts and asymptotes, a sign table over the intervals between them tells you which side of each asymptote the curve sits on. This is usually enough to sketch without finding every turning point, though setting the derivative to zero pins down any local maxima or minima precisely.

Cancelling a common factor and ignoring the hole

If a factor cancels between numerator and denominator, that point is a hole (a removable discontinuity), not a vertical asymptote. For instance (x−2)(x+1)x−2\tfrac{(x-2)(x+1)}{x-2} simplifies to x+1x + 1 but is undefined at x=2x = 2, leaving an open circle there rather than an asymptote. Always note cancelled factors as holes, and reserve vertical asymptotes for denominator zeros that genuinely remain.

Locating turning points by calculus

For a rational function with an oblique asymptote, the cleanest route to turning points is to write the function in divided form f(x)=(mx+c)+rx−af(x) = (mx + c) + \dfrac{r}{x - a} and differentiate. The TASC questions above all reduce to f′(x)=1−r(x−a)2=0f'(x) = 1 - \dfrac{r}{(x - a)^2} = 0, giving (x−a)2=r(x - a)^2 = r and two symmetric critical points either side of the vertical asymptote. The branch above the asymptote carries a local minimum and the branch below carries a local maximum, which is a useful sanity check on the sign of the second derivative.

A rational function with an oblique asymptote has two turning points

When f(x)=(mx+c)+rx−af(x) = (mx + c) + \dfrac{r}{x - a} with r>0r > 0, solving f′(x)=0f'(x) = 0 gives x=a±rx = a \pm \sqrt{r}. The two critical points are equidistant from the vertical asymptote, one a local maximum and one a local minimum, and the curve hugs the oblique asymptote far from x=ax = a.

Why this matters

Rational functions appear throughout the course, from partial fractions in integration to modelling problems with limiting behaviour. A systematic checklist, intercepts then asymptotes then sign then calculus for turning points, produces a correct sketch quickly and avoids the guesswork of point plotting.

Exam-style questions

Questions in the style of TASC exam questions on this dot point, each with a worked answer. They are written by ExamExplained unless tagged "Past paper"; the year shows the paper a question is modelled on.

Practice7 marks
Consider f(x)=x2−5x+7x−2f(x) = \dfrac{x^2 - 5x + 7}{x - 2}. (a) Determine the locations of any zeros and critical points of f(x)f(x). (b) Sketch the graph of y=f(x)y = f(x).
Show worked answer →

(a) Zeros: set the numerator to zero. x2−5x+7=0x^2 - 5x + 7 = 0 has discriminant 25−28=−3<025 - 28 = -3 < 0, so there are no real zeros. There is a vertical asymptote at x=2x = 2 (denominator zero). Divide to find the oblique asymptote: x2−5x+7=(x−2)(x−3)+1x^2 - 5x + 7 = (x - 2)(x - 3) + 1, so f(x)=x−3+1x−2f(x) = x - 3 + \dfrac{1}{x - 2} and the oblique asymptote is y=x−3y = x - 3. For critical points, f′(x)=1−1(x−2)2=0f'(x) = 1 - \dfrac{1}{(x - 2)^2} = 0 gives (x−2)2=1(x - 2)^2 = 1, so x=1x = 1 or x=3x = 3. Then f(1)=−3f(1) = -3 (local maximum) and f(3)=1f(3) = 1 (local minimum). (4 marks)

(b) Sketch the two branches separated by the vertical asymptote x=2x = 2, approaching the oblique asymptote y=x−3y = x - 3 at both ends. The left branch passes through the local maximum (1,−3)(1, -3); the right branch passes through the local minimum (3,1)(3, 1). There are no xx-intercepts and the yy-intercept is f(0)=7−2=−3.5f(0) = \dfrac{7}{-2} = -3.5. (3 marks)

Practice7 marks
Consider f(x)=x2+3x−1f(x) = \dfrac{x^2 + 3}{x - 1}. (a) Determine the intercepts and critical points of f(x)f(x). (b) Sketch the graph of y=f(x)y = f(x).
Show worked answer →

(a) The yy-intercept is f(0)=3−1=−3f(0) = \dfrac{3}{-1} = -3. For xx-intercepts, x2+3=0x^2 + 3 = 0 has no real solution, so there are none. There is a vertical asymptote at x=1x = 1. Polynomial division gives x2+3=(x−1)(x+1)+4x^2 + 3 = (x - 1)(x + 1) + 4, so f(x)=x+1+4x−1f(x) = x + 1 + \dfrac{4}{x - 1} with oblique asymptote y=x+1y = x + 1. Critical points: f′(x)=1−4(x−1)2=0f'(x) = 1 - \dfrac{4}{(x - 1)^2} = 0 gives (x−1)2=4(x - 1)^2 = 4, so x=3x = 3 or x=−1x = -1. Then f(3)=6f(3) = 6 (local minimum on the right branch) and f(−1)=−2f(-1) = -2 (local maximum on the left branch). (5 marks)

(b) Draw the vertical asymptote x=1x = 1 and oblique asymptote y=x+1y = x + 1. The left branch rises to the local maximum (−1,−2)(-1, -2) and passes through the yy-intercept (0,−3)(0, -3); the right branch dips to the local minimum (3,6)(3, 6). (2 marks)

Practice9 marks
Consider f(x)=x2−4x+20x−2f(x) = \dfrac{x^2 - 4x + 20}{x - 2}. (a) Determine the intercepts and critical points of f(x)f(x). (b) Find the behaviour of f(x)f(x) as x→±∞x \to \pm\infty. (c) Sketch the graph of y=f(x)y = f(x).
Show worked answer →

(a) The yy-intercept is f(0)=20−2=−10f(0) = \dfrac{20}{-2} = -10. For xx-intercepts, x2−4x+20=0x^2 - 4x + 20 = 0 has discriminant 16−80<016 - 80 < 0, so none. There is a vertical asymptote at x=2x = 2. Since x2−4x+20=(x−2)2+16x^2 - 4x + 20 = (x - 2)^2 + 16, f(x)=(x−2)+16x−2f(x) = (x - 2) + \dfrac{16}{x - 2}. Then f′(x)=1−16(x−2)2=0f'(x) = 1 - \dfrac{16}{(x - 2)^2} = 0 gives (x−2)2=16(x - 2)^2 = 16, so x=6x = 6 or x=−2x = -2. Then f(6)=8f(6) = 8 (local minimum) and f(−2)=−8f(-2) = -8 (local maximum). (4 marks)

(b) As x→±∞x \to \pm\infty, 16x−2→0\dfrac{16}{x - 2} \to 0, so f(x)f(x) approaches the oblique asymptote y=x−2y = x - 2. (1 mark)

(c) Sketch the vertical asymptote x=2x = 2 and oblique asymptote y=x−2y = x - 2. The left branch peaks at the local maximum (−2,−8)(-2, -8); the right branch bottoms at the local minimum (6,8)(6, 8). (4 marks)

Practise this

Sources & how we know this

ExamExplained