Week 13 · Intermediate Algebra

13. Solving Rational Equations

120 min

Before you start

  • Simplify rational expressions and identify domain restrictions
  • Find the least common denominator of two or three polynomial denominators
  • Cross-multiply two equal fractions to clear denominators
  • Solve linear and quadratic equations from prior weeks

By the end you'll be able to

  • Solve rational equations by multiplying both sides by the LCD
  • Identify and discard extraneous solutions that violate the original domain
  • Solve a rational equation that yields a quadratic after clearing denominators
  • Set up rate problems (work, distance, mixture) as rational equations
  • Use cross-multiplication appropriately for two-fraction equations
Week 13 video coming soon
Read the lesson body below in the meantime.

Solving Rational Equations

A rational equation contains rational expressions on at least one side. Solve by clearing denominators, then check candidate solutions against the original equation’s domain.

The procedure

  1. Identify domain restrictions by listing values that zero any denominator.
  2. Find the LCD (least common denominator) of all rational expressions.
  3. Multiply both sides of the equation by the LCD. This clears all fractions.
  4. Solve the resulting polynomial equation.
  5. Verify each candidate against the domain. Discard any that match an excluded value (extraneous roots).

Example

Domain: . LCD . Multiply both sides:

Verify: is in the domain. Check: .

Cross-multiplication

For the simple form , you can cross-multiply:

This is just multiplying both sides by and cancelling.

Extraneous solutions — the trap

Multiplying both sides of an equation by a variable expression can introduce candidates that solve the cleared equation but not the original. Always verify.

Example: . Multiply both sides by :

But makes both denominators zero in the original equation. The “solution” is extraneous; the original equation has no solution.

Why this matters for ML

Many ML formulas have division (softmax denominators, Bayes marginals, normalization constants). The corresponding numerical-stability discipline:

  • Don’t divide by a near-zero number. Add an epsilon (1e−8) to any denominator that could approach zero.
  • Don’t take log(0). Same epsilon trick: log(p + 1e−8).
  • Verify your formula against edge cases. What happens at x = 0? At very large x?

The “always check the domain” habit you build with rational equations transfers directly to “always check for NaN propagation” in ML training loops.

Common mistakes

These are the traps learners hit most often on this topic. Knowing them in advance is half the fix.

  • Failing to verify against the original domain

    Multiplying through by an LCD can introduce extraneous solutions — values that satisfy the cleared equation but make the original equation undefined (denominator zero). Always substitute back to check.

  • Wrong LCD

    For , the LCD is , not or just . Find the smallest expression both denominators divide evenly.

  • Cross-multiplying with more than two fractions

    Cross-multiplication only works for . For , multiply through by the LCD instead.

Practice problems

Try each on paper first. Click Show solution only after you've made a real attempt.

  1. Problem 1
    Solve: .
    Show solution

    Multiply by LCD 4: .

  2. Problem 2
    Solve: .
    Show solution

    .

  3. Problem 3
    Solve: .
    Show solution

    Candidate makes the denominator zero. No solution.

  4. Problem 4
    Solve: .
    Show solution

    .

  5. Problem 5
    Solve: .
    Show solution

    .

  6. Problem 6
    Solve: .
    Show solution

    .

  7. Problem 7
    Solve a work problem: A pipe fills a tank in 3 hours; another fills it in 6 hours. How long together?
    Show solution

    . hours.

Practice quiz

  1. Question 1
    Solve: x/2 = 6/4
  2. Question 2
    First step in solving 1/x + 1/2 = 3/4:
  3. Question 3
    Solve: 2/x = 4. (One number.)
  4. Question 4
    Solve: (x + 1)/3 = 5/6
  5. Question 5
    Why must we check candidate solutions in rational equations?
  6. Question 6
    Solve: x/(x - 1) = 2
  7. Question 7
    Solve: 1/(x - 2) = 1/(x - 2). Domain check tells us:
  8. Question 8
    Solve: 1/x + 2 = 5
  9. Question 9
    If x = 0 makes a denominator zero, x = 0 is:
  10. Reflection 10
    How does this connect to numerical stability in ML?

Week 13 recap

You solved rational equations by clearing denominators (multiply by the LCD) and verified candidates against domain restrictions to eliminate extraneous solutions. Three trap families fell: the extraneous-solution trap (failing to check candidates against the original domain), the wrong-LCD trap (using the sum of denominators instead of their least common multiple), and the cross-multiply-too-much trap (applying cross-multiplication to a three-fraction equation). The practice of always asking ‘can the denominator be zero?’ is the same habit that prevents NaN crashes in ML training loops, where softmax denominators and normalization terms must be guarded against underflow.

Coming next: Week 14 — Radicals & Rational Exponents

Next week introduces radicals and fractional exponents. You will learn the dual notation , master the radical-equation trap (squaring introduces extraneous roots), simplify radicals by pulling out perfect powers, and connect to ML’s use of inverse square roots in optimizer learning-rate scaling. The verify-by-substitution discipline you built this week transfers directly: squaring is many-to-one, just as multiplying by a variable was.

Saved in your browser only — no account, no server.