Quarry School

Graphing a rational function from its features — quick review

In plain words

Think of drawing a road on a map before you have driven it.

Rule

For a top that is not the constant 0, split the x-axis at every x-intercept, every vertical asymptote and every hole. On each interval between neighboring split points, f(x) keeps one sign, so one test point tells whether the graph is above or below the x-axis there. The sketch is: dashed asymptotes, plotted intercepts, an open circle at each hole, one test point per interval, then smooth branches that never cross a vertical asymptote and, at the far left and far right, level toward the horizontal asymptote or slant asymptote. When the top's degree is two or more above the bottom's, there is neither, and the far ends follow the polynomial quotient that division gives.

Step

  1. Factor the top and the bottom completely. Set the original bottom equal to 0 to find the inputs to throw out, and write the domain.

  2. Cancel any factor the top and bottom share. Each canceled factor (x − a) with no copy of it left in the bottom marks a hole at x = a: plug a into the simplified formula to get the hole's height, and plan an open circle there.

  3. Set the simplified bottom equal to 0. Each solution is a vertical asymptote. Draw a dashed vertical line at each one.

  4. Compare the degrees of top and bottom to get the horizontal asymptote, or divide when the top's degree is one more to get the slant asymptote. Draw it dashed.

  5. Find the intercepts: f(0) for the y-intercept when 0 is in the domain, and for the x-intercepts the zeros of the simplified top where the original bottom is not 0. Plot them.

  6. Mark every x-intercept, vertical asymptote and hole on the x-axis; with a top that is not the constant 0 there are finitely many. These split points cut the axis into intervals.

  7. Pick one test point inside each interval, plug it in, and plot the point. A positive output means that stretch is above the x-axis. A negative output means it is below.

  8. Draw each branch last: through its plotted points, climbing or diving beside each vertical asymptote on the side its test point says, and, at the far left and far right, leveling toward the horizontal or slant asymptote, or following the quotient from division when there is neither. Put the open circle at each hole.

  9. Check with one input very close to each vertical asymptote and one input far out, such as x = 100.

Strategy

  1. Factor: factor top and bottom, and write the domain from the original bottom.

  2. Holes: cancel shared factors. Each canceled factor (x − a) with no copy of it left in the bottom gives an open circle at x = a, with its height from the simplified formula.

  3. Vertical asymptotes: the zeros of the simplified bottom. Draw them dashed.

  4. Horizontal or slant asymptote: compare degrees, or divide when the top's degree is one more. Draw it dashed.

  5. Intercepts: f(0) for the y-intercept when 0 is in the domain; for the x-intercepts, zeros of the simplified top where the original bottom is not 0.

  6. Test points: one input inside each interval between split points. Plot each one.

  7. Sketch: one smooth branch at a time, obeying every dashed line, then check with numbers.

Question

Sketch the graph of f(x) = x2−x−2x2−4. In plain words: find every feature of the graph from the formula, then draw the one curve that fits all of them.

Answer

Domain: all real numbers except −2 and 2.
Hole (removable discontinuity): open circle at (2, 34).
Vertical asymptote: x = −2.
Horizontal asymptote: y = 1.
Intercepts: (−1, 0) and (0, 12).
Left branch: above y = 1, through (−3, 2), climbing as x approaches −2 from the left.
Right branch: rising from far below beside x = −2, through (−1.5, −1), (−1, 0), (0, 12), the open circle at (2, 34) and (3, 45), leveling toward y = 1 from below.

Trap

The most common mistake is to plot a handful of points and join them all in one stroke, straight through a vertical asymptote. The function has no output at a vertical asymptote, so no part of the curve may pass through that dashed line. Draw every asymptote first, lift the pencil at each vertical one, and let the test point on each side decide whether that side climbs or dives.

Term

rational function

Definition

A function written as a fraction: one polynomial on top, another polynomial on the bottom. It is defined everywhere except where the bottom equals zero.

Term

vertical asymptote

Definition

A vertical line x = a that the graph shoots up or down beside and never touches. It sits at an input where the bottom is zero after canceling. Say it AS-im-toht.

Term

horizontal asymptote

Definition

A horizontal line y = b that the graph settles toward as x goes far right or far left. It describes the far ends only. The graph may cross it in the middle.

Term

slant asymptote

Definition

A tilted line y = mx + b that the graph follows far out. It appears when the top's degree is exactly one more than the bottom's. Dividing gives its equation.

Term

removable discontinuity

Definition

A single missing point in a graph, also called a hole. It appears when a factor (x − a) cancels from top and bottom with no copy of it left in the bottom: the curve looks unbroken, but that one input has no output.

Term

arrow notation

Definition

Shorthand for a trend. x → 2 means x moves toward 2. A raised plus or minus means from the right or the left. f(x) → ∞ means outputs grow without end.