Intercepts of a rational function
Leans on
Quick review (2 minutes)
Picture a map with two straight roads.
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.
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.
Find the y-intercept of f(x) = . In plain words: the input is 0. Find the output and write the point.
y-intercept: (0, 3)
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.
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.
rational function
A function written as a fraction: one polynomial on top, another polynomial on the bottom. It is defined everywhere except where the bottom equals zero.
vertical asymptote
A vertical line x = a that the graph shoots up or down beside and never touches. It sits at an input where the bottom is zero after canceling. Say it AS-im-toht.
horizontal asymptote
A horizontal line y = b that the graph settles toward as x goes far right or far left. It describes the far ends only. The graph may cross it in the middle.
removable discontinuity
A single missing point in a graph, also called a hole. It appears when a factor (x − a) cancels from top and bottom with no copy of it left in the bottom: the curve looks unbroken, but that one input has no output.
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.