Skip to main content

Rational functions and graphing: VCE Specialist Mathematics Unit 3

Syllabus dot point

“Graphs of rational functions including reciprocal functions, the location of vertical, horizontal and oblique asymptotes, and the effect of reciprocal and modulus transformations on the shape and key features of a graph”

7 min read

Quick answer

A rational function f(x)=P(x)Q(x)f(x) = \frac{P(x)}{Q(x)} has vertical asymptotes where Q(x)=0Q(x) = 0 but P(x)≠0P(x) \neq 0. The end behaviour depends on degrees: equal degrees give a horizontal asymptote at the ratio of leading coefficients; numerator degree one higher gives an oblique asymptote found by polynomial division; numerator degree lower gives the horizontal asymptote y=0y = 0. The reciprocal transformation sends zeros to vertical asymptotes (and vice versa), preserves y=1y = 1 and y=−1y = -1, and inverts maxima into minima. The modulus transformation y=∣f(x)∣y = |f(x)| reflects the part of the graph below the xx-axis up above it.

Jump to a section
  1. What this dot point is asking
  2. Anatomy of a rational function
  3. End behaviour: horizontal and oblique asymptotes
  4. The reciprocal transformation
  5. The modulus transformation
  6. Examples in context
  7. Try this
  8. Exam-style questions

What this dot point is asking

VCAA wants you to sketch rational functions by locating asymptotes (vertical, horizontal and oblique), intercepts and turning behaviour, and to understand how the reciprocal transformation y↦1/yy \mapsto 1/y and the modulus transformation y↦∣y∣y \mapsto |y| reshape a known graph. These skills feed into curve sketching with calculus and into the analysis of functions throughout Units 3 and 4.

Anatomy of a rational function

A rational function is a ratio of polynomials f(x)=P(x)Q(x)f(x) = \dfrac{P(x)}{Q(x)} where QQ is not the zero polynomial. To sketch it, work through a fixed checklist.

Domain and vertical asymptotes. The function is undefined where Q(x)=0Q(x) = 0. If PP and QQ have no common factor there, the line x=ax = a is a vertical asymptote and the graph shoots to ±∞\pm\infty on each side. If PP and QQ share the factor (x−a)(x - a), there is instead a hole (point discontinuity) at x=ax = a.

Intercepts. The yy-intercept is f(0)f(0) (when 00 is in the domain). The xx-intercepts are the zeros of the numerator that are not also zeros of the denominator, that is, the solutions of P(x)=0P(x) = 0 with Q(x)≠0Q(x) \neq 0.

End behaviour: horizontal and oblique asymptotes

Compare the degree of the numerator, deg⁡P\deg P, with the degree of the denominator, deg⁡Q\deg Q.

  • If deg⁡P<deg⁡Q\deg P < \deg Q, then f(x)→0f(x) \to 0 as x→±∞x \to \pm\infty, so y=0y = 0 is a horizontal asymptote.
  • If deg⁡P=deg⁡Q\deg P = \deg Q, then f(x)→aPaQf(x) \to \dfrac{a_P}{a_Q} (ratio of leading coefficients), a horizontal asymptote.
  • If deg⁡P=deg⁡Q+1\deg P = \deg Q + 1, there is an oblique (slant) asymptote. Divide PP by QQ to write f(x)=(mx+c)+R(x)Q(x)f(x) = (mx + c) + \dfrac{R(x)}{Q(x)} where deg⁡R<deg⁡Q\deg R < \deg Q; the line y=mx+cy = mx + c is the asymptote since the remainder term tends to 00.

A graph may cross a horizontal or oblique asymptote at finite xx; the asymptote only describes behaviour as x→±∞x \to \pm\infty.

Worked example

Sketching a function with an oblique asymptote

Sketch f(x)=x2+1x−1f(x) = \dfrac{x^2 + 1}{x - 1}.

Step 1: Find the vertical asymptote

The denominator is zero at x=1x = 1, and the numerator there is 12+1=2≠01^2 + 1 = 2 \neq 0, so there is no common factor to cancel. This means x=1x = 1 is a genuine vertical asymptote, not a removable hole.

Step 2: Find the oblique asymptote by polynomial division

Since deg⁡P=2\deg P = 2 is one more than deg⁡Q=1\deg Q = 1, the function has an oblique asymptote. Dividing gives

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

Check: (x+1)(x−1)+2=x2−1+2=x2+1(x + 1)(x - 1) + 2 = x^2 - 1 + 2 = x^2 + 1, which matches the numerator. As x→±∞x \to \pm\infty the remainder term 2x−1→0\frac{2}{x-1} \to 0, so y=x+1y = x + 1 is the oblique asymptote.

Step 3: Find the intercepts

Setting x=0x = 0 gives f(0)=0+10−1=−1f(0) = \frac{0 + 1}{0 - 1} = -1, so the yy-intercept is (0,−1)(0, -1). For xx-intercepts we need x2+1=0x^2 + 1 = 0, which has no real solutions, so the graph has no xx-intercept.

Step 4: Analyse the behaviour near x=1x = 1

Just to the right (x=1+x = 1^+), the remainder 2x−1→+∞\frac{2}{x-1} \to +\infty; just to the left (x=1−x = 1^-), 2x−1→−∞\frac{2}{x-1} \to -\infty. So the curve rises to +∞+\infty on the right branch and falls to −∞-\infty on the left branch, with both branches hugging y=x+1y = x + 1 far from x=1x = 1.

The reciprocal transformation

Given the graph of y=f(x)y = f(x), the graph of y=1f(x)y = \dfrac{1}{f(x)} behaves as follows:

  • where f(x)=0f(x) = 0, the reciprocal has a vertical asymptote;
  • where f(x)f(x) has a vertical asymptote, the reciprocal has a zero (it crosses the xx-axis);
  • the points where f(x)=1f(x) = 1 or f(x)=−1f(x) = -1 are fixed, since 1/1=11/1 = 1 and 1/(−1)=−11/(-1) = -1;
  • a local maximum of ff (above the axis) becomes a local minimum of 1/f1/f, and vice versa, because reciprocation reverses the order of positive values;
  • the sign of 1/f1/f matches the sign of ff everywhere.

The modulus transformation

The graph of y=∣f(x)∣y = |f(x)| keeps every part of y=f(x)y = f(x) that is already on or above the xx-axis and reflects every part below the xx-axis up across the xx-axis. The result is non-negative everywhere, with sharp corners where the original graph crossed the xx-axis. By contrast y=f(∣x∣)y = f(|x|) takes the part of ff for x≥0x \geq 0 and reflects it across the yy-axis, producing an even function.

Common exam traps
Missing an oblique asymptote
When the numerator degree exceeds the denominator degree by one, you must divide; quoting a horizontal asymptote here is wrong.
Treating a common factor as an asymptote
If (x−a)(x - a) cancels from numerator and denominator, x=ax = a is a hole, not a vertical asymptote. State the hole's coordinates and exclude it from the domain.
Reflecting the wrong part for modulus
y=∣f(x)∣y = |f(x)| reflects the part below the axis upward; y=f(∣x∣)y = f(|x|) reflects the right-hand part leftward. They are different transformations.
Forgetting the graph can cross a horizontal asymptote
The asymptote governs end behaviour only; intersections at finite xx are allowed.

Examples in context

Example 1. Equal degrees. For f(x)=2x2−1x2+3f(x) = \dfrac{2x^2 - 1}{x^2 + 3}, the degrees match, so the horizontal asymptote is y=21=2y = \frac{2}{1} = 2. The yy-intercept is −13\frac{-1}{3}.

Example 2. Reciprocal of a parabola. For f(x)=x2−4f(x) = x^2 - 4, the reciprocal 1x2−4\frac{1}{x^2 - 4} has vertical asymptotes at x=±2x = \pm 2 (zeros of ff) and a maximum at x=0x = 0 where ff has a minimum of −4-4, giving 1/f=−141/f = -\frac14.

Try this

Q1. State all asymptotes of f(x)=3x−6x+1f(x) = \dfrac{3x - 6}{x + 1}. [2 marks]

  • Cue. Vertical x=−1x = -1; equal degrees so horizontal y=3y = 3.

Q2. Find the oblique asymptote of f(x)=2x2+xx−1f(x) = \dfrac{2x^2 + x}{x - 1}. [2 marks]

  • Cue. Division gives 2x+3+3x−12x + 3 + \frac{3}{x-1}, so y=2x+3y = 2x + 3.

Q3. Describe how y=∣x2−1∣y = |x^2 - 1| differs from y=x2−1y = x^2 - 1. [2 marks]

  • Cue. The dip between x=−1x = -1 and x=1x = 1 (where y<0y < 0) is reflected up, giving two corners at (±1,0)(\pm 1, 0).

Exam-style questions

Questions in the style of VCAA 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.

Practice4 marks
For f(x)=2x−1x+2f(x) = \dfrac{2x - 1}{x + 2}, (a) state the equations of the vertical and horizontal asymptotes, and (b) find the coordinates of the axis intercepts.
Show worked answer →

(a) Vertical asymptote where the denominator is zero: x+2=0x + 2 = 0, so x=−2x = -2 (the numerator there is 2(−2)−1=−5≠02(-2) - 1 = -5 \ne 0, so it is an asymptote, not a hole).

For the horizontal asymptote, the degrees are equal (both 11), so yy tends to the ratio of leading coefficients 21=2\frac{2}{1} = 2. Horizontal asymptote y=2y = 2.

(b) xx-intercept where f(x)=0f(x) = 0: 2x−1=02x - 1 = 0, so x=12x = \frac{1}{2}, giving (12,0)\left(\frac{1}{2}, 0\right). yy-intercept: f(0)=−12f(0) = \frac{-1}{2}, giving (0,−12)\left(0, -\frac{1}{2}\right).

Markers reward both asymptotes with justification and both intercepts.

Practice5 marks
Consider f(x)=x2−4x−1f(x) = \dfrac{x^2 - 4}{x - 1}. (a) Show that f(x)=x+1−3x−1f(x) = x + 1 - \dfrac{3}{x - 1}. (b) Hence state the oblique asymptote and the vertical asymptote. (c) Find the xx-intercepts of the graph.
Show worked answer →

(a) Divide x2−4x^2 - 4 by x−1x - 1: x2−4=(x−1)(x+1)+(−3)x^2 - 4 = (x - 1)(x + 1) + (-3), since (x−1)(x+1)=x2−1(x - 1)(x + 1) = x^2 - 1 and x2−1−3=x2−4x^2 - 1 - 3 = x^2 - 4. Therefore f(x)=x+1+−3x−1=x+1−3x−1f(x) = x + 1 + \frac{-3}{x - 1} = x + 1 - \frac{3}{x - 1}, as required.

(b) As x→±∞x \to \pm\infty, 3x−1→0\frac{3}{x - 1} \to 0, so the oblique asymptote is y=x+1y = x + 1. The denominator is zero at x=1x = 1, so the vertical asymptote is x=1x = 1.

(c) xx-intercepts where x2−4=0x^2 - 4 = 0 (and x≠1x \ne 1): x=2x = 2 or x=−2x = -2, giving (2,0)(2, 0) and (−2,0)(-2, 0).

Markers reward the polynomial division verification, both asymptotes, and the intercepts.

Practise this

Sources & how we know this

ExamExplained