Solve for k
k=-17
k=5
Share
Copied to clipboard
k^{2}+12k-79-6=0
Subtract 6 from both sides.
k^{2}+12k-85=0
Subtract 6 from -79 to get -85.
a+b=12 ab=-85
To solve the equation, factor k^{2}+12k-85 using formula k^{2}+\left(a+b\right)k+ab=\left(k+a\right)\left(k+b\right). To find a and b, set up a system to be solved.
-1,85 -5,17
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 -85.
-1+85=84 -5+17=12
Calculate the sum for each pair.
a=-5 b=17
The solution is the pair that gives sum 12.
\left(k-5\right)\left(k+17\right)
Rewrite factored expression \left(k+a\right)\left(k+b\right) using the obtained values.
k=5 k=-17
To find equation solutions, solve k-5=0 and k+17=0.
k^{2}+12k-79-6=0
Subtract 6 from both sides.
k^{2}+12k-85=0
Subtract 6 from -79 to get -85.
a+b=12 ab=1\left(-85\right)=-85
To solve the equation, factor the left hand side by grouping. First, left hand side needs to be rewritten as k^{2}+ak+bk-85. To find a and b, set up a system to be solved.
-1,85 -5,17
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 -85.
-1+85=84 -5+17=12
Calculate the sum for each pair.
a=-5 b=17
The solution is the pair that gives sum 12.
\left(k^{2}-5k\right)+\left(17k-85\right)
Rewrite k^{2}+12k-85 as \left(k^{2}-5k\right)+\left(17k-85\right).
k\left(k-5\right)+17\left(k-5\right)
Factor out k in the first and 17 in the second group.
\left(k-5\right)\left(k+17\right)
Factor out common term k-5 by using distributive property.
k=5 k=-17
To find equation solutions, solve k-5=0 and k+17=0.
k^{2}+12k-79=6
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.
k^{2}+12k-79-6=6-6
Subtract 6 from both sides of the equation.
k^{2}+12k-79-6=0
Subtracting 6 from itself leaves 0.
k^{2}+12k-85=0
Subtract 6 from -79.
k=\frac{-12±\sqrt{12^{2}-4\left(-85\right)}}{2}
This equation is in standard form: ax^{2}+bx+c=0. Substitute 1 for a, 12 for b, and -85 for c in the quadratic formula, \frac{-b±\sqrt{b^{2}-4ac}}{2a}.
k=\frac{-12±\sqrt{144-4\left(-85\right)}}{2}
Square 12.
k=\frac{-12±\sqrt{144+340}}{2}
Multiply -4 times -85.
k=\frac{-12±\sqrt{484}}{2}
Add 144 to 340.
k=\frac{-12±22}{2}
Take the square root of 484.
k=\frac{10}{2}
Now solve the equation k=\frac{-12±22}{2} when ± is plus. Add -12 to 22.
k=5
Divide 10 by 2.
k=-\frac{34}{2}
Now solve the equation k=\frac{-12±22}{2} when ± is minus. Subtract 22 from -12.
k=-17
Divide -34 by 2.
k=5 k=-17
The equation is now solved.
k^{2}+12k-79=6
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.
k^{2}+12k-79-\left(-79\right)=6-\left(-79\right)
Add 79 to both sides of the equation.
k^{2}+12k=6-\left(-79\right)
Subtracting -79 from itself leaves 0.
k^{2}+12k=85
Subtract -79 from 6.
k^{2}+12k+6^{2}=85+6^{2}
Divide 12, the coefficient of the x term, by 2 to get 6. Then add the square of 6 to both sides of the equation. This step makes the left hand side of the equation a perfect square.
k^{2}+12k+36=85+36
Square 6.
k^{2}+12k+36=121
Add 85 to 36.
\left(k+6\right)^{2}=121
Factor k^{2}+12k+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(k+6\right)^{2}}=\sqrt{121}
Take the square root of both sides of the equation.
k+6=11 k+6=-11
Simplify.
k=5 k=-17
Subtract 6 from 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}