Skip to main content
Solve for x
Tick mark Image
Graph

Similar Problems from Web Search

Share

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