Ever solved an equation, gotten a clean answer, and then found out it doesn't actually work? That's not a mistake in your algebra. It's a specific trap built into one type of equation, and once you see it, you'll never fall for it again.
A rational equation is just an equation with a fraction that has a variable in the denominator. Something like:
Nothing exotic. Just a fraction where shows up on the bottom. But that one detail changes everything about how you have to solve it.
Some values of x break the equation before you even start
Look at . What happens if ? You get , and dividing by zero isn't allowed. It's not a hard case, it's not undefined-but-close. It just doesn't exist.
So before you solve anything, is already off the table. It's not a possible answer, no matter what the rest of the equation says. We call this an excluded value: any that makes an original denominator zero.
Watch what happens to the function as creeps toward that forbidden value.
Drag the dot along the curve y = 1/(x - 3). Watch what happens as it approaches x = 3.
Drag the dot toward and the curve doesn't slow down or level off. It rockets straight up or down. The function isn't just "large" near the excluded value, it's not defined there at all. That vertical dashed line is a wall the graph can approach but never touch.
Keep this picture in your head. It's going to matter a lot later, because the algebra won't always warn you when you're standing next to that wall.
The fix: turn the fractions into an equation you already know
Fractions with on the bottom are annoying to work with directly. So here's the move: multiply every term by the least common denominator (LCD). That's the product of all the distinct denominators. Do that, and every fraction cancels cleanly, leaving a normal polynomial equation.
Watch it happen step by step.
Hit play and watch the fractions disappear, one algebra move at a time.
Look at what happened. We started with fractions and ended with , a plain linear equation, solved the normal way. The LCD didn't change the equation, it just gave both sides a common "unit" so the denominators could cancel out entirely.
When there's exactly one fraction on each side, like our example, this move has a name you've probably heard: cross-multiplication. becomes , which is exactly step 3 in the animation above. Cross-multiplying is just the LCD trick in its simplest form.
Why does multiplying both sides even work?
Here's the thing that makes this whole method legal: if two things are equal, and you multiply both by the same number, they're still equal. That's it. That's the whole rule. Think of it like a balance scale. As long as you put the same weight on both sides, it stays level.
Cross-multiplication is that same rule, just dressed up. If , multiplying both sides by gives . Two rectangles, one with sides and , one with sides and , and the rule says their areas have to match.
The proportion is 2/5 = c/10. Drag c until the scale balances. Hover a block to see its area.
Slide until the scale levels out. Notice it only balances at exactly one value, because that's the one value where the two areas, and , are actually equal. Cross-multiplication isn't a trick you memorize. It's just "equal things times the same thing stay equal," applied to fractions.
Here's the catch that trips up almost everyone
That balance-scale rule has one hidden condition: you're only allowed to multiply by the same nonzero number. Multiply both sides of any equation by zero and you get , which is true no matter what is. The scale looks "balanced," but it's lying to you, because you didn't actually compare anything.
That's the danger with the LCD trick. If the value of you solve for happens to be exactly the excluded value from earlier, one of the things you multiplied by was secretly zero. The equation you get afterward isn't equivalent to the original one anymore. We call that a fake answer an extraneous root: a value that solves the cleared-up equation but fails the original one.
Try this equation:
Multiply through by : , which gives , so . Clean answer. Except is exactly the value that makes the original denominators zero. It was never a valid candidate to begin with.
The equation is x/(x − 2) + 1 = 2/(x − 2). Clearing fractions says x = 2. Drag the marker to test it.
Drag the marker across the graph. The two curves, LHS and RHS, never actually touch. They stay exactly 2 apart everywhere they're defined. The algebra confidently handed us , and the graph shows you why that answer was never real: it's the one spot where both sides go undefined at once.
This equation has no solution. Not "solve it and check", it genuinely has none. And you'd never know that without checking your answer against the original denominators.
The full method, in order
Every rational equation follows the same four moves:
- Find the excluded values. Set every denominator equal to zero and solve. Those values are banned from the final answer, no matter what.
- Find the LCD and multiply through. Every fraction cancels, and you're left with a polynomial equation.
- Solve the polynomial equation. Normal algebra from here, no fractions involved.
- Check each answer against step 1. If a solution matches an excluded value, throw it out. It's extraneous.
Skip step 4 and you'll occasionally hand in an answer that looks perfect on paper and means nothing. Do all four, and you're done.
The short version
A rational equation is a normal equation with fractions in the way. Clear the fractions by multiplying through by the LCD, which works because multiplying both sides of an equation by the same nonzero number preserves equality. The catch is that word "nonzero": if your final answer matches a value that made an original denominator zero, you secretly multiplied by zero somewhere, and that answer isn't real. Always check your solutions against the original denominators before you trust them.
All visualizations are interactive React components running entirely in your browser. The animated step-through uses requestAnimationFrame. No libraries beyond React.