Adding and Subtracting Rational Expressions
Adding and subtracting rational expressions works just like adding and subtracting numeric fractions: you need a common denominator before you can combine numerators. The difference is that your denominators now contain variables, which makes finding that common denominator a bit more involved.
Adding and Subtracting Rational Expressions
Addition with common denominators
When two rational expressions already share the same denominator, you simply add the numerators and keep the denominator unchanged.
Numeric example:
Algebraic example:
After combining, always simplify the numerator by combining like terms. The denominator stays as-is.

Least common denominator identification
When the denominators are different, you need to find the least common denominator (LCD) before you can add or subtract. The LCD is the least common multiple (LCM) of the denominators.
Finding the LCD — step by step:
- Factor each denominator completely (into primes and variables).
- List every distinct factor that appears in any denominator.
- For each factor, use the highest power that appears in any single denominator.
- Multiply those together. That product is your LCD.
For and : the denominators factor as and . The LCD is .
For and : the denominators factor as and . The highest power of 2 is and the highest power of is , so the LCD is .
Once you have the LCD, multiply the numerator and denominator of each fraction by whatever factor is "missing" from its denominator:
Now both fractions have the denominator and you can combine them.
Subtraction with unlike denominators
Subtraction follows the same process as addition. Find the LCD, rewrite each fraction, then subtract the numerators. A common mistake is forgetting to distribute the negative sign across the entire second numerator.
Example 1 (numeric):
The LCD of 6 and 3 is 6. Rewrite as :
Example 2 (algebraic):
The LCD of and is :
Watch out: when you subtract, the minus sign applies to the entire numerator of the second fraction. If that numerator has multiple terms, distribute the negative to every term. Forgetting this is the single most common error in these problems.

Simplification after combining
After you add or subtract, always check whether the result can be simplified. Factor the numerator and denominator, then cancel any common factors.
Example:
-
Combine the numerators over the common denominator:
-
Factor the numerator:
-
Cancel the common factor of (noting ):
Never cancel terms that are added or subtracted inside a numerator or denominator. You can only cancel factors of the entire numerator with factors of the entire denominator.
Techniques for rational functions
The same addition and subtraction rules apply when you're combining rational functions. A rational function is any function of the form where and are polynomials.
Example: Given and , find .
-
Set up the addition:
-
The denominators don't share any common factors, so the LCD is .
-
Rewrite each fraction with the LCD:
-
Expand each numerator:
-
Add the numerators over the LCD:
Domain restrictions
The denominator of a rational expression can never equal zero, since division by zero is undefined. Whenever you work with rational expressions, identify the values of the variable that would make any denominator zero and exclude them.
For the example above, gives , and gives . So the domain of is all real numbers except and .
These restrictions apply throughout the entire problem, including to the original expressions and any intermediate steps. Even if a factor cancels during simplification, the restriction it created still holds.