About the Rational Expression Calculator
Rational expressions are fractions with polynomials on the top and bottom, such as . They behave like ordinary fractions, so everything you know about reducing, finding common denominators and dividing by a fraction still applies. The difference is that the numbers you factor are now polynomials, and you must keep track of values of that would make a denominator zero.
This calculator performs five operations on rational expressions in one variable: simplify, add, subtract, multiply and divide. It factors every numerator and denominator over the rationals, builds the least common denominator when one is needed, cancels common factors, and states the excluded values of the final answer, which many solutions forget.
What is a rational expression?
A rational expression is a quotient of two polynomials where is not the zero polynomial. It is undefined wherever , so its domain is every real number except the roots of the denominator.
Two rational expressions are equivalent if they agree at every point where both are defined. Simplifying replaces an expression by an equivalent one in lowest terms, with no common factor shared by numerator and denominator. Because cancelling can remove a factor of the denominator, the excluded values of the original expression must be carried over explicitly.
How to use the Rational Expression Calculator
- Choose simplify, add, subtract, multiply or divide.
- Enter the first expression in A using parentheses around numerators and denominators, for example (x^2 - 9)/(x^2 + 5x + 6).
- For the four arithmetic operations, enter the second expression in B, such as 2/(x + 1).
- Press Calculate and follow the factoring, common denominator and cancelling steps.
- Copy the result together with its excluded values.
Formulas
Reducing
Adding with a common denominator
Multiplying
Dividing
Worked example: Simplify (x² − 9)/(x² + 5x + 6)
The worked example reduces to lowest terms. The engine recognises a difference of squares on top and a factorable trinomial below, so both sides share the factor .
After cancelling, the engine lists both excluded values, and . The value no longer makes the reduced denominator zero, but it was excluded from the original expression, so it stays excluded.
The solution below is generated by the same engine that powers the calculator above.
Final answer
How we read your problem
Simplify the rational expression to lowest terms.
Step-by-step solution
Write as a single fraction
Factor the numerator and denominator
Cancel the common factor
The factor x + 3 appears in both the numerator and the denominator. Cancelling it does not change the value wherever the original expression is defined.
State the excluded values
The original expression is undefined where any denominator (or divisor) is zero: x ≠ -3, x ≠ -2. These restrictions stay even if a factor cancelled.
Formulas used
Cancelling
In lowest terms the result is (x - 3)/(x + 2). Excluded values: x ≠ -3, x ≠ -2.
Verification
- The simplified form was compared with the original at four test points and agrees.
Detailed explanation
Adding and subtracting
To add rational expressions, rewrite them over a common denominator. The least common denominator (LCD) is the product of every distinct factor of the denominators, each raised to the highest power in which it appears. For the LCD is ; each numerator is multiplied by the factor its denominator lacks, giving .
Subtraction follows the same pattern, but the whole second numerator is subtracted, so put it in parentheses before distributing the minus sign. After combining, factor the new numerator to see if anything cancels with the LCD.
Multiplying and dividing
Multiplication does not need a common denominator. Factor everything first, cancel any factor that appears in any numerator and any denominator, and multiply what remains. Cancelling before multiplying keeps the polynomials small.
To divide, multiply by the reciprocal of the second expression. This adds a new restriction: the numerator of the divisor cannot be zero, because it becomes a denominator after flipping. Dividing by gives , with and both excluded.
Why excluded values matter
Excluded values are not a formality. The graph of looks like the graph of , but it has a hole at and a vertical asymptote at . When solving equations with rational expressions, a candidate solution equal to an excluded value is extraneous and must be rejected.
Common mistakes
- Cancelling terms instead of factors, such as crossing out in .
- Adding numerators and denominators separately: is not .
- Forgetting to distribute the minus sign over the whole second numerator when subtracting.
- Dropping the excluded values after cancelling a common factor.
- Flipping the first fraction instead of the second when dividing.
Tips
- Factor every numerator and denominator completely before doing anything else.
- Write the LCD in factored form; multiplying it out early makes cancelling harder.
- Collect the excluded values from every denominator, including the divisor's numerator, before you cancel.
- Check a result by substituting a value such as into the original and the simplified form.
- Use the domain and range calculator to see the full domain of the result.
Frequently asked questions
How do I simplify a rational expression?
Factor the numerator and denominator completely, cancel any factors they share, and state the values of x that make the original denominator zero as excluded values.
What is an excluded value?
A value of the variable that makes a denominator zero, so the expression is undefined there. Excluded values from the original expression remain excluded after simplifying.
How do I find the least common denominator?
Factor each denominator and multiply together every distinct factor, using the highest power in which it appears in any one denominator.
Why can't I cancel the x in (x + 2)/x?
In the numerator x is a term being added, not a factor of the whole numerator. Only factors that multiply the entire numerator and the entire denominator can be cancelled.
How do I divide rational expressions?
Multiply the first expression by the reciprocal of the second, then factor and cancel. The numerator of the second expression adds new excluded values because it becomes a denominator.
Does the calculator handle more than one variable?
This calculator works with rational expressions in a single variable. For polynomial expressions in several variables, use the simplify calculator.
What is the difference between a hole and an asymptote?
A hole appears where a factor cancels from both numerator and denominator. A vertical asymptote appears where a factor remains in the denominator after simplifying.
Simplify or combine your rational expressions
Enter one or two algebraic fractions above to see the factoring, the common denominator and the excluded values.