Solve for b
b=-8
b=12
Share
Copied to clipboard
b^{2}-4b-96=0
Subtract 96 from both sides.
a+b=-4 ab=-96
To solve the equation, factor b^{2}-4b-96 using formula b^{2}+\left(a+b\right)b+ab=\left(b+a\right)\left(b+b\right). To find a and b, set up a system to be solved.
1,-96 2,-48 3,-32 4,-24 6,-16 8,-12
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 -96.
1-96=-95 2-48=-46 3-32=-29 4-24=-20 6-16=-10 8-12=-4
Calculate the sum for each pair.
a=-12 b=8
The solution is the pair that gives sum -4.
\left(b-12\right)\left(b+8\right)
Rewrite factored expression \left(b+a\right)\left(b+b\right) using the obtained values.
b=12 b=-8
To find equation solutions, solve b-12=0 and b+8=0.
b^{2}-4b-96=0
Subtract 96 from both sides.
a+b=-4 ab=1\left(-96\right)=-96
To solve the equation, factor the left hand side by grouping. First, left hand side needs to be rewritten as b^{2}+ab+bb-96. To find a and b, set up a system to be solved.
1,-96 2,-48 3,-32 4,-24 6,-16 8,-12
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 -96.
1-96=-95 2-48=-46 3-32=-29 4-24=-20 6-16=-10 8-12=-4
Calculate the sum for each pair.
a=-12 b=8
The solution is the pair that gives sum -4.
\left(b^{2}-12b\right)+\left(8b-96\right)
Rewrite b^{2}-4b-96 as \left(b^{2}-12b\right)+\left(8b-96\right).
b\left(b-12\right)+8\left(b-12\right)
Factor out b in the first and 8 in the second group.
\left(b-12\right)\left(b+8\right)
Factor out common term b-12 by using distributive property.
b=12 b=-8
To find equation solutions, solve b-12=0 and b+8=0.
b^{2}-4b=96
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.
b^{2}-4b-96=96-96
Subtract 96 from both sides of the equation.
b^{2}-4b-96=0
Subtracting 96 from itself leaves 0.
b=\frac{-\left(-4\right)±\sqrt{\left(-4\right)^{2}-4\left(-96\right)}}{2}
This equation is in standard form: ax^{2}+bx+c=0. Substitute 1 for a, -4 for b, and -96 for c in the quadratic formula, \frac{-b±\sqrt{b^{2}-4ac}}{2a}.
b=\frac{-\left(-4\right)±\sqrt{16-4\left(-96\right)}}{2}
Square -4.
b=\frac{-\left(-4\right)±\sqrt{16+384}}{2}
Multiply -4 times -96.
b=\frac{-\left(-4\right)±\sqrt{400}}{2}
Add 16 to 384.
b=\frac{-\left(-4\right)±20}{2}
Take the square root of 400.
b=\frac{4±20}{2}
The opposite of -4 is 4.
b=\frac{24}{2}
Now solve the equation b=\frac{4±20}{2} when ± is plus. Add 4 to 20.
b=12
Divide 24 by 2.
b=-\frac{16}{2}
Now solve the equation b=\frac{4±20}{2} when ± is minus. Subtract 20 from 4.
b=-8
Divide -16 by 2.
b=12 b=-8
The equation is now solved.
b^{2}-4b=96
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.
b^{2}-4b+\left(-2\right)^{2}=96+\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.
b^{2}-4b+4=96+4
Square -2.
b^{2}-4b+4=100
Add 96 to 4.
\left(b-2\right)^{2}=100
Factor b^{2}-4b+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(b-2\right)^{2}}=\sqrt{100}
Take the square root of both sides of the equation.
b-2=10 b-2=-10
Simplify.
b=12 b=-8
Add 2 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}