Skip to main content
Solve for X
Tick mark Image

Similar Problems from Web Search

Share

9X^{2}+12X-21=0
Subtract 21 from both sides.
3X^{2}+4X-7=0
Divide both sides by 3.
a+b=4 ab=3\left(-7\right)=-21
To solve the equation, factor the left hand side by grouping. First, left hand side needs to be rewritten as 3X^{2}+aX+bX-7. To find a and b, set up a system to be solved.
-1,21 -3,7
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 -21.
-1+21=20 -3+7=4
Calculate the sum for each pair.
a=-3 b=7
The solution is the pair that gives sum 4.
\left(3X^{2}-3X\right)+\left(7X-7\right)
Rewrite 3X^{2}+4X-7 as \left(3X^{2}-3X\right)+\left(7X-7\right).
3X\left(X-1\right)+7\left(X-1\right)
Factor out 3X in the first and 7 in the second group.
\left(X-1\right)\left(3X+7\right)
Factor out common term X-1 by using distributive property.
X=1 X=-\frac{7}{3}
To find equation solutions, solve X-1=0 and 3X+7=0.
9X^{2}+12X=21
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.
9X^{2}+12X-21=21-21
Subtract 21 from both sides of the equation.
9X^{2}+12X-21=0
Subtracting 21 from itself leaves 0.
X=\frac{-12±\sqrt{12^{2}-4\times 9\left(-21\right)}}{2\times 9}
This equation is in standard form: ax^{2}+bx+c=0. Substitute 9 for a, 12 for b, and -21 for c in the quadratic formula, \frac{-b±\sqrt{b^{2}-4ac}}{2a}.
X=\frac{-12±\sqrt{144-4\times 9\left(-21\right)}}{2\times 9}
Square 12.
X=\frac{-12±\sqrt{144-36\left(-21\right)}}{2\times 9}
Multiply -4 times 9.
X=\frac{-12±\sqrt{144+756}}{2\times 9}
Multiply -36 times -21.
X=\frac{-12±\sqrt{900}}{2\times 9}
Add 144 to 756.
X=\frac{-12±30}{2\times 9}
Take the square root of 900.
X=\frac{-12±30}{18}
Multiply 2 times 9.
X=\frac{18}{18}
Now solve the equation X=\frac{-12±30}{18} when ± is plus. Add -12 to 30.
X=1
Divide 18 by 18.
X=-\frac{42}{18}
Now solve the equation X=\frac{-12±30}{18} when ± is minus. Subtract 30 from -12.
X=-\frac{7}{3}
Reduce the fraction \frac{-42}{18} to lowest terms by extracting and canceling out 6.
X=1 X=-\frac{7}{3}
The equation is now solved.
9X^{2}+12X=21
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{9X^{2}+12X}{9}=\frac{21}{9}
Divide both sides by 9.
X^{2}+\frac{12}{9}X=\frac{21}{9}
Dividing by 9 undoes the multiplication by 9.
X^{2}+\frac{4}{3}X=\frac{21}{9}
Reduce the fraction \frac{12}{9} to lowest terms by extracting and canceling out 3.
X^{2}+\frac{4}{3}X=\frac{7}{3}
Reduce the fraction \frac{21}{9} to lowest terms by extracting and canceling out 3.
X^{2}+\frac{4}{3}X+\left(\frac{2}{3}\right)^{2}=\frac{7}{3}+\left(\frac{2}{3}\right)^{2}
Divide \frac{4}{3}, the coefficient of the x term, by 2 to get \frac{2}{3}. Then add the square of \frac{2}{3} to both sides of the equation. This step makes the left hand side of the equation a perfect square.
X^{2}+\frac{4}{3}X+\frac{4}{9}=\frac{7}{3}+\frac{4}{9}
Square \frac{2}{3} by squaring both the numerator and the denominator of the fraction.
X^{2}+\frac{4}{3}X+\frac{4}{9}=\frac{25}{9}
Add \frac{7}{3} to \frac{4}{9} by finding a common denominator and adding the numerators. Then reduce the fraction to lowest terms if possible.
\left(X+\frac{2}{3}\right)^{2}=\frac{25}{9}
Factor X^{2}+\frac{4}{3}X+\frac{4}{9}. 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{2}{3}\right)^{2}}=\sqrt{\frac{25}{9}}
Take the square root of both sides of the equation.
X+\frac{2}{3}=\frac{5}{3} X+\frac{2}{3}=-\frac{5}{3}
Simplify.
X=1 X=-\frac{7}{3}
Subtract \frac{2}{3} from both sides of the equation.