Algebra · real student question

Solve the equation x - 1/x = 3.

Question

Solve

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

Step-by-step solution

  1. Note the domain restriction before multiplying. The term 1x\tfrac1x requires x0x\neq0. Recording this now matters: multiplying through by xx is only reversible when x0x\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:

    xxx1x=3xx21=3xx\cdot x-x\cdot\frac{1}{x}=3x\qquad\Longrightarrow\qquad x^{2}-1=3x

    The middle term becomes exactly 1-1, since x1x=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:

    x23x1=0x^{2}-3x-1=0

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

  4. Apply the quadratic formula.

    x=3±(3)24(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 x3.3028x\approx3.3028 and x0.3028x\approx-0.3028; neither is 00, so both survive the domain restriction. Substituting each into the original equation x1xx-\tfrac1x gives 33 to within 101210^{-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+3132=3\dfrac{3+\sqrt{13}}{2}+\dfrac{3-\sqrt{13}}{2}=3 ✓. They should multiply to c/a=1c/a=-1: 9134=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 x1xx-\tfrac1x shape.

Answer

x=3+132orx=3132x=\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 →