Solve x + 4/x = 5

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

Answer

Solutionsx = 1, x = 4

Step-by-step solution

12 steps
  1. 1 Given
    x + \frac{4}{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{4}{x}\right) = x 5

    This clears all the fractions.

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

    Move the constant terms to the right.

  11. 11 Add 1 to both sides
    x = 1

    Move the constant terms to the right.

  12. 12 Check
    \begin{aligned}x = 1:\quad 5 = 5\quad\checkmark\\ x = 4:\quad 5 = 5\quad\checkmark\end{aligned}

    Substituting each solution back makes both sides equal.

Check by substitution

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