Skip to main content
Solve for x
Tick mark Image
Graph

Similar Problems from Web Search

Share

x^{2}-3x-270=0
Divide both sides by 2.
a+b=-3 ab=1\left(-270\right)=-270
To solve the equation, factor the left hand side by grouping. First, left hand side needs to be rewritten as x^{2}+ax+bx-270. To find a and b, set up a system to be solved.
1,-270 2,-135 3,-90 5,-54 6,-45 9,-30 10,-27 15,-18
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 -270.
1-270=-269 2-135=-133 3-90=-87 5-54=-49 6-45=-39 9-30=-21 10-27=-17 15-18=-3
Calculate the sum for each pair.
a=-18 b=15
The solution is the pair that gives sum -3.
\left(x^{2}-18x\right)+\left(15x-270\right)
Rewrite x^{2}-3x-270 as \left(x^{2}-18x\right)+\left(15x-270\right).
x\left(x-18\right)+15\left(x-18\right)
Factor out x in the first and 15 in the second group.
\left(x-18\right)\left(x+15\right)
Factor out common term x-18 by using distributive property.
x=18 x=-15
To find equation solutions, solve x-18=0 and x+15=0.
2x^{2}-6x-540=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{-\left(-6\right)±\sqrt{\left(-6\right)^{2}-4\times 2\left(-540\right)}}{2\times 2}
This equation is in standard form: ax^{2}+bx+c=0. Substitute 2 for a, -6 for b, and -540 for c in the quadratic formula, \frac{-b±\sqrt{b^{2}-4ac}}{2a}.
x=\frac{-\left(-6\right)±\sqrt{36-4\times 2\left(-540\right)}}{2\times 2}
Square -6.
x=\frac{-\left(-6\right)±\sqrt{36-8\left(-540\right)}}{2\times 2}
Multiply -4 times 2.
x=\frac{-\left(-6\right)±\sqrt{36+4320}}{2\times 2}
Multiply -8 times -540.
x=\frac{-\left(-6\right)±\sqrt{4356}}{2\times 2}
Add 36 to 4320.
x=\frac{-\left(-6\right)±66}{2\times 2}
Take the square root of 4356.
x=\frac{6±66}{2\times 2}
The opposite of -6 is 6.
x=\frac{6±66}{4}
Multiply 2 times 2.
x=\frac{72}{4}
Now solve the equation x=\frac{6±66}{4} when ± is plus. Add 6 to 66.
x=18
Divide 72 by 4.
x=-\frac{60}{4}
Now solve the equation x=\frac{6±66}{4} when ± is minus. Subtract 66 from 6.
x=-15
Divide -60 by 4.
x=18 x=-15
The equation is now solved.
2x^{2}-6x-540=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.
2x^{2}-6x-540-\left(-540\right)=-\left(-540\right)
Add 540 to both sides of the equation.
2x^{2}-6x=-\left(-540\right)
Subtracting -540 from itself leaves 0.
2x^{2}-6x=540
Subtract -540 from 0.
\frac{2x^{2}-6x}{2}=\frac{540}{2}
Divide both sides by 2.
x^{2}+\left(-\frac{6}{2}\right)x=\frac{540}{2}
Dividing by 2 undoes the multiplication by 2.
x^{2}-3x=\frac{540}{2}
Divide -6 by 2.
x^{2}-3x=270
Divide 540 by 2.
x^{2}-3x+\left(-\frac{3}{2}\right)^{2}=270+\left(-\frac{3}{2}\right)^{2}
Divide -3, the coefficient of the x term, by 2 to get -\frac{3}{2}. Then add the square of -\frac{3}{2} to both sides of the equation. This step makes the left hand side of the equation a perfect square.
x^{2}-3x+\frac{9}{4}=270+\frac{9}{4}
Square -\frac{3}{2} by squaring both the numerator and the denominator of the fraction.
x^{2}-3x+\frac{9}{4}=\frac{1089}{4}
Add 270 to \frac{9}{4}.
\left(x-\frac{3}{2}\right)^{2}=\frac{1089}{4}
Factor x^{2}-3x+\frac{9}{4}. 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{3}{2}\right)^{2}}=\sqrt{\frac{1089}{4}}
Take the square root of both sides of the equation.
x-\frac{3}{2}=\frac{33}{2} x-\frac{3}{2}=-\frac{33}{2}
Simplify.
x=18 x=-15
Add \frac{3}{2} to both sides of the equation.