Quarry School

The domain of a rational function

Subject: MathematicsLeans on: DomainLeans on: Dividing by zeroLeans on: Solving a linear equationLeans on: A product equal to zeroLeans on: Factoring x² + bx + cLeans on: A square is never negativeLeans on: Interval notation
Level 1 · FoundationsAbout 20 min read1 new termKeystone idea. Later lessons build on this one.
How this was estimated

Programmatic estimate. Rung levels, worked steps, prerequisites, terms and sentence length contribute to this level. It describes the lesson, not your ability.

Reading counts the whole lesson, including folded explanations, at 180 words a minute. Practice allows two minutes per item. These are planning assumptions; take the time you need.

AI estimate unavailable.

Path to here

Open the unit’s lesson list to follow the lesson order.

    Leans on

    Quick review (2 minutes)

    In plain words

    Picture a vending machine with one broken button.

    Rule

    A rational function has the form f(x) = P(x)Q(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.

    Step

    1. Say what is asked. 'Find the domain' means: list every input x that gives an output.

    2. Cover the top. Copy down only the bottom of the formula as it was given. Do not cancel anything first.

    3. Set the bottom equal to 0. This hunts for the inputs that would make the machine divide by 0.

    4. Solve that equation. If the bottom is a line, undo the adding and the multiplying. If it has x2 or higher, factor it and set each factor equal to 0.

    5. Plug each solution back into the original bottom and confirm that you get 0.

    6. 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 ∪.

    Strategy

    1. Work from the formula exactly as it was given. Do not simplify or cancel yet.

    2. Ignore the top. Write the bottom by itself.

    3. Set the bottom equal to 0. The solutions are the inputs to throw out, not the domain itself.

    4. Solve. A bottom like 2x − 6 takes two moves: add 6, then divide by 2. A bottom with x2 or x3 needs factoring first, then each factor is set equal to 0.

    5. Plug every solution back into the original bottom to see the 0 with your own eyes.

    6. 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 ∪.

    7. Count: one excluded number makes two pieces, two make three, three make four. If nothing is excluded, the domain is (−∞, ∞).

    Question

    Find the domain of f(x) = 2x+1x2−x−12. In plain words: list every input x that gives an output, by first finding the inputs that do not.

    Answer

    Excluded inputs: x = −3 and x = 4
    Domain: (−∞, −3) ∪ (−3, 4) ∪ (4, ∞)
    In words: all real numbers except −3 and 4

    Trap

    Canceling before you find the domain. f(x) = x2−1x−1 factors to (x−1)(x+1)x−1 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.

    Term

    rational function

    Definition

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

    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

    domain−22468−6−4−2246domain−2−112345678−6−4−2246
    The graph of y = 1x−3 has no point above or below x = 3, so its shadow on the x-axis has a gap at 3.

    Reminder

    Reminder: Domain, Dividing by zero, Solving a linear equation, A product equal to zero, Factoring x2 + bx + c, A square is never negative, Interval notation
    • Domain. The domain is the set of all inputs a function accepts. For f(x) = 1x, 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 x2 + bx + c. Find two numbers that multiply to c and add to b. For x2 − x − 12, the numbers are −4 and 3, so it factors as (x − 4)(x + 3).
    • A square is never negative. x2 ≥ 0 for every real number x: 32 = 9 and (−3)2 = 9. So x2 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 f(x)=P(x)Q(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.

    The same idea, five ways

    Say it

    'x can be any real number except 3.' Or: 'all reals but 3.'

    Write it

    The domain of f(x) = 5x−3 is every real number other than 3, because 3 is the one input that makes the bottom zero.

    In math
    • x ≠ 3
    • (−∞,3)∪(3,∞)
    • {x | x ≠ 3}
    • Graph words: the graph has no point straight above or below x = 3
    Like

    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.

    See it
    3(−∞, 3) ∪ (3, ∞)
    The open dot at 3 is the one input left out; everything on both sides of it is in the domain.

    The same idea, other ways

    As a picture

    Draw the number line. For f(x) = xx2−4, the bottom is 0 at x = −2 and at x = 2, since (−2)2 − 4 = 0 and 22 − 4 = 0. Erase those two dots. Everything that is still drawn is the domain: three stretches of line with two tiny gaps.

    −22(−∞, −2) ∪ (−2, 2) ∪ (2, ∞)
    Two open dots, at −2 and at 2, mark the only inputs that the function refuses.
    As a story

    The machine for f(x) = 5x−3 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.

    x = 35 ÷ (x − 3)inputoutputno output
    The input 3 makes the rule ask for 5 ÷ 0, so nothing comes out.
    With small numbers

    Take f(x) = 6x−2 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.

    input xoutput f(x)0−31−6364352
    Every input shown has an output; the input 2 is missing because it makes the bottom zero.
    Why it must be true

    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.

    12 ÷ 3 = 412 ÷ 2 = 612 ÷ 1 = 1212 ÷ 0 = ?0 groups: nowhere to put them, so no answer
    Sharing among 3, 2 and 1 groups works; sharing among 0 groups has no answer.
    As a rule of thumb

    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

    1. Say what is asked. 'Find the domain' means: list every input x that gives an output.
    2. Cover the top. Copy down only the bottom of the formula as it was given. Do not cancel anything first.
    3. Set the bottom equal to 0. This hunts for the inputs that would make the machine divide by 0.
    4. Solve that equation. If the bottom is a line, undo the adding and the multiplying. If it has x2 or higher, factor it and set each factor equal to 0.
    5. Plug each solution back into the original bottom and confirm that you get 0.
    6. 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

    1
    Is there an x anywhere in the bottom?
    YesGo on to the next question.
    NoThe bottom is a fixed nonzero number, so it can never be 0. Domain: (−∞, ∞).
    ↓
    2
    Is the bottom a square plus a positive number, such as x2 + 9?
    YesA square is never negative, so the bottom is never 0. Exclude nothing. Domain: (−∞, ∞).
    NoGo on to the next question.
    ↓
    3
    Is the bottom a line, such as 3x + 2?
    YesSet it equal to 0 and solve for x. Exclude that one number.
    NoFactor the bottom completely, set every factor that contains x equal to 0, and exclude every solution.
    ↓
    4
    Did you cancel a common factor before solving bottom = 0?
    YesGo back to the original formula. A canceled factor still excludes its input.
    NoWrite the domain in interval notation with a gap at each excluded number.
    1. Work from the formula exactly as it was given. Do not simplify or cancel yet.
    2. Ignore the top. Write the bottom by itself.
    3. Set the bottom equal to 0. The solutions are the inputs to throw out, not the domain itself.
    4. Solve. A bottom like 2x − 6 takes two moves: add 6, then divide by 2. A bottom with x2 or x3 needs factoring first, then each factor is set equal to 0.
    5. Plug every solution back into the original bottom to see the 0 with your own eyes.
    6. 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 ∪.
    7. 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) = 2x+1x2−x−12. 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
    −34(−∞, −3) ∪ (−3, 4) ∪ (4, ∞)
    Open dots at −3 and 4 cut the line into the three pieces of the domain.
    1. Cover the top, 2x+1. Write down only the bottom: x2−x−12.The top is a polynomial, and a polynomial accepts every real number. Only the bottom can stop the division.
    2. Set the bottom equal to 0: x2−x−12=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.
    3. Factor the bottom. Find two numbers that multiply to −12 and add to −1. They are −4 and 3, so x2−x−12=(x−4)(x+3).(−4) × 3 = −12 and −4 + 3 = −1. A factored bottom shows its zeros one factor at a time.
    4. Set each factor equal to 0. x−4=0 gives x=4. x+3=0 gives x=−3.A product is 0 only when one of its factors is 0, so these two small equations find every zero of the bottom.
    5. Plug each value back into the original bottom. At x=4: 42−4−12=16−4−12=0. At x=−3: (−3)2−(−3)−12=9+3−12=0.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.
    6. Throw out −3 and 4 and keep everything else. On the number line, put an open dot at −3 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.
    7. Write the pieces in interval notation from left to right: (−∞,−3)∪(−3,4)∪(4,∞).A round parenthesis means that end is left out, and ∪ joins the pieces into one set.
    Answer
    • Excluded inputs: x = −3 and x = 4
    • Domain: (−∞, −3) ∪ (−3, 4) ∪ (4, ∞)
    • In words: all real numbers except −3 and 4
    Double-check A second way, in two parts. First, multiply the factors back out: (x − 4)(x + 3) = x2 + 3x − 4x − 12 = x2 − x − 12, which matches the bottom, so the factoring is right. Second, test one number from each piece in the bottom: x = −4 gives 16 + 4 − 12 = 8, x = 0 gives −12, and x = 5 gives 25 − 5 − 12 = 8. None is 0, so all three pieces belong to the domain, and f(0) = 1−12 = −112 is a real output.

    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) = 4x−6. In plain words: which inputs give an output?

    Show the steps and the answer
    6(−∞, 6) ∪ (6, ∞)
    One open dot at 6 splits the domain into two pieces.
    1. Look at the bottom only: x−6.The top is the number 4. It never causes trouble.
    2. Set the bottom equal to 0 and solve: x−6=0, so x=6.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.
    3. Plug it back in: 6−6=0, so f(6) would be 4÷0.Division by 0 has no answer, so 6 is not in the domain.
    4. Write everything else: (−∞,6)∪(6,∞).One excluded number cuts the number line into two pieces.
    Answer
    • Excluded input: x = 6
    • Domain: (−∞, 6) ∪ (6, ∞)
    Double-check Try a number on each side of 6. f(5) = 45−6 = 4−1 = −4 and f(7) = 47−6 = 41 = 4. Both work. Only 6 fails.

    Rung 2 of 6

    A line on the bottom, a fraction to leave out

    Find the domain of g(x) = x+13x+2. In plain words: find the input that breaks the division, then keep all the others.

    Show the steps and the answer
    1. Write the bottom and set it equal to 0: 3x+2=0.This finds the input that makes the bottom zero. The top, x + 1, is ignored.
    2. Subtract 2 from both sides: 3x=−2.Subtracting 2 undoes the + 2 and keeps the equation balanced.
    3. Divide both sides by 3: x=−23.Dividing by 3 undoes the multiplying by 3. The answer is a fraction. Leave it exact.
    4. Plug it back in: 3×(−23)+2=−2+2=0.The bottom really is 0 there, so −23 must be left out.
    5. Write the domain: (−∞,−23)∪(−23,∞).One excluded number, two pieces.
    Answer
    • Excluded input: x = −23
    • Domain: (−∞, −23) ∪ (−23, ∞)
    Double-check g(0) = 0+13×0+2 = 12, so 0 is allowed. g(−1) = −1+13×(−1)+2 = 0−1 = 0, so −1 is allowed too, even though it makes the top 0. Only −23 gives a zero bottom.

    Rung 3 of 6

    A bottom that is never zero

    Find the domain of h(x) = x−3x2+9. In plain words: is there any input that makes the bottom 0?

    Show the steps and the answer
    no square ever lands below 0(−3, 9)(3, 9)(0, 0)−33−49
    The graph of y = x2 never dips below the x-axis, so x2 plus a positive number can never be 0.
    1. Write the bottom and set it equal to 0: x2+9=0.Same hunt as always: look for inputs that make the bottom zero.
    2. Subtract 9 from both sides: x2=−9.This asks which number, multiplied by itself, gives −9.
    3. Stop. No real number squared is negative, so this equation has no solution.x2 is 0 or more for every real x, so x2 + 9 is 9 or more. The bottom never reaches 0.
    4. Exclude nothing. Domain: (−∞,∞).With no input that breaks the division, every real number is allowed.
    Answer
    • Excluded inputs: none
    • Domain: (−∞, ∞), all real numbers
    Double-check Test the tempting numbers. At x = 3 the bottom is 32 + 9 = 18. At x = −3 it is (−3)2 + 9 = 18. At x = 0 it is 9, the smallest value it ever takes. It is never 0. The gotcha: x2 + 9 is not (x − 3)(x + 3). That product is x2 − 9. Also, x = 3 makes the top 0, which gives h(3) = 018 = 0, an ordinary output.

    Rung 4 of 6

    Pull out a number, then a difference of squares

    Find the domain of k(x) = x2x2−18. In plain words: find every input that makes 2x2 − 18 equal 0 and leave those out.

    Show the steps and the answer
    −33(−∞, −3) ∪ (−3, 3) ∪ (3, ∞)
    Both −3 and 3 are left out, because squaring either one gives 9.
    1. Set the bottom equal to 0: 2x2−18=0.This finds the inputs that would force a division by 0.
    2. Factor out the 2: 2(x2−9)=0.Both terms share a factor of 2, since 18 = 2 × 9.
    3. Factor x2−9 as (x−3)(x+3), giving 2(x−3)(x+3)=0.(x − 3)(x + 3) = x2 + 3x − 3x − 9 = x2 − 9. The middle terms cancel.
    4. Set each factor that contains x equal to 0: x−3=0 gives x=3, and x+3=0 gives x=−3.A product is 0 only when a factor is 0. The factor 2 is never 0, so it adds nothing.
    5. Plug both back in: 2×32−18=18−18=0, and 2×(−3)2−18=18−18=0.Both inputs make the bottom zero, so both are thrown out.
    6. Write the domain: (−∞,−3)∪(−3,3)∪(3,∞).Two excluded numbers cut the line into three pieces.
    Answer
    • Excluded inputs: x = −3 and x = 3
    • Domain: (−∞, −3) ∪ (−3, 3) ∪ (3, ∞)
    Double-check A second route to the same zeros: 2x2 = 18, so x2 = 9, and the two numbers whose square is 9 are 3 and −3. Also test allowed inputs: k(0) = 0−18 = 0, so 0 stays in the domain even though it makes the top 0, and k(1) = 12−18 = −116 works. The gotcha is forgetting −3.

    Rung 5 of 6

    A common factor that tempts you to cancel

    Find the domain of m(x) = x2−4x2−7x+10. In plain words: which inputs does the formula, as written, accept?

    Show the steps and the answer
    25(−∞, 2) ∪ (2, 5) ∪ (5, ∞)
    The input 2 stays excluded even though its factor cancels.
    1. Do not cancel anything yet. Write the original bottom and set it equal to 0: x2−7x+10=0.The domain belongs to the formula as it was given, before any simplifying.
    2. Factor: two numbers that multiply to 10 and add to −7 are −2 and −5, so (x−2)(x−5)=0.(−2) × (−5) = 10 and −2 + (−5) = −7.
    3. Set each factor equal to 0: x=2 and x=5.These are the inputs that make the bottom zero, so they are the ones to throw out.
    4. Plug both back in: 22−7×2+10=4−14+10=0, and 52−7×5+10=25−35+10=0.Both make the original bottom 0.
    5. Notice the top: x2−4=(x−2)(x+2). It shares the factor (x−2) 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 x+2x−5 matches m only at inputs m already accepts.
    6. Write the domain: (−∞,2)∪(2,5)∪(5,∞).Two excluded numbers, three pieces.
    Answer
    • Excluded inputs: x = 2 and x = 5
    • Domain: (−∞, 2) ∪ (2, 5) ∪ (5, ∞)
    Double-check Plug into the original, not the canceled form. At x = 2: top 22 − 4 = 0, bottom 0, so 0 ÷ 0, no answer. At x = 5: top 25 − 4 = 21, bottom 0, so 21 ÷ 0, no answer. At x = 0: m(0) = −410 = −25, which works. Two excluded numbers and three pieces, as expected.

    Rung 6 of 6

    A cubic bottom with three excluded inputs

    Find the domain of p(x) = x+2x3−4x2−5x. In plain words: find every input that makes the bottom 0, then keep all the rest.

    Show the steps and the answer
    −105(−∞, −1) ∪ (−1, 0) ∪ (0, 5) ∪ (5, ∞)
    Three open dots, at −1, 0 and 5, leave four pieces of domain.
    1. Set the bottom equal to 0: x3−4x2−5x=0.This finds every input that would force a division by 0.
    2. Factor out x: x(x2−4x−5)=0.Every term of the bottom contains at least one x.
    3. Factor the part in parentheses: two numbers that multiply to −5 and add to −4 are −5 and 1. So x(x−5)(x+1)=0.(−5) × 1 = −5 and −5 + 1 = −4.
    4. Set each of the three factors equal to 0: x=0,x−5=0 gives x=5, and x+1=0 gives x=−1.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.
    5. Plug each back into the original bottom. At 0: 0−0−0=0. At 5: 125−100−25=0. At −1: (−1)3−4×(−1)2−5×(−1)=−1−4+5=0.All three make the bottom zero, so all three are thrown out.
    6. Put them in order, −1, 0, 5, and write the domain: (−∞,−1)∪(−1,0)∪(0,5)∪(5,∞).Three excluded numbers cut the line into four pieces.
    Answer
    • Excluded inputs: x = −1, x = 0 and x = 5
    • Domain: (−∞, −1) ∪ (−1, 0) ∪ (0, 5) ∪ (5, ∞)
    Double-check Test one number from each of the four pieces in the original bottom. At x = −2: −8 − 16 + 10 = −14. At x = −12: −18 − 1 + 52 = 118. At x = 1: 1 − 4 − 5 = −8. At x = 6: 216 − 144 − 30 = 42. None is 0, so all four pieces belong. Also, x = −2 makes the top 0, and p(−2) = 0−14 = 0 is an ordinary output, so −2 stays in the domain.

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: For f(x) = x−2x+5, leaving out x = 2 because it makes the top 0.
    Zero divided by a nonzero number is 0, which is a perfectly good output: f(2) = 07 = 0. A zero on top never breaks a fraction.
    ✓ Instead: Only the bottom matters. x + 5 = 0 gives x = −5, so the domain is (−∞, −5) ∪ (−5, ∞), and 2 stays in.
    ✗ Not this: For g(x) = 3x2+16, leaving out x = 4 and x = −4 because 16 is 42.
    That would be right for x2 − 16. Here the bottom is x2 + 16. At x = 4 it is 16 + 16 = 32, and at x = −4 it is also 32. A square is never negative, so x2 + 16 is always 16 or more.
    ✓ Instead: Nothing is excluded. The domain is (−∞, ∞).
    ✗ Not this: For f(x) = 1x−4, solving x − 4 = 0 and answering 'the domain is x = 4'.
    Solving bottom = 0 finds the broken input, not the working ones. 4 is the one number that is not in the domain.
    ✓ Instead: The domain is everything except 4: (−∞, 4) ∪ (4, ∞).
    ✗ Not this: For f(x) = 1x+7, leaving out x = 7 because a 7 is sitting in the bottom.
    7 + 7 = 14, not 0. The excluded number is the one that makes the whole bottom zero, and that usually has the opposite sign from the number you see.
    ✓ Instead: Solve x + 7 = 0 to get x = −7. Check: −7 + 7 = 0. Domain: (−∞, −7) ∪ (−7, ∞).
    ✗ Not this: For h(x) = x2−94, leaving out x = 3 and x = −3. This is a case where the rule has nothing to do.
    The x2 − 9 is on top. The bottom is the fixed number 4, which is never 0. h(3) = 04 = 0 is an ordinary output.
    ✓ Instead: No x in the bottom means nothing to exclude. The domain is (−∞, ∞).

    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 x2 has at most two zeros, and one with x3 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) = x2−1x−1 factors to (x−1)(x+1)x−1 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) = x+1x2−5x+6.
    • Set the bottom equal to 0: x2 − 5x + 6 = 0.
    • Factor: (x − 2)(x − 3) = 0, so x = 2 or x = 3.
    • Check: 22 − 5 · 2 + 6 = 0 and 32 − 5 · 3 + 6 = 0.
    • Domain: (−∞, 2) ∪ (2, 3) ∪ (3, ∞).
    f(x) = x2−9x−3 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.

    Comes back in