Solve x + 1/x = 3

The solutions of x+1x=3x + \frac{1}{x} = 3 are x1=32−52,x2=52+32x_{1} = \frac{3}{2} - \frac{\sqrt{5}}{2},\quad x_{2} = \frac{\sqrt{5}}{2} + \frac{3}{2}

Answer

Rational equation
x1=32−52,x2=52+32x_{1} = \frac{3}{2} - \frac{\sqrt{5}}{2},\quad x_{2} = \frac{\sqrt{5}}{2} + \frac{3}{2}

Approximately 0.381966; 2.61803

Checked numerically before it is shown

Step-by-step solution

  1. Domain

    Values that make a denominator zero are excluded:

    x≠0x \ne 0
  2. Multiply by the common denominator

    Multiply both sides by the common denominator xx:

    x2+1=3xx^{2} + 1 = 3 x
  3. Solve the polynomial

    Solve the resulting polynomial equation:

    x2−3x+1=0x^{2} - 3 x + 1 = 0
  4. Coefficients

    Read off the coefficients:

    a=1,b=−3,c=1a = 1,\quad b = -3,\quad c = 1
  5. Discriminant

    Compute the discriminant:

    Δ=b2−4ac=9−4⋅1⋅1=5\Delta = b^{2} - 4ac = 9 - 4 \cdot 1 \cdot 1 = 5
  6. Positive discriminant

    The discriminant 55 is positive: two real solutions.

  7. Quadratic formula

    Apply the quadratic formula:

    x=−b±Δ2a=3±52x = \frac{-b \pm \sqrt{\Delta}}{2a} = \frac{3 \pm \sqrt{5}}{2}
  8. Two solutions

    Take the + sign and the − sign in turn:

    x1=3+52=52+32,x2=3−52=32−52x_{1} = \frac{3 + \sqrt{5}}{2} = \frac{\sqrt{5}}{2} + \frac{3}{2},\quad x_{2} = \frac{3 - \sqrt{5}}{2} = \frac{3}{2} - \frac{\sqrt{5}}{2}
  9. Candidate solutions

    x=32−52,x=52+32x = \frac{3}{2} - \frac{\sqrt{5}}{2},\quad x = \frac{\sqrt{5}}{2} + \frac{3}{2}

Check

  • (32−52)+1(32−52)=3  ✓\left(\frac{3}{2} - \frac{\sqrt{5}}{2}\right) + \frac{1}{\left(\frac{3}{2} - \frac{\sqrt{5}}{2}\right)} = 3\;\checkmark
  • (52+32)+1(52+32)=3  ✓\left(\frac{\sqrt{5}}{2} + \frac{3}{2}\right) + \frac{1}{\left(\frac{\sqrt{5}}{2} + \frac{3}{2}\right)} = 3\;\checkmark

Change the problem in the solver Equation solver

Related solved examples