Skip to main content
Solve for q
Tick mark Image

Similar Problems from Web Search

Share

3q^{2}-12q-15=0
Subtract 15 from both sides.
q^{2}-4q-5=0
Divide both sides by 3.
a+b=-4 ab=1\left(-5\right)=-5
To solve the equation, factor the left hand side by grouping. First, left hand side needs to be rewritten as q^{2}+aq+bq-5. To find a and b, set up a system to be solved.
a=-5 b=1
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. The only such pair is the system solution.
\left(q^{2}-5q\right)+\left(q-5\right)
Rewrite q^{2}-4q-5 as \left(q^{2}-5q\right)+\left(q-5\right).
q\left(q-5\right)+q-5
Factor out q in q^{2}-5q.
\left(q-5\right)\left(q+1\right)
Factor out common term q-5 by using distributive property.
q=5 q=-1
To find equation solutions, solve q-5=0 and q+1=0.
3q^{2}-12q=15
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.
3q^{2}-12q-15=15-15
Subtract 15 from both sides of the equation.
3q^{2}-12q-15=0
Subtracting 15 from itself leaves 0.
q=\frac{-\left(-12\right)±\sqrt{\left(-12\right)^{2}-4\times 3\left(-15\right)}}{2\times 3}
This equation is in standard form: ax^{2}+bx+c=0. Substitute 3 for a, -12 for b, and -15 for c in the quadratic formula, \frac{-b±\sqrt{b^{2}-4ac}}{2a}.
q=\frac{-\left(-12\right)±\sqrt{144-4\times 3\left(-15\right)}}{2\times 3}
Square -12.
q=\frac{-\left(-12\right)±\sqrt{144-12\left(-15\right)}}{2\times 3}
Multiply -4 times 3.
q=\frac{-\left(-12\right)±\sqrt{144+180}}{2\times 3}
Multiply -12 times -15.
q=\frac{-\left(-12\right)±\sqrt{324}}{2\times 3}
Add 144 to 180.
q=\frac{-\left(-12\right)±18}{2\times 3}
Take the square root of 324.
q=\frac{12±18}{2\times 3}
The opposite of -12 is 12.
q=\frac{12±18}{6}
Multiply 2 times 3.
q=\frac{30}{6}
Now solve the equation q=\frac{12±18}{6} when ± is plus. Add 12 to 18.
q=5
Divide 30 by 6.
q=-\frac{6}{6}
Now solve the equation q=\frac{12±18}{6} when ± is minus. Subtract 18 from 12.
q=-1
Divide -6 by 6.
q=5 q=-1
The equation is now solved.
3q^{2}-12q=15
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{3q^{2}-12q}{3}=\frac{15}{3}
Divide both sides by 3.
q^{2}+\left(-\frac{12}{3}\right)q=\frac{15}{3}
Dividing by 3 undoes the multiplication by 3.
q^{2}-4q=\frac{15}{3}
Divide -12 by 3.
q^{2}-4q=5
Divide 15 by 3.
q^{2}-4q+\left(-2\right)^{2}=5+\left(-2\right)^{2}
Divide -4, the coefficient of the x term, by 2 to get -2. Then add the square of -2 to both sides of the equation. This step makes the left hand side of the equation a perfect square.
q^{2}-4q+4=5+4
Square -2.
q^{2}-4q+4=9
Add 5 to 4.
\left(q-2\right)^{2}=9
Factor q^{2}-4q+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(q-2\right)^{2}}=\sqrt{9}
Take the square root of both sides of the equation.
q-2=3 q-2=-3
Simplify.
q=5 q=-1
Add 2 to both sides of the equation.