Skip to main content
Solve for x
Tick mark Image
Graph

Similar Problems from Web Search

Share

4x^{2}-31x-8=0
Subtract 8 from both sides.
a+b=-31 ab=4\left(-8\right)=-32
To solve the equation, factor the left hand side by grouping. First, left hand side needs to be rewritten as 4x^{2}+ax+bx-8. To find a and b, set up a system to be solved.
1,-32 2,-16 4,-8
Since ab is negative, a and b have the opposite signs. Since a+b is negative, the negative number has greater absolute value than the positive. List all such integer pairs that give product -32.
1-32=-31 2-16=-14 4-8=-4
Calculate the sum for each pair.
a=-32 b=1
The solution is the pair that gives sum -31.
\left(4x^{2}-32x\right)+\left(x-8\right)
Rewrite 4x^{2}-31x-8 as \left(4x^{2}-32x\right)+\left(x-8\right).
4x\left(x-8\right)+x-8
Factor out 4x in 4x^{2}-32x.
\left(x-8\right)\left(4x+1\right)
Factor out common term x-8 by using distributive property.
x=8 x=-\frac{1}{4}
To find equation solutions, solve x-8=0 and 4x+1=0.
4x^{2}-31x=8
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}-31x-8=8-8
Subtract 8 from both sides of the equation.
4x^{2}-31x-8=0
Subtracting 8 from itself leaves 0.
x=\frac{-\left(-31\right)±\sqrt{\left(-31\right)^{2}-4\times 4\left(-8\right)}}{2\times 4}
This equation is in standard form: ax^{2}+bx+c=0. Substitute 4 for a, -31 for b, and -8 for c in the quadratic formula, \frac{-b±\sqrt{b^{2}-4ac}}{2a}.
x=\frac{-\left(-31\right)±\sqrt{961-4\times 4\left(-8\right)}}{2\times 4}
Square -31.
x=\frac{-\left(-31\right)±\sqrt{961-16\left(-8\right)}}{2\times 4}
Multiply -4 times 4.
x=\frac{-\left(-31\right)±\sqrt{961+128}}{2\times 4}
Multiply -16 times -8.
x=\frac{-\left(-31\right)±\sqrt{1089}}{2\times 4}
Add 961 to 128.
x=\frac{-\left(-31\right)±33}{2\times 4}
Take the square root of 1089.
x=\frac{31±33}{2\times 4}
The opposite of -31 is 31.
x=\frac{31±33}{8}
Multiply 2 times 4.
x=\frac{64}{8}
Now solve the equation x=\frac{31±33}{8} when ± is plus. Add 31 to 33.
x=8
Divide 64 by 8.
x=-\frac{2}{8}
Now solve the equation x=\frac{31±33}{8} when ± is minus. Subtract 33 from 31.
x=-\frac{1}{4}
Reduce the fraction \frac{-2}{8} to lowest terms by extracting and canceling out 2.
x=8 x=-\frac{1}{4}
The equation is now solved.
4x^{2}-31x=8
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.
\frac{4x^{2}-31x}{4}=\frac{8}{4}
Divide both sides by 4.
x^{2}-\frac{31}{4}x=\frac{8}{4}
Dividing by 4 undoes the multiplication by 4.
x^{2}-\frac{31}{4}x=2
Divide 8 by 4.
x^{2}-\frac{31}{4}x+\left(-\frac{31}{8}\right)^{2}=2+\left(-\frac{31}{8}\right)^{2}
Divide -\frac{31}{4}, the coefficient of the x term, by 2 to get -\frac{31}{8}. Then add the square of -\frac{31}{8} to both sides of the equation. This step makes the left hand side of the equation a perfect square.
x^{2}-\frac{31}{4}x+\frac{961}{64}=2+\frac{961}{64}
Square -\frac{31}{8} by squaring both the numerator and the denominator of the fraction.
x^{2}-\frac{31}{4}x+\frac{961}{64}=\frac{1089}{64}
Add 2 to \frac{961}{64}.
\left(x-\frac{31}{8}\right)^{2}=\frac{1089}{64}
Factor x^{2}-\frac{31}{4}x+\frac{961}{64}. 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-\frac{31}{8}\right)^{2}}=\sqrt{\frac{1089}{64}}
Take the square root of both sides of the equation.
x-\frac{31}{8}=\frac{33}{8} x-\frac{31}{8}=-\frac{33}{8}
Simplify.
x=8 x=-\frac{1}{4}
Add \frac{31}{8} to both sides of the equation.