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 entered3x+1=6x2−1\frac{3}{x + 1} = \frac{6}{x^{2} - 1}

x=3\displaystyle x = 3
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≠−1, x≠1x \neq -1,\ x \neq 1
  2. Multiply by the least common denominator

    Multiply both sides by the least common denominator, (x−1)(x+1)\left(x - 1\right)\left(x + 1\right). Every denominator divides it, so all the fractions disappear and a polynomial equation remains.

    LCD=(x−1)(x+1)⇒3x−3=6\begin{gathered} \text{LCD} = \left(x - 1\right)\left(x + 1\right) \\ \Rightarrow \\ 3x - 3 = 6 \end{gathered}
  3. Solve the polynomial equation

    Move everything to one side and solve it.

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

    None of the answers is an excluded value, so all of them stay.

    x=3: allowedx = 3:\ \text{allowed}
  5. Result

    The solution is x=3x = 3.

Worked examples