Philippines ยท Maths & Statistics
Rational Equation Calculator
Solving (ax + b) / (cx + d) = (ex + f) / (gx + h)
Enter the coefficients of a rational equation in the form (ax+b)/(cx+d) = (ex+f)/(gx+h). The calculator states the domain restrictions before solving, cross-multiplies, solves, and then tests every root against those restrictions โ which is the step that gets missed.
What is an extraneous solution?
A root that satisfies the equation you get after clearing denominators, but not the original equation โ because it makes a denominator zero. Cross-multiplying can introduce these, so every root must be checked against the values excluded from the domain. A root that is excluded must be discarded, even though the algebra produced it correctly.
How to use this calculator
- Match your equation to the templateRead off the eight coefficients. A missing x term means that coefficient is zero; a denominator of just a number means its x coefficient is zero and its constant is that number.
- Note the domain restrictions firstThe breakdown states the excluded values before it states the roots. Doing this first, by hand as well, is what makes the extraneous check possible at the end.
- Read the root labelsEvery root is marked valid or EXTRANEOUS. An extraneous root is not a mistake in the algebra โ it is a real consequence of cross-multiplying, and it must be discarded.
- Expect no solution sometimesAn equation whose only root is excluded genuinely has no solution. So does one where cross-multiplying leaves a contradiction. Both outcomes are reported explicitly.
Why cross-multiplying creates roots that were never there
The step from A/B = C/D to AD = BC looks like simple algebra, and it is โ but it quietly changes the problem.
The original equation is only defined where B and D are non-zero. Division by zero is undefined, so any x making a denominator vanish is not merely a bad answer; it is not in the domain at all, and the equation makes no claim about it.
The equation AD = BC has no such restriction. It is a polynomial equation, defined for every x. So it can โ and often does โ have solutions that the original equation never had, precisely at the points where the original was undefined.
Those are extraneous roots. They are not errors. The algebra is correct at every step; the domain simply widened when the denominators were cleared, and roots appeared in the new territory.
The fix is procedural and non-negotiable: write down the excluded values before you start solving, and check every root against them at the end. A root equal to an excluded value gets discarded regardless of how cleanly the algebra produced it.
This is one of the few places in school algebra where a correct method reliably produces wrong answers unless a separate check is applied. That is why examiners like it, and why the check is worth a mark or two on its own.
A/B = C/D โน AD = BC, provided B โ 0 and D โ 0Worked example: (3x + 1)/(x + 2) = (x + 5)/(x โ 1)
First the domain. The left denominator x + 2 is zero at x = โ2. The right denominator x โ 1 is zero at x = 1. So x โ โ2 and x โ 1, written down before any solving.
Cross-multiply: (3x + 1)(x โ 1) = (x + 5)(x + 2).
Expand the left: 3xยฒ โ 3x + x โ 1 = 3xยฒ โ 2x โ 1.
Expand the right: xยฒ + 2x + 5x + 10 = xยฒ + 7x + 10.
Bring everything to one side: 3xยฒ โ 2x โ 1 โ xยฒ โ 7x โ 10 = 0, which is 2xยฒ โ 9x โ 11 = 0.
The discriminant is (โ9)ยฒ โ 4(2)(โ11) = 81 + 88 = 169, and โ169 = 13 exactly.
Roots: x = (9 ยฑ 13) รท 4. That gives x = 22/4 = 5.5 and x = โ4/4 = โ1.
Now the check. Is 5.5 equal to โ2 or 1? No. Is โ1 equal to โ2 or 1? No. Both roots are in the domain, so both are valid.
Verify by substitution. At x = 5.5: left side is (16.5 + 1)/(5.5 + 2) = 17.5/7.5 = 2.333. Right side is (5.5 + 5)/(5.5 โ 1) = 10.5/4.5 = 2.333. They agree.
At x = โ1: left is (โ3 + 1)/(โ1 + 2) = โ2/1 = โ2. Right is (โ1 + 5)/(โ1 โ 1) = 4/(โ2) = โ2. They agree.
What the four outcomes mean
| After cross-multiplying | What it means | Answer |
|---|---|---|
| A quadratic with two valid roots | Both satisfy the original | Two solutions |
| A quadratic with one excluded root | Cross-multiplying invented one | One solution |
| A quadratic with both roots excluded | Every root falls outside the domain | No solution |
| Negative discriminant | The quadratic never crosses zero | No real solution |
| 0 = 0 | The two sides are the same expression | All x in the domain |
| k = 0 for non-zero k | A contradiction | No solution |
The last two rows arise when the xยฒ and x terms cancel during expansion. They are easy to mistake for an arithmetic slip, but both are genuine outcomes โ an identity in the first case, an inconsistent equation in the second. The calculator distinguishes them explicitly rather than reporting an error.
Beyond the two-fraction case
The template here covers one fraction equal to another, which is the standard exam form. Real problems sometimes arrive with three or more terms, and those need a preliminary step.
The general method is to find the least common denominator across every term and multiply the whole equation by it. That clears all denominators at once and leaves a polynomial equation. The domain restrictions still come from the original denominators, and the extraneous check is still required โ in fact it becomes more important, because there are now more excluded values to collide with.
Where a denominator is quadratic, factorise it first. An equation containing 1/(xยฒ โ 4) has excluded values at both x = 2 and x = โ2, which only becomes visible after factorising to (x โ 2)(x + 2). A student who does not factorise will miss one of them and may accept an extraneous root.
Work-rate problems are the most common word-problem source of rational equations. Two pipes filling a tank in 6 and 9 hours respectively give 1/6 + 1/9 = 1/t, and the structure is rational because rates add while times do not. The same shape appears in problems about workers, taps and travel at different speeds.
One useful sanity check on any word problem: an extraneous root is often physically meaningless anyway โ a negative time, a negative number of workers. When the algebraic check and the physical check agree that a root is invalid, that is reassuring rather than redundant.
Graphically, the solutions are where two rational functions intersect. The excluded values are vertical asymptotes, and a curve never touches its own asymptote โ which is a picture of why an excluded value can never be a genuine solution.
Multiplying both sides by an expression containing x is the operation that introduces extraneous roots. Adding, subtracting or multiplying by a non-zero constant never does โ so the check is only needed when a variable expression was cleared.
Assumptions and limitations
- Handles one linear-over-linear fraction on each side, which is the standard exam form
- Equations with three or more terms must be combined over a common denominator first
- Quadratic denominators need factorising before their excluded values can be read off
- Reports real roots only โ a negative discriminant returns no real solution
- Roots are shown as decimals rather than exact surds
- Does not solve rational inequalities, which need sign analysis rather than root finding
- Does not simplify or factor rational expressions on their own
Questions people ask about this in Philippines
What is an extraneous solution?
A root that satisfies the equation after clearing denominators but not the original, because it makes a denominator zero.
Cross-multiplying widens the domain, so roots can appear where the original equation was undefined. They must be discarded.
Why do I have to check my answers?
Because multiplying both sides by an expression containing x can introduce roots the original equation never had.
Write down the excluded values before solving, then test every root against them. This step is usually worth marks on its own.
How do I find the excluded values?
Set each denominator equal to zero and solve. For (x + 2) that gives x = โ2; for a quadratic denominator, factorise first so you catch both values.
Those values are excluded from the domain no matter what the algebra produces.
Can a rational equation have no solution?
Yes, in three ways: every root turns out to be extraneous, the quadratic has a negative discriminant, or cross-multiplying leaves a contradiction such as 5 = 0.
All three are reported explicitly rather than as an error.
What if my equation has three fractions?
Multiply the whole equation by the least common denominator to clear them all at once, then solve the resulting polynomial.
The excluded values still come from the original denominators, and the extraneous check matters more because there are more of them.
What does an extraneous root look like on a graph?
It sits on a vertical asymptote. The excluded values are where the rational function is undefined, and a curve never touches its own asymptote โ which is why a root there cannot be a genuine intersection.
Related Philippines calculators
Tools people usually open in the same sitting.
Method, source and review date
- How it is worked out
- Cross-multiplication to a quadratic with domain verification
- Formula used
(ax+b)(gx+h) = (ex+f)(cx+d), then test each root against cx+d โ 0 and gx+h โ 0- Checked against
- Standard algebra
- Last reviewed
- Confidence
- High
Spotted a figure that has moved, or a formula you can show is wrong? Tell us โ send a correction. Fixes to rates and formulas are treated as urgent.
Disclaimer
This calculator gives an estimate for guidance only. Check the figures against your own measurements or paperwork before you commit money to them.