Solve x + 3/x = 4

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

Answer

Solutionsx = 1, x = 3

Step-by-step solution

12 steps
  1. 1 Given
    x + \frac{3}{x} = 4

    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{3}{x}\right) = x 4

    This clears all the fractions.

  4. 4 Cancel and simplify
    x^{2} + 3 = 4 x
  5. 5 Move every term to the left side so the right side is 0
    x^{2} - 4 x + 3 = 0
  6. 6 This is a quadratic in standard form ax² + bx + c = 0
    a = 1,\quad b = -4,\quad c = 3
  7. 7 Factor the trinomial: find two numbers whose product is c = 3 and whose sum is b = -4
    (-3) \cdot (-1) = 3,\qquad (-3) + (-1) = -4
  8. 8 Write the factored form
    \left(x - 3\right) \left(x - 1\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 - 1 = 0
  10. 10 Add 3 to both sides
    x = 3

    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 4 = 4\quad\checkmark\\ x = 3:\quad 4 = 4\quad\checkmark\end{aligned}

    Substituting each solution back makes both sides equal.

Check by substitution

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