Rational Equation Calculator

Enter an equation with x in a denominator to solve it.

An equation in x with fractions of polynomials, such as 1/x + 1/2 = 5/(2x).

Try

Result

You enteredxx−2=2x−2\frac{x}{x - 2} = \frac{2}{x - 2}

No solution\displaystyle \text{No solution}
Show the work
  1. Restrictions on x

    A fraction is undefined when its denominator is 0, so first list the values of x that are not allowed. Any answer equal to one of them must be thrown out.

    x≠2x \neq 2
  2. Multiply by the least common denominator

    Multiply both sides by the least common denominator, x−2x - 2. Every denominator divides it, so all the fractions disappear and a polynomial equation remains.

    LCD=x−2⇒x=2\begin{gathered} \text{LCD} = x - 2 \\ \Rightarrow \\ x = 2 \end{gathered}
  3. Solve the polynomial equation

    Move everything to one side and solve it.

    x−2=0⇒x=2\begin{gathered} x - 2 = 0 \\ \Rightarrow \\ x = 2 \end{gathered}
  4. Check against the restrictions

    x=2x = 2 makes a denominator 0, so it is rejected.

    x=2: rejectedx = 2:\ \text{rejected}
  5. Result

    Every candidate is excluded or there was none, so the equation has no solution.

    No solution\text{No solution}

Worked examples