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

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

Answer

Solutionx = 7

Step-by-step solution

8 steps
  1. 1 Given
    \frac{2}{x - 1} = \frac{3}{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) = 3 \left(x - 1\right)
  4. 4 Distribute: multiply each term inside the brackets
    4 + 2 x = -3 + 3 x
  5. 5 Subtract 3x from both sides
    4 - x = -3

    Collect every term containing x on the left.

  6. 6 Subtract 4 from both sides
    - x = -7

    Move the constant terms to the right.

  7. 7 Multiply both sides by −1
    x = 7
  8. 8 Check
    \begin{aligned}x = 7:\quad \frac{1}{3} = \frac{1}{3}\quad\checkmark\end{aligned}

    Substituting each solution back makes both sides equal.

Check by substitution

xLeft sideRight side
71/31/3✓
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.