College Algebra • Rational Expressions & Functions

Add and Subtract Rational Expressions

Master the algebraic techniques for combining polynomial fractions using least common denominators.

An algebraic variable with a radical and plotted line.
Inside this lesson 10 sections 5 questions 9 figures

SECTION 1

Historical Context & Motivation

The arithmetic of fractions is among the oldest mathematical activities in recorded history, yet extending those operations to rational expressions—quotients of polynomials—required centuries of notational and conceptual development. Ancient Egyptian and Babylonian scribes could add unit fractions, but the idea of treating an entire polynomial as a single "numerator" or "denominator" did not crystallize until the algebraic revolutions of the Renaissance and early modern period. Understanding this trajectory illuminates why the procedures we use today are structured as they are: each step mirrors a historical insight about equivalence and common measure.

c. 1650 BCE • Egyptian Unit Fractions

The Rhind Papyrus documents systematic methods for adding fractions with distinct denominators by expressing every fraction as a sum of unit fractions (1/n). This early algorithm foreshadows the need for common denominators.

c. 250 CE • Diophantus and Symbolic Algebra

Diophantus of Alexandria introduced rudimentary algebraic notation in his Arithmetica, manipulating expressions with unknowns and their reciprocals. His work laid groundwork for treating polynomial-like objects as operands in arithmetic.

1591 • Viète's Symbolic Framework

François Viète standardized the use of letters for both knowns and unknowns, enabling algebraists to write general rational expressions and perform addition and subtraction symbolically rather than case by case.

mid-18th century onward • Partial Fractions and Its Developers

Partial-fraction decomposition—the inverse operation of adding rational expressions—was systematically developed by Johann Bernoulli and others in the early 18th century, and was widely used well before 1800. Later contributors including Lagrange and Heaviside refined and extended the technique. It became essential in integral calculus and control theory, reinforcing the importance of fluency with rational expression arithmetic.

The central question that these historical developments converge upon is deceptively simple: given two rational expressions with potentially different polynomial denominators, how do we rewrite them over a common denominator so that their numerators can be combined? Mastering this process is foundational not only for simplifying complex algebraic expressions but also for solving rational equations, analyzing asymptotic behavior of rational functions, and performing partial-fraction decomposition in calculus.

SECTION 2

Core Principles & Definitions

Before diving into procedural techniques, it is essential to establish the algebraic definitions and properties that govern rational expression arithmetic. A rational expression is any expression that can be written as P(x)/Q(x), where P(x) and Q(x) are polynomials and Q(x) ≠ 0. The domain of a rational expression excludes every value of x for which the denominator equals zero. Just as with numerical fractions, adding or subtracting rational expressions requires a shared denominator, and the most efficient choice is the least common denominator (LCD).

1

Rational Expression

A quotient P(x)/Q(x) of two polynomials where Q(x) ≠ 0. The domain consists of all real numbers except those that make Q(x) = 0.
2

Least Common Denominator

The polynomial of least degree (and leading coefficient 1 when possible) that is divisible by each denominator. Built by taking the highest power of every distinct irreducible factor across all denominators.
3

Equivalent Fractions Principle

Multiplying both the numerator and denominator of a rational expression by the same nonzero expression produces an equivalent expression: P/Q = (P·K)/(Q·K), provided K ≠ 0.
4

Addition/Subtraction Rule

When two rational expressions share a common denominator D: A/D ± B/D = (A ± B)/D. The combined numerator must then be simplified by combining like terms and factoring.
5

Simplification (Final Step)

After combining numerators, factor both the resulting numerator and the LCD. Cancel any common factors to reduce the expression to lowest terms, noting any new domain restrictions introduced.
✦

KEY TAKEAWAY

Think of adding rational expressions as merging two engineering blueprints drawn at different scales. Before you can overlay them, you must redraw each one at a common scale—the LCD. Once the "scales" match, the combination is straightforward; afterward, you simplify the merged design to remove redundancy. Skipping the common-scale step produces nonsensical results, just as overlaying mismatched blueprints would.

SECTION 3

Visual Explanation

The LCD Construction Process

The following diagram illustrates the complete workflow for adding two rational expressions with unlike denominators. Each stage is labeled so you can see how factoring, LCD construction, rewriting, combining, and simplifying connect in sequence.

Adding Rational Expressions: Step-by-Step FlowchartA / (x² − 4)Expression 1B / (x + 2)Expression 2(x−2)(x+2)Step 1: Factor denominator(x+2)Step 1: Already factoredStep 2: Find LCDLCD = (x−2)(x+2)A / (x−2)(x+2)Step 3: Already has LCDB(x−2) / (x−2)(x+2)Step 3: Multiply by (x−2)/(x−2)Steps 4 & 5: Combine & Simplify[A + B(x−2)] / (x−2)(x+2)
The flowchart traces the five canonical steps: factor each denominator, identify the LCD as the product of all distinct factors at their highest powers, rewrite each expression over the LCD, combine numerators, and simplify.

Notice how the two branches of the flowchart converge at the LCD box. This convergence is the conceptual heart of the operation: once both expressions share the same denominator, the combination reduces to polynomial arithmetic in the numerator. The diagram also highlights the asymmetry that often arises—Expression 1 already sits over the LCD, while Expression 2 must be multiplied by the "missing factor" (x − 2)/(x − 2). Recognizing which factors are missing is the key skill that separates efficient computation from algebraic errors.

SECTION 4

Mathematical Framework

The formal algebraic procedure for adding and subtracting rational expressions parallels ordinary fraction arithmetic but operates within the polynomial ring ℝ[x]. The following equations codify the core operations.

SAME-DENOMINATOR RULE

P(x)/D(x)±Q(x)/D(x)=[P(x)±Q(x)]/D(x)P(x)/D(x) ± Q(x)/D(x) = [P(x) ± Q(x)] / D(x)

When two rational expressions already share a common denominator D(x), simply add or subtract the numerators. The denominator remains unchanged.

LCD CONSTRUCTION

LCD=∏ifi(maxpoweroffiacrossalldenominators)LCD = ∏ᵢ fᵢ^(max power of fᵢ across all denominators)

Factor each denominator completely into irreducible polynomials fᵢ. The LCD is the product of every distinct irreducible factor, each raised to the highest exponent with which it appears in any single denominator.

UNLIKE-DENOMINATOR ADDITION

P/D1+Q/D2=[P⋅(LCD/D1)+Q⋅(LCD/D2)]/LCDP/D₁ + Q/D₂ = [P · (LCD/D₁) + Q · (LCD/D₂)] / LCD

Each numerator is multiplied by the quotient LCD/Dᵢ—the "missing factors" that elevate its denominator to the LCD. This preserves the value of each fraction via the equivalent-fractions principle.

SUBTRACTION SIGN DISTRIBUTION

P/D1−Q/D2=[P⋅(LCD/D1)−Q⋅(LCD/D2)]/LCDP/D₁ − Q/D₂ = [P · (LCD/D₁) − Q · (LCD/D₂)] / LCD

Subtraction requires distributing the negative sign across every term of Q · (LCD/D₂). A common source of error is neglecting to subtract every term—use parentheses to enforce correct distribution.

⚠

Sign Pitfall

When subtracting, always enclose the second numerator (after multiplying by missing factors) in parentheses before distributing the negative sign. For example, 3x − (2x − 5) = 3x − 2x + 5 = x + 5, not 3x − 2x − 5. This single error accounts for the majority of mistakes in rational expression subtraction.

SECTION 5

LCD Construction: A Detailed Breakdown

The most challenging aspect of adding or subtracting rational expressions is constructing the LCD efficiently. The method varies with the complexity of the denominators. Below, we classify the most common scenarios and illustrate the corresponding LCD strategy for each. This taxonomy covers the vast majority of problems encountered in college algebra and serves as a reference for selecting the right approach.

LCD Strategy Decision TreeAre the denominators identical?YESNOCombine numerators directly.LCD = common denominatorFactor all denominators fullyCase A: MonomialsUse highest powers ofeach variable & LCM of coeff.Case B: Distinct LinearLCD = product of alldistinct linear factorsCase C: RepeatedUse highest powerof each factorExample: 1/(6x²) + 1/(4x³)LCD = 12x³Example: 1/(x−3) + 1/(x+1)LCD = (x−3)(x+1)1/(x−1)² + 1/(x−1)LCD = (x−1)²Rewrite each fraction over the LCD,then combine & simplify.
The decision tree classifies LCD construction into three common cases after factoring: monomial denominators (use LCM of coefficients and highest variable powers), distinct linear factors (multiply all unique factors), and repeated factors (take the highest power of each). Every path ends at the same final step: rewrite, combine, and simplify.
Denominator TypeExample DenominatorsLCD
Monomials6x² and 4x³12x³
Distinct linear factors(x − 3) and (x + 1)(x − 3)(x + 1)
Shared and repeated factors(x − 1)² and (x − 1)(x + 4)(x − 1)²(x + 4)
Quadratic (factorable)x² − 4 and x² − 4x + 4(x − 2)²(x + 2)
Opposite signs(a − b) and (b − a)(a − b) since (b − a) = −(a − b)

Common LCD scenarios with examples

💡

Opposite-Sign Denominators

When one denominator is the negative of another—for instance (x − 5) and (5 − x)—do not multiply them together. Instead, recognize that (5 − x) = −(x − 5). Factor out the −1, absorb it into the numerator, and use (x − 5) as the common denominator. This avoids unnecessary complexity and keeps the LCD as small as possible.

SECTION 6

Worked Example

Let us work through a subtraction problem that involves factoring quadratics, constructing the LCD, and simplifying the final result. This example exercises every major skill in the procedure.

Subtract: 3x / (x² − x − 6) − 2 / (x² − 9)

Subtracting Rational Expressions with Quadratic Denominators

  1. 1

    Step 1 — Factor Each Denominator

    Factor x² − x − 6. We seek two numbers that multiply to −6 and add to −1: those are −3 and 2. So x² − x − 6 = (x − 3)(x + 2). Next, factor x² − 9 as a difference of squares: x² − 9 = (x − 3)(x + 3).
    Denominators: (x − 3)(x + 2) and (x − 3)(x + 3)
  2. 2

    Step 2 — Identify the LCD

    List all distinct irreducible factors across both denominators: (x − 3), (x + 2), and (x + 3). Each appears at most to the first power. The LCD is the product of all three.
    LCD = (x − 3)(x + 2)(x + 3)
  3. 3

    Step 3 — Determine Missing Factors and Rewrite

    For the first fraction, the denominator (x − 3)(x + 2) is missing the factor (x + 3). Multiply numerator and denominator by (x + 3): 3x(x + 3) / [(x − 3)(x + 2)(x + 3)]. For the second fraction, the denominator (x − 3)(x + 3) is missing (x + 2). Multiply by (x + 2): 2(x + 2) / [(x − 3)(x + 3)(x + 2)].
    3x(x + 3) / LCD − 2(x + 2) / LCD
  4. 4

    Step 4 — Combine Numerators (Distribute the Negative Sign!)

    Combine over the shared denominator: [3x(x + 3) − 2(x + 2)] / LCD. Expand the first numerator: 3x · x + 3x · 3 = 3x² + 9x. Expand the second numerator: 2 · x + 2 · 2 = 2x + 4. Distribute the minus sign across all terms of 2(x + 2) and combine: 3x² + 9x − 2x − 4 = 3x² + 7x − 4.
    Numerator = 3x² + 7x − 4
  5. 5

    Step 5 — Attempt to Factor the Numerator and Simplify

    Attempt to factor 3x² + 7x − 4 using the AC method. We need two integers that multiply to a · c = 3 · (−4) = −12 and add to b = 7. Testing all factor pairs of −12: (1, −12) → sum −11; (−1, 12) → sum 11; (2, −6) → sum −4; (−2, 6) → sum 4; (3, −4) → sum −1; (−3, 4) → sum 1. No integer pair satisfies both conditions simultaneously. To confirm, compute the discriminant: b² − 4ac = 7² − 4(3)(−4) = 49 + 48 = 97. Since 97 is not a perfect square, the polynomial 3x² + 7x − 4 is irreducible over the rationals. Therefore no factor cancels with any factor in the LCD.
    Final Answer: (3x² + 7x − 4) / [(x − 3)(x + 2)(x + 3)], where x ≠ 3, −2, −3
📝

Domain Reminder

Even after simplification (had cancellation occurred), any value excluded from the original denominators must remain excluded from the domain. Always state domain restrictions based on the original expression, not the simplified form.

SECTION 7

Common Errors & How to Avoid Them

Even students who understand the underlying algorithm frequently make procedural mistakes when executing it under time pressure. Cataloging the most common errors and their remedies provides a diagnostic tool for self-correction.

Common ErrorWhy It's WrongCorrect Approach
Adding numerators and denominators separately: a/b + c/d = (a+c)/(b+d)Fractions do not work this way. 1/2 + 1/3 ≠ 2/5. The operation ignores the fundamental meaning of a fraction as a ratio.Find the LCD, rewrite each fraction, then combine numerators only over the shared denominator.
Failing to distribute the negative sign across all terms in subtractionSubtracting only the first term of the second numerator leaves extra terms with incorrect signs, producing a wrong numerator.Enclose the entire second numerator in parentheses and distribute the minus sign to every term before combining like terms.
Using a denominator larger than the LCD (e.g., simply multiplying all denominators together)While the result is technically correct, the larger denominator creates more complex polynomials, increasing the chance of arithmetic errors and making simplification harder.Factor each denominator first. Build the LCD from distinct irreducible factors at their highest powers.
Forgetting to state domain restrictionsA rational expression is undefined wherever any original denominator equals zero. Omitting restrictions misrepresents the function's domain.Set each factor of every original denominator equal to zero and list all excluded values alongside your answer.
Canceling terms (addends) instead of factorsCancellation applies only to common factors of the numerator and denominator. Crossing out individual terms (e.g., canceling x from (x + 3)/x) is algebraically invalid.Factor both the numerator and denominator completely. Only factors that appear in both may be canceled.

Five frequent errors in rational expression arithmetic

🔍

DEBUGGING YOUR WORK

A powerful verification technique borrowed from numerical analysis is to substitute a simple value (like x = 1 or x = 10, avoiding excluded values) into both the original sum/difference and your simplified answer. If the decimal values do not match, you have an error. This quick numerical check catches sign mistakes, missing factors, and incorrect cancellations faster than re-deriving the algebra.

SECTION 8

Connections to Advanced Topics

Proficiency in adding and subtracting rational expressions is not merely a self-contained algebraic skill. It serves as a prerequisite for several critical topics in calculus, differential equations, and applied mathematics. The table below maps the connections between this foundational skill and the advanced contexts in which it reappears.

This LessonAdvanced ApplicationHow It Connects
Finding the LCDSolving rational equationsMultiplying through by the LCD clears denominators, reducing a rational equation to a polynomial equation. LCD identification is the first step.
Combining fractions over a common denominatorPartial-fraction decomposition (Calculus II)Partial fractions is the reverse operation: decomposing a single rational expression into a sum of simpler fractions. Verifying a decomposition requires re-adding the pieces—exactly this lesson's skill.
Simplifying complex fractionsLimit computation & L'Hôpital alternativesMany algebraic limit problems require combining rational expressions into a single fraction before canceling the indeterminate factor, especially when L'Hôpital's rule is unavailable or inefficient.
Domain restrictions from denominatorsVertical asymptotes & rational function graphingEvery excluded value from the domain corresponds to either a vertical asymptote or a removable discontinuity (hole) in the graph of the rational function.
Factoring polynomial denominatorsLaplace transforms & transfer functions (Engineering)Transfer functions in control systems are rational expressions in s. Adding system components in parallel requires adding rational expressions with polynomial denominators.

From college algebra to advanced mathematics and engineering

In each of these advanced settings, the mechanical skills practiced here—factoring, LCD construction, sign management, and simplification—are assumed to be automatic. Building fluency now prevents these foundational steps from becoming bottlenecks later. In particular, partial-fraction decomposition in integral calculus is essentially the reverse of what we do in this lesson: you start with a combined rational expression and break it apart into simpler summands whose integrals are elementary. Mastery of both directions—combining and decomposing—is what makes rational expression arithmetic a keystone algebraic skill.

SECTION 9

Practice Problems

Question 1: CONCEPTUAL

Explain why the expression (x − 5) and (5 − x) should not both appear as separate factors in the LCD. What relationship exists between them, and how does recognizing it simplify the computation?
Show answer
The expressions (x − 5) and (5 − x) are negatives of each other: (5 − x) = −1 · (x − 5). Since they differ only by a factor of −1, they are essentially the same factor up to sign. Including both in the LCD would be redundant and would create an unnecessarily complicated denominator. Instead, factor out the −1 from (5 − x), absorb it into the numerator of that fraction, and use (x − 5) as the sole factor in the LCD. This keeps the LCD as simple as possible and avoids sign errors during combination.

Question 2: BASIC CALCULATION

Add the rational expressions: 5/(x + 4) + 3/(x − 1). Simplify completely and state the domain.
Show answer
The denominators (x + 4) and (x − 1) are distinct linear factors, so the LCD = (x + 4)(x − 1). Rewrite: 5(x − 1)/[(x + 4)(x − 1)] + 3(x + 4)/[(x + 4)(x − 1)]. Expand numerators: 5x − 5 + 3x + 12 = 8x + 7. The result is (8x + 7)/[(x + 4)(x − 1)]. Since 8x + 7 does not factor to share a common factor with the denominator, this is already in lowest terms. Domain: all real numbers except x = −4 and x = 1.

Question 3: INTERMEDIATE

Subtract: (2x)/(x² − 1) − (x + 1)/(x² + 2x + 1). Simplify fully and state all domain restrictions.
Show answer
Factor each denominator: x² − 1 = (x − 1)(x + 1) and x² + 2x + 1 = (x + 1)². The distinct irreducible factors are (x − 1) and (x + 1), with (x + 1) appearing at most to the second power. Thus LCD = (x − 1)(x + 1)². Missing factor for the first fraction: (x + 1); for the second: (x − 1). Rewrite: [2x(x + 1)]/LCD − [(x + 1)(x − 1)]/LCD. Expand numerators: 2x² + 2x − (x² − 1) = 2x² + 2x − x² + 1 = x² + 2x + 1 = (x + 1)². The expression becomes (x + 1)²/[(x − 1)(x + 1)²]. Cancel the common factor (x + 1)² to get 1/(x − 1). Domain restrictions from the original expression: x ≠ 1 and x ≠ −1 (even though −1 is no longer visible in the simplified form).

Question 4: APPLIED

Two resistors in an electrical circuit have resistances R₁ = x ohms and R₂ = (x + 5) ohms. When connected in parallel, the total resistance R_total satisfies 1/R_total = 1/R₁ + 1/R₂. Express R_total as a single simplified rational expression in x.
Show answer
Starting from 1/R_total = 1/x + 1/(x + 5), find the LCD of the right side, which is x(x + 5). Rewrite: 1/R_total = (x + 5)/[x(x + 5)] + x/[x(x + 5)] = (x + 5 + x)/[x(x + 5)] = (2x + 5)/[x(x + 5)]. Taking the reciprocal, R_total = x(x + 5)/(2x + 5). This can be expanded to R_total = (x² + 5x)/(2x + 5), which is already in lowest terms since 2x + 5 is irreducible and does not divide x² + 5x. The domain requires x > 0 (physical resistance must be positive) and x ≠ −5/2 (algebraic restriction from the denominator, though it is physically irrelevant).

Question 5: CRITICAL THINKING

Let f(x) = 1/(x − a) + 1/(x − b) + 1/(x − c), where a, b, c are distinct real constants. Combine f(x) into a single rational expression and determine under what conditions on a, b, c the numerator of the combined expression has a repeated root.
Show answer
The LCD is (x − a)(x − b)(x − c). Rewriting each fraction: [(x − b)(x − c) + (x − a)(x − c) + (x − a)(x − b)] / [(x − a)(x − b)(x − c)]. Expanding the numerator: each product contributes x² minus the sum of its two constants times x plus their product. Summing all three gives N(x) = 3x² − 2(a + b + c)x + (ab + ac + bc). This is a quadratic in x. Its discriminant is Δ = 4(a + b + c)² − 12(ab + ac + bc) = 4[(a + b + c)² − 3(ab + ac + bc)] = 4[a² + b² + c² − ab − ac − bc]. The numerator has a repeated root precisely when Δ = 0, i.e., when a² + b² + c² − ab − ac − bc = 0. This expression equals ½[(a − b)² + (a − c)² + (b − c)²], which is zero if and only if a = b = c. But a, b, c are assumed distinct, so for distinct constants the numerator never has a repeated root. The analysis reveals a deeper algebraic identity and connects rational expression arithmetic to discriminant theory.

SUMMARY

Summary

Summary

Adding and subtracting rational expressions follows a five-step algorithm rooted in the same logic as numerical fraction arithmetic: factor every denominator into irreducible polynomials, construct the least common denominator (LCD) from the highest powers of all distinct factors, rewrite each expression by multiplying numerator and denominator by the missing factors, combine the numerators over the shared denominator (distributing negative signs carefully in subtraction), and finally simplify by factoring and canceling any common factors between the resulting numerator and the LCD.

Key pitfalls include forgetting to distribute the subtraction sign across all terms, using an LCD larger than necessary, and canceling terms instead of factors. Always state domain restrictions based on the original denominators. This skill is foundational for solving rational equations, analyzing vertical asymptotes, performing partial-fraction decomposition in calculus, and modeling real-world systems in engineering and the sciences.

Varsity Tutors • College Algebra • Add and Subtract Rational Expressions