Solve x + 6/x = 5

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

Answer

Solutionsx = 2, x = 3

Step-by-step solution

12 steps
  1. 1 Given
    x + \frac{6}{x} = 5

    Solve for x.

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

    This clears all the fractions.

  4. 4 Cancel and simplify
    x^{2} + 6 = 5 x
  5. 5 Move every term to the left side so the right side is 0
    x^{2} - 5 x + 6 = 0
  6. 6 This is a quadratic in standard form ax² + bx + c = 0
    a = 1,\quad b = -5,\quad c = 6
  7. 7 Factor the trinomial: find two numbers whose product is c = 6 and whose sum is b = -5
    (-3) \cdot (-2) = 6,\qquad (-3) + (-2) = -5
  8. 8 Write the factored form
    \left(x - 3\right) \left(x - 2\right) = 0
  9. 9 Zero product property: a product is 0 only when one of its factors is 0
    x - 3 = 0\quad \text{or} \quad x - 2 = 0
  10. 10 Add 3 to both sides
    x = 3

    Move the constant terms to the right.

  11. 11 Add 2 to both sides
    x = 2

    Move the constant terms to the right.

  12. 12 Check
    \begin{aligned}x = 2:\quad 5 = 5\quad\checkmark\\ x = 3:\quad 5 = 5\quad\checkmark\end{aligned}

    Substituting each solution back makes both sides equal.

Check by substitution

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