Instructional videos are coming to Albert.Join the waitlist
Math
Practice
27.5

Graphing Rational Functions: Algebra 2 Review

✎ Study Mode — Highlight text and annotate as you read.

The average cost of producing an item drops as a factory makes more of them, but it never quite reaches zero. The intensity of light fades as you move away from a lamp, getting closer and closer to zero without ever disappearing. Relationships like these are modeled by rational functions, whose graphs have distinctive features: asymptotes the graph approaches but does not reach, and sometimes holes where the function is undefined. Learning to find these features lets you sketch rational functions accurately.

This article covers Topic 27.5: Graphing Rational Functions in Unit 27, Algebra 2: Rational and Radical Functions. The topic asks you to identify domain, vertical and horizontal asymptotes, holes, and intercepts of rational functions, and to use them to sketch graphs.

By the end, you should be able to:

  1. Find the domain of a rational function.
  2. Identify vertical asymptotes and holes.
  3. Determine horizontal asymptotes by comparing degrees.
  4. Find intercepts and sketch the graph.

The Parent Function

The simplest rational function is \(f(x)=\frac{1}{x}\). Its graph has two branches, one in Quadrant I and one in Quadrant III. It approaches the \(y\)-axis (\(x=0\)) and the \(x\)-axis (\(y=0\)) without touching them. These lines are its asymptotes.

Transformations work as usual. The graph of \(g(x)=\frac{1}{x-3}+2\) is the parent shifted right 3 and up 2, with asymptotes \(x=3\) and \(y=2\).

Domain

A rational function \(f(x)=\frac{P(x)}{Q(x)}\) is undefined wherever \(Q(x)=0\). The domain is all real numbers except those values.

Vertical Asymptotes and Holes

Factor the numerator and denominator completely.

  • If a factor cancels, the graph has a hole at that \(x\)-value.
  • If a factor remains in the denominator, the graph has a vertical asymptote there.
Holes vs. vertical asymptotes in rational functions.
Holes vs. vertical asymptotes in rational functions.

Worked example 1: Find the holes and vertical asymptotes of \(f(x)=\frac{x^{2}-4}{x^{2}-x-2}\).

  1. Factor: \(\frac{(x+2)(x-2)}{(x-2)(x+1)}\).
  2. The factor \(x-2\) cancels: hole at \(x=2\).
  3. Simplified form: \(\frac{x+2}{x+1}\). The \(y\)-coordinate of the hole is \(\frac{2+2}{2+1}=\frac{4}{3}\), so the hole is at \((2,\frac{4}{3})\).
  4. The factor \(x+1\) remains: vertical asymptote at \(x=-1\).

Why does this matter? Students often list every denominator zero as a vertical asymptote. Factoring and canceling first separates true asymptotes from holes.

Horizontal Asymptotes

Compare the degree of the numerator \(n\) with the degree of the denominator \(d\):

  • \(n\lt d\): horizontal asymptote \(y=0\).
  • \(n=d\): horizontal asymptote \(y=\frac{a}{b}\), the ratio of the leading coefficients.
  • \(n\gt d\): no horizontal asymptote. If \(n=d+1\), there is a slant (oblique) asymptote found by division.
End behavior and horizontal asymptotes of rational functions.
End behavior and horizontal asymptotes of rational functions.

For \(f(x)=\frac{x+2}{x+1}\), the degrees are equal and the leading coefficients are both 1, so the horizontal asymptote is \(y=1\).

Unlike vertical asymptotes, a graph may cross a horizontal asymptote; the horizontal asymptote describes end behavior only.

Intercepts

  • \(x\)-intercepts: zeros of the simplified numerator (excluding holes).
  • \(y\)-intercept: evaluate \(f(0)\), if 0 is in the domain.

For \(\frac{x+2}{x+1}\): the \(x\)-intercept is \(x=-2\), and the \(y\)-intercept is \(f(0)=2\).

Sketching the Graph

Worked example 2: Sketch \(f(x)=\frac{2x}{x-3}\).

  1. Domain: \(x\neq3\).
  2. No common factors, so no holes. Vertical asymptote: \(x=3\).
  3. Equal degrees: horizontal asymptote \(y=\frac{2}{1}=2\).
  4. \(x\)-intercept and \(y\)-intercept: both at \((0,0)\).
  5. Test points: \(f(4)=8\) (above, to the right of \(x=3\)); \(f(2)=-4\) (below, to the left).
  6. Sketch two branches: one in the upper right region approaching \(x=3\) and \(y=2\), and one through the origin in the lower left region, approaching the same asymptotes.
Zeros and a sign chart for a rational function.
Zeros and a sign chart for a rational function.

Behavior Near Vertical Asymptotes

Near a vertical asymptote, the function values grow very large in size. Test a point just to the left and just to the right to see whether the graph goes up or down on each side. If the asymptote comes from a factor with an even power, such as \((x-1)^{2}\), the graph goes the same direction on both sides.

Applications

The average cost model \(C(x)=\frac{500+4x}{x}\) gives the cost per item when producing \(x\) items with a 500 dollar setup cost and 4 dollars per item. The horizontal asymptote \(y=4\) shows that the average cost approaches 4 dollars as production increases, since the fixed cost is spread over more items.

Why does this matter? Asymptotes often have real meaning in models, representing limits that a quantity approaches but never reaches.

Slant Asymptotes

When the numerator’s degree is exactly one more than the denominator’s, divide to find the slant asymptote. For \(\frac{x^{2}+1}{x}=x+\frac{1}{x}\), the graph approaches the line \(y=x\) as \(x\) becomes large in either direction.

Test-Taking Strategies

Mnemonic Devices and Memory Shortcuts

For horizontal asymptotes: “Bigger on bottom, \(y=0\). Equal, divide leaders. Bigger on top, none.” Canceled factors make holes; leftover factors make walls.

Cross-Topic Connections

Common Question Formats

  • Find the vertical and horizontal asymptotes.
  • Identify a hole and its coordinates.
  • Match a rational function to its graph.
  • Interpret an asymptote in a real-world model.

Frequent Student Mistakes

  • Calling a hole a vertical asymptote.
  • Using constants instead of leading coefficients for horizontal asymptotes.
  • Thinking graphs can never cross horizontal asymptotes.

Test-Day Shortcuts

Factor first. The factored form reveals holes, vertical asymptotes, and \(x\)-intercepts all at once.

Time Management Tips

Rational function graphing appears on Algebra 2 unit tests and standardized tests such as the SAT and ACT. Asymptote questions are quick once you compare degrees.

Highlight & Annotate
📝

Study Annotations

You just made your first highlight! You can highlight text and click images to add study notes as you read.

Your annotations are saved during this session, as long as you keep this browser tab open. When you’re done, use the Print button to save the article with all your notes in the margins.

Click any highlight to view or edit your note.

Click another word to finish highlighting, or press Esc to cancel
0 Notes
Study Mode
Print Preview — Article with Annotations

Ready to practice? Try Albert free.

Build real confidence with thousands of adaptive practice questions across AP®, SAT®, ACT®, and core subjects — aligned to what you’re studying right now.

Practice for Algebra 2