Solve 2/(x − 1) = 5/(x + 2)

Rational equation, worked out line by line the way a teacher would write it.

Answer

Solutionx = 3

Step-by-step solution

9 steps
  1. 1 Given
    \frac{2}{x - 1} = \frac{5}{x + 2}

    Solve for x.

  2. 2 Note the values that make a denominator zero — they can never be solutions
    x \neq -2,\quad x \neq 1
  3. 3 Cross-multiply: a/b = c/d becomes a·d = c·b
    2 \left(x + 2\right) = 5 \left(x - 1\right)
  4. 4 Distribute: multiply each term inside the brackets
    4 + 2 x = -5 + 5 x
  5. 5 Subtract 5x from both sides
    4 - 3 x = -5

    Collect every term containing x on the left.

  6. 6 Subtract 4 from both sides
    - 3 x = -9

    Move the constant terms to the right.

  7. 7 Divide both sides by -3
    x = \frac{-9}{-3}
  8. 8 Simplify
    x = 3
  9. 9 Check
    \begin{aligned}x = 3:\quad 1 = 1\quad\checkmark\end{aligned}

    Substituting each solution back makes both sides equal.

Check by substitution

xLeft sideRight side
311✓
Open this problem in the solver

Change a number or try your own problem: the solver works it out the same way, with a graph and hint mode.