Here is the expression that breaks most students in the first week of calculus. It shows up the moment you try to find how fast the function changes at a given point:
A fraction inside a fraction. To simplify it — to turn it into something a calculus student can actually use — you need three things: the ability to subtract fractions with different denominators (the top), the ability to divide by h (the bottom), and the domain awareness to know when you’re allowed to cancel. That’s the entire toolkit of this lesson.
By the end of this lesson, that expression will take you about four lines. Let’s build the toolkit.
After this lesson, you will be able to:
Identify domain restrictions for rational expressions — the values of x that must be excluded
Simplify rational expressions by factoring and cancelling common factors (not terms)
Multiply and divide rational expressions efficiently by factoring first
Add and subtract rational expressions by building an algebraic LCD
Simplify complex fractions — fractions whose numerator or denominator contains fractions — including the difference quotient
Section 2: Prerequisites
▾
This lesson depends almost entirely on ALG-3. Every single simplification step begins with factoring — if you can’t factor a quadratic, you can’t simplify a rational expression.
From ALG-3: Factoring Toolkit. You will use GCF extraction, difference of squares, and quadratic trinomials in every single problem in this lesson.
From ALG-1: Terms vs. Factors. Cancellation only works for factors (things being multiplied), never for terms (things being added). In , you cannot cancel the .
Fractional Arithmetic: You should be comfortable finding a Least Common Denominator (LCD) for numeric fractions like . We will extend this to algebraic denominators today.
Order of Operations: The fraction bar acts as a grouping symbol for everything in the numerator and everything in the denominator.
Retrieval Checkpoint
Is it legal to cancel in the expression to get ?
Success Factor: If any of the factoring techniques from ALG-3 (like ) feel shaky, review that lesson before continuing. Rational expressions are simply “factoring problems with more steps.”
Section 3: Core Concepts
▾
Before we compute anything, here’s the five-step decision flow that organizes the entire lesson:
Rational Expression Strategy Map
Identify the operation: simplify only? multiply/divide? add/subtract?
Factor everything — numerators, denominators, all of it
Flip the second fraction if you’re dividing
Cancel common factors across numerators and denominators (after multiplying)
Build the LCD and combine if you’re adding or subtracting
Every problem in this lesson follows this map. When you’re stuck, come back to it.
C1 — Domain Restrictions
Rational Expression
A rational expression is a quotient where and are polynomials. The domain excludes all values of where .
Why it matters for calculus: Division by zero is undefined everywhere in mathematics. But in calculus it becomes structural: when a factor in the denominator equals zero, the function either has a vertical asymptote (the function explodes to infinity) or a hole (a single missing point that can be filled by a limit). You need to find and name these before you do anything else.
How to find restrictions: Set the denominator equal to zero, solve, exclude those values. Always do this with the original denominator before simplifying.
The restriction survives cancellation. After you simplify by cancelling , the result is . But x = 3 is still excluded from the domain — it was excluded in the original expression, and simplification doesn’t change what values were plugged into the original function. The restriction must appear alongside the simplified form.
C2 — Simplifying Rational Expressions
Simplifying by Cancellation
To simplify a rational expression:
Factor the numerator completely
Factor the denominator completely
Cancel any factor that appears in both numerator and denominator
State all domain restrictions from the original denominator
You can only cancel FACTORS, never TERMS.
The test: can you write the numerator as ? For , no. For , yes: . Only then can you cancel.
C3 — Multiplication and Division
Multiplying and Dividing Rational Expressions
Multiply: — but factor first and cancel before multiplying out.
Divide: — flip the second fraction, then multiply.
The critical insight: Never multiply out the polynomials before factoring and cancelling. If you expand first, you create a giant messy product that’s much harder to factor. The rule is: factor → cancel → then (optionally) expand.
Forgetting to flip when dividing. Students often see and cancel factors with in the denominator — but the second fraction gets flipped, so moves to the denominator of the reciprocal (i.e., ). Always write out the flip explicitly before cancelling.
C4 — Addition and Subtraction with an Algebraic LCD
Adding and Subtracting Rational Expressions
To add or subtract rational expressions:
Factor all denominators
Find the LCD: take the product of every distinct factor, each raised to its highest power
Rewrite each fraction with the LCD as its denominator (multiply top and bottom by whatever is missing)
Combine the numerators — writing them over the single LCD
Distribute and simplify the combined numerator, being careful with minus signs
Factor and cancel if possible
The minus sign distributes across the ENTIRE numerator. When subtracting , the combined numerator is . But if is a binomial like , students often write
when it should be
The minus sign in front of the fraction applies to every term in that numerator. Write the parentheses explicitly before distributing.
C5 — Complex Fractions
Complex Fraction
A complex fraction is a fraction in which the numerator, denominator, or both contain fractions. Two methods work:
Method 1 (Combine then Divide): Simplify the numerator into a single fraction and the denominator into a single fraction, then divide.
Method 2 (Multiply by Inner LCD): Identify the LCD of all the “small” fractions inside, then multiply the entire complex fraction (top and bottom) by that LCD. This clears all inner fractions at once.
Method 1 is more conceptually transparent — it builds directly on C4. Method 2 is faster when the inner fractions share a clear LCD, which is why it’s preferred for the difference quotient. You’ll see both in the worked examples.
The difference quotient connection: The expression is always a complex fraction when is a rational function. The denominator is (a polynomial), and the numerator is a difference of two fractions — requiring C4 to combine, then cancelling using C2. That’s the whole calculation.
Section 4: Worked Examples
▾
Example 1 — Simplify and State the Domain (Fully Worked)
Simplify and state all domain restrictions.
Step 1 — State restrictions from the ORIGINAL denominator.
We need . Factor: . So and .
Step 2 — Factor both numerator and denominator.
Step 3 — Cancel the common factor.
Step 4 — Write the final answer with restrictions.
Notice that after cancellation, only is visible from the simplified denominator. But must still be stated — it was excluded in the original expression. At , the original function is undefined (the graph has a hole there), even though the simplified form would give if you plug in naively.
Why a hole at x = 3?
The original denominator was \( x^2 - x - 6 = (x-3)(x+2) \),
so the original expression requires \( x \neq 3 \) and \( x \neq -2 \).
When we cancelled the common factor \( (x-3) \), it disappeared from the simplified form
— but the restriction survived. At \( x = 3 \), the original function is undefined.
The simplified form gives \( \dfrac{3+3}{3+2} = \dfrac{6}{5} \) naively, but that value
describes the limit, not a function value — so the graph shows an open circle at
\( \left(3,\, \dfrac{6}{5}\right) \).
Key rule: Hole = cancelled factor in denominator → point missing from graph,
but the limit exists.
Why a vertical asymptote at x = −2?
The factor \( (x+2) \) remains in the denominator after simplification — it was
never in the numerator, so there is nothing to cancel.
As \( x \to -2 \), the denominator \( (x+2) \to 0 \) while the numerator
\( (x+3) \to 1 \). A non-zero numerator over a denominator approaching zero forces
the function toward \( \pm\infty \). The graph "blows up" on both sides of \( x = -2 \).
That is a vertical asymptote.
Key rule: Vertical asymptote = remaining zero in denominator (not cancelled)
→ function increases or decreases without bound.
Graph of the simplified expression from Example 1:
f(x) = (x + 3) / (x + 2).
Click (or tab to and press Enter on) either annotation badge to reveal the algebra behind that feature.
Example 2 — Multiply Rational Expressions (Partially Scaffolded)
Simplify .
Before you read on: How many distinct factors do you expect in the final numerator and denominator? Try to predict the answer before continuing.
Factor all four polynomials first:
Write as a single fraction and cancel:
Result: , with domain restrictions (from the original denominators).
Example 3 — Add Rational Expressions (Minimal Scaffold)
Simplify .
Hint: What should you do first?
Factor . The LCD is . The first fraction needs to be multiplied top and bottom by .
Show Full Solution
Factor the second denominator: . LCD .
Expand and combine: .
Does share a factor with the denominator? Check: gives ; gives . No common factor. The result is fully simplified.
Example 4 — The Difference Quotient for (Application Twist)
This is the expression from the Introduction. Watch how it falls apart with the tools we’ve built.
Simplify .
Step 1 — Combine the fractions in the numerator (C4).
The LCD of and is .
Step 2 — Distribute the minus sign carefully.
So the numerator becomes .
Step 3 — Divide by h (C3 — treating the whole thing as division).
The calculus payoff: As , this approaches . That’s the derivative of . Four lines of algebra from ALG-4, and calculus hands you the answer.
Section 5: Guided Practice
▾
Work through each problem. Validate-select dropdowns give you immediate feedback at each decision point.
Problem 1 — Simplify and Find the Domain
Factor the numerator and denominator, cancel common factors, and state all domain restrictions.
Simplify .
Step 1: What values of must be excluded from the domain?
Step 2: What is the fully simplified form?
Simplify .
Step 1: What values of must be excluded from the domain?
Step 2: What is the fully simplified form?
Simplify .
Step 1: What values of must be excluded from the domain?
Step 2: What is the fully simplified form?
Simplify .
Step 1: What values of must be excluded from the domain?
Step 2: What is the fully simplified form?
Simplify .
Step 1: What values of must be excluded from the domain?
Step 2: What is the fully simplified form?
Problem 2 — Building the LCD for Three Fractions
Add . Work through the steps below.
Step 1: What is the LCD of these three fractions?
(Hint: factor first.)
Step 2: After rewriting all three fractions with the LCD and combining, what is the numerator?
Step 3: Can the result be simplified further?
Problem 3 — Subtracting Rational Expressions
The key step: the minus sign distributes across the entire second numerator after you expand.
Subtract .
After finding the LCD and rewriting, what is the combined numerator?
Show Full Solution
LCD
Numerator:
Subtract .
After finding the LCD and rewriting, what is the combined numerator?
Show Full Solution
LCD
Domain:
Subtract .
After finding the LCD and rewriting, what is the combined numerator?
Show Full Solution
LCD
Domain:
Subtract .
After finding the LCD and rewriting, what is the combined numerator?
Show Full Solution
LCD
Domain:
Subtract .
After finding the LCD and rewriting, what is the combined numerator?
Show Full Solution
LCD
Domain:
Problem 4 — Complex Fraction (Step by Step)
Simplify . Work through the gates.
Gate 1: A complex fraction with a fraction in both numerator and denominator is really a division problem. Which of the following is this equivalent to?
Gate 2: After factoring all four polynomials, which factors cancel?
Gate 3: What is the final simplified result?
Section 6: Independent Practice
▾
Work these problems independently. Generators produce fresh problems each time. Solutions are revealed on demand.
Problem 1 — Simplify a Rational Expression — Generative
Problem 2 — Add Two Rational Expressions — Generative
Problem 3 — Multiply or Divide Rational Expressions (C3)
Simplify .
Show Solution
Factor .
Domain:
Simplify .
Show Solution
Factor .
Domain:
Simplify .
Show Solution
Flip the second fraction and multiply:
Factor:
Domain:
Simplify .
Show Solution
Factor all:
Domain:
Simplify .
Show Solution
Factor all:
Domain:
Problem 4 — Add When One Denominator Requires Factoring (C4)
Factor the quadratic denominator first, then find the LCD.
Add .
Show Solution
Factor . LCD .
Domain:
Add .
Show Solution
Factor . LCD .
Domain:
Add .
Show Solution
Factor . LCD .
Domain:
Add .
Show Solution
Factor . LCD .
Domain:
Add .
Show Solution
Factor . LCD .
Domain:
Problem 5 — Multi-Step Simplification (C4, C2)
Simplify , then check if the result can be factored further.
Hint
Factor both denominators first: and . The LCD includes all three distinct factors.
Show Full Solution
Factor: , .
LCD .
Can be factored? Discriminant: . No real roots. The result is fully simplified.
Section 7: Mastery Check
▾
No hints. No scaffolding. These questions test whether you can recognize and apply the right rational expression strategy on your own.
Question 1 — Feynman Test
Explain in your own words, as if teaching a friend who missed this lesson: Why can you simplify to , but you cannot simplify to ? What is the fundamental difference between a factor and a term in this context?
0 / 500
See a Model Answer
In , the denominator is a factor of the ENTIRE numerator: . So we can rewrite the fraction as and cancel the shared factor , leaving .
In , the denominator divides into the term but NOT into the term . To cancel, a factor must divide the entire numerator — not just one term of it. Since , cancellation is illegal.
The rule: you cancel factors (things that multiply everything), never terms (things that add to something).
Question 2 — Apply: Holes vs Asymptotes (C1, C2)
For the rational function :
Find all values where the original function is undefined.
Simplify completely.
One of the excluded values creates a hole (the simplified function has a finite value there) and the other creates a vertical asymptote (the simplified function also blows up). Which is which?
Show Solution
Factor: , .
Original function undefined where denominator = 0: and .
Simplified:
At : the simplified function gives . Finite value → hole at .
At : the simplified function gives . Still undefined → vertical asymptote at .
Question 3 — Find the Error (C4)
A student simplified the following expression. There is exactly one error. Find it and correct it.
Show Correction
The error is in expanding . The student wrote (sign error on the ) instead of .
Correct work: .
Self-Assessment
How confident are you with rational expressions?
Still shakyReady for the Boss Fight
Section 8: Boss Fight
▾
Two paths. Same difficulty. Pick the one that matches how you think.
🔬 Path A: The Analyst
You have a rational function. Your job: dissect it completely — find where it’s undefined, simplify it, and identify which excluded values are holes vs. vertical asymptotes.
🏗️ Path B: The Architect
You have a rational function. Your job: build its derivative from scratch using the difference quotient — every step from complex fraction to final answer.
Path A: Dissecting a Rational Function
Let .
Task A1 — Factor and simplify.
Factor both the numerator and denominator, then simplify the expression. State the excluded values.
Task A2 — Classify excluded values.
Determine which excluded value creates a hole and which creates a vertical asymptote.
Task A3 — Reflection.
In your own words, what is the difference between a hole and a vertical asymptote? Why does one create a finite missing point while the other creates an explosion?
0 / 1200
Full Solution Walkthrough
Hole at : . The point is missing from the graph.
Vertical asymptote at : remains in the denominator after simplification — the function still blows up there.
Path B: Building a Derivative via the Difference Quotient
Let . Compute using the limit definition .
Task B1 — Form the difference quotient.
Write and form the numerator .
Task B2 — Simplify the complex fraction.
Combine the numerator using a common denominator, then divide by and cancel the shared factor.
Task B3 — Evaluate the limit.
Let to find the final derivative expression.
0 / 1500
Full Solution Walkthrough
Complete solution walkthrough:
Reflection: Every technique you used in this path — substitution, LCD for fractions, cancelling h, evaluating at a limit — will appear in every single derivative calculation in Calculus I. You just computed your first derivative from scratch.
Section 9: Challenge Problems
▾
These go beyond the lesson objectives. They’re here if you want to stretch.
Challenge 1 — A Preview of Partial Fractions
In calculus, complex rational expressions are sometimes decomposed rather than combined. Find constants and such that:
Show Solution
Multiply both sides by :
Set : .
Set : .
Verify by combining the right side: ✓
Challenge 2 — Three-Factor LCD
Simplify . The LCD has three distinct factors.
Show Solution
Factor: , .
LCD .
Is factorable? Discriminant: . No — this is the fully simplified form.
Challenge 3 — Why Term Cancellation is Always Illegal (Proof Sketch)
Suppose someone claims by “cancelling” . Disprove this with a specific numerical example, then give a general algebraic argument for why it fails.
Show Solution
Numerical counterexample: Let .
Left side: .
”Cancelled” right side: .
Since , the cancellation is invalid.
Algebraic argument: Cancellation is valid only when a factor divides the entire numerator:
But in general — is a term of the numerator, not a factor. The expression cannot be written as for any polynomial unless happens to divide both and in a specific way.
Section 10: Solutions Reference
▾
Complete, step-by-step solutions for all problems in Sections 5–9 are available on the solutions page. Solutions include worked arithmetic, common mistakes to watch for, and interpretation guidance.
If you’re stuck: Re-read the relevant Core Concept in Section 3, then find the Worked Example that maps to that concept (e.g., Example 1 maps to Concept 1). The solutions page shows the reasoning behind every step, not just the final answer.
Quick-Reference Formulas
Domain Restrictions:
Set the denominator equal to 0 and solve for the variable. These values are excluded from the domain.
Multiplying Rational Expressions:
Dividing Rational Expressions (Multiply by the Reciprocal):
Adding/Subtracting Rational Expressions:(If denominators are different, you must first find the Least Common Denominator (LCD) and multiply each fraction by an equivalent form of 1).
Complex Fractions (Clearing Denominators):
Find the LCD of all minor fractions, then multiply the major numerator and major denominator by this LCD.