Type into a calculator at and it reports an error, yet the simplified form happily gives . Both can’t be the same function unless something is said about . That small gap is what this topic is about. Simplifying a fraction with variables is mostly factoring, but the values that were forbidden at the start stay forbidden at the end, and the graph shows them as a missing point.
See also Cancellation and Excluded Values and Rational Functions, Holes, and Asymptotes in Foundations for Calculus and Rational Functions and Domain Restrictions in Precalculus.
Key terms
Rational expression
Definition A rational expression is a quotient
of two polynomials, where is not the zero polynomial. It is defined exactly for the real numbers with . The polynomial is the denominator.
In plain words It is a fraction whose top and bottom are polynomials. It works like a number fraction, with the one rule that the bottom may never be zero.
Example The expression
is rational. At it equals . At the denominator is , so the expression has no value there.
Excluded values of the denominator
Definition An excluded value of a rational expression is a real number that makes its denominator equal to . To find them, set the denominator equal to and solve, usually by factoring. The domain of the expression is every real number except the excluded values. A zero numerator causes no trouble, since is a perfectly good number.
In plain words Look only at the bottom. Whatever makes the bottom zero is off limits.
Example For
the denominator factors as , so the excluded values are and . The value makes the numerator zero, and there the expression is simply .
Cancellation
Definition For polynomials , and ,
for every with and . Cancellation removes a common factor of the entire numerator and the entire denominator. It never removes a term of a sum. The values where were excluded before the step and stay excluded after it.
In plain words Factor completely first, then cancel whole matching factors. If you are tempted to cancel something attached by a plus or minus sign, stop.
Example Factor both parts and cancel ,
with and . The restriction must be written, because the right side alone would allow it.
Here is the classic mistake. Writing cancels a term, not a factor. At the left side is and the right side is , so they are not equal.
Equivalent expressions
Definition Two expressions are equivalent on a set of real numbers when both are defined and have the same value at every number in that set. A rational expression and its simplified form are equivalent on the original domain, the set where every original denominator is nonzero. When the simplified form allows more inputs, the shared domain has to be stated, for example by writing “for ”.
In plain words Equal formulas need equal domains. Simplifying is allowed to make a formula shorter, not to make it defined in new places.
Example Factoring out of the numerator gives
Check a value. At the left side is and the right side is . On the SAT a question like this often says “for ” so that every excluded value is already left out.
Hole
Definition If a factor cancels completely from the denominator of a rational function, so that is no longer a zero of the simplified denominator, the graph has a hole (a removable discontinuity) at . The hole is the point , where is the value of the simplified expression at , and it is drawn as an open circle because the function is not defined there.
In plain words The graph looks like the graph of the simplified formula with one single point punched out.
Example The function
simplifies to for . Its graph is the line with an open circle at , since . The value does not exist, even though the points around it approach height .
Operations with rational expressions
Definition For rational expressions and , wherever every denominator is nonzero,
For a sum it is usually cleaner to use the least common denominator, the product of each distinct factor of the denominators to the highest power in which it appears. The result keeps every exclusion of every original expression, even if a factor later cancels.
In plain words Multiply straight across. To add or subtract, rewrite both fractions over one common bottom first. Then factor and simplify, and carry along every forbidden value from the start.
Example The common denominator of and is , so
with and . For a product, the factors cancel but the exclusions stay,
Division and the nonzero divisor
Definition Dividing by a rational expression means multiplying by its reciprocal,
This needs and so that both expressions are defined, and also so that the divisor is not zero.
In plain words Flip the second fraction and multiply. The thing you divide by must exist and must not be zero, so a value that makes its numerator zero is excluded too.
Example Simplify
Flipping and multiplying gives , which simplifies to . The excluded values are from the first denominator, from the divisor’s denominator, and because there the divisor equals . The simplified result looks defined at and , so the restrictions , and must be stated with it.
Shifted or scaled reciprocal
Definition A shifted or scaled reciprocal is a function of the form
with real constants , and . Its only excluded value is . Its graph is the graph of stretched vertically by the factor (and reflected across the x-axis if ), then moved units right and units up. It has the vertical asymptote and the horizontal asymptote , and the output is never reached, since is never .
In plain words It is the basic curve, made taller or flipped by and slid so that its two invisible guide lines cross at .
Example For
the excluded input is and the asymptotes are and . At the value is , and at it is . Unlike a hole, the excluded input here does not hide a single missing point. Near the outputs grow without bound in size.
Check yourself
- Which of the following is equivalent to for ? (A) (B) (C) (D)
Show the answer
The answer is (A). Factor the top and bottom,
The condition keeps away both excluded values and . Choice (C) comes from cancelling the terms and the minus signs, which cancels terms instead of factors. Choice (B) keeps the factor that should cancel and drops the one that should stay, and choice (D) loses the factor . A check at settles it, since the original is and only (A) gives .
- The graph of in the xy-plane has a hole at the point . What is the value of ?
Show the answer
The numerator factors as , so for . The hole is at height , so .
- Which of the following is equivalent to for ? (A) (B) (C) (D)
Show the answer
The answer is (B). Over the common denominator ,
Choice (C) subtracts the numerators in the wrong order, and choice (D) adds the numerators instead of subtracting them. Choice (A) treats the two fractions as if they were equal. A quick check at confirms (B), since and .