Algebra · real student question

Solve the equation 2x^2 = 2x + 1.

Question

Solve

2x2=2x+12x^{2}=2x+1

Step-by-step solution

  1. Put the equation in standard form. The quadratic formula needs ax2+bx+c=0ax^{2}+bx+c=0, so subtract 2x+12x+1 from both sides:

    2x22x1=02x^{2}-2x-1=0

    giving a=2a=2, b=2b=-2, c=1c=-1. Note cc is negative: moving +1+1 across changes its sign.

  2. Compute the discriminant to choose a method.

    Δ=b24ac=(2)24(2)(1)=4+8=12\Delta=b^{2}-4ac=(-2)^{2}-4(2)(-1)=4+8=12

    The double negative in 4(2)(1)=+8-4(2)(-1)=+8 is the step to watch. Since Δ=12>0\Delta=12>0 there are two distinct real roots, but 1212 is not a perfect square, so the roots are irrational and no integer factorisation exists — the formula is the right tool.

  3. Substitute into the quadratic formula.

    x=b±Δ2a=2±124x=\frac{-b\pm\sqrt{\Delta}}{2a}=\frac{2\pm\sqrt{12}}{4}

  4. Simplify the surd and reduce the fraction. Since 12=4312=4\cdot3, 12=23\sqrt{12}=2\sqrt{3}:

    x=2±234=2(1±3)4=1±32x=\frac{2\pm2\sqrt{3}}{4}=\frac{2\left(1\pm\sqrt{3}\right)}{4}=\frac{1\pm\sqrt{3}}{2}

    The common factor 22 must be cancelled from both terms of the numerator — cancelling only the leading 22 is a classic error.

  5. Verify with Vieta and by substitution. The roots should sum to b/a=1-b/a=1 and multiply to c/a=12c/a=-\tfrac12:

    1+32+132=1 ,(1)2(3)24=134=12 \frac{1+\sqrt3}{2}+\frac{1-\sqrt3}{2}=1\ \checkmark,\qquad\frac{(1)^{2}-(\sqrt3)^{2}}{4}=\frac{1-3}{4}=-\frac12\ \checkmark

    Numerically the roots are 1.3660\approx1.3660 and 0.3660\approx-0.3660, and substituting either into 2x22x12x^{2}-2x-1 gives a residual below 101210^{-12} ✓.

Answer

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

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