Algebra · real student question

Solve the equation x^2 - 6x - 5 = 0.

Question

Solve

x26x5=0x^{2}-6x-5=0

Step-by-step solution

  1. Identify the coefficients and test for factoring. Here a=1a=1, b=6b=-6, c=5c=-5. Integer factoring would need two numbers with product 5-5 and sum 6-6; the only integer pairs for 5-5 are (1,5)(1,-5) and (5,1)(5,-1), giving sums 4-4 and 44 — neither is 6-6. So the roots are not integers and the formula is required.

  2. Compute the discriminant.

    Δ=b24ac=(6)24(1)(5)=36+20=56\Delta=b^{2}-4ac=(-6)^{2}-4(1)(-5)=36+20=56

    The 4ac-4ac term becomes +20+20 because cc is negative — sign slips here are the commonest cause of a wrong answer. Since Δ=56>0\Delta=56>0 but is not a perfect square, expect two irrational roots.

  3. Substitute into the quadratic formula.

    x=(6)±562(1)=6±562x=\frac{-(-6)\pm\sqrt{56}}{2(1)}=\frac{6\pm\sqrt{56}}{2}

  4. Simplify the surd, then cancel. Extract the largest square factor: 56=41456=4\cdot14, so 56=214\sqrt{56}=2\sqrt{14}. Now the common factor 22 is visible:

    x=6±2142=2(3±14)2=3±14x=\frac{6\pm2\sqrt{14}}{2}=\frac{2\left(3\pm\sqrt{14}\right)}{2}=3\pm\sqrt{14}

    The 22 must cancel from both numerator terms; cancelling it only against the 66 would give the wrong 3±2143\pm2\sqrt{14}.

  5. Verify with Vieta and numerically. The roots should sum to b/a=6-b/a=6: (3+14)+(314)=6\left(3+\sqrt{14}\right)+\left(3-\sqrt{14}\right)=6 ✓. They should multiply to c/a=5c/a=-5: 32(14)2=914=53^{2}-\left(\sqrt{14}\right)^{2}=9-14=-5 ✓. Numerically x6.7417x\approx6.7417 and x0.7417x\approx-0.7417, both giving residuals below 101110^{-11} ✓.

Answer

x=3+14orx=314x=3+\sqrt{14}\quad\text{or}\quad x=3-\sqrt{14}

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