Skip to main content
Solve for x
Tick mark Image
Graph

Similar Problems from Web Search

Share

4x^{2}-8x-2=18
All equations of the form ax^{2}+bx+c=0 can be solved using the quadratic formula: \frac{-b±\sqrt{b^{2}-4ac}}{2a}. The quadratic formula gives two solutions, one when ± is addition and one when it is subtraction.
4x^{2}-8x-2-18=18-18
Subtract 18 from both sides of the equation.
4x^{2}-8x-2-18=0
Subtracting 18 from itself leaves 0.
4x^{2}-8x-20=0
Subtract 18 from -2.
x=\frac{-\left(-8\right)±\sqrt{\left(-8\right)^{2}-4\times 4\left(-20\right)}}{2\times 4}
This equation is in standard form: ax^{2}+bx+c=0. Substitute 4 for a, -8 for b, and -20 for c in the quadratic formula, \frac{-b±\sqrt{b^{2}-4ac}}{2a}.
x=\frac{-\left(-8\right)±\sqrt{64-4\times 4\left(-20\right)}}{2\times 4}
Square -8.
x=\frac{-\left(-8\right)±\sqrt{64-16\left(-20\right)}}{2\times 4}
Multiply -4 times 4.
x=\frac{-\left(-8\right)±\sqrt{64+320}}{2\times 4}
Multiply -16 times -20.
x=\frac{-\left(-8\right)±\sqrt{384}}{2\times 4}
Add 64 to 320.
x=\frac{-\left(-8\right)±8\sqrt{6}}{2\times 4}
Take the square root of 384.
x=\frac{8±8\sqrt{6}}{2\times 4}
The opposite of -8 is 8.
x=\frac{8±8\sqrt{6}}{8}
Multiply 2 times 4.
x=\frac{8\sqrt{6}+8}{8}
Now solve the equation x=\frac{8±8\sqrt{6}}{8} when ± is plus. Add 8 to 8\sqrt{6}.
x=\sqrt{6}+1
Divide 8+8\sqrt{6} by 8.
x=\frac{8-8\sqrt{6}}{8}
Now solve the equation x=\frac{8±8\sqrt{6}}{8} when ± is minus. Subtract 8\sqrt{6} from 8.
x=1-\sqrt{6}
Divide 8-8\sqrt{6} by 8.
x=\sqrt{6}+1 x=1-\sqrt{6}
The equation is now solved.
4x^{2}-8x-2=18
Quadratic equations such as this one can be solved by completing the square. In order to complete the square, the equation must first be in the form x^{2}+bx=c.
4x^{2}-8x-2-\left(-2\right)=18-\left(-2\right)
Add 2 to both sides of the equation.
4x^{2}-8x=18-\left(-2\right)
Subtracting -2 from itself leaves 0.
4x^{2}-8x=20
Subtract -2 from 18.
\frac{4x^{2}-8x}{4}=\frac{20}{4}
Divide both sides by 4.
x^{2}+\left(-\frac{8}{4}\right)x=\frac{20}{4}
Dividing by 4 undoes the multiplication by 4.
x^{2}-2x=\frac{20}{4}
Divide -8 by 4.
x^{2}-2x=5
Divide 20 by 4.
x^{2}-2x+1=5+1
Divide -2, the coefficient of the x term, by 2 to get -1. Then add the square of -1 to both sides of the equation. This step makes the left hand side of the equation a perfect square.
x^{2}-2x+1=6
Add 5 to 1.
\left(x-1\right)^{2}=6
Factor x^{2}-2x+1. In general, when x^{2}+bx+c is a perfect square, it can always be factored as \left(x+\frac{b}{2}\right)^{2}.
\sqrt{\left(x-1\right)^{2}}=\sqrt{6}
Take the square root of both sides of the equation.
x-1=\sqrt{6} x-1=-\sqrt{6}
Simplify.
x=\sqrt{6}+1 x=1-\sqrt{6}
Add 1 to both sides of the equation.