HomeCalculatorsMathAlgebra & EquationsRational Equation Calculator
Math calculator

Rational Equation Calculator

Solve rational equations in one variable while excluding denominator poles. Inspect identities, empty sets, and valid roots, then share or export full results.

Instant result
Result
—

Enter values to calculate.

Inputs—
Mode—
Formula—
Trust summary CVP VERIFIED · CVP protocol 1.0.0-proposed · Core assurance · all six published modes
Input interpretation
Enter values to calculate.
Result
—
Verified scope
all six published modes
Assurance
Core
Declared partition coverage
PASS · 7/7 declared partitions (invalid-domain, mode-solve, mode-inequality, mode-abs, mode-abs_inequality, mode-rational, mode-rational_inequality) · Matrix
Numerical scope
Listed independent full-pack vectors only; classification uses exact comparisons, no absolute epsilon.
Known limitations
  • Core CVP does not include live graph, viewport, or pointer interaction.
Model
The real solutions of (ax + b)/(cx + d) = rhs, excluding the pole.
Scope
Degree 1 numerator and denominator
Verification
Engine tested · Source checked · v1.5.1 · CVP VERIFIED · CVP protocol 1.0.0-proposed · Core assurance · all six published modes· View Manifest · CVP overview · Specification
Versions
Calculation 1.5.1 · CVP protocol 1.0.0-proposed · Evidence 2026-10-28.meta-metrics-v2
Verification revision
2026-10-28.meta-metrics-v2 · 1/1 property · digest f9b7ec60bdd7
Legacy regression
18/18 tests · Production surface contract 6/6
Trust layers
Verification VERIFIED · Production CURRENT · Overall CVP state: VERIFIED under CVP 1.0.0-proposed
Reference
O1 model · O2 expected_values · O2 numerical_behavior
Interfaces
PASS · UI (SSR) / REST / MCP — ui-ssr is query-result HTML, not a live browser session.
Supplemental domain review
Not performed
Named expert review
Not performed
CVP suite
178/178 golden · 1/1 CVP boundary · 12/12 invalid · 1/1 property · 2/2 metamorphic · 178/178 cross-interface · 6/6 CVP contract · Manifest
Evidence
7 legacy golden · 3 legacy boundary · legacy regression suite · 178/178 oracle-backed golden · 12/12 invalid · Artifact integrity PASS
This calculator CURRENT · Public schema 1.5.1 matches · Semantic contract ✓ · Production attested · Public/cache ✓ · Origin ✓
Semantic contract
PASS
Full verification

Manifest identity, reference classes, interfaces, suite, and production records.

Formulas

Core equations used by this calculator.

Clearax + b = rhs (cx + d)
Rootx = (rhs·d − b) / (a − rhs·c)
Polex ≠ −d / c
iSame engine as /linear-equation. Inequalities are /rational-inequality. Not a quadratic rational. Not CAS.

How to use

1

Enter a, b, c, d, and rhs

(2x + 3)/(x + 1) = 1 is a=2, b=3, c=1, d=1, rhs=1. The linear page stays at /linear-equation.

2

Read x or the excluded pole

x = −2. The pole x = −1 is never a solution. Identity except the pole is ℝ \ {pole}.

Example calculations

Common configurations with formula and result.

ϟ

One root

(2x + 3)/(x + 1) = 1

x = −2
-2
ϟ

Identity except pole

(2x + 2)/(x + 1) = 2

ℝ \ {−1}
ℝ \ {-1}
ϟ

Empty

(2x + 3)/(x + 1) = 2

3 = 2
∅

Rational Equation calculator specification

Version 1.5.1 · Engine tested

Calculation status

Review policy · Evidence

Definition
(ax + b)/(cx + d) = rhs clears to (a − rhs·c)x = rhs·d − b. This page is mode=rational on math.algebra.linear_equation. The pole x = −d/c is never a solution. Identically 0 denominator is invalid. Not a second engine. Not quadratic. Not CAS.
What it calculates
The real solutions of (ax + b)/(cx + d) = rhs, excluding the pole.
Inputs
  • a
  • b?
  • c?
  • d?
  • rhs
Outputs
  • x
  • pole
  • status
  • n
Formula
x = (rhs·d − b) / (a − rhs·c), x ≠ −d/c
Assumptions
  • Degree 1 numerator and denominator
  • Real coefficients
  • Not quadratic
  • Not an inequality — use /rational-inequality
  • Not CAS
Units
  • dimensionless
Boundary conditions
  • missing a or rhs → MISSING_REQUIRED_INPUT
  • c = d = 0 → INVALID_INPUT
  • unknown mode (including cas, quadratic) → INVALID_MODE
  • root equals pole → empty
Example
a=2 b=3 c=1 d=1 rhs=1 → x=-2
Validation cases

2 published on this page · 18/18 tests · Production surface contract 6/6 · View evidence

  • a=2 b=3 c=1 d=1 rhs=1 → x=-2
  • mode=cas a=2 b=3 c=1 d=1 rhs=1 → INVALID_MODE
Sources
  • ISO 80000-2:2019 Quantities and units — Mathematics
    Supports: Mathematical symbols and notation. This standard is not numerical verification or an endorsement of this implementation.
  • Margaret Stevens — The Maths Workbook (University of Oxford) — Chapter 1, §§1 and 3: Algebraic Expressions and Equations
    Supports: Algebraic fraction simplification and solving linear equations, including equations with parameters and rearranging formulas. A denominator must be nonzero; candidates introduced by clearing denominators must be checked in the original equation. Mathematical reference only; not implementation validation or an endorsement of CalculatorX.
Calculation version
1.5.1

Background

Interpretation and common distinctions.

What does this rational equation calculator compute?

(ax + b)/(cx + d) = rhs clears to (a − rhs·c)x = rhs·d − b.

The published formula or method is x = (rhs·d − b) / (a − rhs·c), x ≠ −d/c. The following references support the stated mathematics or method:

  • Margaret Stevens — The Maths Workbook (University of Oxford): Algebraic fraction simplification and solving linear equations, including equations with parameters and rearranging formulas. A denominator must be nonzero; candidates introduced by clearing denominators must be checked in the original equation. Mathematical reference only; not implementation validation or an endorsement of CalculatorX.

Which inputs and limits should you check?

Follow the input domain, units, branch or solve direction, and rounding policy in the specification. Preserve exact outputs and any additional candidates or warnings.

The worked example uses (2x + 3)/(x + 1) = 1 with x = −2. Compare it with the Example calculations and the complete result for the same inputs.

How can you verify and cite this result?

CalculatorX is responsible for this page. The mathematical references above explain the model; implementation checks and their scope are documented separately in the math.algebra.linear_equation v1.5.1 Evidence and capability contract. Read the displayed verification and production state together with the specification's numerical limits.

Use the clean calculator URL to cite the tool. A shared input link identifies a particular calculation. Content updates, numerical verification, and domain reviews have separate dates and scopes.

Numerical and input contract

Finite binary64 coefficients or strict decimal/scientific strings up to512 characters. Nonzero text rounding to zero rejects NUMERIC_UNDERFLOW. Exact rational decisions use the accepted binary64 coefficients, not arbitrary-precision raw decimals; no epsilon merges roots, zero coefficients, or poles. b defaults to0. In rational modes c and d form the denominator and cannot both be0. In other modes c/d are right-hand-side aliases and must agree with rhs.

The complete result includes solution ranges with open/closed endpoints. Endpoints round once to binary64. Overflow, nonzero underflow, and distinct exact boundaries collapsing to one binary64 value reject. Exact arithmetic is bounded to16384 numerator/denominator bits.178 independent Fraction predicate/open-cell full-pack references cover listed cases, with a1ULP fixed-vector ceiling and strict serialized topology; this is not a whole-domain/runtime proof. The figure may be omitted when boundaries cannot be separated faithfully; the numerical interval remains authoritative.

Typing calculates locally. Shared URLs and REST/MCP transmit inputs and may enter logs. CSV/JSON retain raw provided inputs and the complete unrounded result pack.

Frequently asked questions

Key distinctions behind the calculation.

Is this a second linear engine?

No. It is mode=rational on math.algebra.linear_equation, the same engine as /calc/math/linear-equation.

Why is the pole excluded?

cx + d = 0 makes the original fraction undefined, even if clearing the denominator produces that x.

Do you solve rational inequalities?

/calc/math/rational-inequality is mode=rational_inequality on this same engine.