Solve x/(x − 5) = 6

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

Answer

Solutionx = 6

Step-by-step solution

8 steps
  1. 1 Given
    \frac{x}{x - 5} = 6

    Solve for x.

  2. 2 Note the values that make a denominator zero — they can never be solutions
    x \neq 5
  3. 3 Multiply every term by the least common denominator x - 5
    \frac{x}{x - 5} \left(x - 5\right) = \left(x - 5\right) 6

    This clears all the fractions.

  4. 4 Cancel and simplify
    x = 6 x - 30
  5. 5 Subtract 6x from both sides
    - 5 x = -30

    Collect every term containing x on the left.

  6. 6 Divide both sides by -5
    x = \frac{-30}{-5}
  7. 7 Simplify
    x = 6
  8. 8 Check
    \begin{aligned}x = 6:\quad 6 = 6\quad\checkmark\end{aligned}

    Substituting each solution back makes both sides equal.

Check by substitution

xLeft sideRight side
666✓
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.