College Algebra / Rational functions
Rational functions
All 7 lessons, in order.
The unit at a glance
- The reciprocal function and arrow notation
Picture a trip of 1 mile.
- The domain of a rational function
Picture a vending machine with one broken button.
- Vertical asymptotes and holes
Picture a long sidewalk.
- Horizontal and slant asymptotes
Picture a tug of war between the top and the bottom of the fraction while x grows huge.
- Intercepts of a rational function
Picture a map with two straight roads.
- Graphing a rational function from its features
Think of drawing a road on a map before you have driven it.
- Writing a rational function from its graph
So far you were handed a formula and you drew its graph.
Rules (7)
- The reciprocal function and arrow notation
The reciprocal function is f(x) = . Its domain and its range are both (−∞, 0) ∪ (0, ∞): every real number except 0. Near zero: as x → , f(x) → ∞, and as x → , f(x) → −∞. Far away: as x → ∞, f(x) → 0, and as x → −∞, f(x) → 0. In arrow notation the arrow reads "approaches" or "goes to", a raised + means from the right, and a raised − means from the left.
- The domain of a rational function
A rational function has the form f(x) = , where P(x) and Q(x) are polynomials and Q(x) is not the zero polynomial.
Domain of f: every real number x with Q(x) ≠ 0. Solve Q(x) = 0 on the original formula, before any canceling, and leave out each solution. - Vertical asymptotes and holes
Factor the top and the bottom and cancel every common factor. If x = a still makes the bottom zero after canceling, the line x = a is a vertical asymptote. If x = a makes the original bottom zero but no longer makes the simplified bottom zero, the graph has a hole (a removable discontinuity) at x = a, and the height of the hole is the value of the simplified formula at a.
- Horizontal and slant asymptotes
For a top that is not the constant 0, compare the degree of the top with the degree of the bottom. Top degree < bottom degree: horizontal asymptote y = 0. Degrees equal: horizontal asymptote y = . Top degree = bottom degree + 1: no horizontal asymptote, and the slant asymptote is y = the quotient of top ÷ bottom with the remainder dropped. Top degree bigger by 2 or more: neither.
- Intercepts of a rational function
Let f(x) = be a rational function, where p(x) is the top and q(x) is the bottom.
y-intercept: the point (0, f(0)), when q(0) ≠ 0. When q(0) = 0 there is no y-intercept.
x-intercepts: every point (a, 0) where p(a) = 0 and q(a) ≠ 0. A zero of the top that also makes the bottom 0 is never an x-intercept. - Graphing a rational function from its features
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.
- Writing a rational function from its graph
The first candidate formula, with the simplest factors, for a graph that crosses the x-axis at x = p and x = q, has vertical asymptotes at x = r and x = s, and has a hole at x = c is f(x) = a · with a ≠ 0. With no hole, leave out both (x − c) factors. Find a by plugging in one more point of the graph that is not on the x-axis. If the graph goes the same way on both sides of a vertical asymptote, square that bottom factor, the simplest even power. If the graph touches the x-axis at an intercept and turns back, square that top factor. Check the candidate against the rest of the graph: a graph can call for higher powers or for factors with no real zero, such as + 1.
Recipes (7)
- The reciprocal function and arrow notation
- Cross out x = 0. The division 1 ÷ 0 has no value, so the graph has no point on the y-axis.
- Plot three anchor points on the right: (, 2), (1, 1) and (2, ).
- Plot the matching points on the left by switching both signs: (−, −2), (−1, −1) and (−2, −). A negative input gives the same size of output with a minus sign.
- Near zero, test inputs closer and closer to 0 from each side. From the right the outputs climb without bound. From the left they drop without bound.
- Far away, test inputs of larger and larger size. The outputs close in on 0, from above on the right and from below on the left.
- Draw two separate smooth branches, one in Quadrant I and one in Quadrant III. Do not join them across x = 0.
- Write each trend in arrow notation: first where x heads, then where f(x) heads.
- The domain of a rational function
- Say what is asked. 'Find the domain' means: list every input x that gives an output.
- Cover the top. Copy down only the bottom of the formula as it was given. Do not cancel anything first.
- Set the bottom equal to 0. This hunts for the inputs that would make the machine divide by 0.
- Solve that equation. If the bottom is a line, undo the adding and the multiplying. If it has or higher, factor it and set each factor equal to 0.
- Plug each solution back into the original bottom and confirm that you get 0.
- Write the domain: all real numbers except those solutions. On a number line, put an open dot at each excluded number and write the pieces between them in interval notation, joined by ∪.
- Vertical asymptotes and holes
- Factor the top and the bottom completely.
- Set the original bottom equal to 0 and solve. These are the inputs the function cannot take. Every break in the graph sits at one of them.
- Cancel every factor that appears in both the top and the bottom. Write the simplified formula, and keep a note of every input you excluded in step 2.
- Test each excluded input in the simplified bottom. If the bottom is still zero there, the line x = a is a vertical asymptote.
- If the simplified bottom is no longer zero there, the graph has a hole at x = a. Plug a into the simplified formula to get the height b, and write the hole as the point (a, b).
- Count. The vertical asymptotes and the holes together must account for every excluded input from step 2.
- Horizontal and slant asymptotes
- Find the degree of the top and the degree of the bottom: the highest power of x in each. Write both numbers down. A top that is the constant 0 has no degree: that function is 0 wherever it is defined.
- If the top's degree is smaller, the horizontal asymptote is y = 0. Stop.
- If the degrees are equal, divide the leading coefficient of the top by the leading coefficient of the bottom, keeping both signs. That number is the height of the horizontal asymptote. Stop.
- If the top's degree is exactly one more, divide the top by the bottom with polynomial division. The quotient, without the remainder, is the slant asymptote.
- If the top's degree is two or more above the bottom's, report that there is no horizontal asymptote and no slant asymptote.
- As a consistency check, try a big input such as x = 100 or x = 1000; the output is usually close to the line you found. The degrees or the division decide the asymptote; the number only checks it.
- Intercepts of a rational function
- Factor the top and the bottom. Use the original bottom to list the domain: every x except the ones that make the bottom 0.
- For the y-intercept, ask whether 0 is in the domain. If it is, compute f(0) and write the point (0, f(0)). If it is not, write: no y-intercept.
- For the x-intercepts, set the top equal to 0 and solve. These answers are the candidates.
- Test each candidate in the original bottom. Cross out any candidate that makes the bottom 0.
- Write each surviving candidate a as the point (a, 0).
- Check: put each surviving candidate into the original formula. You should get 0 over a number that is not 0.
- Graphing a rational function from its features
- 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.
- 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.
- Set the simplified bottom equal to 0. Each solution is a vertical asymptote. Draw a dashed vertical line at each one.
- 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.
- 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.
- 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.
- 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.
- 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.
- Check with one input very close to each vertical asymptote and one input far out, such as x = 100.
- Writing a rational function from its graph
- Say what the question asks: build the fraction whose graph has exactly the features you see.
- List the x-intercepts. For a crossing at x = p, write the factor (x − p) on the top, and for a touch that turns back, (x − p. If there are no x-intercepts, try a top with no x in it, the simplest choice; the rest of the graph can still call for a factor with no real zero, such as + 1.
- List the vertical asymptotes. For a wall at x = r, write the factor (x − r) on the bottom. If the graph goes the same way (both up or both down) on the two sides of the wall, write (x − r instead.
- Look for a hole (an open circle). For a hole at x = c, write (x − c) on both the top and the bottom.
- Put an unknown number a in front of the fraction.
- Pick one point on the graph that is not on the x-axis and is not the hole. The y-intercept is usually the most convenient. Plug in its x and its y, then solve for a.
- Write the finished formula. Check it against a feature you did not use: the horizontal asymptote or a second point.
Traps (7)
- The reciprocal function and arrow notation
The most common mistake is running the two behaviors together: thinking a small input gives a small output, or writing "as x → 0, f(x) → 0". It is the reverse. Inputs near 0 give outputs far from 0, and inputs far from 0 give outputs near 0. Before you write any arrow statement, plug in one test number, such as 0.01 or 1000, and look at both the size and the sign of the answer.
- The domain of a rational function
Canceling before you find the domain. f(x) = factors to and cancels to x + 1, which looks as if it accepts every number. But the original formula at x = 1 is 0 ÷ 0, which has no answer. The domain is still (−∞, 1) ∪ (1, ∞). Always solve bottom = 0 on the formula as it was given, and simplify only after that.
- Vertical asymptotes and holes
The most common mistake is to stop at the domain: you find the zeros of the bottom and call every one of them a vertical asymptote. Some of them may be holes. Always factor and cancel first, then sort each excluded input by whether it still makes the simplified bottom zero. Still zero means a wall. No longer zero means a hole, with its height taken from the simplified formula.
- Horizontal and slant asymptotes
Dividing the leading coefficients without first comparing the degrees. The ratio of leading coefficients is the horizontal asymptote only when the two degrees are equal. For the tempting answer y = 3 is wrong: the bottom is stronger, so the answer is y = 0. Write the two degrees down before you touch the coefficients.
- Intercepts of a rational function
Keeping a zero of the top that also makes the bottom zero. For f(x) = , the top is 0 at x = 1 and at x = −1. But x = 1 makes the bottom 0 too, so f(1) is 0 ÷ 0, which is undefined. The graph has a hole at (1, 2) there, and the only x-intercept is (−1, 0). Test every candidate in the original bottom before you call it an intercept.
- Graphing a rational function from its features
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.
- Writing a rational function from its graph
Stopping after the factors. has the right crossing and the right wall, but its graph passes through (0, −) and levels off at y = 1. The graph in the example passes through (0, −1) and levels off at y = 2. Always write a in front and use a point to find it, even when a turns out to be 1.
Lesson 1 of 7
The reciprocal function and arrow notation
Open this lessonLeans on 0Comes back in 0
Leans on
No lesson links recorded.
Comes back in
No lesson links recorded.
1 In plain words
Picture a trip of 1 mile. Travel at x miles per hour and the trip takes 1 ÷ x hours. At 2 miles per hour it takes hour. At 100 miles per hour it takes hour: tiny, but never zero. Now slow down. At mile per hour it takes 2 hours. At mile per hour it takes 100 hours. At 0 miles per hour you never arrive, so there is no answer at all. The rule "give back 1 divided by the input" is the reciprocal function, f(x) = . Arrow notation is shorthand for sentences such as "as the speed shrinks toward 0, the time grows without end."
2 Picture it
Reminder
Reminder: Dividing by a fraction, Small decimals as fractions, Signs when dividing, Dividing by zero, Ordering negative numbers, Domain and range in interval form, Quadrants
- Dividing by a fraction. Dividing by a fraction means multiplying by its flip: 1 ÷ = 1 × 4 = 4.
- Small decimals as fractions. 0.1 is , 0.01 is , 0.001 is . So 1 ÷ 0.01 = 1 × 100 = 100.
- Signs when dividing. A positive divided by a negative is negative: 1 ÷ (−2) = −. The negative of a negative is positive: −(−10) = 10.
- Dividing by zero. 1 ÷ 0 has no value, because no number times 0 gives 1.
- Ordering negative numbers. On the number line, −0.01 is to the right of −0.1 and closer to 0, the same way a debt of one cent is closer to nothing than a debt of ten cents.
- Domain and range in interval form. The domain is the set of inputs a function accepts and the range is the set of outputs it produces. "Every number except 0" is written (−∞, 0) ∪ (0, ∞).
- Quadrants. Quadrant I is the upper right, where x and y are both positive, such as (1, 1). Quadrant III is the lower left, where both are negative, such as (−1, −1).
3 Why
Dividing 1 by a number asks how many pieces of that size fit into 1. One hundred pieces of size fit, so 1 ÷ = 100. Shrink the piece and more fit. Dividing 1 by a large number cuts 1 into many parts: each part is tiny, yet never nothing, because 0 times any count is 0, never 1. That same fact rules out x = 0: no number times 0 gives 1. A negative input gives the same size with a minus sign. These are trends, not single values, so they get their own shorthand: arrow notation.
4 The rule
The reciprocal function is .
Its domain and its range are both : every real number except 0. Near zero: as , and as . Far away: as , and as . In arrow notation the arrow reads "approaches" or "goes to", a raised means from the right, and a raised means from the left.
The same idea, five ways
As x approaches zero from the right, f of x goes to infinity.
When the inputs are positive numbers closer and closer to 0, the outputs of f grow larger than any number you can name.
- as x → , f(x) → ∞
- as x → , f(x) → −∞
- as x → ∞, f(x) → 0
- as x → −∞, f(x) → 0
A car creeping toward a stop: as its speed nears 0, the time to cover the next mile grows without end.
The same idea, other ways
The graph has two separate curves, called branches. The right branch lives in Quadrant I: it comes down from the top of the picture beside the y-axis, passes through (1, 1), and flattens toward the x-axis. The left branch lives in Quadrant III and is the same curve after a half turn about the origin: far to the left it hugs the x-axis from underneath, and beside the y-axis it plunges downward. Neither branch touches either axis.
Share one pizza equally among x people. Each person gets of it. With 2 people each gets . With 4, each gets . With 8, each gets . With a thousand, each gets a crumb, yet never nothing. That is the far away behavior. Now turn the question around: how many slices of size x can you cut from one pizza? Slices of size give 8 slices. Slices of size give 100 slices. The smaller the slice, the larger the count, with no top. That is the behavior near zero.
Start at the middle column of the table, where the input 1 gives the output 1. Moving left, the inputs shrink toward 0 and the outputs grow. Moving right, the inputs grow and the outputs shrink toward 0. The two rows hold the same numbers in opposite order: the reciprocal trades small for large and large for small.
Small bottom, big answer. Big bottom, small answer. Zero bottom, no answer. And the sign tags along: a positive input gives a positive output, a negative input gives a negative output.
Multiply any input by its output and you get 1, because x × = 1. Two numbers whose product is 1 are locked together. If one is tiny, the other must be huge: 0.001 × 1000 = 1. If one is huge, the other must be tiny: 1000 × 0.001 = 1. Neither can be 0, because 0 times anything is 0, not 1. That is why the graph has no point at x = 0 and no point at height 0. And since the product is positive, the two numbers always share a sign.
| Symbol | Say it | What it means |
|---|---|---|
| x approaches 0 from the right | The inputs are positive and closing in on 0: 0.1, 0.01, 0.001. | |
| x approaches 0 from the left | The inputs are negative and closing in on 0: −0.1, −0.01, −0.001. | |
| x approaches a from the right | The same idea at any number a. For a = 2 the inputs are 2.1, 2.01, 2.001. | |
| x approaches a from the left | For a = 2 the inputs are 1.9, 1.99, 1.999. | |
| x → ∞ | x goes to infinity | The inputs grow without bound: 10, 100, 1000. |
| x goes to negative infinity | The inputs fall without bound: −10, −100, −1000. | |
| f(x) → ∞ | f of x goes to infinity | The outputs grow past every number. The graph climbs off the top of the picture. |
| f of x goes to negative infinity | The outputs fall below every number. The graph drops off the bottom of the picture. | |
| f(x) → 0 | f of x approaches 0 | The outputs close in on 0. The graph flattens toward the x-axis. |
Part 1: Near zero: the graph shoots up or down
Stand beside zero on the number line and take smaller and smaller steps toward it. On the right side, the table shows what happens: each input closer to 0 gives a larger output, and the outputs pass any number you name. On the left side the inputs are negative, so the outputs are negative too, and they fall below any number you name. It is the 1 mile trip at a crawl: the slower you go, the longer it takes, with no limit.
- From the right: as x → , f(x) → ∞.
- From the left: as x → , f(x) → −∞.
- At x = 0 itself there is no output and no point on the graph.
- The y-axis, which is the line x = 0, is the vertical asymptote of this graph: an up and down line that the curve runs alongside, closer and closer, while the outputs shoot off.
Worked example
From the left side of zero
What does f(x) = do as x approaches 0 from the left? In plain words: the inputs are negative numbers sliding toward 0. Find where the outputs head.
Show the steps and the answer
- Choose inputs left of 0 that close in on it: . They are the top row of the table.From the left means through numbers less than 0. Each number in the list is nearer to 0 than the one before it.
- Divide 1 by each input. In the column under the output is , under it is , and under it is .1 ÷ 0.01 = 100, since 0.01 is and dividing by a fraction multiplies by its flip. A positive divided by a negative is negative.
- Read the trend along the bottom row. The outputs fall lower at every step, with no floor.Each step toward 0 makes the size of the output larger, and the sign stays negative.
- Write it in arrow notation: as .The first half says where the inputs head. The second half says where the outputs head.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- To test the right side of 0, plug in 0.01. To test the left side, plug in −0.01. The sign of the output tells you whether the graph goes up or down.
Part 2: Far away: the graph flattens toward the x-axis
Now walk far out along the number line. The table shows the right side: as the inputs grow by tens, the outputs shrink by tens. They close in on 0 and never get there. Far to the left the inputs are large negative numbers, and the outputs are small negative numbers, closing in on 0 from underneath. It is the 1 mile trip at higher and higher speeds: the time shrinks toward nothing, yet some time always passes.
- To the right: as x → ∞, f(x) → 0. The outputs stay positive, so the curve sits above the x-axis.
- To the left: as x → −∞, f(x) → 0. The outputs stay negative, so the curve sits below the x-axis.
- No input gives the output 0, because 1 divided by a number is never 0.
- The x-axis, which is the line y = 0, is the horizontal asymptote of this graph: a level line that the curve settles toward far to the right and far to the left.
Worked example
Far out to the left
What does f(x) = do as x goes to negative infinity? In plain words: the inputs are negative numbers of larger and larger size. Find where the outputs head.
Show the steps and the answer
- Choose inputs running off to the left: . They are the top row of the table.Going to negative infinity means falling below every number, so each input is ten times farther left than the one before.
- Divide 1 by each input. Under the output is , under it is , and under it is .1 ÷ 100 = 0.01, and a positive divided by a negative is negative.
- Read the trend along the bottom row. The outputs get smaller in size at every step and stay negative.Cutting 1 into more parts makes each part smaller. The minus sign comes along from the input.
- Write it in arrow notation: as .The outputs close in on 0, so 0 goes after the second arrow.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- To test far right, plug in 1000. To test far left, plug in −1000. A tiny positive answer means the curve is above the x-axis, a tiny negative answer means it is below.
5 How
- Cross out x = 0. The division 1 ÷ 0 has no value, so the graph has no point on the y-axis.
- Plot three anchor points on the right: (, 2), (1, 1) and (2, ).
- Plot the matching points on the left by switching both signs: (−, −2), (−1, −1) and (−2, −). A negative input gives the same size of output with a minus sign.
- Near zero, test inputs closer and closer to 0 from each side. From the right the outputs climb without bound. From the left they drop without bound.
- Far away, test inputs of larger and larger size. The outputs close in on 0, from above on the right and from below on the left.
- Draw two separate smooth branches, one in Quadrant I and one in Quadrant III. Do not join them across x = 0.
- Write each trend in arrow notation: first where x heads, then where f(x) heads.
Describing behavior in arrow notation
- Pick the place to study: beside a break in the graph (for , the break is at x = 0) or far out to the right or left.
- Choose inputs that march toward that place from one side, such as 0.1, 0.01, 0.001 for the right side of 0, or 10, 100, 1000 for far to the right.
- Compute the output for each input and put the pairs in a table.
- Read the trend in the output row: growing without bound, falling without bound, or closing in on one number.
- Write the sentence in two halves: as x → (where the inputs head), f(x) → (where the outputs head).
- Repeat for the other side of the break and for the other far direction. Each one gets its own statement.
6 Worked example
Worked example
From a table to a sketch to four arrow statements
Sketch the graph of f(x) = and write, in arrow notation, what it does near zero and far away. In plain words: find enough points to draw the curve, then say where the outputs head as the inputs slide toward 0 from each side and as they run off to the right and to the left.
Show the steps and the answer
- Try the input 0: f(0) would be , which has no value. Leave out and put no point on the y-axis.No number times 0 gives 1, so the division has no answer. This step finds the one input the function refuses, so we know where the graph breaks.
- Compute three points on the right: . Plot , (1, 1) and .Dividing 1 by means multiplying 1 by the flip, 2. Dividing 1 by 1 gives 1. Dividing 1 by 2 gives .
- Compute three points on the left: . Plot and .A positive divided by a negative is negative, so each output keeps its size and takes a minus sign.
- Slide toward 0 from the right. In the first table, the columns under 0.1, 0.01 and 0.001 hold 10, 100 and 1000. Write: as .The outputs grow past every number, and the raised + records that the inputs came in from the right.
- Slide toward 0 from the left. In the first table, the columns under and hold and . Write: as .The outputs fall below every number, and the raised − records that the inputs came in from the left.
- Run far to the right. In the second table, the columns under 10, 100 and 1000 hold 0.1, 0.01 and 0.001. Write: as .The outputs close in on 0 and stay positive.
- Run far to the left. In the second table, the columns under and hold and . Write: as .The outputs close in on 0 and stay negative.
- Join the three right points with one smooth curve that climbs steeply beside the y-axis and flattens toward the x-axis. Draw a second, separate curve through the three left points. Do not connect the two curves across .There is no point at x = 0, and the outputs head in opposite directions on the two sides, so nothing joins the branches.
- Two separate branches: one in Quadrant I through (, 2), (1, 1), (2, ) and one in Quadrant III through (−, −2), (−1, −1), (−2, −).
- As x → , f(x) → ∞.
- As x → , f(x) → −∞.
- As x → ∞, f(x) → 0.
- As x → −∞, f(x) → 0.
Ladder: from easy to exam-hard
Try each rung before you open its steps.
Rung 1 of 5
Rung 1: evaluate the reciprocal function
For f(x) = , find f(4), f() and f(−5). In plain words: each number in the parentheses is an input. Find its output.
Show the steps and the answer
- Replace x by 4: .The rule says to divide 1 by the input.
- Replace x by : .Dividing by a fraction means multiplying by its flip, and the flip of is 4.
- Replace x by −5: .A positive divided by a negative is negative.
Rung 2 of 5
Rung 2: translate between words and arrow notation
(a) Write in arrow notation: as x approaches 0 from the left, f(x) goes to negative infinity. (b) Say aloud: as x → ∞, f(x) → 0. In plain words: turn a sentence into symbols, then turn symbols back into a sentence.
Show the steps and the answer
- For (a), turn "x approaches 0 from the left" into .The arrow means approaches. The left side of 0 is the negative side, so it is marked with a raised minus.
- Turn "f(x) goes to negative infinity" into .Going to negative infinity means falling below every number, written −∞.
- For (b), read as "x goes to infinity" and as "f of x approaches 0".Each arrow is read "goes to" or "approaches". The first half is about inputs, the second about outputs.
- (a) As x → , f(x) → −∞.
- (b) "As x goes to infinity, f of x approaches 0."
Rung 3 of 5
Rung 3: how far out is far enough
For f(x) = with positive x, how large must x be before the output drops below ? In plain words: the output has a ceiling of . Find the inputs that keep the output under it.
Show the steps and the answer
- Find the border input, where the output is exactly : gives .Two fractions with the same top, 1, are equal only when their bottoms match. This finds the one input that sits exactly on the ceiling, so we know where to look on each side of it.
- Plug it back in: .Plugging the value back in shows it does what we wanted: the output equals the ceiling, not below it.
- Test a larger input: , and 0.001 < 0.002.A larger bottom makes a smaller fraction, so inputs past 500 fall under the ceiling.
- Test a smaller input: , and 0.01 > 0.002.A smaller bottom makes a larger fraction, so inputs before 500 are over the ceiling.
- State the result: the output is below for every x > 500.The border is at 500 and the outputs keep shrinking as x grows.
Rung 4 of 5
Rung 4: a flipped sign
Let h(x) = −. Write what h does as x → , as x → , as x → ∞ and as x → −∞. In plain words: this is the reciprocal with its sign switched. Find where the outputs head in each of the four directions.
Show the steps and the answer
- Right of 0: in the table, the columns under 0.1, 0.01 and 0.001 hold and . Write: as .There is a large positive number, and the minus sign in front turns it into a large negative one.
- Left of 0: the columns under and hold 10, 100 and 1000. Write: as .There is a large negative number, and the negative of a negative is positive: −(−100) = 100.
- Far right: . Write: as .The size shrinks toward 0 exactly as for . The sign is negative, so the curve comes in from below the x-axis.
- Far left: . Write: as .The size shrinks toward 0 again, this time from above the x-axis.
- As x → , h(x) → −∞.
- As x → , h(x) → ∞.
- As x → ∞, h(x) → 0.
- As x → −∞, h(x) → 0.
Rung 5 of 5
Rung 5: read arrow notation from a shifted graph
The graph of g(x) = + 1 is shown. From the picture, write what g does as x → , as x → , as x → ∞ and as x → −∞. In plain words: slide along the curve toward the dashed vertical line from each side, then far out each way, and say where the height of the curve heads.
Show the steps and the answer
- Find the break: the dashed vertical line at . The curve has no point there.At x = 2 the bottom of the fraction is 2 − 2 = 0, and 1 ÷ 0 has no value.
- Start on the branch to the right of the line and slide left toward . The curve climbs off the top of the picture. Write: as .Coming from the right is marked , and climbing past every height is written → ∞.
- Start on the branch to the left of the line and slide right toward . The curve drops off the bottom of the picture. Write: as .Coming from the left is marked , and falling below every height is written → −∞.
- Follow the right branch far to the right. It flattens toward the dashed level line at height 1. Write: as .The heights close in on 1, not 0, because the whole graph was lifted by 1.
- Follow the left branch far to the left. It flattens toward the same level line from underneath. Write: as .The heights close in on 1 again, this time from below.
- As x → , g(x) → ∞.
- As x → , g(x) → −∞.
- As x → ∞, g(x) → 1.
- As x → −∞, g(x) → 1.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Small bottom, big answer. Big bottom, small answer. Zero bottom, no answer.
- The sign tags along: the output of has the same sign as the input.
- Check any point on the graph by multiplying: the input times the output must be 1.
- Unsure which way an arrow goes? Plug in a test number: 0.01 for , −0.01 for , 1000 for ∞, −1000 for −∞.
- An arrow statement has two halves, where x heads and where f(x) heads. If you wrote only one half, the statement is not finished.
- ∞ is not a number you can reach or plug in. It is a direction: growing past every number.
- The reciprocal function is the simplest rational function, which means one polynomial divided by another: the top is 1 and the bottom is x. Many graphs later in this unit share its pattern, a wall where the bottom is 0 and a level line far away; others add holes, walls with both sides going the same way, or slanted and curved far ends.
7 The trap
The most common mistake is running the two behaviors together: thinking a small input gives a small output, or writing "as x → 0, f(x) → 0". It is the reverse. Inputs near 0 give outputs far from 0, and inputs far from 0 give outputs near 0. Before you write any arrow statement, plug in one test number, such as 0.01 or 1000, and look at both the size and the sign of the answer.
Flash cards
Say the answer out loud, then flip.
On a 1 mile trip at x miles per hour, the time is hours. What happens to the time as the speed shrinks toward 0 from the positive side?
- The time grows without end.
- At mile per hour the trip takes 2 hours. At mile per hour it takes 100 hours.
- In arrow notation: as x → , f(x) → ∞.
Why does the reciprocal function f(x) = have no point at x = 0?
- Because 1 ÷ 0 has no value.
- No number times 0 gives 1, so there is no output to plot.
- The graph never touches the y-axis, and its two branches stay separate.
In arrow notation, what do x → and x → say out loud?
- x → says "x approaches 0 from the right", through inputs a little larger than 0.
- x → says "x approaches 0 from the left", through inputs a little smaller than 0.
- The arrow reads "approaches" or "goes to".
For f(x) = , what do the outputs do as x → ∞ and as x → −∞? Test x = 1000 and x = −1000.
- They close in on 0 and never reach it.
- f(1000) = , a little above 0.
- f(−1000) = −, a little below 0.
- In arrow notation: as x → ∞, f(x) → 0, and as x → −∞, f(x) → 0.
Lesson 2 of 7
The domain of a rational function
Open this lessonLeans on 1Comes back in 1
Leans on
Comes back in
1 In plain words
Picture a vending machine with one broken button. Every other button drops a snack. Press the broken one and nothing comes out. A rational function is a fraction machine: one polynomial on top, another polynomial on the bottom. You feed it a number for x. It works out the top, works out the bottom, then divides. Almost every number goes through. The only numbers that fail are the ones that turn the bottom into 0, because no number can be divided by 0. The domain is the list of buttons that work: every real number except the ones that make the bottom zero. Finding the domain means finding the broken buttons and taping over them.
2 Picture it
Reminder
Reminder: Domain, Dividing by zero, Solving a linear equation, A product equal to zero, Factoring + bx + c, A square is never negative, Interval notation
- Domain. The domain is the set of all inputs a function accepts. For f(x) = , the domain is every real number except 0.
- Dividing by zero. No number can be divided by 0. 8 ÷ 0 asks what number times 0 gives 8, and nothing does. But 0 ÷ 8 = 0, because 0 × 8 = 0.
- Solving a linear equation. Undo the adding first, then the multiplying. 2x − 6 = 0: add 6 to get 2x = 6, then divide by 2 to get x = 3.
- A product equal to zero. If two things multiply to 0, one of them is 0. (x − 4)(x + 3) = 0 means x − 4 = 0 or x + 3 = 0, so x = 4 or x = −3.
- Factoring + bx + c. Find two numbers that multiply to c and add to b. For − x − 12, the numbers are −4 and 3, so it factors as (x − 4)(x + 3).
- A square is never negative. ≥ 0 for every real number x: = 9 and (−3 = 9. So plus a positive number is never 0.
- Interval notation. A round parenthesis leaves the end out, and ∪ means 'together with'. (−∞, 3) ∪ (3, ∞) reads: everything below 3, together with everything above 3.
3 Why
Division is multiplication run backward. 12 ÷ 3 = 4 because 4 × 3 = 12. So 12 ÷ 0 asks: what number times 0 gives 12? No number does, since anything times 0 is 0. An input that makes the bottom 0 therefore has no output, so it cannot be in the domain. Nothing else can go wrong. A polynomial only adds, subtracts and multiplies, and those work for every real number. So the top never causes trouble, and the bottom causes trouble only where it equals 0. That is why you look at the bottom and nowhere else.
4 The rule
A rational function has the form , where P(x) and Q(x) are polynomials and Q(x) is not the zero polynomial.
Domain of f: every real number x with . Solve on the original formula, before any canceling, and leave out each solution.
The same idea, five ways
'x can be any real number except 3.' Or: 'all reals but 3.'
The domain of f(x) = is every real number other than 3, because 3 is the one input that makes the bottom zero.
- x ≠ 3
- {x | x ≠ 3}
- Graph words: the graph has no point straight above or below x = 3
A road that runs forever in both directions with one bridge out at mile 3. You can stand anywhere on the road except on that one spot.
The same idea, other ways
Draw the number line. For f(x) = , the bottom is 0 at x = −2 and at x = 2, since (−2 − 4 = 0 and − 4 = 0. Erase those two dots. Everything that is still drawn is the domain: three stretches of line with two tiny gaps.
The machine for f(x) = has two jobs: subtract 3 from your number, then divide 5 by the result. Feed it 4 and it computes 5 ÷ 1 = 5. Feed it 8 and it computes 5 ÷ 5 = 1. Feed it 3 and it reaches 5 ÷ 0 and jams. The number 3 is the broken button. Every other button works.
Take f(x) = and try whole numbers. In the table, the columns under 0, 1, 3, 4 and 5 each hold an output. There is no column under 2, because f(2) would be 6 ÷ 0. Look at the columns under 1 and 3, the neighbors of 2: both hold ordinary numbers. The trouble sits at 2 alone, not near it.
Sharing 12 cookies among 3 plates puts 4 on each. Among 2 plates, 6 each. Among 1 plate, all 12. Among 0 plates, there is nowhere to put a cookie, and no count per plate makes sense. A fraction is a sharing problem, with the bottom as the number of plates. When the bottom is 0, the question has no answer, so that input has no output.
The top can be zero. The bottom cannot. Cover the top with your thumb, ask 'when is the bottom 0?', and throw those numbers out. Everything else stays.
5 How
- Say what is asked. 'Find the domain' means: list every input x that gives an output.
- Cover the top. Copy down only the bottom of the formula as it was given. Do not cancel anything first.
- Set the bottom equal to 0. This hunts for the inputs that would make the machine divide by 0.
- Solve that equation. If the bottom is a line, undo the adding and the multiplying. If it has or higher, factor it and set each factor equal to 0.
- Plug each solution back into the original bottom and confirm that you get 0.
- Write the domain: all real numbers except those solutions. On a number line, put an open dot at each excluded number and write the pieces between them in interval notation, joined by ∪.
Finding the domain of a rational function
- Work from the formula exactly as it was given. Do not simplify or cancel yet.
- Ignore the top. Write the bottom by itself.
- Set the bottom equal to 0. The solutions are the inputs to throw out, not the domain itself.
- Solve. A bottom like 2x − 6 takes two moves: add 6, then divide by 2. A bottom with or needs factoring first, then each factor is set equal to 0.
- Plug every solution back into the original bottom to see the 0 with your own eyes.
- Line the excluded numbers up from smallest to largest. They cut the number line into pieces. Write each piece with round parentheses and join the pieces with ∪.
- Count: one excluded number makes two pieces, two make three, three make four. If nothing is excluded, the domain is (−∞, ∞).
6 Worked example
Worked example
A quadratic bottom with two excluded inputs
Find the domain of f(x) = . In plain words: list every input x that gives an output, by first finding the inputs that do not.
Show the steps and the answer
- Cover the top, . Write down only the bottom: .The top is a polynomial, and a polynomial accepts every real number. Only the bottom can stop the division.
- Set the bottom equal to 0: .This step hunts for the inputs that would make the machine divide by 0, so they can be thrown out. It is not solving f(x) = 0.
- Factor the bottom. Find two numbers that multiply to and add to . They are and 3, so .(−4) × 3 = −12 and −4 + 3 = −1. A factored bottom shows its zeros one factor at a time.
- Set each factor equal to 0. gives . gives .A product is 0 only when one of its factors is 0, so these two small equations find every zero of the bottom.
- Plug each value back into the original bottom. At : . At : .Both make the bottom 0. The top is 9 at x = 4 and −5 at x = −3, so f(4) would be 9 ÷ 0 and f(−3) would be −5 ÷ 0. Neither has an answer.
- Throw out and 4 and keep everything else. On the number line, put an open dot at and an open dot at 4, then shade the three stretches around them.Two excluded numbers cut the line into three pieces: left of −3, between −3 and 4, and right of 4.
- Write the pieces in interval notation from left to right: .A round parenthesis means that end is left out, and ∪ joins the pieces into one set.
- Excluded inputs: x = −3 and x = 4
- Domain: (−∞, −3) ∪ (−3, 4) ∪ (4, ∞)
- In words: all real numbers except −3 and 4
Ladder: from easy to exam-hard
Try each rung before you open its steps.
Rung 1 of 6
One number to leave out
Find the domain of f(x) = . In plain words: which inputs give an output?
Show the steps and the answer
- Look at the bottom only: .The top is the number 4. It never causes trouble.
- Set the bottom equal to 0 and solve: , so .This finds the one input that would make the bottom zero, so it can be thrown out. Adding 6 to both sides leaves x alone.
- Plug it back in: , so f(6) would be .Division by 0 has no answer, so 6 is not in the domain.
- Write everything else: .One excluded number cuts the number line into two pieces.
- Excluded input: x = 6
- Domain: (−∞, 6) ∪ (6, ∞)
Rung 2 of 6
A line on the bottom, a fraction to leave out
Find the domain of g(x) = . In plain words: find the input that breaks the division, then keep all the others.
Show the steps and the answer
- Write the bottom and set it equal to 0: .This finds the input that makes the bottom zero. The top, x + 1, is ignored.
- Subtract 2 from both sides: .Subtracting 2 undoes the + 2 and keeps the equation balanced.
- Divide both sides by 3: .Dividing by 3 undoes the multiplying by 3. The answer is a fraction. Leave it exact.
- Plug it back in: .The bottom really is 0 there, so − must be left out.
- Write the domain: .One excluded number, two pieces.
- Excluded input: x = −
- Domain: (−∞, −) ∪ (−, ∞)
Rung 3 of 6
A bottom that is never zero
Find the domain of h(x) = . In plain words: is there any input that makes the bottom 0?
Show the steps and the answer
- Write the bottom and set it equal to 0: .Same hunt as always: look for inputs that make the bottom zero.
- Subtract 9 from both sides: .This asks which number, multiplied by itself, gives −9.
- Stop. No real number squared is negative, so this equation has no solution. is 0 or more for every real x, so + 9 is 9 or more. The bottom never reaches 0.
- Exclude nothing. Domain: .With no input that breaks the division, every real number is allowed.
- Excluded inputs: none
- Domain: (−∞, ∞), all real numbers
Rung 4 of 6
Pull out a number, then a difference of squares
Find the domain of k(x) = . In plain words: find every input that makes 2 − 18 equal 0 and leave those out.
Show the steps and the answer
- Set the bottom equal to 0: .This finds the inputs that would force a division by 0.
- Factor out the 2: .Both terms share a factor of 2, since 18 = 2 × 9.
- Factor as , giving .(x − 3)(x + 3) = + 3x − 3x − 9 = − 9. The middle terms cancel.
- Set each factor that contains x equal to 0: gives , and gives .A product is 0 only when a factor is 0. The factor 2 is never 0, so it adds nothing.
- Plug both back in: , and .Both inputs make the bottom zero, so both are thrown out.
- Write the domain: .Two excluded numbers cut the line into three pieces.
- Excluded inputs: x = −3 and x = 3
- Domain: (−∞, −3) ∪ (−3, 3) ∪ (3, ∞)
Rung 5 of 6
A common factor that tempts you to cancel
Find the domain of m(x) = . In plain words: which inputs does the formula, as written, accept?
Show the steps and the answer
- Do not cancel anything yet. Write the original bottom and set it equal to 0: .The domain belongs to the formula as it was given, before any simplifying.
- Factor: two numbers that multiply to 10 and add to are and , so .(−2) × (−5) = 10 and −2 + (−5) = −7.
- Set each factor equal to 0: and .These are the inputs that make the bottom zero, so they are the ones to throw out.
- Plug both back in: , and .Both make the original bottom 0.
- Notice the top: . It shares the factor () with the bottom. Keep 2 excluded anyway.At x = 2 the original formula is 0 ÷ 0. That asks what number times 0 gives 0, and every number does, so there is no single answer. The canceled form matches m only at inputs m already accepts.
- Write the domain: .Two excluded numbers, three pieces.
- Excluded inputs: x = 2 and x = 5
- Domain: (−∞, 2) ∪ (2, 5) ∪ (5, ∞)
Rung 6 of 6
A cubic bottom with three excluded inputs
Find the domain of p(x) = . In plain words: find every input that makes the bottom 0, then keep all the rest.
Show the steps and the answer
- Set the bottom equal to 0: .This finds every input that would force a division by 0.
- Factor out x: .Every term of the bottom contains at least one x.
- Factor the part in parentheses: two numbers that multiply to and add to are and 1. So .(−5) × 1 = −5 and −5 + 1 = −4.
- Set each of the three factors equal to 0: gives , and gives .A product is 0 only when a factor is 0. The lone x out front is a factor too, and it is the one people forget.
- Plug each back into the original bottom. At 0: . At 5: . At : .All three make the bottom zero, so all three are thrown out.
- Put them in order, , 0, 5, and write the domain: .Three excluded numbers cut the line into four pieces.
- Excluded inputs: x = −1, x = 0 and x = 5
- Domain: (−∞, −1) ∪ (−1, 0) ∪ (0, 5) ∪ (5, ∞)
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Memory device: 'The top can be zero. The bottom cannot.' Cover the top with your thumb before you start.
- Check in two directions. Each excluded number, plugged into the original bottom, must give exactly 0. One allowed number from each piece must give a bottom that is not 0.
- Count your pieces. One excluded number gives two intervals, two give three, three give four. If the count is off, a zero of the bottom is missing or an extra one slipped in.
- Count your zeros. A bottom whose highest power is has at most two zeros, and one with has at most three, because each zero uses up one factor containing x.
- Use round parentheses at every excluded number and at −∞ and ∞. A square bracket would say the number is included, and it is not.
- Watch the sign. The factor (x − 4) excludes 4, and the factor (x + 3) excludes −3. When unsure, plug the number in and see whether the factor becomes 0.
- Find the domain first, simplify second. Write the excluded numbers at the top of your page so they survive any canceling later.
7 The trap
Canceling before you find the domain. f(x) = factors to and cancels to x + 1, which looks as if it accepts every number. But the original formula at x = 1 is 0 ÷ 0, which has no answer. The domain is still (−∞, 1) ∪ (1, ∞). Always solve bottom = 0 on the formula as it was given, and simplify only after that.
Flash cards
Say the answer out loud, then flip.
In the vending machine picture, which buttons are the broken ones for a rational function?
- The inputs that turn the bottom of the fraction into 0.
- Every other real number works, so the domain is all real numbers except those.
Why do you check only the bottom of a rational function when finding the domain, and never the top?
- The top is a polynomial. It only adds, subtracts and multiplies, and those work for every real number.
- The one step that can fail is the division, and it fails only when the bottom equals 0.
Find the domain of f(x) = .
- Set the bottom equal to 0: − 5x + 6 = 0.
- Factor: (x − 2)(x − 3) = 0, so x = 2 or x = 3.
- Check: − 5 · 2 + 6 = 0 and − 5 · 3 + 6 = 0.
- Domain: (−∞, 2) ∪ (2, 3) ∪ (3, ∞).
f(x) = cancels to x + 3. Is x = 3 in the domain?
- No. In the formula as it was given, x = 3 makes the bottom 0, and the machine tries 0 ÷ 0, which has no answer.
- Domain: (−∞, 3) ∪ (3, ∞).
- Solve bottom = 0 first. Cancel only after that.
Lesson 3 of 7
Vertical asymptotes and holes
Open this lessonLeans on 0Comes back in 0
Leans on
No lesson links recorded.
Comes back in
No lesson links recorded.
1 In plain words
Picture a long sidewalk. In the last lesson you found the inputs where the bottom of a rational function is zero: places where the sidewalk has no pavement. This lesson sorts those places into two kinds. One kind is a wall. Near it the graph shoots straight up or straight down, hugging an invisible vertical line it never touches. That line is called a vertical asymptote. The other kind is a missing paving stone: one single point is gone, and the path carries on at the same height on the other side. That is called a hole. To tell which one you have, factor the top and the bottom. A factor (x − a) that cancels away, with no copy of it left in the bottom, leaves a hole at x = a. A factor (x − a) that stays in the bottom builds a wall at x = a.
2 Picture it
Reminder
Reminder: Factoring a trinomial, Difference of squares, A product equal to zero, Canceling, The domain comes from the original bottom, Dividing by a small number, Signs when dividing, Dividing by zero, Arrow notation
- Factoring a trinomial. For + bx + c, find two numbers that multiply to c and add to b: − 4x + 3 = (x − 1)(x − 3), since (−1)(−3) = 3 and −1 + (−3) = −4.
- Difference of squares. − = (a − b)(a + b), so − 9 = (x − 3)(x + 3).
- A product equal to zero. A product is zero only when one of its factors is zero: (x − 1)(x − 3) = 0 gives x = 1 or x = 3.
- Canceling. Only factors cancel, meaning pieces joined by multiplication: = . Pieces joined by + or − do not cancel.
- The domain comes from the original bottom. Find the excluded inputs before you cancel: excludes both 1 and 3, even though it simplifies to .
- Dividing by a small number. With a positive top, the smaller a positive bottom, the bigger the result: 2 ÷ 0.1 = 20 and 2 ÷ 0.01 = 200.
- Signs when dividing. A positive divided by a negative is negative: 2 ÷ (−0.01) = −200.
- Dividing by zero. No number divided by 0 has a value, and 0 ÷ 0 has no value either.
- Arrow notation. x → means x moves toward 1 through numbers a little bigger, such as 1.1 and 1.01. x → means through numbers a little smaller, such as 0.9 and 0.99.
3 Why
Near a zero of the bottom that survives canceling, the top is close to some number that is not zero, while the bottom is close to zero. A fixed number divided by a tiny number is huge: 2 ÷ 0.1 = 20, 2 ÷ 0.01 = 200. So the outputs grow without limit. A factor that cancels with no copy of it left in the bottom acts differently. The fraction equals exactly 1 for every x except 3, so removing it changes nothing anywhere else. Only at x = 3 does the original formula read 0 ÷ 0, which has no value. One point is missing.
4 The rule
Factor the top and the bottom and cancel every common factor.
If x = a still makes the bottom zero after canceling, the line x = a is a vertical asymptote. If x = a makes the original bottom zero but no longer makes the simplified bottom zero, the graph has a hole (a removable discontinuity) at x = a, and the height of the hole is the value of the simplified formula at a.
The same idea, five ways
the line x equals 1 is a vertical asymptote. Say it: there is a hole at the point 3 comma 1. For the wall you can also say: as x approaches 1 from the right, f of x goes to infinity.
Near a vertical asymptote the outputs grow without limit, positive or negative, and the graph never touches the line. At a hole the graph is missing exactly one point and is unbroken on both sides of it.
- vertical asymptote: x = 1
- as x → , f(x) → ∞
- as x → , f(x) → −∞
- hole at (3, 1)
A vertical asymptote is a cliff face the path climbs beside and never crosses. A hole is one missing paving stone in a sidewalk that otherwise carries on at the same level.
The same idea, other ways
Look at the graph of f(x) = . The bottom factors as (x − 2)(x − 4), so it is zero at 2 and at 4. At x = 2 the curve runs up on one side and down on the other beside a dashed vertical line: a wall. At x = 4 the curve passes straight through with one dot removed at height : a hole. Two zeros of the bottom, two different pictures.
You are walking a sidewalk, and the map says the pavement is missing at two addresses. At the first address a cliff face blocks the way. The path bends up the cliff and you cannot follow it across. At the second address one paving stone is gone. You step over the gap and keep walking at the same level. A vertical asymptote is the cliff. A hole is the missing stone.
Take and feed it inputs closer and closer to 2. In the table, read the outputs from the outside columns toward the middle: 10, 100, 1000 on the right side and −10, −100, −1000 on the left side. Each step ten times closer to 2 makes the output ten times farther from 0. The outputs never settle on a number. That is what a vertical asymptote looks like in numbers.
Now take f(x) = and feed it inputs near 4. In the table, the outputs on both sides settle toward 0.5. The column under 4 has no output at all, because the formula reads 0 ÷ 0 there. Outputs that settle toward one number, with one input left out: that is what a hole looks like in numbers.
Cancels out: hole. Stays down: wall. If the factor that makes the bottom zero cancels completely out of the bottom, you get a hole. If any copy of it stays down in the bottom, you get a vertical asymptote.
| Question | Vertical asymptote (wall) | Hole (missing point) |
|---|---|---|
| What happened to the factor (x − a)? | At least one copy stays in the bottom after canceling | It cancels completely out of the bottom |
| What do outputs do near a? | They grow without limit, toward ∞ or toward −∞ | They settle toward one number from both sides |
| What does the graph look like? | The curve climbs or dives beside a dashed vertical line | An unbroken curve with one open circle |
| How do you write it? | As a line: x = a | As a point: (a, b) |
| Formal name | vertical asymptote | removable discontinuity |
Part 1: The vertical asymptote: a wall
A vertical asymptote is an invisible up-and-down line that the graph runs beside and never touches. Think of a cliff face next to a trail. As you walk toward the cliff, the trail turns steeper and steeper until it is climbing almost straight up, or dropping almost straight down. The graph cannot touch the line, because the function has no output at that input.
- Where: at x = a when the factor (x − a) is still in the bottom after canceling.
- Written as: the equation x = a. It is a line, so it gets an equation, not a point.
- Outputs near a: grow without limit, toward ∞ or toward −∞.
- The two sides may go opposite ways, as in , or the same way, as in .
- Arrow notation: as x → or x → , f(x) → ∞ or f(x) → −∞.
- The graph never touches it, because a is not in the domain.
- A rational function may have none, one or several.
Worked example
A wall with nothing to cancel
Find the vertical asymptote of g(x) = and describe each side of it in arrow notation. In plain words: find the input where the outputs run away without limit, then say which way they run on each side.
Show the steps and the answer
- Set the bottom equal to 0: , so .This finds the one input that makes the bottom zero, the only place the graph can break. Plug back in: 4 − 4 = 0.
- Evaluate the top at x = 4: .The top is not zero at 4, so (x − 4) is not a factor of the top and nothing cancels.
- State the vertical asymptote: .The factor (x − 4) stays in the bottom. Near 4 the top is about 5 and the bottom is tiny, so the outputs are huge.
- Right side: try . . So as .A little right of 4 the bottom is a small positive number, and a positive top over a small positive bottom is large and positive.
- Left side: try . . So as .A little left of 4 the bottom is a small negative number, and a positive divided by a negative is negative.
- Vertical asymptote: x = 4
- As x → , g(x) → ∞
- As x → , g(x) → −∞
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Draw a vertical asymptote as a dashed line, so nobody mistakes it for part of the graph.
- To find which way each side goes, plug in one input to the right of a and one to the left, each closer to a than any other zero of the top or bottom, and read the sign of each output.
Part 2: The hole: one missing point
A hole is a single point removed from an otherwise unbroken graph. Think of one paving stone lifted out of a sidewalk: the path on both sides is at the same level, and only that one spot is gone. Its formal name is removable discontinuity. A discontinuity is a break in a graph. This one is called removable because filling in that one point would repair the break completely.
- Where: at x = a when the factor (x − a) cancels completely out of the bottom.
- Written as: the point (a, b), where b is the value of the simplified formula at a.
- Outputs near a: settle toward the single number b from both sides.
- At a itself: no output. The original formula reads 0 ÷ 0.
- On paper: a small open circle on the curve.
- Formal name: removable discontinuity.
Worked example
A line with one point missing
Find the hole of h(x) = and say what the rest of the graph looks like. In plain words: find the one input where the formula reads 0 ÷ 0, and the height the graph would have had there.
Show the steps and the answer
- Set the bottom equal to 0: , so .This finds the one input the function cannot take. Plug back in: −3 + 3 = 0.
- Evaluate the top at x = −3: .The top and the bottom are both zero, so the formula reads 0 ÷ 0. That signals a shared factor.
- Factor the top: .It is a difference of squares, − .
- Cancel (): , for . is 1 for every x except −3. The note x ≠ −3 records that −3 is still not allowed.
- Look at the simplified formula . Its bottom is 1, which is never zero. So is a hole, not a wall.The factor that made the bottom zero left the bottom completely.
- Find the height: . The hole is at .The graph follows y = x − 3 everywhere else, so the missing point is where that line would be at x = −3.
- Hole: (−3, −6)
- The graph is the line y = x − 3 with that one point removed
- Vertical asymptotes: none
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- The height of a hole always comes from the simplified formula. The original formula can only give you 0 ÷ 0.
- Draw a hole as a small open circle sitting on the curve.
5 How
- Factor the top and the bottom completely.
- Set the original bottom equal to 0 and solve. These are the inputs the function cannot take. Every break in the graph sits at one of them.
- Cancel every factor that appears in both the top and the bottom. Write the simplified formula, and keep a note of every input you excluded in step 2.
- Test each excluded input in the simplified bottom. If the bottom is still zero there, the line x = a is a vertical asymptote.
- If the simplified bottom is no longer zero there, the graph has a hole at x = a. Plug a into the simplified formula to get the height b, and write the hole as the point (a, b).
- Count. The vertical asymptotes and the holes together must account for every excluded input from step 2.
Sorting each zero of the bottom into a wall or a hole
- Factor the top and the bottom completely.
- Set the original bottom equal to 0 and list every solution. These inputs are out of the domain.
- Cancel the factors shared by the top and the bottom, and write the simplified formula with a note of the excluded inputs.
- For each excluded input a, check the simplified bottom. Still zero: vertical asymptote x = a.
- Not zero any more: hole at x = a. Plug a into the simplified formula for the height.
- Count: walls plus holes must equal the number of excluded inputs.
6 Worked example
Worked example
One wall and one hole in the same function
Find every vertical asymptote and every hole of f(x) = . In plain words: find each input where the graph breaks, and say whether the break is a wall or a single missing point.
Show the steps and the answer
- Factor the top: .Both terms share a 2. Pulling it out shows the factor (x − 3).
- Factor the bottom: .You need two numbers that multiply to 3 and add to −4. Those are −1 and −3.
- Set the original bottom equal to 0: , so or .This finds the inputs that make the bottom zero, the only places the graph can break. Plug back in: − 4(1) + 3 = 0 and − 4(3) + 3 = 9 − 12 + 3 = 0.
- Cancel the common factor (): , for . is 1 for every x except 3. The note x ≠ 3 keeps the record that 3 is still not allowed.
- Test in the simplified bottom: . Still zero, so is a vertical asymptote.The factor (x − 1) did not cancel. Near 1 the top is 2 and the bottom is tiny, so the outputs are huge.
- Test in the simplified bottom: . Not zero, so there is a hole at .The factor that made the bottom zero at 3 canceled away, so the simplified formula has an ordinary value there.
- Find the height of the hole: . The hole is at (3, 1).The graph follows the simplified formula everywhere else, so the missing point sits where that formula would have put it.
- Describe the wall in arrow notation: as , and as .A little right of 1 the bottom x − 1 is a small positive number, and 2 over a small positive number is large and positive. A little left of 1 the bottom is a small negative number, so the output is large and negative.
- Vertical asymptote: x = 1
- Hole: (3, 1)
Ladder: from easy to exam-hard
Try each rung before you open its steps.
Rung 1 of 6
Nothing to cancel
Find the vertical asymptotes and holes of f(x) = . In plain words: where does the bottom hit zero, and is that spot a wall or a missing point?
Show the steps and the answer
- Set the bottom equal to 0: , so .This finds the only input that can break the graph. Plug back in: 5 − 5 = 0.
- Look for a common factor. The top is the number 3, which has no factor ().Nothing can cancel, so the factor (x − 5) stays in the bottom.
- Conclude: is a vertical asymptote, and there are no holes.A zero of the bottom that survives canceling is a wall.
- Vertical asymptote: x = 5
- Holes: none
Rung 2 of 6
Only a hole
Find the vertical asymptotes and holes of f(x) = . In plain words: find where the bottom is zero, then decide whether the graph blows up there or only loses one point.
Show the steps and the answer
- Set the bottom equal to 0: .The bottom is x itself, so it is zero exactly when x is 0. That is the only excluded input.
- Factor the top: .Both terms contain an x, so x comes out front. Multiply back to confirm: x · x + x · 2 = + 2x.
- Cancel the common factor x: , for . is 1 for every x except 0.
- Look at the simplified formula . Its bottom is 1, not zero, so is a hole.The factor that made the bottom zero left the bottom completely.
- Find the height: . The hole is at (0, 2).The hole sits where the simplified formula would have put the point.
- Vertical asymptotes: none
- Hole: (0, 2)
Rung 3 of 6
One wall and one hole
Find the vertical asymptotes and holes of f(x) = . In plain words: find the two inputs that make the bottom zero and sort each one into wall or hole.
Show the steps and the answer
- Factor the bottom: .You need two numbers that multiply to −6 and add to 1. Those are 3 and −2.
- Set the bottom equal to 0: , so or .This finds the excluded inputs. Plug back in: (−3 + (−3) − 6 = 9 − 3 − 6 = 0 and + 2 − 6 = 0.
- Cancel (): , for .When the whole top cancels, a 1 is left on top, not a 0, because is 1.
- Test in the simplified bottom: . Still zero, so is a vertical asymptote.The factor (x − 2) stayed in the bottom.
- Test in the simplified bottom: . Not zero, so there is a hole at .The factor (x + 3) canceled completely.
- Find the height: . The hole is at .Plug the excluded input into the simplified formula, never into the original.
- Vertical asymptote: x = 2
- Hole: (−3, −)
Rung 4 of 6
Factor both the top and the bottom
Find the vertical asymptotes and holes of f(x) = . In plain words: factor both parts, find the inputs that make the bottom zero, and sort each one.
Show the steps and the answer
- Factor the top: .Two numbers that multiply to 4 and add to −5 are −1 and −4.
- Factor the bottom: .It is a difference of squares, − .
- Set the bottom equal to 0: , so or .This finds the excluded inputs. Plug back in: − 1 = 0 and (−1 − 1 = 0.
- Cancel (): , for . is 1 for every x except 1.
- Test in the simplified bottom: . Still zero, so is a vertical asymptote.The factor (x + 1) stayed in the bottom.
- Test in the simplified bottom: . Not zero, so there is a hole at .The factor (x − 1) canceled completely.
- Find the height: . The hole is at .The simplified formula gives the height the graph would have had.
- Vertical asymptote: x = −1
- Hole: (1, −)
Rung 5 of 6
The gotcha, a factor that cancels only partly
Find the vertical asymptotes and holes of f(x) = . In plain words: a factor will cancel here, so decide carefully whether that makes a hole.
Show the steps and the answer
- Factor the bottom: .Two numbers that multiply to 9 and add to −6 are −3 and −3.
- Set the bottom equal to 0: , so .This finds the only excluded input. Plug back in: − 6(3) + 9 = 9 − 18 + 9 = 0.
- Cancel one copy of (x − 3): .One factor on top can cancel only one factor on the bottom. The second copy stays.
- Test in the simplified bottom: . Still zero, so is a vertical asymptote and there is no hole.A hole needs the factor to leave the bottom completely. Here one copy is still down there.
- Vertical asymptote: x = 3
- Holes: none
Rung 6 of 6
Three zeros of the bottom
Find the vertical asymptotes and holes of f(x) = . In plain words: the bottom is zero at three inputs, so find all three and sort each one into wall or hole.
Show the steps and the answer
- Factor the top: .Both terms share a 2. What is left, − 4, is a difference of squares.
- Factor the bottom: .Every term contains an x, so x comes out front. Then two numbers that multiply to −6 and add to −1 are −3 and 2.
- Set the bottom equal to 0: , so or .This finds the three excluded inputs. Plug back in: 0 − 0 − 0 = 0, then 27 − 9 − 18 = 0, then −8 − 4 + 12 = 0.
- Cancel (): , for .(x + 2) is the only factor in both the top and the bottom.
- Test in the simplified bottom: . Still zero, so is a vertical asymptote.The factor x stayed in the bottom.
- Test in the simplified bottom: . Still zero, so is a vertical asymptote.The factor (x − 3) stayed in the bottom.
- Test in the simplified bottom: . Not zero, so there is a hole at .The factor (x + 2) canceled completely.
- Find the height: . The hole is at .Plug −2 into the simplified formula. The bottom was already worked out as 10.
- Count: three excluded inputs, two walls and one hole.Every excluded input must be one or the other, so the count confirms nothing was missed.
- Vertical asymptotes: x = 0 and x = 3
- Hole: (−2, −)
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Memory device for a factor (x − a): cancels out of the bottom completely, hole. Any copy stays down, wall.
- Fast pre-test: plug the excluded input into the top. If the top is not zero there, the bottom's factor for that input cannot cancel and you have a vertical asymptote for certain. If the top is zero too, you have 0 ÷ 0, so factor and cancel before you decide.
- Check the factoring with numbers. Put inputs closer and closer to a into the original formula, on each side. Outputs that keep growing in size point to a wall. Outputs that settle near one number point to a hole at that height. The factoring decides; the numbers confirm it.
- Write a vertical asymptote as an equation, x = a, because it is a line. Write a hole as a point, (a, b), because it is one missing dot.
- Count at the end. Every excluded input is either a wall or a hole. If you excluded three inputs, your walls and holes must add up to three.
- A graphing calculator often draws straight through a hole, because one missing dot is thinner than a pixel. Trust the algebra over the screen.
- On paper, draw a vertical asymptote as a dashed line and a hole as a small open circle.
7 The trap
The most common mistake is to stop at the domain: you find the zeros of the bottom and call every one of them a vertical asymptote. Some of them may be holes. Always factor and cancel first, then sort each excluded input by whether it still makes the simplified bottom zero. Still zero means a wall. No longer zero means a hole, with its height taken from the simplified formula.
Flash cards
Say the answer out loud, then flip.
You factored and canceled. How do you tell whether an excluded input x = a is a wall or a missing paving stone?
- Test a in the simplified bottom.
- Still zero: a vertical asymptote, the wall.
- No longer zero: a hole, the missing paving stone.
The graph has a hole at x = a. How do you find the height of the hole?
Why does the graph shoot up or down near a vertical asymptote?
Sort the breaks in f(x) = .
- The bottom is zero at x = 3 and x = 2.
- The factor x − 3 cancels, leaving .
- x = 2 still makes the bottom zero: vertical asymptote at x = 2.
- x = 3 no longer does: hole at height = 4, the point (3, 4).
Lesson 4 of 7
Horizontal and slant asymptotes
Open this lessonLeans on 0Comes back in 0
Leans on
No lesson links recorded.
Comes back in
No lesson links recorded.
1 In plain words
Picture a tug of war between the top and the bottom of the fraction while x grows huge. Each side's strength is its highest power of x. If the bottom is stronger, the fraction shrinks toward 0. If the two are equally strong, neither wins, and the outputs settle at one steady number. That steady height is a flat line the graph leans toward far to the left and far to the right: a horizontal asymptote. If the top is stronger by exactly one power, the graph keeps rising or falling, but it leans toward a tilted straight line: a slant asymptote. You can find either line from the formula alone, without plotting a single point.
2 Picture it
Reminder
Reminder: Degree of a polynomial, Leading coefficient, Arrow notation, Polynomial division, Subtracting a negative, Dividing signed numbers, Reducing a fraction
- Degree of a polynomial. The degree is the highest power of x. 4 − x + 7 has degree 3. A nonzero number alone, such as 5, has degree 0.
- Leading coefficient. The number in front of the highest power of x, with its sign, wherever that term is written. 5 + 2x − 6 has leading coefficient −6.
- Arrow notation. x → ∞ reads x grows without bound, and f(x) → 4 reads the outputs approach 4. Example: as x → ∞, → 0, because = 0.001.
- Polynomial division. Divide the leading terms, multiply back, subtract, repeat. ( + 5x + 6) ÷ (x + 2): ÷ x = x, subtract + 2x to leave 3x + 6, then 3x ÷ x = 3 and nothing is left. The quotient is x + 3.
- Subtracting a negative. Subtracting a negative number adds: −5 − (−18) = −5 + 18 = 13.
- Dividing signed numbers. Different signs give a negative answer and same signs give a positive one: −6 ÷ 3 = −2 and −6 ÷ (−3) = 2.
- Reducing a fraction. Divide the top and the bottom by the same number: = , dividing both by 2.
3 Why
Divide every term on the top and on the bottom by the highest power of x in the bottom. The value of the fraction does not change. For this gives (2 + ) ÷ (1 − ). You saw with the reciprocal function that goes to 0 when x is huge, so the fraction goes to 2 ÷ 1 = 2. Only the leading terms survive. For a slant asymptote, division rewrites the function as a line plus a leftover fraction with a stronger bottom. The leftover fades to 0, so the graph closes in on the line.
4 The rule
For a top that is not the constant 0, compare the degree of the top with the degree of the bottom.
Top degree < bottom degree: horizontal asymptote . Degrees equal: horizontal asymptote . Top degree bottom degree : no horizontal asymptote, and the slant asymptote is the quotient of top bottom with the remainder dropped. Top degree bigger by 2 or more: neither.
The same idea, five ways
f of x approaches 2 as x goes to infinity, and also as x goes to negative infinity. For a slant asymptote say: far out, the graph follows the line y equals x plus 2.
The line y = 2 is a horizontal asymptote of f when the outputs get as close to 2 as you like far to the right and far to the left. A slant asymptote is a tilted line that the graph gets as close to as you like at both far ends.
- as x → ∞, f(x) → 2
- as x → −∞, f(x) → 2
- horizontal asymptote: y = 2
- slant asymptote: y = mx + b with m ≠ 0, where f(x) − (mx + b) → 0 as x → ∞ and as x → −∞
A plane that levels off at cruising height is following a horizontal asymptote. A plane that settles onto a steady climb path is following a slant asymptote.
The same idea, other ways
Look at the far left and the far right edges of the graph of y = . The curve does wild things near x = 1, where there is a vertical asymptote. Far away from there it calms down and flattens toward the dashed line y = 2. At x = 100 the height is ≈ 2.03 (rounded). A horizontal asymptote is a statement about the edges of the picture, not the middle.
A hall costs 300 dollars to rent, plus 20 dollars of food per guest. With x guests the total is 20x + 300, so the cost per guest is c(x) = . With 10 guests each person pays 50 dollars. With 100 guests, 23 dollars. With 1000 guests, 20.30 dollars. The 300 dollar rental is spread thinner and thinner, so the cost per guest settles toward 20 dollars. That is the horizontal asymptote y = 20, and it is exactly 20 ÷ 1, the two leading coefficients.
Cover every term except the leading one on the top and on the bottom, then simplify what you see. becomes = 4, so y = 4. becomes = , a number over a growing x, so y = 0. becomes = x, a tilted line, so the asymptote is slant. Warning: the cover-up shows only the slope of a slant asymptote. The full line here is y = x + 2, and division finds the + 2.
BOBO BOTN EATS DC. Bigger On Bottom: y = 0. Bigger On Top: No horizontal asymptote. Exponents Are The Same: Divide Coefficients. Bigger means the higher degree, not the larger numbers. Add one line of your own to finish it: bigger on top by exactly one means divide for the slant asymptote.
BOBO: Bigger On Bottom, y = 0
BOTN: Bigger On Top, No horizontal asymptote
EATS DC: Exponents Are The Same, Divide Coefficients
Bigger on top by exactly 1: divide, slant asymptote y = quotient
Division rewrites as x + 2 + . The first part, x + 2, is a line. The second part, , is how far the curve sits above that line, a negative number where the curve is below it. At x = 100 that difference is ≈ 0.03. At x = 1000 it is ≈ 0.003. The difference never reaches 0, but its size shrinks below any size you name. That shrinking difference is what the word asymptote means. A horizontal asymptote works the same way with a flat line: = 2 + , and the difference fades away.
| Compare the degrees | Far out, the graph | Asymptote | Small example |
|---|---|---|---|
| Top degree < bottom degree | sinks toward 0 | Horizontal: y = 0 | has y = 0 |
| Top degree = bottom degree | levels off at a number | Horizontal: y = leading coefficient of the top ÷ leading coefficient of the bottom | has y = 3 |
| Top degree = bottom degree + 1 | follows a tilted line | Slant: y = the quotient of top ÷ bottom | has y = x |
| Top degree bigger by 2 or more | follows a curve, not a line | Neither | has no horizontal or slant asymptote |
Part 1: Bottom-heavy: the top's degree is smaller
When the bottom has the higher power, it outgrows the top. You are sharing a small pile among a crowd that grows faster than the pile. Each share shrinks toward nothing, so the graph sinks onto the x-axis at both far ends.
- Test: top degree < bottom degree.
- Asymptote: horizontal, y = 0 (the x-axis).
- No division and no coefficients are needed.
- A top that is a nonzero number, such as 5, has degree 0.
Worked example
A bottom-heavy function
Find the horizontal asymptote of p(x) = . In plain words: when x is huge, what height do the outputs settle toward?
Show the steps and the answer
- Degree of the top: 5x has x to the first power, so the degree is 1.The degree is the highest power of x, and it measures the top's strength far out.
- Degree of the bottom: has highest power , so the degree is 2.The + 4 does not matter far out. The term decides the strength.
- Compare: 1 < 2, so the bottom is stronger.A stronger bottom means dividing by something that outgrows the top.
- Write the horizontal asymptote: .Far out the fraction behaves like = , and 5 divided by a huge number is close to 0.
Part 2: Balanced: the degrees are equal
When the top and the bottom have the same highest power, they grow at the same pace. Far out, the powers of x cancel each other, and what remains is the number in front of each. The graph levels off at that ratio.
- Test: top degree = bottom degree.
- Asymptote: horizontal, y = leading coefficient of the top ÷ leading coefficient of the bottom.
- Keep the signs of both coefficients.
- The height can be a fraction or a negative number. It is 0 only in the bottom-heavy case.
Worked example
A balanced function
Find the horizontal asymptote of q(x) = . In plain words: when x is huge, what steady number do the outputs approach?
Show the steps and the answer
- Degree of the top: has degree 1. Degree of the bottom: has degree 1.Each has x to the first power as its highest power.
- Compare: , so the degrees are equal.Equal strength means the outputs level off at a number that is not 0.
- Read the leading coefficients: 3 on the top, 1 on the bottom.A bare x means 1x, so its coefficient is 1.
- Divide: . The horizontal asymptote is .Far out the fraction behaves like , and the x cancels to leave 3.
Part 3: Top-heavy by exactly one: a slant asymptote
When the top's highest power is exactly one above the bottom's, the powers do not fully cancel. One x is left over, so far out the function behaves like a line with a slope. Dividing the top by the bottom tells you exactly which line.
- Test: top degree = bottom degree + 1.
- Horizontal asymptote: none.
- Slant asymptote: y = the quotient of top ÷ bottom. Drop the remainder.
- The quotient is always a line y = mx + b with m ≠ 0.
Worked example
A slant asymptote with a one-term bottom
Find the slant asymptote of r(x) = . In plain words: far out, which tilted line does the graph follow?
Show the steps and the answer
- Degrees: the top has degree 2 and the bottom has degree 1.2 = 1 + 1, so the top is stronger by exactly one. That is the slant case.
- Divide each term of the top by x: .When the bottom is a single term, a fraction with a sum on top splits into one fraction per term.
- Name the pieces: the quotient is x and the leftover fraction is .The quotient is the part with no x in a bottom.
- Drop the leftover. The slant asymptote is . goes to 0 when x is huge, so only the line remains.
- Slant asymptote: y = x.
- Horizontal asymptote: none.
Part 4: Top-heavy by two or more: neither
When the top's highest power beats the bottom's by two or more, the outputs race away faster than any straight line can follow. Far out the graph follows a curve, such as a parabola. There is no horizontal asymptote and no slant asymptote to report.
- Test: top degree is at least bottom degree + 2.
- Horizontal asymptote: none.
- Slant asymptote: none.
- The graph can still have a vertical asymptote. That comes from the bottom being zero, which is a separate question.
Worked example
A function with neither line
Does s(x) = have a horizontal asymptote or a slant asymptote? In plain words: far out, does the graph level off, follow a tilted line, or do neither?
Show the steps and the answer
- Degrees: the top has degree 3 and the bottom has degree 1.The highest powers are and x to the first power.
- Subtract the degrees: .The size of the gap between the degrees decides the case.
- The top is stronger by 2, so there is no horizontal asymptote and no slant asymptote.A horizontal asymptote needs a gap of 0 or a stronger bottom. A slant asymptote needs a gap of exactly 1.
- Horizontal asymptote: none.
- Slant asymptote: none.
5 How
- Find the degree of the top and the degree of the bottom: the highest power of x in each. Write both numbers down. A top that is the constant 0 has no degree: that function is 0 wherever it is defined.
- If the top's degree is smaller, the horizontal asymptote is y = 0. Stop.
- If the degrees are equal, divide the leading coefficient of the top by the leading coefficient of the bottom, keeping both signs. That number is the height of the horizontal asymptote. Stop.
- If the top's degree is exactly one more, divide the top by the bottom with polynomial division. The quotient, without the remainder, is the slant asymptote.
- If the top's degree is two or more above the bottom's, report that there is no horizontal asymptote and no slant asymptote.
- As a consistency check, try a big input such as x = 100 or x = 1000; the output is usually close to the line you found. The degrees or the division decide the asymptote; the number only checks it.
Finding the horizontal or slant asymptote
- Write down two numbers: the degree of the top and the degree of the bottom. If the function is in factored form, multiply the leading terms of the brackets to find each. A top that is the constant 0 has no degree: that function is 0 wherever it is defined.
- Top degree smaller: the horizontal asymptote is y = 0.
- Degrees equal: the horizontal asymptote is y = leading coefficient of the top ÷ leading coefficient of the bottom, signs included.
- Top degree exactly one more: divide the top by the bottom with polynomial division. The slant asymptote is y = the quotient, with the remainder dropped.
- Top degree two or more above: there is no horizontal asymptote and no slant asymptote.
- Consistency check: plug in x = 100 or x = 1000. The output is usually near the horizontal asymptote's height, or near the slant line's height at that x. The algebra decides; a single input only checks it.
6 Worked example
Worked example
Equal degrees: reading the horizontal asymptote
Find the horizontal asymptote of f(x) = . In plain words: when x is huge, positive or negative, what height does the graph settle at?
Show the steps and the answer
- Find the degree of the top: has highest power , so the degree is 2.The degree is the highest power of x. It measures how strong the top is when x is huge.
- Find the degree of the bottom: has highest power , so the degree is 2.The same measurement for the other side of the tug of war.
- Compare the degrees: . They are equal.Equal degrees means neither side wins, so the graph levels off at a number that is not 0.
- Read the leading coefficients: 8 on the top and 2 on the bottom.Far out, −3x + 1 and + 7 are tiny next to the terms, so the fraction behaves like .
- Divide: . The horizontal asymptote is .In the on the top and the bottom cancel, leaving = 4.
- Say it in arrow notation: as , and as .A horizontal asymptote describes both far ends of the graph, and a rational function settles at the same height on both.
Ladder: from easy to exam-hard
Try each rung before you open its steps.
Rung 1 of 7
A number over a line
Find the horizontal asymptote of g(x) = . In plain words: the input x gets huge. What do the outputs settle toward?
Show the steps and the answer
- Degree of the top: 5 has no x at all, so its degree is 0.A plain number does not grow when x grows.
- Degree of the bottom: has x to the first power, so its degree is 1.The highest power of x in the bottom is the first power.
- Compare: 0 < 1, so the bottom is stronger.The bottom grows while the top stays at 5.
- Write the horizontal asymptote: .A fixed number divided by a larger and larger number shrinks toward 0.
Rung 2 of 7
Equal degrees, read the two front numbers
Find the horizontal asymptote of h(x) = . In plain words: what steady height do the outputs approach when x is huge?
Show the steps and the answer
- Degrees: has degree 1 and has degree 1.Each has x to the first power as its highest power.
- Compare: the degrees are equal.Equal degrees means the answer is a ratio of leading coefficients.
- Leading coefficients: 9 on the top, 3 on the bottom.These are the numbers in front of the highest power on each side.
- Divide: . The horizontal asymptote is .Far out the fraction behaves like = 3.
Rung 3 of 7
Leading terms that are not written first
Find the horizontal asymptote of k(x) = . In plain words: what height does the graph settle at far out?
Show the steps and the answer
- Find the highest power on the top: it is , in the term . The degree is 2.The leading term is the one with the highest power, wherever it is written. Here it is written last.
- Find the highest power on the bottom: , in the term . The degree is 2.The bottom is already written with its highest power first.
- Compare: the degrees are equal.So the answer is the ratio of the leading coefficients.
- Leading coefficients: on the top, with its sign, and 3 on the bottom.The sign belongs to the coefficient. Dropping it would put the asymptote on the wrong side of the x-axis.
- Divide: . The horizontal asymptote is .A negative divided by a positive is negative.
Rung 4 of 7
Factored form
Find the horizontal asymptote of m(x) = . In plain words: what height do the outputs settle at when x is huge?
Show the steps and the answer
- Leading term of the top: multiply the x terms of the two brackets, . The degree is 2 and the leading coefficient is 2.When brackets are multiplied out, the highest power comes only from multiplying the highest terms together. You do not need the rest of the expansion.
- Leading term of the bottom: . The degree is 2 and the leading coefficient is 4.The same shortcut on the bottom.
- Compare: the degrees are equal.So divide the leading coefficients.
- Divide: . The horizontal asymptote is . reduces to . A fraction is a perfectly good height for a horizontal line.
Rung 5 of 7
A first slant asymptote
Find the slant asymptote of n(x) = . In plain words: far out, which tilted line does the graph follow?
Show the steps and the answer
- Degrees: the top has degree 2 and the bottom has degree 1. The top's degree is exactly one more.That is the slant case: there is no horizontal asymptote, and division gives the line.
- Divide the leading terms: . Write x as the first piece of the quotient.Polynomial division starts by asking what times the bottom's leading term gives the top's leading term.
- Multiply back and subtract: , and .Subtracting removes the term and shows what is still left to divide.
- Divide the leading terms again: . The quotient is now .The same question, asked of what is left.
- Multiply back and subtract: , and .3 has degree 0, lower than the bottom's degree 1, so the division stops. The remainder is 3.
- Rewrite the function: .Top ÷ bottom equals the quotient plus the remainder over the bottom.
- Drop the leftover fraction. The slant asymptote is . has the stronger bottom, so it goes to 0 far out and only the line remains.
- Slant asymptote: y = x + 2.
- Horizontal asymptote: none.
Rung 6 of 7
A missing term and a leading coefficient
Find the slant asymptote of t(x) = . In plain words: far out, which tilted line does the graph follow?
Show the steps and the answer
- Degrees: top 2, bottom 1. The top's degree is exactly one more, so divide.A gap of exactly one means a slant asymptote.
- Rewrite the top with a placeholder: .The top has no x term. Writing 0x keeps like terms lined up during the subtraction.
- Divide the leading terms: . Multiply back: . Subtract: .0x − (−6x) = 6x. Subtracting a negative adds.
- Divide the leading terms again: . The quotient is now . Multiply back: . Subtract: .−5 − (−18) = −5 + 18 = 13. A plain number has lower degree than the bottom, so the division stops.
- Rewrite the function: .Quotient plus remainder over the bottom.
- Drop the leftover fraction. The slant asymptote is . goes to 0 far out.
- Slant asymptote: y = 2x + 6.
- Horizontal asymptote: none.
Rung 7 of 7
A degree 3 top over a degree 2 bottom
Find the slant asymptote of w(x) = . In plain words: far out, which tilted line does the graph follow?
Show the steps and the answer
- Degrees: top 3, bottom 2. The top's degree is exactly one more, so divide.The slant case depends on the gap between the degrees being 1, not on the degrees being 2 and 1.
- Rewrite the top with a placeholder: .The top has no x term, and the subtraction is safer with every power present.
- Divide the leading terms: . Multiply back: . Subtract: .0x − x = −x. The terms cancel, as they should.
- Divide the leading terms again: . The quotient is now . Multiply back: . Subtract: .4 − (−2) = 6. The leftover −x + 6 has degree 1, lower than the bottom's degree 2, so the division stops here.
- Rewrite the function: .Quotient plus remainder over the bottom. The remainder may contain x, as long as its degree is below the bottom's.
- Drop the leftover fraction. The slant asymptote is .The leftover has degree 1 over degree 2, so its bottom is stronger and it goes to 0 far out.
- Slant asymptote: y = x − 2.
- Horizontal asymptote: none.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Memory device, BOBO BOTN EATS DC: Bigger On Bottom, y = 0. Bigger On Top, No horizontal asymptote. Exponents Are The Same, Divide Coefficients. Then add your own last line: bigger on top by exactly one, divide for the slant asymptote.
- Check any answer for consistency with a big input. Plug in x = 100 or x = 1000. The output usually lands close to the horizontal asymptote's height, or close to the slant line's height at that x. If it does not, look again at the algebra, which is what decides.
- Strength means degree, not the size of the numbers. equals , which still sinks to 0.
- A rational function has at most one of these two lines, never both, and the same line serves the far left and the far right.
- Canceling a common factor does not change this answer, because it lowers both degrees by the same amount. and both give y = 1.
- Write the answer as an equation of a line, not as a bare number. A horizontal asymptote is y = a number, a vertical asymptote is x = a number, and a slant asymptote is y = mx + b.
- If the division leaves remainder 0, the bottom canceled completely. The graph is then the quotient polynomial itself with a hole, a removable discontinuity, wherever the bottom was zero. For example, is the line y = x + 2 with a hole at x = 2.
7 The trap
Dividing the leading coefficients without first comparing the degrees. The ratio of leading coefficients is the horizontal asymptote only when the two degrees are equal. For the tempting answer y = 3 is wrong: the bottom is stronger, so the answer is y = 0. Write the two degrees down before you touch the coefficients.
Flash cards
Say the answer out loud, then flip.
Before you look for a horizontal or slant asymptote, what two numbers do you write down first?
- The degree of the top and the degree of the bottom: the highest power of x in each.
- Think of a tug of war. Each side's strength is its highest power of x, and the stronger side decides what the graph does when x is huge.
What is the horizontal asymptote of ?
- y = 3.
- The degrees are equal (both 2), so the tug of war is a tie.
- Divide the leading coefficients: = 3.
For , why is y = 7 the wrong horizontal asymptote, and what is the right one?
- The right answer is y = 0.
- The top has degree 1 and the bottom has degree 3, so the bottom is stronger and the fraction shrinks toward 0.
- Dividing leading coefficients works only when the two degrees are equal.
When does a graph have a slant asymptote, and how do you find it?
- When the top's degree is exactly one more than the bottom's degree.
- Divide the top by the bottom and keep the quotient without the remainder.
- For the quotient is x + 2 with remainder −1, so the slant asymptote is y = x + 2.
Lesson 5 of 7
Intercepts of a rational function
Open this lessonLeans on 1Comes back in 0
Comes back in
No lesson links recorded.
1 In plain words
Picture a map with two straight roads. One runs left to right: the x-axis. One runs up and down: the y-axis. The graph of a function is a hiking trail drawn on that map. An intercept is a spot where the trail meets a road, crossing it or touching it. The y-intercept is where the trail meets the up and down road. Every spot on that road has x equal to 0, so you find it by putting 0 in for x. An x-intercept is where the trail meets the left to right road. Every spot on that road has height 0, so you ask which inputs make the fraction equal 0. Those are the inputs that make the top 0, as long as the bottom is not 0 there too.
2 Picture it
Reminder
Reminder: Dividing with zero, Zero product property, The domain of a rational function, Holes and vertical asymptotes, Factoring + bx + c, Difference of squares, Signs when dividing, Writing a point
- Dividing with zero. 0 ÷ 5 = 0, because 0 shared among 5 is 0 each. 5 ÷ 0 and 0 ÷ 0 are undefined: there is no answer.
- Zero product property. If two things multiply to 0, at least one of them is 0. From (x − 3)(x + 2) = 0 you get x − 3 = 0 or x + 2 = 0, so x = 3 or x = −2.
- The domain of a rational function. Every real number except the inputs that make the bottom 0. For the domain is every x except 4.
- Holes and vertical asymptotes. A factor (x − a) that cancels from top and bottom with no copy of it left in the bottom leaves a hole at x = a, also called a removable discontinuity. A real zero of the bottom that remains after canceling gives a vertical asymptote.
- Factoring + bx + c. Find two numbers that multiply to c and add to b. For − x − 6 they are −3 and 2, so − x − 6 = (x − 3)(x + 2).
- Difference of squares. − = (a − b)(a + b). So − 4 = (x − 2)(x + 2).
- Signs when dividing. A negative divided by a negative is positive: = = . A positive divided by a negative is negative: = −4.
- Writing a point. A point is (x, y): input first, output second. (3, 0) is on the x-axis. (0, 3) is on the y-axis.
3 Why
A fraction is a division: top ÷ bottom. Zero divided by any nonzero number is 0, and no other division gives 0. If the top is 5, no bottom can turn it into 0. So the output is 0 only where the top is 0. But if the bottom is 0 at that same input, the division has no answer, the input is not in the domain, and the graph has no point there. So the top finds the candidates and the bottom can strike them out. The y-intercept uses x = 0 because every point on the y-axis has x-coordinate 0.
4 The rule
Let be a rational function, where p(x) is the top and q(x) is the bottom.
y-intercept: the point (0, f(0)), when q(0) ≠ 0. When q(0) = 0 there is no y-intercept.
x-intercepts: every point (a, 0) where p(a) = 0 and q(a) ≠ 0. A zero of the top that also makes the bottom 0 is never an x-intercept.
The same idea, five ways
the y-intercept is f of zero. The x-intercepts are where the top is zero and the bottom is not.
The graph crosses the y-axis at the point whose input is 0, if 0 is in the domain. The graph meets the x-axis at each input in the domain that makes the top equal to 0.
- y-intercept: (0, f(0)), when q(0) ≠ 0
- x-intercepts: (a, 0), where p(a) = 0 and q(a) ≠ 0
- = 0 exactly when p(x) = 0 and q(x) ≠ 0
A trail on a map with two roads. The y-intercept is where the trail meets the up and down road. The x-intercepts are where it meets the left to right road.
y-intercept: put x = 0
the point is (0, f(0))
x-intercepts: set the top = 0
keep a only if the bottom ≠ 0 at a
the point is (a, 0)
top 0 and bottom 0: no intercept
The same idea, other ways
Here is f(x) = at four inputs. Look at the column under the input 0: the output is −2, so the y-intercept is (0, −2). Now look along the output row for a 0. It sits under the input 2, so the x-intercept is (2, 0). The input −1 is missing from the table on purpose: it makes the bottom 0, so f(−1) is undefined.
Think of the top as a pot of money and the bottom as the number of people sharing it. Each share is 0 dollars only when the pot is empty. A pot of 5 dollars never gives shares of 0, no matter how many people share. And if 0 people show up, there is no share to talk about at all, even when the pot is empty too. Empty pot with people present: an x-intercept. Nobody present: no point on the graph.
0 ÷ 5 = 0. That is the only kind of division that gives 0. 5 ÷ 2 = 2.5, not 0. 5 ÷ 0 is undefined. 0 ÷ 0 is undefined. Now use f(x) = . At x = 2 you get = 0, so the graph is on the x-axis. At x = 5 you get = , not 0. At x = −1 you get , which is undefined.
Suppose = 0 and q is not 0. Multiply both sides by q. The left side becomes p and the right side becomes 0 · q = 0. So p = 0. Going the other way, if p = 0 and q is not 0, then = 0. So a fraction equals 0 exactly when its top is 0 and its bottom is not.
| Top at x = a | Bottom at x = a | f(a) | What the graph does at x = a |
|---|---|---|---|
| 0 | not 0 | 0 | x-intercept at (a, 0) |
| not 0 | 0 | undefined | vertical asymptote x = a |
| 0 | 0 | undefined | a hole or a vertical asymptote, never an intercept |
| not 0 | not 0 | a number that is not 0 | an ordinary point, off the x-axis |
Part 1: The y-intercept
The y-intercept is the one spot where the graph crosses the y-axis. On the y-axis you have not moved left or right at all, so x is 0. Put 0 in for every x and work out the fraction. The answer is the height of the crossing.
- How to find it: compute f(0).
- How to write it: the point (0, f(0)).
- How many: one at most, because the input 0 can give only one output.
- When there is none: when x = 0 makes the bottom 0.
- Shortcut: with top and bottom multiplied out, f(0) is the constant term of the top over the constant term of the bottom.
Worked example
A y-intercept from one substitution
Find the y-intercept of f(x) = . In plain words: the input is 0. Find the output and write the point.
Show the steps and the answer
- Check that 0 is allowed. The bottom at is .A y-intercept exists only when 0 is in the domain. The bottom is 2, and 2 ≠ 0, so 0 is in the domain.
- Put 0 in for every x: .Every point on the y-axis has x = 0, and 2 · 0 = 0.
- Divide: .6 ÷ 2 = 3.
- Write the point: (0, 3).An intercept is a point. The input 0 goes first and the output 3 goes second.
Tips and tricks
- If the bottom has no constant term, as in − x, then x = 0 makes the bottom 0 and there is no y-intercept.
Part 2: The x-intercepts
An x-intercept is a spot where the graph touches or crosses the x-axis. On the x-axis the height is 0, so the output of the function is 0. A fraction has the value 0 only when its top is 0. So you solve top = 0, then make sure the bottom is not 0 at each answer.
- How to find them: set the top equal to 0 and solve, then test each answer in the original bottom.
- How to write one: the point (a, 0).
- How many: when the top is not the constant 0, none, one, or several, and never more than the degree of the top. A top that is the constant 0 puts an x-intercept at every input in the domain.
- When there are none: when the top is never 0, or when every zero of the top also makes the bottom 0.
Worked example
An x-intercept from the top
Find every x-intercept of g(x) = . In plain words: the output is 0. Find every input that gives it.
Show the steps and the answer
- Set the top equal to 0: .A fraction is 0 only when its top is 0. This step finds the only inputs that could give an output of 0.
- Subtract 8 from both sides: . Then divide both sides by 2: .Undo the + 8 first, then undo the multiplying by 2. Plug back: 2(−4) + 8 = −8 + 8 = 0, so the top is 0 at x = −4.
- Test the bottom at x = −4: .A candidate counts only when the bottom is not 0 there. The bottom is −3, and −3 ≠ 0, so x = −4 stays.
- Write the point: .The input −4 goes first and the output 0 goes second.
Tips and tricks
- The bottom never creates an x-intercept. It can only remove one.
5 How
- Factor the top and the bottom. Use the original bottom to list the domain: every x except the ones that make the bottom 0.
- For the y-intercept, ask whether 0 is in the domain. If it is, compute f(0) and write the point (0, f(0)). If it is not, write: no y-intercept.
- For the x-intercepts, set the top equal to 0 and solve. These answers are the candidates.
- Test each candidate in the original bottom. Cross out any candidate that makes the bottom 0.
- Write each surviving candidate a as the point (a, 0).
- Check: put each surviving candidate into the original formula. You should get 0 over a number that is not 0.
Finding the intercepts of a rational function
- Factor the top and the bottom.
- Set the original bottom equal to 0 and solve. Those inputs are out of the domain. Keep the list beside you.
- y-intercept: if 0 is not on that list, compute f(0) and write (0, f(0)). If 0 is on the list, there is no y-intercept.
- x-intercepts: set the top equal to 0 and solve to get the candidates.
- Cross out every candidate that is on the list from step 2.
- Write each survivor a as (a, 0), then check it in the original formula.
6 Worked example
Worked example
Both intercepts when a factor cancels
Find the y-intercept and every x-intercept of f(x) = . In plain words: first, the input is 0, find the output. Second, the output is 0, find every input that gives it.
Show the steps and the answer
- Factor the top: .Two numbers that multiply to −6 and add to −1 are −3 and 2. Multiply back to be sure: + 2x − 3x − 6 = − x − 6.
- Factor the bottom: .It is a difference of squares: − = (x − 2)(x + 2).
- Set the bottom equal to 0: , so or . The domain is every real number except and 2.This finds the inputs that would make the bottom zero, so we can throw them out. Plug back: − 4 = 0 and (−2 − 4 = 0.
- y-intercept: 0 is in the domain, so compute . The point is .Every point on the y-axis has x = 0. A negative divided by a negative is positive, and reduces to when top and bottom are both divided by 2.
- x-intercept candidates: set the top equal to 0. , so or .A fraction is 0 only when its top is 0. This step finds the only inputs that could give an output of 0.
- Test in the original bottom: . Keep .5 ≠ 0, so 3 is in the domain and f(3) = = 0.
- Test in the original bottom: . Throw out .The bottom is 0, so −2 is not in the domain. f(−2) would be 0 ÷ 0, which is undefined.
- See what the graph does at . Cancel the common factor: for . Put into this shorter form: . The graph has a hole at .This factor cancels with no copy of it left in the bottom, so it gives a hole, also called a removable discontinuity. The hole sits at height , above the x-axis, so the graph does not meet the x-axis there.
- Write the x-intercept: (3, 0).3 is the only candidate that survived the test.
- y-intercept: (0, )
- x-intercept: (3, 0)
- Not an intercept: x = −2, where the graph has a hole at (−2, )
Ladder: from easy to exam-hard
Try each rung before you open its steps.
Rung 1 of 6
One of each, nothing to cancel
Find the intercepts of f(x) = . In plain words: find the output when the input is 0, then find every input whose output is 0.
Show the steps and the answer
- Set the bottom equal to 0: , so . The domain is every x except .This finds the one input that would make the bottom zero, so we can throw it out. Plug back: −2 + 2 = 0.
- y-intercept: . The point is .0 is in the domain, and every point on the y-axis has x = 0.
- Set the top equal to 0: , so .The output is 0 only where the top is 0. Plug back: 4 − 4 = 0.
- Test the bottom at : . Keep . The point is (4, 0).6 ≠ 0, so 4 is in the domain.
- y-intercept: (0, −2)
- x-intercept: (4, 0)
Rung 2 of 6
A top that is never zero
Find the intercepts of f(x) = . In plain words: find the output when the input is 0, then find every input whose output is 0.
Show the steps and the answer
- Set the bottom equal to 0: , so . The domain is every x except 2.This finds the input to throw out. Plug back: 2 − 2 = 0.
- y-intercept: . The point is .0 is in the domain. A positive divided by a negative is negative.
- Look at the top. It is the number 8. It has no x in it, so it is never 0.The output can be 0 only where the top is 0, and 8 is never 0.
- Write: no x-intercepts.There are no candidates to test.
- y-intercept: (0, −4)
- x-intercepts: none
Rung 3 of 6
Two x-intercepts
Find the intercepts of f(x) = . In plain words: find the output when the input is 0, then find every input whose output is 0.
Show the steps and the answer
- Set the bottom equal to 0: , so . The domain is every x except .This finds the input to throw out. Plug back: −3 + 3 = 0.
- y-intercept: . The point is (0, 1).0 is in the domain, and every term with x becomes 0.
- Factor the top: .Two numbers that multiply to 3 and add to −4 are −1 and −3.
- Set the top equal to 0: , so or .If a product is 0, one of its factors is 0. These are the candidates.
- Test the bottom. At : . At : . Keep both.Neither bottom is 0, so both inputs are in the domain.
- y-intercept: (0, 1)
- x-intercepts: (1, 0) and (3, 0)
Rung 4 of 6
No y-intercept
Find the intercepts of f(x) = . In plain words: find the output when the input is 0, if there is one, then find every input whose output is 0.
Show the steps and the answer
- Set the bottom equal to 0: , so . The domain is every x except 0.This finds the input to throw out. Plug back: 2 · 0 = 0.
- y-intercept: 0 is not in the domain, so there is none.f(0) would be , and dividing by 0 has no answer. The top is not 0 there, so the y-axis itself is a vertical asymptote, x = 0.
- Factor the top: .It is a difference of squares: − .
- Set the top equal to 0: , so or .These are the only inputs that could give an output of 0.
- Test the bottom. At : . At : . Keep both.Neither bottom is 0.
- y-intercept: none
- x-intercepts: (4, 0) and (−4, 0)
Rung 5 of 6
A hole on the y-axis
Find the intercepts of f(x) = . In plain words: find the output when the input is 0, if there is one, then find every input whose output is 0.
Show the steps and the answer
- Factor the top: . Factor the bottom: .Each term on top has a factor of x, and so does each term on the bottom.
- Set the bottom equal to 0: , so or . The domain is every x except 0 and 1.This finds the inputs to throw out. Plug back: − 0 = 0 and − 1 = 0.
- y-intercept: 0 is not in the domain, so there is none.f(0) would be , which is undefined.
- See what happens at . Cancel the common factor x: for . Put 0 into this shorter form: . The graph has a hole at .The factor cancels with no copy of it left in the bottom, so it gives a hole. The hole sits on the y-axis, so the curve is missing the exact point where it would have crossed.
- Set the top equal to 0: , so or .These are the candidates for x-intercepts.
- Test the original bottom. At it is 0, so throw out 0. At it is , so keep .Only candidates in the domain count.
- y-intercept: none (the graph has a hole at (0, −2))
- x-intercept: (−2, 0)
Rung 6 of 6
One point that is both intercepts, and a zero that is thrown out
Find the intercepts of f(x) = . In plain words: find the output when the input is 0, then find every input whose output is 0.
Show the steps and the answer
- Factor the top: . Factor the bottom: .Both top terms share the factor 2x. The bottom is a difference of squares, − .
- Set the bottom equal to 0: , so or . The domain is every x except and 3.This finds the inputs to throw out. Plug back: − 9 = 0 and (−3 − 9 = 0.
- y-intercept: . The point is (0, 0).0 is in the domain, and 0 divided by a nonzero number is 0.
- Set the top equal to 0: , so or . That gives or .If a product is 0, one of its factors is 0. These are the candidates.
- Test the original bottom. At it is , so keep 0. At it is 0, so throw out 3.3 is not in the domain.
- See what happens at . Cancel (): for . Put 3 into this shorter form: . The graph has a hole at (3, 1).The factor cancels with no copy of it left in the bottom, so it gives a hole. It sits at height 1, not on the x-axis.
- y-intercept: (0, 0)
- x-intercept: (0, 0), the same point
- Not an intercept: x = 3, where the graph has a hole at (3, 1)
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Memory device: zero the other letter. For the y-intercept, make x zero. For the x-intercepts, make y zero, and y is zero only where the top is zero.
- Memory device: the top proposes, the bottom vetoes. The top gives the candidates. The bottom can only remove them.
- Shortcut for f(0): with top and bottom multiplied out, every term with x becomes 0, so f(0) is the constant term of the top over the constant term of the bottom. For that is = .
- Write every intercept as a point. An x-intercept looks like (a, 0). A y-intercept looks like (0, b). The 0 sits in the slot of the other letter.
- Check an x-intercept in the original formula, not the canceled one. You should see 0 over a nonzero number.
- A rational function has at most one y-intercept, but it can have several x-intercepts or none.
- You do not need to memorize this rule. Rebuild it from one fact: 0 ÷ 5 = 0, and nothing divided by 0 has an answer.
7 The trap
Keeping a zero of the top that also makes the bottom zero. For f(x) = , the top is 0 at x = 1 and at x = −1. But x = 1 makes the bottom 0 too, so f(1) is 0 ÷ 0, which is undefined. The graph has a hole at (1, 2) there, and the only x-intercept is (−1, 0). Test every candidate in the original bottom before you call it an intercept.
Flash cards
Say the answer out loud, then flip.
On the map picture, the y-intercept is where the trail crosses the up and down road. How do you find it for a rational function?
- Put 0 in for x, because every spot on the y-axis has x equal to 0.
- If the bottom is not 0 there, the y-intercept is the point (0, f(0)).
- If the bottom is 0 at x = 0, then 0 is not in the domain and there is no y-intercept.
Why do you look only at the top of the fraction to find the candidates for x-intercepts?
The top of a rational function is 0 at x = 4, and the bottom is also 0 at x = 4. Is (4, 0) an x-intercept?
Find the intercepts of f(x) = .
- y-intercept: f(0) = = −, so the point is (0, −).
- x-intercept: the top is 0 at x = 3. The bottom there is 3 + 2 = 5, which is not 0, so the point is (3, 0).
- Check: f(3) = = 0.
From earlier
The domain of a rational function
Show answer
Every other real number works, so the domain is all real numbers except those.
The domain of a rational function
Show answer
The one step that can fail is the division, and it fails only when the bottom equals 0.
Lesson 6 of 7
Graphing a rational function from its features
Open this lessonLeans on 1Comes back in 0
Leans on
Comes back in
No lesson links recorded.
1 In plain words
Think of drawing a road on a map before you have driven it. First you mark what you already know. Dashed fences the road can never cross, or must run beside: those are the asymptotes. Pins the road must pass through: those are the intercepts. One missing paving stone: that is a hole. Then, in each stretch between fences and pins, you send one scout to report whether the road is north or south of the main street, which is the x-axis. That scout is a test point. With fences, pins, the missing stone and one scout per stretch on the map, you can sketch the road's shape, adding a point or two wherever you need to see a turn, and you draw it last.
2 Picture it
Reminder
Reminder: Factoring a difference of squares, Factoring a trinomial, Hole or vertical asymptote, Horizontal or slant asymptote from the degrees, Intercepts, Signs in a fraction, Arrow notation, Interval notation
- Factoring a difference of squares. − = (a − b)(a + b), so − 4 = (x − 2)(x + 2). Multiply back to check: + 2x − 2x − 4 = − 4.
- Factoring a trinomial. For − x − 2, find two numbers that multiply to −2 and add to −1. They are −2 and 1, so − x − 2 = (x − 2)(x + 1).
- Hole or vertical asymptote. A factor that cancels with no copy of it left in the bottom gives a hole, also called a removable discontinuity. A zero of the bottom that is left after canceling gives a vertical asymptote. In , x = 2 is a hole and x = −2 is a vertical asymptote.
- Horizontal or slant asymptote from the degrees. Top degree less: y = 0. Degrees equal: y = ratio of leading coefficients, so has y = 2. Top degree one more: divide, and the quotient is the slant asymptote.
- Intercepts. The y-intercept is f(0), when 0 is in the domain. The x-intercepts are the zeros of the top after canceling where the original bottom is not 0. For : f(0) = −4 and 2x − 4 = 0 at x = 2.
- Signs in a fraction. Same signs give a positive, different signs give a negative: = 2 and = −1.
- Arrow notation. The arrow notation 'as x → 3 from the left, f(x) → −∞' means: as the inputs close in on 3 from smaller numbers, the outputs fall without bound. For , f(2.9) = −20.
- Interval notation. (−2, −1) means every number between −2 and −1, with both ends left out. −1.5 is in it. −2 is not.
3 Why
A fraction is positive when its top and bottom have the same sign and negative when their signs differ. The top and the bottom are polynomials, and a polynomial can change sign only by passing through zero. So the whole function can change sign only where the top is zero or where the bottom is zero. Each such place is an x-intercept, a vertical asymptote or a hole. Between two neighboring places like that, the graph is stuck on one side of the x-axis, so one test point speaks for the whole interval. The asymptotes then say what the curve does at the edges, which leaves very little freedom.
4 The 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.
The same idea, five ways
f is negative between negative two and negative one, so the graph is below the x-axis there.
On the interval from −2 to −1, every output of f is negative, so that whole stretch of the graph lies below the x-axis.
- f(x) < 0 on (−2, −1)
- test point: f(−1.5) = −1, and −1 < 0
- sign of f on (−2, −1): −
One scout per stretch of road. His report covers the whole stretch, because the road cannot switch sides without a crossing or a fence.
The same idea, other ways
Look at the finished sketch of f(x) = . Two dashed lines form a cross: the vertical asymptote x = 2 and the horizontal asymptote y = 1. The dot at (0, 0) is the only intercept. The other dots are test points. Each branch sits in one corner of the cross, passes through its dots, and bends along both dashed lines.
A dot-to-dot puzzle hands you numbered dots. Here you make the dots yourself: the intercepts and the test points. The asymptotes are the rules printed on the page. Never draw across a dashed vertical line. Finish each end of the drawing along the dashed level line or the dashed slanted line. When there is neither, follow the curve that the quotient from division draws. A hole is one dot you draw hollow, because the curve passes that spot without owning it.
Take f(x) = . The top is zero at x = 0 and the bottom is zero at x = 2, so the split points are 0 and 2. Test one input in each interval. f(−1) = = , which is positive. f(1) = = −1, which is negative. f(3) = = 3, which is positive. So the graph is above the x-axis, then below it, then above it again.
The sign of a fraction depends only on the signs of its top and its bottom. Neither one can change sign without passing through zero. A zero of the top is an x-intercept, unless it also makes the bottom 0. A zero of the bottom is a vertical asymptote or a hole. Those are exactly the split points. So inside an interval, with no split point in it, nothing is able to flip the sign.
Friendly Hikers Visit Hills In The Summer: Factor, Holes, Vertical asymptotes, Horizontal or slant asymptote, Intercepts, Test points, Sketch. The pencil draws the curve only at the last word. Everything before it is dashed lines and dots.
| Feature | Where it comes from | How to draw it |
|---|---|---|
| Hole (removable discontinuity) | A zero of the bottom that is no longer a zero of the bottom after canceling | Open circle at the height the simplified formula gives |
| Vertical asymptote | A zero of the bottom after canceling | Dashed vertical line. The curve never crosses it |
| Horizontal asymptote | Comparing the degrees of top and bottom | Dashed level line. The curve levels toward it at the far left and far right |
| Slant asymptote | The quotient, when the top's degree is one more than the bottom's | Dashed slanted line. The curve follows it at the far ends |
| x-intercept | A zero of the simplified top where the original bottom is not 0 | Dot on the x-axis |
| y-intercept | f(0), when 0 is in the domain | Dot on the y-axis |
| Test point | One input chosen inside each interval between neighboring split points | Dot. It shows whether that stretch is above or below the x-axis |
5 How
- 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.
- 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.
- Set the simplified bottom equal to 0. Each solution is a vertical asymptote. Draw a dashed vertical line at each one.
- 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.
- 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.
- 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.
- 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.
- 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.
- Check with one input very close to each vertical asymptote and one input far out, such as x = 100.
Sketching a rational function: Friendly Hikers Visit Hills In The Summer
- Factor: factor top and bottom, and write the domain from the original bottom.
- 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.
- Vertical asymptotes: the zeros of the simplified bottom. Draw them dashed.
- Horizontal or slant asymptote: compare degrees, or divide when the top's degree is one more. Draw it dashed.
- 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.
- Test points: one input inside each interval between split points. Plot each one.
- Sketch: one smooth branch at a time, obeying every dashed line, then check with numbers.
6 Worked example
Worked example
A sketch with a hole, a wall and a level line
Sketch the graph of f(x) = . In plain words: find every feature of the graph from the formula, then draw the one curve that fits all of them.
Show the steps and the answer
- Factor the top and the bottom: .Factors show where the top and bottom are zero. For the top, −2 and 1 multiply to −2 and add to −1. The bottom is a difference of squares.
- Set the original bottom equal to 0: gives and . The domain is all real numbers except and 2.This finds the two inputs that would make the bottom zero, so we can throw them out. Plug back: − 4 = 0 and (−2 − 4 = 0.
- Cancel the shared factor (). The simplified formula is , with . The hole is at , at height . Plan an open circle at .This factor cancels with no copy of it left in the bottom, so it gives a hole, also called a removable discontinuity, not a wall. The simplified formula tells the height the curve is heading for.
- Set the simplified bottom equal to 0: gives . Draw a dashed vertical line at .A zero of the bottom that survives canceling is a vertical asymptote. Plug back: −2 + 2 = 0, and the top there is −1, not zero.
- Compare degrees: top degree 2, bottom degree 2. The leading coefficients are 1 and 1, so the horizontal asymptote is . Draw a dashed level line at .When the degrees are equal, the far-out height is the ratio of the leading coefficients.
- Find the intercepts. Simplified top: gives , so the x-intercept is . At : , so the y-intercept is .The graph meets the x-axis where the simplified top is zero and the original bottom is not, and it meets the y-axis at the input 0. A negative divided by a negative is positive.
- Mark the split points and 2 on the x-axis. They make four intervals: and .The sign of f can change only at an x-intercept, a vertical asymptote or a hole. Look at the open dots on the sign chart.
- Test one input in each interval with the simplified formula. . . . . Plot and .One output per interval tells the side of the x-axis for the whole interval: above, below, above, above. The y-intercept already serves as the test point for (−1, 2).
- Draw the left branch. It passes through , climbs without bound as x approaches from the left, and levels toward at the far left.The test point says this stretch is above the x-axis, so beside the wall the curve must go up. Far out it must follow the horizontal asymptote.
- Draw the right branch. It starts far below, immediately right of , rises through and , has an open circle at , passes , and levels toward .The test point −1.5 says the curve is below the x-axis next to the wall, so it comes up from below. The open circle shows that x = 2 is not in the domain.
- Domain: all real numbers except −2 and 2.
- Hole (removable discontinuity): open circle at (2, ).
- Vertical asymptote: x = −2.
- Horizontal asymptote: y = 1.
- Intercepts: (−1, 0) and (0, ).
- 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, ), the open circle at (2, ) and (3, ), leveling toward y = 1 from below.
Ladder: from easy to exam-hard
Try each rung before you open its steps.
Rung 1 of 5
One wall, no x-intercept
Sketch the graph of f(x) = . In plain words: find the features from the formula, then draw the curve that fits them.
Show the steps and the answer
- Factor: nothing factors. Set the bottom equal to 0: gives . The domain is all real numbers except 3.This finds the one input that would make the bottom zero, so we can throw it out. Plug back: 3 − 3 = 0.
- Look for a shared factor. There is none, so there is no hole.A hole needs a factor that cancels from top and bottom.
- The bottom is zero at and nothing canceled, so is a vertical asymptote. Draw it dashed.A zero of the bottom after canceling is a vertical asymptote.
- Compare degrees: the top is the constant 2 (degree 0) and the bottom has degree 1. The horizontal asymptote is .When the top's degree is less than the bottom's, the outputs shrink toward 0 far out.
- Intercepts: the top is 2 and is never zero, so there is no x-intercept. , so the y-intercept is .A fraction is zero only when its top is zero. The y-intercept is the output at the input 0.
- The only split point is 3, so the intervals are and . Test: and . One more point for shape: .One test point per interval tells the side of the x-axis: below on the left, above on the right.
- Draw the left branch below the x-axis through and , diving as x approaches 3 from the left and hugging at the far left. Draw the right branch above the x-axis through (4, 2) and (5, 1), climbing beside and leveling toward .Each branch must fit its points and obey both dashed lines.
- Domain: all real numbers except 3.
- No hole and no x-intercept.
- Vertical asymptote: x = 3.
- Horizontal asymptote: y = 0.
- y-intercept: (0, −).
- Left branch below the x-axis, diving beside x = 3.
- Right branch above the x-axis, climbing beside x = 3.
Rung 2 of 5
One of each feature, no hole
Sketch the graph of f(x) = . In plain words: find the features from the formula, then draw the curve that fits them.
Show the steps and the answer
- Factor: the top is and the bottom is . Set the bottom equal to 0: . The domain is all real numbers except .This finds the input that would make the bottom zero, so we can throw it out. Plug back: −1 + 1 = 0.
- No factor is shared, so there is no hole. The vertical asymptote is . Draw it dashed.Nothing cancels, so the zero of the bottom stays a wall.
- Compare degrees: 1 and 1. The leading coefficients are 2 and 1, so the horizontal asymptote is . Draw it dashed.Equal degrees give the ratio of the leading coefficients.
- Intercepts: gives , so the x-intercept is (2, 0). , so the y-intercept is .Plug back for the x-intercept: f(2) = = 0.
- Split points: and 2. Intervals: . Test: . . . One more point for shape: .The signs are positive, negative, positive. Look at the sign chart: one sign sits over each interval.
- Left branch: through and , climbing as x approaches from the left, leveling toward at the far left. Right branch: rising from far below beside , through , (2, 0) and , leveling toward .Left of the wall the test point is positive, so the curve goes up there. Right of the wall the test point is negative, so the curve comes from below.
- Domain: all real numbers except −1.
- No hole.
- Vertical asymptote: x = −1.
- Horizontal asymptote: y = 2.
- Intercepts: (2, 0) and (0, −4).
- Left branch above y = 2, climbing beside x = −1.
- Right branch rising from far below, through (0, −4) and (2, 0), leveling toward y = 2 from below.
Rung 3 of 5
Both sides of the wall go the same way
Sketch the graph of f(x) = . In plain words: find the features from the formula, then draw the curve that fits them.
Show the steps and the answer
- Factor. Top: and multiply to 3 and add to , so the top is . Bottom: and multiply to 4 and add to , so the bottom is . Set the bottom equal to 0: . The domain is all real numbers except 2.This finds the one input that would make the bottom zero, so we can throw it out. Plug back: 4 − 8 + 4 = 0.
- No factor is shared, so there is no hole. The vertical asymptote is .The top's factors are (x − 1) and (x − 3). Neither one matches (x − 2).
- Compare degrees: 2 and 2, with leading coefficients 1 and 1. The horizontal asymptote is .Equal degrees give the ratio of the leading coefficients.
- Intercepts: gives and , so the x-intercepts are (1, 0) and (3, 0). , so the y-intercept is .Zeros of the simplified top where the original bottom is not 0 are x-intercepts. At x = 0 only the constants remain.
- Split points: 1, 2 and 3. Intervals: , (1, 2), (2, 3), . Test with the factored form: . . . .The signs are +, −, −, +. The sign does not change across x = 2, because the squared bottom is positive on both sides.
- Left branch: leveling near at the far left, through and (1, 0), then diving through as x approaches 2 from the left. Right branch: coming up from far below beside , through , (3, 0) and , leveling toward .Both test points next to the wall are negative, so both branches dive beside it.
- Domain: all real numbers except 2.
- No hole.
- Vertical asymptote: x = 2, with the graph diving on both sides.
- Horizontal asymptote: y = 1.
- Intercepts: (1, 0), (3, 0) and (0, ).
- Both branches stay below y = 1 and mirror each other across x = 2.
Rung 4 of 5
Two walls, and a curve that crosses its level line
Sketch the graph of f(x) = . In plain words: find the features from the formula, then draw the curve that fits them.
Show the steps and the answer
- Factor: the top is 2x and the bottom is . Set the bottom equal to 0: and . The domain is all real numbers except and 2.This finds the two inputs that would make the bottom zero, so we can throw them out. Plug back: − 4 = 0 and (−2 − 4 = 0.
- No factor is shared, so there is no hole. The vertical asymptotes are and . Draw both dashed.Both zeros of the bottom survive, so there are two walls and three branches.
- Compare degrees: top degree 1, bottom degree 2. The horizontal asymptote is .When the top's degree is less, the outputs shrink toward 0 far out.
- Intercepts: gives , so the x-intercept is (0, 0). , so the y-intercept is the same point.The origin is on both axes, so one point serves as both intercepts.
- Split points: , 0 and 2. Intervals: , (0, 2), . Test: . . . . Two more points for shape: and .The signs are −, +, −, +. Look at the sign chart: the sign flips at every split point here.
- Left branch: below the x-axis, hugging at the far left, through and , diving as x approaches from the left. Middle branch: falling from far above beside , through , (0, 0) and , diving as x approaches 2 from the left. Right branch: falling from far above beside , through and , leveling toward .Each branch goes up or down beside a wall according to the test point on that side.
- Domain: all real numbers except −2 and 2.
- No hole.
- Vertical asymptotes: x = −2 and x = 2.
- Horizontal asymptote: y = 0.
- Intercept: (0, 0) only.
- Three branches: below the x-axis left of −2, a falling middle branch through the origin, and above the x-axis right of 2.
- The middle branch crosses the horizontal asymptote y = 0 at the origin.
Rung 5 of 5
A slant asymptote
Sketch the graph of f(x) = . In plain words: find the features from the formula, then draw the curve that fits them.
Show the steps and the answer
- Factor: the top is and the bottom is . Set the bottom equal to 0: . The domain is all real numbers except 1.This finds the one input that would make the bottom zero, so we can throw it out. Plug back: 1 − 1 = 0.
- No factor is shared, so there is no hole. The vertical asymptote is .Nothing cancels, so the zero of the bottom stays a wall.
- Compare degrees: top degree 2, bottom degree 1. The top's degree is one more, so divide. , so the quotient is and the remainder is . The slant asymptote is . Draw it dashed.Check the division by multiplying back: (x − 1)(x + 1) − 3 = − 1 − 3 = − 4. Far out, the leftover piece shrinks toward 0, so the curve follows the quotient line.
- Intercepts: gives and , so the x-intercepts are (2, 0) and . , so the y-intercept is (0, 4).Zeros of the simplified top where the original bottom is not 0 are x-intercepts. A negative divided by a negative is positive.
- Split points: , 1 and 2. Intervals: , (1, 2), . Test: . . . .The signs are −, +, −, +. Look at the sign chart.
- Left branch: following the line at the far left, rising through and (0, 4), climbing as x approaches 1 from the left. Right branch: rising from far below beside , through , (2, 0) and , then following the line .The test point 0 is positive, so the curve climbs on the left side of the wall. The test point 1.5 is negative, so the curve comes from below on the right side.
- Domain: all real numbers except 1.
- No hole.
- Vertical asymptote: x = 1.
- Slant asymptote: y = x + 1.
- Intercepts: (−2, 0), (2, 0) and (0, 4).
- Left branch: rising, a little above the slant line far out, climbing beside x = 1.
- Right branch: rising from far below, a little below the slant line far out.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Memory device for the order: Friendly Hikers Visit Hills In The Summer. Factor, Holes, Vertical asymptotes, Horizontal or slant asymptote, Intercepts, Test points, Sketch.
- Draw asymptotes dashed. They are guides for the curve, not part of the graph.
- Choose test points that keep the arithmetic light: a whole number when the interval holds one, and 0 whenever 0 is inside an interval. The y-intercept already counts as the test point for its interval.
- Plug test points into the simplified formula. It gives the same output as the original at every input except the hole, with less arithmetic.
- Count the intervals: the number of intervals is the number of split points plus 1. Three split points mean four intervals and four test points.
- To see whether the curve levels toward the horizontal asymptote from above or from below, look at the sign of f(x) minus the asymptote's height far out: the division's remainder over the bottom gives it. A far input such as x = 100 or x = −100 is a quick check of that sign.
- If a branch still looks uncertain, plot one more point in that interval. An extra point never hurts a sketch.
7 The 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.
Flash cards
Say the answer out loud, then flip.
On the map picture, what job does a test point do?
Which three kinds of places split the x-axis into intervals?
- Every x-intercept.
- Every vertical asymptote.
- Every hole.
Why is one test point enough for a whole interval?
A factor cancels from the top and the bottom, and the simplified bottom is not 0 at its zero. What does that zero mark, and how do you find its height?
Lesson 7 of 7
Writing a rational function from its graph
Open this lessonLeans on 0Comes back in 0
Leans on
No lesson links recorded.
Comes back in
No lesson links recorded.
1 In plain words
So far you were handed a formula and you drew its graph. This lesson runs the other way: you are handed the graph of a rational function and you write its formula. Think of tasting a soup and writing down the recipe. Each flavor you notice names one ingredient. On a graph, each feature names one piece of the formula. A place where the graph crosses the x-axis puts a piece on the top of the fraction. A vertical asymptote, the dashed wall the graph never touches, puts a piece on the bottom. A hole puts the same piece on both. The last question is how much: one number out in front, and one extra point on the graph tells you what it is.
2 Picture it
Reminder
Reminder: Subtracting a negative, When a factor is zero, Reading a point, Undoing a multiplication, Signs when multiplying and dividing, Horizontal asymptote by degrees, Height of a hole
- Subtracting a negative. x − (−2) = x + 2. A crossing or a wall at a negative number gives a plus sign inside the factor.
- When a factor is zero. (x − 4) is 0 only at x = 4, because 4 − 4 = 0.
- Reading a point. (0, −1) means the input is 0 and the output is −1: x = 0 and f(x) = −1.
- Undoing a multiplication. To free a in −3a = 6, divide both sides by −3: a = −2.
- Signs when multiplying and dividing. Two negatives make a positive: (−1)(−2) = 2 and = . One negative makes a negative: 6 ÷ (−3) = −2.
- Horizontal asymptote by degrees. Same degree on top and bottom: y is the ratio of leading coefficients, so levels off at y = = 2. Larger degree on the bottom: y = 0.
- Height of a hole. Cancel the shared factor first, then plug in: becomes , and at x = −1 that is = 2.
3 Why
Every earlier fact works in both directions. A zero of the simplified top where the original bottom is not 0 is an x-intercept, so an x-intercept at x = 1 means the top holds the factor (x − 1), the piece that equals 0 when x is 1. A zero of the bottom that survives is a vertical asymptote, so a wall at x = −2 means the bottom holds (x + 2). Multiplying the whole fraction by a number a ≠ 0 moves no crossing and no wall, because a times 0 is still 0. So the crossings and walls cannot tell you a. Once the factors are chosen, one point off the x-axis can, and so can the height of a horizontal asymptote other than 0.
4 The rule
The first candidate formula, with the simplest factors, for a graph that crosses the x-axis at and , has vertical asymptotes at and , and has a hole at is with .
With no hole, leave out both () factors. Find a by plugging in one more point of the graph that is not on the x-axis. If the graph goes the same way on both sides of a vertical asymptote, square that bottom factor, the simplest even power. If the graph touches the x-axis at an intercept and turns back, square that top factor. Check the candidate against the rest of the graph: a graph can call for higher powers or for factors with no real zero, such as .
The same idea, five ways
f of x equals a, times the crossing factors, over the wall factors.
A first candidate formula is a number a times one factor for each x-intercept, divided by one factor for each vertical asymptote, with the factor of any hole written on both the top and the bottom. Square a factor where the graph touches the x-axis and turns back, or where it goes the same way on both sides of a vertical asymptote. Then check the candidate against the rest of the graph, which can call for higher powers or for factors with no real zero.
- x-intercept at x = p where the graph crosses: factor (x − p) on the top
- x-intercept at x = p where the graph touches and turns back: factor (x − p on the top
- vertical asymptote at x = r, one side up and one side down: factor (x − r) on the bottom
- vertical asymptote at x = r, both sides the same way: factor (x − r on the bottom
- hole at x = c: factor (x − c) on the top and on the bottom
- point (, ) on the graph: solve = f() for a
Tasting a soup and writing the recipe: each flavor names an ingredient, and one spoonful tells you how much salt.
crossing at x = p: (x − p) on the top
wall at x = r: (x − r) on the bottom
hole at x = c: (x − c) on both
a in front
one point off the x-axis gives a
The same idea, other ways
Flatten the graph onto the x-axis and keep only two kinds of marks. An open circle sits where a wall stands: the function has no output there, so that number goes into a bottom factor. A tick sits where the graph crosses: the output is 0 there, so that number goes into a top factor. For the graph above, the open circle at −1 gives (x + 1) on the bottom and the tick at 2 gives (x − 2) on the top.
A friend describes a house over the phone: a door here, a wall there. You can draw the floor plan from that. You cannot tell how tall the house is until your friend gives you one measurement. Crossings and walls are the floor plan of the graph: they give the simplest factors of the formula. The one extra point, off the x-axis and away from the walls, is the measurement, and it sets a.
Start with , whose wall is at x = 0. You want the wall at x = 5, so make the bottom x − 5: now the bottom is 0 at 5, since 5 − 5 = 0. Suppose the graph passes through (6, 4). The formula gives = 1 at x = 6. That is four times too low, so a = 4. The formula is , and = 4.
Take any formula with the right factors and multiply it by 5. Where the top was 0, 5 × 0 is still 0, so the crossings stay. Where the bottom was 0, it is still 0, so the walls stay. Many formulas share the same crossings and walls, one for each value of a other than 0. A single point off the x-axis picks out one of them, because at that point different values of a give different heights.
Slide h. The wall stands at x = h every time, because the bottom x − h is 0 there. Now slide a to any value other than 0. The wall does not move and no crossing appears. Only the height of the curve at each input changes: the curve stretches, and a negative a also flips it over the x-axis. That is the reason a wall alone cannot give you a, and one point can.
| What you see on the graph | The simplest thing to write | Why |
|---|---|---|
| Crosses the x-axis at x = p | (x − p) on the top | The top is 0 there, so the output is 0. |
| Touches the x-axis at x = p and turns back | (x − p on the top | A square is never negative, so the output keeps its sign on both sides. |
| Vertical asymptote at x = r, one side up and one side down | (x − r) on the bottom | The bottom is 0 there and changes sign as x passes r. |
| Vertical asymptote at x = r, both sides the same way | (x − r on the bottom | A square is never negative, so both sides keep the same sign, as on the graph of . |
| Hole at x = c | (x − c) on the top and on the bottom | The factor cancels and leaves a gap at the one input that makes it 0. |
| Horizontal asymptote y = 0 | A lower degree on the top than on the bottom, or a top that is the constant 0 | When the bottom has the larger degree, the outputs shrink toward 0. A top that is the constant 0 makes every output 0. |
| Horizontal asymptote y = k with k ≠ 0 | Equal degrees on top and bottom; with factors like (x − p), a = k | With equal degrees the graph levels off at the ratio of leading coefficients, which is a. |
| One more point (x, y) off the x-axis | Plug in x and y, solve for a | Only one value of a makes the formula true at that point. |
5 How
- Say what the question asks: build the fraction whose graph has exactly the features you see.
- List the x-intercepts. For a crossing at x = p, write the factor (x − p) on the top, and for a touch that turns back, (x − p. If there are no x-intercepts, try a top with no x in it, the simplest choice; the rest of the graph can still call for a factor with no real zero, such as + 1.
- List the vertical asymptotes. For a wall at x = r, write the factor (x − r) on the bottom. If the graph goes the same way (both up or both down) on the two sides of the wall, write (x − r instead.
- Look for a hole (an open circle). For a hole at x = c, write (x − c) on both the top and the bottom.
- Put an unknown number a in front of the fraction.
- Pick one point on the graph that is not on the x-axis and is not the hole. The y-intercept is usually the most convenient. Plug in its x and its y, then solve for a.
- Write the finished formula. Check it against a feature you did not use: the horizontal asymptote or a second point.
Writing a rational function from its graph
- List every feature the graph shows: x-intercepts, vertical asymptotes, holes, the horizontal asymptote, and at least one other point.
- Turn each x-intercept at x = p into a factor on the top: (x − p) where the graph crosses, (x − p where it touches and turns back.
- Turn each vertical asymptote at x = r into a factor (x − r) on the bottom, squared if both sides of the wall go the same way.
- Turn each hole at x = c into a factor (x − c) on both the top and the bottom.
- Write a in front, plug in a point that is off the x-axis and is not the hole, and solve for a.
- Check the finished formula against a feature you did not use.
6 Worked example
Worked example
One crossing, one wall, one point
The graph shows a rational function. It has a vertical asymptote at x = −2, crosses the x-axis at (1, 0), crosses the y-axis at (0, −1), and levels off at the horizontal asymptote y = 2. Write a formula for it. In plain words: build the fraction whose graph has exactly these features.
Show the steps and the answer
- List what the graph tells you: a wall at , a crossing at , the point , and a horizontal asymptote at .These four facts are everything the picture gives. The first three build the formula. The fourth is saved for the check.
- The x-intercept is at , so write () on the top.(x − 1) is 0 when x = 1, since 1 − 1 = 0. A top of 0 gives an output of 0, which is a crossing.
- The vertical asymptote is at , so write () on the bottom.x − (−2) = x + 2, and −2 + 2 = 0. A bottom of 0 that does not cancel makes the wall.
- There is no hole, so no factor is shared. Put a in front: .The crossing and the wall fix the factors. They cannot fix the number in front, so it stays a letter for now.
- Plug in the point (0, −1): .The point is on the graph, so its input 0 and output −1 must make the formula true. This step finds the one value of a that does it.
- Multiply both sides by −2: . times −2 is 1, which leaves a alone. On the other side, (−1)(−2) = 2.
- Write the formula: .Every piece is now known. Multiplied out, the top is 2x − 2.
Ladder: from easy to exam-hard
Try each rung before you open its steps.
Rung 1 of 5
One wall, no crossing
The graph of a rational function has a vertical asymptote at x = 3 and a horizontal asymptote at y = 0. It never crosses the x-axis. It passes through (4, 2) and (5, 1). Write a formula. In plain words: find the fraction whose graph has this wall and passes through these points.
Show the steps and the answer
- Look for x-intercepts. There are none, so try the simplest top, with no x in it: only the number a.A factor such as (x − p) on the top would make the output 0 at p, and this graph never reaches height 0. A top that is only a number is the simplest choice that fits.
- The wall is at x = 3, so write (x − 3) on the bottom: .(x − 3) is 0 when x = 3, since 3 − 3 = 0. A bottom of 0 is what makes the wall.
- Plug in the point (4, 2): .The point is on the graph, so its input 4 and output 2 must make the formula true. This step finds the one value of a that does it.
- Write the formula with a = 2: .Every unknown is now filled in.
Rung 2 of 5
One crossing, one wall, and a negative a
The graph of a rational function has a vertical asymptote at x = 1, crosses the x-axis at (−3, 0), crosses the y-axis at (0, 6), and levels off at the horizontal asymptote y = −2. Write a formula. In plain words: build the fraction with this crossing and this wall that also passes through (0, 6).
Show the steps and the answer
- The x-intercept is at , so write () on the top.x − (−3) = x + 3, and −3 + 3 = 0, so this factor is 0 at the crossing.
- The wall is at x = 1, so write (x − 1) on the bottom: .(x − 1) is 0 when x = 1, since 1 − 1 = 0.
- Plug in the point (0, 6): .The y-intercept is on the graph and off the x-axis, so it can find a. 3 divided by −1 is −3.
- Solve −3a = 6 by dividing both sides by −3: .6 ÷ (−3) = −2. A positive divided by a negative is negative. A negative a is allowed: it flips the graph over.
- Write the formula: .Every piece is now known. Multiplied out, the top is −2x − 6.
Rung 3 of 5
Both sides of the wall go up
The graph of a rational function has a vertical asymptote at x = 1. On both sides of the wall the graph shoots up. It never crosses the x-axis, its horizontal asymptote is y = 0, and it passes through (2, 3) and (0, 3). Write a formula. In plain words: find the fraction whose graph climbs on both sides of the wall and passes through these points.
Show the steps and the answer
- There are no x-intercepts, so try the simplest top: only the number a.The graph never reaches height 0, so the top can never be 0.
- The wall is at , so the bottom needs the factor (). Try the first power: .(x − 1) is 0 when x = 1, which makes the wall.
- Test the trial against the two points. At the bottom is . At the bottom is . The bottoms have opposite signs, so the two outputs would have opposite signs. The graph shows both at height 3.A first power changes sign as x passes the wall, which sends one side up and the other side down. That is not this graph.
- Square the factor: .A square is never negative: (1 = 1 and (−1 = 1. Both sides of the wall now have the same sign, so both go the same way.
- Plug in the point (2, 3): . So .The point is on the graph, so it must make the formula true. This finds a.
- Write the formula: .Every piece is now known.
Rung 4 of 5
A hole in the graph
The graph of a rational function has a vertical asymptote at x = 2, crosses the x-axis at (1, 0), has a hole (an open circle, also called a removable discontinuity) at (−1, 2), and passes through (3, 6). Write a formula. In plain words: build the fraction with this crossing, this wall and this gap that also passes through (3, 6).
Show the steps and the answer
- The x-intercept is at , so write () on the top.1 − 1 = 0, so this factor makes the output 0 at the crossing.
- The wall is at , so write () on the bottom.2 − 2 = 0, so this factor makes the bottom 0 at the wall.
- The hole is at , so write () on both the top and the bottom.A factor on both top and bottom cancels, here with no copy of it left in the bottom, so it leaves a hole at the input that makes it 0: −1 + 1 = 0.
- Put a in front: .The features fix the factors but not the number in front.
- Plug in the point (3, 6): .Use a point that is not the hole and not on the x-axis. At the hole the uncanceled formula would read 0 over 0, which has no value.
- Solve 2a = 6 by dividing both sides by 2: .6 ÷ 2 = 3.
- Write the formula: . Keep () on both the top and the bottom, or cancel it and write beside the formula.If you cancel (x + 1) and write nothing more, the formula forgets the hole.
Rung 5 of 5
Two walls and two crossings
The graph of a rational function has vertical asymptotes at x = −2 and x = 3, and it goes opposite ways on the two sides of each wall. It crosses the x-axis at (−4, 0) and (1, 0), crosses the y-axis at (0, 2), passes through (−3, −2), and levels off at the horizontal asymptote y = 3. Write a formula. In plain words: build the fraction with both crossings and both walls that also passes through (0, 2).
walls: x = −2 and x = 3
crossings: (−4, 0) and (1, 0)
y-intercept: (0, 2)
another point: (−3, −2)
levels off at y = 3
Show the steps and the answer
- The crossings are at and , so the top is .x − (−4) = x + 4 is 0 at −4, and (x − 1) is 0 at 1. Each crossing needs its own factor.
- The walls are at and , so the bottom is .x − (−2) = x + 2 is 0 at −2, and (x − 3) is 0 at 3. The graph goes opposite ways at each wall, so neither factor is squared.
- Put a in front: .There is no hole, so no factor is shared. The number in front is still unknown.
- Plug in the point (0, 2): .A negative divided by a negative is positive, and 4 and 6 both divide by 2, so = .
- Solve . Multiply both sides by 3 to get , then divide both sides by 2: .Multiplying by 3 clears the bottom of the fraction. Dividing by 2 leaves a alone.
- Write the formula: .Every piece is now known. Multiplied out, the top is 3 + 9x − 12 and the bottom is − x − 6.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Memory device: crossings on top, walls below, holes on both, a out front.
- Check every factor by plugging its number in. The factor must come out 0: for a wall at −2, (x + 2) gives −2 + 2 = 0.
- The y-intercept is usually the most convenient point for finding a, because plugging in x = 0 leaves only the numbers inside the factors.
- Compare degrees against the horizontal asymptote, counting each factor like (x − p) once for each power. An asymptote at y = 0 means a lower degree on the top than on the bottom, or a top that is the constant 0. An asymptote at another height means equal degrees, and with factors like (x − p), that height equals a. A slant asymptote means the top's degree is one more than the bottom's.
- Hold one feature back. Build the formula from the crossings, the walls and one point, then test it on the horizontal asymptote or a second point.
- A sketch can fit more than one formula. Start with the simplest candidate, the one with the fewest factors, and raise a power or add a factor with no real zero only when the graph calls for it.
7 The trap
Stopping after the factors. has the right crossing and the right wall, but its graph passes through (0, −) and levels off at y = 1. The graph in the example passes through (0, −1) and levels off at y = 2. Always write a in front and use a point to find it, even when a turns out to be 1.
Flash cards
Say the answer out loud, then flip.
A graph has a hole (an open circle) at x = 5. Where does the factor (x − 5) go in the formula?
The graph goes up on both sides of the vertical asymptote at x = 4. How do you write that bottom factor?
The crossing and the wall give f(x) = a · . The graph passes through (0, −1). What is a?
- a = 2.
- Plug in x = 0 and y = −1: a · = −1, so a = 2.