Solve for x
x=18
x=42
Graph
Share
Copied to clipboard
-\frac{1}{3}x^{2}+20x=252
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.
-\frac{1}{3}x^{2}+20x-252=252-252
Subtract 252 from both sides of the equation.
-\frac{1}{3}x^{2}+20x-252=0
Subtracting 252 from itself leaves 0.
x=\frac{-20±\sqrt{20^{2}-4\left(-\frac{1}{3}\right)\left(-252\right)}}{2\left(-\frac{1}{3}\right)}
This equation is in standard form: ax^{2}+bx+c=0. Substitute -\frac{1}{3} for a, 20 for b, and -252 for c in the quadratic formula, \frac{-b±\sqrt{b^{2}-4ac}}{2a}.
x=\frac{-20±\sqrt{400-4\left(-\frac{1}{3}\right)\left(-252\right)}}{2\left(-\frac{1}{3}\right)}
Square 20.
x=\frac{-20±\sqrt{400+\frac{4}{3}\left(-252\right)}}{2\left(-\frac{1}{3}\right)}
Multiply -4 times -\frac{1}{3}.
x=\frac{-20±\sqrt{400-336}}{2\left(-\frac{1}{3}\right)}
Multiply \frac{4}{3} times -252.
x=\frac{-20±\sqrt{64}}{2\left(-\frac{1}{3}\right)}
Add 400 to -336.
x=\frac{-20±8}{2\left(-\frac{1}{3}\right)}
Take the square root of 64.
x=\frac{-20±8}{-\frac{2}{3}}
Multiply 2 times -\frac{1}{3}.
x=-\frac{12}{-\frac{2}{3}}
Now solve the equation x=\frac{-20±8}{-\frac{2}{3}} when ± is plus. Add -20 to 8.
x=18
Divide -12 by -\frac{2}{3} by multiplying -12 by the reciprocal of -\frac{2}{3}.
x=-\frac{28}{-\frac{2}{3}}
Now solve the equation x=\frac{-20±8}{-\frac{2}{3}} when ± is minus. Subtract 8 from -20.
x=42
Divide -28 by -\frac{2}{3} by multiplying -28 by the reciprocal of -\frac{2}{3}.
x=18 x=42
The equation is now solved.
-\frac{1}{3}x^{2}+20x=252
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{-\frac{1}{3}x^{2}+20x}{-\frac{1}{3}}=\frac{252}{-\frac{1}{3}}
Multiply both sides by -3.
x^{2}+\frac{20}{-\frac{1}{3}}x=\frac{252}{-\frac{1}{3}}
Dividing by -\frac{1}{3} undoes the multiplication by -\frac{1}{3}.
x^{2}-60x=\frac{252}{-\frac{1}{3}}
Divide 20 by -\frac{1}{3} by multiplying 20 by the reciprocal of -\frac{1}{3}.
x^{2}-60x=-756
Divide 252 by -\frac{1}{3} by multiplying 252 by the reciprocal of -\frac{1}{3}.
x^{2}-60x+\left(-30\right)^{2}=-756+\left(-30\right)^{2}
Divide -60, the coefficient of the x term, by 2 to get -30. Then add the square of -30 to both sides of the equation. This step makes the left hand side of the equation a perfect square.
x^{2}-60x+900=-756+900
Square -30.
x^{2}-60x+900=144
Add -756 to 900.
\left(x-30\right)^{2}=144
Factor x^{2}-60x+900. 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-30\right)^{2}}=\sqrt{144}
Take the square root of both sides of the equation.
x-30=12 x-30=-12
Simplify.
x=42 x=18
Add 30 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}