Skip to content
Study Hall
Lesson 3 of 4Rational Functions
Unit 2 · Lesson 3 of 4

Sketching Rational Functions

A repeatable seven-step procedure: restrictions, intercepts, asymptotes, sign analysis around every critical value, behaviour near a hole, and then the sketch.

4 min read9 practice questionsInteractiveAsk AI about this →

Key things to remember

  1. 1-intercepts are the zeros of the simplified numerator; the -intercept is when is in the domain.
  2. 2Critical values for the sign chart are the -intercepts and the vertical asymptotes.
  3. 3The sign of on the interval beside a vertical asymptote tells you whether that branch goes to or .
  4. 4Near a hole the curve is smooth and finite; only one point is missing.
  5. 5To test whether the curve meets its horizontal asymptote , solve .

Sketching a rational function is not an art project and it is not guesswork. It is a checklist. Work through the same steps in the same order every time and the graph assembles itself: the asymptotes build a frame, the intercepts pin the curve to real points, and a sign analysis tells you which of the regions between the asymptotes each branch lives in. Do the steps out of order and you will end up erasing.

The procedure

  1. Factor the numerator and denominator completely.
  2. State the restrictions (zeros of the original denominator) and simplify if anything cancels.
  3. Find the intercepts. -intercepts come from zeros of the simplified numerator; the -intercept is , if is in the domain.
  4. Find the asymptotes. Non-cancelling denominator factors give vertical asymptotes; the degree comparison gives the horizontal or oblique asymptote.
  5. Find any holes and their heights from the simplified function.
  6. Sign analysis. Mark every -intercept and every vertical asymptote on a number line and test the sign of in each interval.
  7. Sketch, drawing each branch so it approaches its asymptotes and passes through the known points.
VideoA short overview of graphing rational functions by finding the asymptotes first and using them as the frame for the sketch, the same starting point as this checklist.Watch on YouTube

Intercepts

A fraction equals zero only when its numerator equals zero, so the -intercepts are the zeros of the numerator — but only those that survive as part of the domain. A numerator zero that was also a denominator zero is a hole, not an intercept, so it gets an open circle and no crossing. The -intercept is simply , and it exists unless happens to be a restriction.

Sign analysis: the step people skip

The critical values are the -intercepts and the vertical asymptotes. Between consecutive critical values the function cannot change sign, because it can only cross the axis at an intercept and can only jump at an asymptote. So pick one convenient test value inside each interval, substitute it into the factored form, and record only the sign of each factor — you never need the actual number. An even number of negative factors gives a positive result.

f(x) = (x − 3) / (x + 1)Split the line at BOTH kinds of special point: where the top is zero, and where the bottom is zero.−1undefinedvertical asymptote3zerof(3) = 0(x − 3)−−+(x + 1)−++f(x)+−+x = −2: (−5)/(−1) = 5x = 0: (−3)/(1) = −3x = 4: (1)/(5) = 0.2This is the trap: a rational function can flip sign at a point where it has no value at all.So f(x) ≥ 0 on (−∞, −1) ∪ [3, ∞). x = 3 is included (f = 0); x = −1 never is — it is not in the domain.
Fig 1A number line split by the intercepts and vertical asymptotes, with the sign of each factor recorded in every interval.
Intervalx − 1x + 2f(x)Position
−−+above the x-axis
−+−below the x-axis
+++above the x-axis
Sign chart for f(x) = (x − 1)/(x + 2), split at the intercept x = 1 and the asymptote x = −2.

The sign chart also tells you the direction the curve takes at each vertical asymptote. Just to the left of the function is positive, so that branch climbs to ; just to the right it is negative, so that branch plunges to . You never need to guess which way a branch goes.

Behaviour near a hole

A hole changes almost nothing about the shape. The curve approaches the hole smoothly from both sides at the same height, and you simply leave the single point open. Do not break the curve, do not send it to infinity, and do not draw a vertical line. If you sketch the simplified function and then erase one point, you have drawn the original correctly.

Does the curve cross its horizontal asymptote?
Set the function equal to the asymptote value and solve. If there is a real solution in the domain, the graph really does cross there. If there is none, the curve stays on one side the whole way.
Loading interactive…
Build a numerator and a denominator from factors and watch the asymptotes, holes and branch directions update live.
Three things a rational graph never does
It never touches a vertical asymptote. It never has an output at a restriction. And it never crosses the -axis at a hole — even if the numerator is zero there.

Worked examples

Reveal one step at a time and try to beat it to the next line.

Example 1
Sketch , showing restrictions, intercepts, asymptotes and the sign of each branch.
Example 2
Sketch , including the hole.
Example 3
Sketch , a case with an oblique asymptote.

Where marks get lost

  • Letting the curve touch or cross a vertical asymptote. The function has no output there, so the graph must stay strictly on one side of the line.
  • Testing only one side of a vertical asymptote. The two sides can go the same direction or opposite directions — the sign chart decides, not intuition.
  • Drawing a hole as a break or a vertical asymptote. A hole is a single missing point on an otherwise smooth curve.
  • Marking an -intercept where the numerator is zero but the value is a restriction. That point is a hole, so the graph does not cross there.
  • Bending the curve away from a horizontal asymptote just because it already crossed it. Crossing in the middle is allowed; the asymptote only governs the far ends.

Flashcards 7

First step in sketching any rational function
How do you find x-intercepts?
How do you find the y-intercept?
Critical values for a sign chart
+ 3 more

Practice

1
What is the -intercept of ?
2
The graph of has a hole. What is its -coordinate?
3
What are the -intercepts of ?
4
Near the vertical asymptote of , how does the graph behave?
5
How many vertical asymptotes does have?
6
For , is positive or negative on the interval ?
7
Order the sketching procedure for a rational function:
  1. 1Build a sign chart from the intercepts and vertical asymptotes
  2. 2Find the vertical asymptote(s) and the horizontal or oblique asymptote
  3. 3Draw the branches through the known points and towards the asymptotes
  4. 4Factor the numerator and denominator
  5. 5State the restrictions and simplify
  6. 6Find the x- and y-intercepts
8
Match each graph feature to the calculation that finds it.
x-intercept
y-intercept
Vertical asymptote
Height of a hole
Horizontal asymptote
9
Does the graph of ever cross its horizontal asymptote ?

Spot a mistake on this page? Let us know