Stuck on this? Solve it with AI
Algebra · real student question

Solve the equation x - 1/x = 3.

Question

Solve

x−1x=3x-\frac{1}{x}=3

Step-by-step solution

  1. Note the domain restriction before multiplying. The term 1x\tfrac1x requires x≠0x\neq0. Recording this now matters: multiplying through by xx is only reversible when x≠0x\neq0, and any root that turned out to be 00 would have to be discarded as extraneous.

  2. Clear the denominator. Multiply every term by xx:

    x⋅x−x⋅1x=3x⟹x2−1=3xx\cdot x-x\cdot\frac{1}{x}=3x\qquad\Longrightarrow\qquad x^{2}-1=3x

    The middle term becomes exactly −1-1, since x⋅1x=1x\cdot\tfrac1x=1. Every term must be multiplied, including the 33 on the right.

  3. Rearrange into standard form. Subtract 3x3x from both sides:

    x2−3x−1=0x^{2}-3x-1=0

    so a=1a=1, b=−3b=-3, c=−1c=-1.

  4. Apply the quadratic formula.

    x=3±(−3)2−4(1)(−1)2=3±9+42=3±132x=\frac{3\pm\sqrt{(-3)^{2}-4(1)(-1)}}{2}=\frac{3\pm\sqrt{9+4}}{2}=\frac{3\pm\sqrt{13}}{2}

    The discriminant 1313 is positive but not a perfect square, so there are two distinct irrational roots and no integer factorisation exists.

  5. Check neither root is excluded. Numerically x≈3.3028x\approx3.3028 and x≈−0.3028x\approx-0.3028; neither is 00, so both survive the domain restriction. Substituting each into the original equation x−1xx-\tfrac1x gives 33 to within 10−1210^{-12} ✓ — checking against the original, not the cleared version, is what catches extraneous roots.

  6. Confirm with Vieta. The roots should sum to −b/a=3-b/a=3: 3+132+3−132=3\dfrac{3+\sqrt{13}}{2}+\dfrac{3-\sqrt{13}}{2}=3 ✓. They should multiply to c/a=−1c/a=-1: 9−134=−1\dfrac{9-13}{4}=-1 ✓. The product being −1-1 also says the two roots are negative reciprocals of each other — a neat consequence of the equation's x−1xx-\tfrac1x shape.

Answer

x=3+132orx=3−132x=\frac{3+\sqrt{13}}{2}\quad\text{or}\quad x=\frac{3-\sqrt{13}}{2}

Need to solve a different problem like this? Open the solver →