Skip to main content
Solve for x
Tick mark Image
Graph

Similar Problems from Web Search

Share

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