Algebra 2 · Precalculus · Rational functions · Polynomials worksheets · Quadratics worksheets
Start with the denominator before you cancel anything. Its zeros tell you where the function is undefined, and the reduced denominator tells you which of those values are vertical asymptotes and which are holes. Four worked examples show the process, followed by 24 practice problems with answers, three interactive tools, and a one-page reference.
Part of a nine guide unit. See all the rational expressions and rational functions worksheets, listed in a recommended order.
Two files. The worksheet holds all 24 practice problems plus a three problem challenge set, with blank grids to graph on and a five page answer key that gives every feature and a completed graph for each function. The cheat sheet is one page for a binder or a classroom wall.
Printed at letter size, single sided, so students can work without the key in view.
Free to copy for your own classroom or your own kitchen table. If you want to share it, please link to this page rather than rehosting the files, so students always land on the current version.
A rational function is a quotient of two polynomials. Graphing one is a matter of finding a fixed list of features and then drawing the only curve that fits them. The list does not change from problem to problem, which is what makes this topic learnable in a single sitting.
| Feature | Where it comes from | What it does to the graph |
|---|---|---|
| Excluded values | Zeros of the original denominator | The graph has no point at these x-values |
| Holes | Factors that cancel completely | A single missing point, drawn as an open circle |
| Vertical asymptotes | Zeros of the reduced denominator | The curve runs to infinity beside a vertical line |
| x-intercepts | Zeros of the reduced numerator that the domain allows | Points where the curve meets the x-axis |
| y-intercept | Evaluate at x = 0, if 0 is allowed | One point on the y-axis, at most |
| End behavior | Degree of the numerator against the denominator | A horizontal line, a slant line, or a curve |
| Sign on each interval | One test value per interval | Fixes whether each piece sits above or below the x-axis |
Two of those rows are where I see errors in sessions. Vertical asymptotes come from the reduced denominator, not the original one, and excluded values come from the original denominator, not the reduced one. Reading either off the wrong form is what turns a hole into an asymptote or loses a hole entirely.
Factoring is the prerequisite for all of it. If the factoring is what slows you down, work through the factoring polynomials flowchart guide first, and simplifying rational expressions after that.
I teach this in a fixed order. The order matters because step 2 depends on the original form and step 3 depends on the reduced form, and doing them out of sequence is how the two get confused.
The excluded values come from the denominator as it was handed to you. The vertical asymptotes come from the denominator after cancelling. A factor that cancels completely leaves an excluded value with no asymptote, which is a hole. Write the excluded list first and it stays available for the rest of the problem.
An excluded value produces one of two things on the graph, and the difference is decided by the reduced denominator.
| Function | What cancels | At that x-value |
|---|---|---|
| x2 − 4x − 2 | (x − 2) cancels completely | Hole at (2, 4). The reduced function is x + 2, so the graph is the line y = x + 2 with one point missing. |
| x − 2(x − 2)2 | (x − 2) cancels once, one copy stays below | Vertical asymptote at x = 2. The reduced function is 1 over (x − 2), and the reduced denominator is still zero at 2. |
| x + 1x − 2 | Nothing cancels | Vertical asymptote at x = 2. The numerator is 3 there and the denominator is 0. |
The middle row is the one worth slowing down for. A factor appearing in both the numerator and the denominator does not guarantee a hole. Cancel first, then read the reduced denominator, and let that decide.
Substitute the excluded value into the reduced function to get the height of the missing point. For (x2 − 4) over (x − 2), the reduced function x + 2 gives 2 + 2 = 4, so the hole is at (2, 4). An answer that names the hole without its y-coordinate is usually marked incomplete.
End behavior is decided by degree, comparing the reduced numerator against the reduced denominator. Write n for the numerator degree and d for the denominator degree.
| Degrees | End behavior | How to find it | Example |
|---|---|---|---|
| n < d | Horizontal asymptote y = 0 | The denominator grows faster, so the quotient shrinks toward zero | 2xx2 − 9 approaches y = 0 |
| n = d | Horizontal asymptote at the ratio of leading coefficients | Divide the leading coefficient of the numerator by the leading coefficient of the denominator | 3x2 − 2xx2 + 1 approaches y = 3 |
| n = d + 1 | Slant asymptote | Divide the numerator by the denominator. The quotient is the line, and the remainder is discarded | x2 + 2x − 1 approaches y = x + 1 |
| n > d + 1 | Neither | The quotient is a polynomial of degree 2 or more, and the graph follows that curve | x3x − 1 follows a parabola |
The slant case is polynomial long division, the same procedure as in the polynomial division worksheet. Divide, keep the quotient, discard the remainder. For (x2 + 2) divided by (x − 1) the quotient is x + 1 with remainder 3, so the slant asymptote is y = x + 1.
Use the reduced form for the degree test. In (x3 − 4x) over (x2 − 2x), the original degrees are 3 and 2, which suggests a slant asymptote. After cancelling, the function is x + 2 with holes at x = 0 and x = 2. There is no asymptote at all, and the graph is a straight line with two points removed.
A vertical asymptote is a line the graph never touches. A horizontal or slant asymptote is different: it describes what happens far out to the left and right, and it says nothing about the middle of the graph. A curve is free to cross it, touch it, or meet it several times.
To find where a graph meets a horizontal asymptote y = k, solve f(x) = k. Written out, that means solving
N(x) − k · D(x) = 0
using the reduced numerator N and reduced denominator D, then discarding any root that is an excluded value. For a slant asymptote, replace k with the linear quotient and solve the same way.
| At a solution of N(x) − k · D(x) = 0 | What the graph does |
|---|---|
| Odd multiplicity | Crosses the asymptote and continues to the other side |
| Even multiplicity | Touches the asymptote and returns to the same side |
| No real solutions | The graph never reaches the asymptote |
| Every coefficient cancels | The graph coincides with that line wherever it is defined |
A graph can meet a horizontal asymptote more than once even when the degrees are equal. Cancelling the leading terms drops the degree, so the equation left over can have several roots: (x4 + x2) over (x4 + 1) meets y = 1 at both x = −1 and x = 1.
A repeated root does not mean the graph touches without crossing. The test is odd against even, not single against repeated. In x3 over (x4 + 1), the root at the origin has multiplicity 3, and the graph crosses y = 0 there.
Touching is not limited to the x-axis. The graph of (x4 + x2 − 2x + 2) over (x4 + 1) touches y = 1 at the point (1, 1) and stays above it on both sides.
Once the features are known, one question remains: which side of the x-axis does each piece of the curve sit on? A sign chart answers it. The same tool appears in polynomial inequalities, and the procedure is identical.
Cut the number line at every real zero of the reduced numerator and every real zero of the reduced denominator. Pick one value inside each interval, substitute it into the reduced function, and record whether the result is positive or negative.
Those two lists are usually the same, and when they differ the sign chart is what catches it. A zero of the numerator that sits at an excluded value is not an x-intercept, because the function has no point there. It still marks a place where the sign can change.
Here f(x) = x2 over x reduces to y = x with a hole at the origin. There are no x-intercepts, because x = 0 is excluded. The function is still negative to the left of 0 and positive to the right. Cutting only at the intercepts would give one interval and one sign, which is wrong.
No test value may be an excluded x. Substituting an excluded value gives no answer at all, not a sign. Pick a different number in the same interval.
A cut point is not always a sign change. At a factor of even multiplicity the sign stays the same on both sides. In (x + 1)2 over ((x − 2)(x + 3)), the chart cuts at −1, and the function is negative on both sides of it.
The number of intervals is not the number of branches. One vertical asymptote splits the curve into two pieces, and the sign chart for that function usually has three or four intervals. Count pieces from the asymptotes and count intervals from the cut points.
To decide whether a branch runs up or down beside a vertical asymptote, evaluate the whole reduced function at a number just to the left of the asymptote, and again just to the right. Positive means that side runs up, negative means it runs down.
Use the whole function, not the numerator alone. The other factors in the denominator carry their own signs, and leaving them out can flip the result. In (x2 − 9) over (x2 − 4) just to the left of x = 2, the numerator is negative and the denominator is also negative, so the quotient is positive and that branch runs up.
Step 1. Factor
f(x) = (x − 1)(x + 1)(x − 2)(x + 2)
Step 2. Excluded values
The denominator factors are (x − 2) and (x + 2), so x = 2 and x = −2 are excluded. Write them down now.
Step 3. Cancel, then read the reduced denominator
Nothing cancels. The numerator factors are (x − 1) and (x + 1), and neither appears below. The reduced denominator is still (x − 2)(x + 2), so both excluded values are vertical asymptotes: x = 2 and x = −2. There are no holes.
Step 4. Intercepts
Set the numerator to zero: (x − 1)(x + 1) = 0 gives x = 1 and x = −1. Neither is excluded, so both are x-intercepts, at (1, 0) and (−1, 0). For the y-intercept, f(0) = (−1) over (−4) = 1/4, giving (0, 1/4).
Step 5. End behavior
Both degrees are 2, so the horizontal asymptote is the ratio of the leading coefficients, which is 1 over 1. The asymptote is y = 1. To check whether the graph meets it, solve (x2 − 1) − 1(x2 − 4) = 0, which simplifies to 3 = 0. There is no solution, so this graph never reaches y = 1.
Step 6. Sign chart
Cut at −2, −1, 1, and 2. Test one value from each of the five intervals, avoiding −2 and 2.
| Interval | x < −2 | −2 to −1 | −1 to 1 | 1 to 2 | x > 2 |
|---|---|---|---|---|---|
| Test value | −3 | −1.5 | 0 | 1.5 | 3 |
| f(test) | 8/5 | −5/7 | 1/4 | −5/7 | 8/5 |
| Sign | + | − | + | − | + |
Five intervals, three pieces of curve. The two vertical asymptotes cut the graph into three branches, and the middle branch changes sign twice within itself, once at each x-intercept.
Reading the branch directions
Just left of x = −2 the function is positive, so that branch runs up. Just right of x = −2 it is negative, so the next branch starts at the bottom. The middle branch rises to the x-intercept at −1, arches to (0, 1/4), and falls back through (1, 0). Just left of x = 2 the function is negative and just right of it positive, which completes the picture.
Step 1. Factor
f(x) = (x − 3)(x + 1)(x − 3)(x − 2)
Step 2. Excluded values
x = 3 and x = 2, both read off the original denominator before anything cancels.
Step 3. Cancel, then read the reduced denominator
The factor (x − 3) appears once above and once below, so it cancels completely. The reduced function is (x + 1) over (x − 2). The reduced denominator is zero only at x = 2, so that is the one vertical asymptote. The excluded value x = 3 has no asymptote, which makes it a hole.
The height of the hole comes from the reduced function: (3 + 1) over (3 − 2) = 4. The hole is at (3, 4).
Step 4. Intercepts
The reduced numerator is zero at x = −1, which is allowed, so (−1, 0) is the x-intercept. At x = 0, the reduced function gives 1 over (−2), so the y-intercept is (0, −1/2).
Step 5. End behavior
The reduced degrees are 1 and 1, so the horizontal asymptote is y = 1. Solving (x + 1) − 1(x − 2) = 0 gives 3 = 0, so the graph never meets it.
Step 6. Sign chart
Cut at −1 and 2. The excluded value 3 is not a cut point, because (x − 3) is no longer in the reduced function and the sign does not change across a hole in this case. Test values must still avoid x = 3.
| Interval | x < −1 | −1 to 2 | x > 2 |
|---|---|---|---|
| Test value | −2 | 0 | 4 |
| f(test) | 1/4 | −1/2 | 5/2 |
| Sign | + | − | + |
Notice that the open circle at (3, 4) sits on the right branch, above the horizontal asymptote. The hole is a missing point on an otherwise ordinary curve, so the rest of the branch is drawn exactly as if the hole were not there.
At x = 3 the answer is not only that the function is undefined. It is a hole, and it has coordinates. A response that says x = 3 is excluded and stops there is missing the part that gets graded.
Steps 1 to 3
The numerator x2 + 2 does not factor over the real numbers, and it has no real zeros. The denominator is zero at x = 1, which is the only excluded value. Nothing cancels, so x = 1 is a vertical asymptote and there are no holes.
Step 4. Intercepts
The numerator is never zero, so there are no x-intercepts. At x = 0, f(0) = 2 over (−1) = −2, so the y-intercept is (0, −2).
Step 5. End behavior by long division
The numerator degree is 2 and the denominator degree is 1, so the degree gap is exactly one and there is a slant asymptote. Divide:
x2 + 2 = (x − 1)(x + 1) + 3
The quotient is x + 1 and the remainder is 3. The slant asymptote is y = x + 1. As x grows, the remainder term 3 over (x − 1) shrinks toward zero and the curve settles onto that line.
To check for a meeting point, solve (x2 + 2) − (x + 1)(x − 1) = 0. The left side simplifies to 3, so there is no solution and the graph stays off the slant asymptote everywhere.
Step 6. Sign chart
The reduced numerator has no real zeros, so the only cut point is x = 1. The function is negative for x < 1 and positive for x > 1.
The remainder is positive, so the curve sits above the line y = x + 1 on the right branch and below it on the left branch. The two branches run off in opposite directions while both approaching the same slanted line.
Steps 1 to 4
Neither polynomial factors over the real numbers. The denominator x2 + 1 is never zero, so there are no excluded values, no holes, and no vertical asymptotes. The numerator x2 − 2x + 2 has discriminant 4 − 8 = −4, so it has no real zeros and the graph has no x-intercepts. At x = 0, f(0) = 2 over 1 = 2, so the y-intercept is (0, 2).
Step 5. End behavior, and where the curve meets it
Equal degrees, leading coefficients 1 and 1, so the horizontal asymptote is y = 1. Now solve f(x) = 1:
(x2 − 2x + 2) − 1(x2 + 1) = 0 → −2x + 1 = 0 → x = 1/2
One solution, with multiplicity 1, so the graph crosses y = 1 at the point (1/2, 1) and continues to the other side. Substituting confirms it: f(1/2) = (1/4 − 1 + 2) divided by (1/4 + 1) = (5/4) over (5/4) = 1.
Step 6. Sign chart
The reduced numerator and denominator have no real zeros, so there are no cut points at all. The function is positive for every real x, which one test value confirms: f(0) = 2.
This graph has a single unbroken piece. It rises from below y = 1 on the right, crosses the asymptote at x = 1/2, peaks near the y-intercept, and settles back toward y = 1 going left. A horizontal asymptote describes the far left and far right of a graph, and the crossing at x = 1/2 does not conflict with that.
Solving f(x) = k takes one line, and the answer is either a set of x-values or no solution. Students who skip it draw the curve approaching the asymptote from one side across the whole graph, which is wrong whenever a crossing exists.
Enter numerator and denominator polynomials with whole number coefficients and degree 8 or less, or choose one of the nine examples. The tool cancels shared factors and reports the graph’s features in the order of the six step routine, with the sign chart underneath. Some higher-degree zeros are approximate, and those are labeled. Use it to check work after you have done a problem by hand.
Accepted input: whole number coefficients, x, and the symbols + − * ^ with parentheses. Write x2 as x^2 and 2x as 2x or 2*x. Put the numerator and the denominator in their own boxes rather than typing a slash.
This drill splits the sign chart into its two decisions. First name the cut points, which are the real zeros of the reduced numerator and the reduced denominator. Then choose a sign for each interval those cut points create. The tool scores the two stages separately, so you can see which half needs practice.
Stage 2. Choose the sign of the function on each interval. Substitute a value from inside the interval, and do not use a value the domain excludes.
Write fractions with a slash, such as 3/2 or 3 / 2. Order does not matter. A value that is both a numerator zero and a denominator zero is listed once.
This tool names a set of features and asks you to write a rational function that has them. It then checks your function against each requirement one at a time and reports which ones it meets.
There is no single right answer. Any function with the listed features passes, so the tool grades the features rather than comparing your factors to a stored answer. I use this exercise with a student who can find features correctly but still cannot say why a hole differs from an asymptote.
Tool 3 works on a projector as a warm up. Put one feature list on the board, take a function from a student, and run it. When it fails a requirement the tool says which one, and the discussion that follows is usually about the difference between the original denominator and the reduced denominator. That is the distinction this whole topic rests on.
A common mistake is to cancel correctly and then forget that the original denominator still restricts the domain. The six checks below catch that error and help place the branches correctly.
A student factors, sees (x − 3) in the denominator, and writes down a vertical asymptote at x = 3 before checking whether that factor survives the cancelling. When it cancels, there is no asymptote there, only a hole, and the graph gets an extra vertical line that does not exist.
Write the excluded values first, then cancel, then draw a line under the reduced function and take the asymptotes only from what is below that line.
This is the reverse of the first error. A factor that appears above and below cancels, but if the denominator held more than one copy of it, a copy remains and the excluded value is still an asymptote.
Read the reduced denominator to decide. Cancelling on its own does not settle whether the excluded value is a hole or an asymptote.
A student correctly identifies a hole at x = 3 and writes exactly that. On most keys the hole is worth a point only when it has a y-value attached, because finding the height requires substituting into the reduced function, which is the part being tested.
To decide whether a branch runs up or down beside a vertical asymptote, some students check only the numerator, on the reasoning that the denominator is heading to zero anyway. The sign of the denominator is what decides the direction, so leaving it out turns the answer into a guess.
Evaluate the reduced function, not one part of it. A number close to the asymptote on each side settles both branches in two substitutions.
Students carry the rule for vertical asymptotes across to horizontal ones and draw the curve approaching y = k from one side across the entire graph. A horizontal asymptote describes the far left and far right of the graph only, and the curve can cross it in the middle.
Solving f(x) = k is one line of algebra and it belongs on every problem that has a horizontal or slant asymptote. The answer is either a list of x-values or no solution, and both are useful.
Two versions of this. The first is cutting at the x-intercepts rather than at the zeros of the reduced numerator, which loses any zero that sits at an excluded value. The second is picking a test value that the domain excludes, which produces no number at all and then gets recorded as a sign anyway.
Cut at the zeros of the reduced numerator and the reduced denominator, then choose test values that the domain allows. If an interval is short and its only convenient value is excluded, pick a decimal inside it instead.
The whole routine, sized for one side of paper. This is the same content as the printable PDF, written out here so it is searchable and readable on a phone.
| Factor cancels completely | Hole. Height from the reduced function. |
| A copy remains in the reduced denominator | Vertical asymptote, even though something cancelled. |
| Nothing cancels | Vertical asymptote. |
Read the reduced denominator. Cancelling alone does not decide it.
| n < d | Horizontal asymptote y = 0 |
| n = d | Horizontal asymptote y = ratio of leading coefficients |
| n = d + 1 | Slant asymptote: divide, keep the quotient, drop the remainder |
| n > d + 1 | Neither. The graph follows the polynomial quotient |
Solve N(x) − k · D(x) = 0 with the reduced N and D, then discard any excluded root. For a slant asymptote, put the linear quotient in place of k.
Substitute a number just left of the asymptote and again just right, into the whole reduced function. Positive means that side runs up, negative means it runs down. The other denominator factors carry signs, so the numerator alone is not enough.
x2 − 2x − 3x2 − 5x + 6 = (x − 3)(x + 1)(x − 3)(x − 2) → excluded 3, 2 → reduced x + 1x − 2 → asymptote x = 2, hole (3, 4), x-intercept (−1, 0), y-intercept (0, −1/2), asymptote y = 1, signs + − +
Work in order. Part A gives you the factored form so the reading of features becomes automatic. Part B adds the factoring. Part C is sign charts and branch direction. Part D is end behavior, slant asymptotes, and the question of whether the graph meets its asymptote. Answers for each part are behind the button under that part.
For every problem, state the excluded values, any holes with their coordinates, the vertical asymptotes, all x-intercepts and the y-intercept if they exist, and the end behavior. Parts C and D then ask for one further step, named in the heading of each part. Some of these functions have no x-intercepts, some have no asymptote at all, and one has a sign change where there is no intercept, so a blank line in your answer is not evidence that you have gone wrong.
If a feature does not exist, write "none." The answers below cover the requested features. Completed graphs are in the printable answer key.
This page is built against one Common Core standard and three AP Precalculus topics. The Common Core standard names zeros, asymptotes, and end behavior in one sentence, which is the same list the six step routine works through.
| Standard or topic | What it asks for | Where it appears above |
|---|---|---|
| CCSS HSF.IF.C.7d | Graph rational functions, identifying zeros and asymptotes when suitable factorizations are available, and showing end behavior. | The six step routine, all four worked examples, Parts A through D |
| CCSS HSF.IF.B.4 | Interpret key features of a graph, including intercepts and end behavior, for a function that models a relationship. | The seven features table and the feature finder tool |
| AP Precalculus 1.7 and 1.8 | Describe the end behavior of rational functions, and the behavior near a vertical asymptote in terms of the numerator and denominator. | End behavior and the degree test, branch direction |
| AP Precalculus 1.10 | Determine holes in the graph of a rational function, and distinguish them from vertical asymptotes. | Hole or vertical asymptote, worked example 2, Parts A and B |
Berke Sahbazoglu holds a BA in Biochemistry from Washington University in St. Louis and has tutored Algebra 1, Algebra 2, Precalculus, and AP science for more than ten years. He owns Burke Tutoring in Fremont, an in-home tutoring practice serving Fremont, Newark, and Union City, California.
The problems on this page were prepared from previous class notes and assigned homework. The worked examples follow the order used in sessions with students taking Algebra 2 and Precalculus at FUSD, Newark USD, and New Haven USD schools.
If you can find the asymptotes but your sketch still feels uncertain, make a sign chart. One test value in each interval tells you whether that part of the graph sits above or below the x-axis. That step is usually where our sessions on this topic go.
Burke Tutoring works with students in Fremont, Newark, and Union City on Algebra 1, Algebra 2, Precalculus, and AP coursework, including students who have an IEP or a 504 plan, alongside whatever accommodations their school already has in place.
Call or text to talk about a first session:
See current rates and session formats, or browse math tutoring in Fremont, tutoring in Newark, and tutoring in Union City.