Solve for x
x=12
x=18
Graph
Share
Copied to clipboard
-2x^{2}+60x-432=0
Subtract 432 from both sides.
-x^{2}+30x-216=0
Divide both sides by 2.
a+b=30 ab=-\left(-216\right)=216
To solve the equation, factor the left hand side by grouping. First, left hand side needs to be rewritten as -x^{2}+ax+bx-216. To find a and b, set up a system to be solved.
1,216 2,108 3,72 4,54 6,36 8,27 9,24 12,18
Since ab is positive, a and b have the same sign. Since a+b is positive, a and b are both positive. List all such integer pairs that give product 216.
1+216=217 2+108=110 3+72=75 4+54=58 6+36=42 8+27=35 9+24=33 12+18=30
Calculate the sum for each pair.
a=18 b=12
The solution is the pair that gives sum 30.
\left(-x^{2}+18x\right)+\left(12x-216\right)
Rewrite -x^{2}+30x-216 as \left(-x^{2}+18x\right)+\left(12x-216\right).
-x\left(x-18\right)+12\left(x-18\right)
Factor out -x in the first and 12 in the second group.
\left(x-18\right)\left(-x+12\right)
Factor out common term x-18 by using distributive property.
x=18 x=12
To find equation solutions, solve x-18=0 and -x+12=0.
-2x^{2}+60x=432
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.
-2x^{2}+60x-432=432-432
Subtract 432 from both sides of the equation.
-2x^{2}+60x-432=0
Subtracting 432 from itself leaves 0.
x=\frac{-60±\sqrt{60^{2}-4\left(-2\right)\left(-432\right)}}{2\left(-2\right)}
This equation is in standard form: ax^{2}+bx+c=0. Substitute -2 for a, 60 for b, and -432 for c in the quadratic formula, \frac{-b±\sqrt{b^{2}-4ac}}{2a}.
x=\frac{-60±\sqrt{3600-4\left(-2\right)\left(-432\right)}}{2\left(-2\right)}
Square 60.
x=\frac{-60±\sqrt{3600+8\left(-432\right)}}{2\left(-2\right)}
Multiply -4 times -2.
x=\frac{-60±\sqrt{3600-3456}}{2\left(-2\right)}
Multiply 8 times -432.
x=\frac{-60±\sqrt{144}}{2\left(-2\right)}
Add 3600 to -3456.
x=\frac{-60±12}{2\left(-2\right)}
Take the square root of 144.
x=\frac{-60±12}{-4}
Multiply 2 times -2.
x=-\frac{48}{-4}
Now solve the equation x=\frac{-60±12}{-4} when ± is plus. Add -60 to 12.
x=12
Divide -48 by -4.
x=-\frac{72}{-4}
Now solve the equation x=\frac{-60±12}{-4} when ± is minus. Subtract 12 from -60.
x=18
Divide -72 by -4.
x=12 x=18
The equation is now solved.
-2x^{2}+60x=432
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{-2x^{2}+60x}{-2}=\frac{432}{-2}
Divide both sides by -2.
x^{2}+\frac{60}{-2}x=\frac{432}{-2}
Dividing by -2 undoes the multiplication by -2.
x^{2}-30x=\frac{432}{-2}
Divide 60 by -2.
x^{2}-30x=-216
Divide 432 by -2.
x^{2}-30x+\left(-15\right)^{2}=-216+\left(-15\right)^{2}
Divide -30, the coefficient of the x term, by 2 to get -15. Then add the square of -15 to both sides of the equation. This step makes the left hand side of the equation a perfect square.
x^{2}-30x+225=-216+225
Square -15.
x^{2}-30x+225=9
Add -216 to 225.
\left(x-15\right)^{2}=9
Factor x^{2}-30x+225. 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-15\right)^{2}}=\sqrt{9}
Take the square root of both sides of the equation.
x-15=3 x-15=-3
Simplify.
x=18 x=12
Add 15 to both sides of the equation.
Examples
Quadratic equation
{ x } ^ { 2 } - 4 x - 5 = 0
Trigonometry
4 \sin \theta \cos \theta = 2 \sin \theta
Linear equation
y = 3x + 4
Arithmetic
699 * 533
Matrix
\left[ \begin{array} { l l } { 2 } & { 3 } \\ { 5 } & { 4 } \end{array} \right] \left[ \begin{array} { l l l } { 2 } & { 0 } & { 3 } \\ { -1 } & { 1 } & { 5 } \end{array} \right]
Simultaneous equation
\left. \begin{cases} { 8x+2y = 46 } \\ { 7x+3y = 47 } \end{cases} \right.
Differentiation
\frac { d } { d x } \frac { ( 3 x ^ { 2 } - 2 ) } { ( x - 5 ) }
Integration
\int _ { 0 } ^ { 1 } x e ^ { - x ^ { 2 } } d x
Limits
\lim _{x \rightarrow-3} \frac{x^{2}-9}{x^{2}+2 x-3}