Solve for r
r=-7
r=-1
Share
Copied to clipboard
r^{2}+8r+7=0
Rearrange the polynomial to put it in standard form. Place the terms in order from highest to lowest power.
a+b=8 ab=7
To solve the equation, factor r^{2}+8r+7 using formula r^{2}+\left(a+b\right)r+ab=\left(r+a\right)\left(r+b\right). To find a and b, set up a system to be solved.
a=1 b=7
Since ab is positive, a and b have the same sign. Since a+b is positive, a and b are both positive. The only such pair is the system solution.
\left(r+1\right)\left(r+7\right)
Rewrite factored expression \left(r+a\right)\left(r+b\right) using the obtained values.
r=-1 r=-7
To find equation solutions, solve r+1=0 and r+7=0.
r^{2}+8r+7=0
Rearrange the polynomial to put it in standard form. Place the terms in order from highest to lowest power.
a+b=8 ab=1\times 7=7
To solve the equation, factor the left hand side by grouping. First, left hand side needs to be rewritten as r^{2}+ar+br+7. To find a and b, set up a system to be solved.
a=1 b=7
Since ab is positive, a and b have the same sign. Since a+b is positive, a and b are both positive. The only such pair is the system solution.
\left(r^{2}+r\right)+\left(7r+7\right)
Rewrite r^{2}+8r+7 as \left(r^{2}+r\right)+\left(7r+7\right).
r\left(r+1\right)+7\left(r+1\right)
Factor out r in the first and 7 in the second group.
\left(r+1\right)\left(r+7\right)
Factor out common term r+1 by using distributive property.
r=-1 r=-7
To find equation solutions, solve r+1=0 and r+7=0.
r^{2}+8r+7=0
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.
r=\frac{-8±\sqrt{8^{2}-4\times 7}}{2}
This equation is in standard form: ax^{2}+bx+c=0. Substitute 1 for a, 8 for b, and 7 for c in the quadratic formula, \frac{-b±\sqrt{b^{2}-4ac}}{2a}.
r=\frac{-8±\sqrt{64-4\times 7}}{2}
Square 8.
r=\frac{-8±\sqrt{64-28}}{2}
Multiply -4 times 7.
r=\frac{-8±\sqrt{36}}{2}
Add 64 to -28.
r=\frac{-8±6}{2}
Take the square root of 36.
r=-\frac{2}{2}
Now solve the equation r=\frac{-8±6}{2} when ± is plus. Add -8 to 6.
r=-1
Divide -2 by 2.
r=-\frac{14}{2}
Now solve the equation r=\frac{-8±6}{2} when ± is minus. Subtract 6 from -8.
r=-7
Divide -14 by 2.
r=-1 r=-7
The equation is now solved.
r^{2}+8r+7=0
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.
r^{2}+8r+7-7=-7
Subtract 7 from both sides of the equation.
r^{2}+8r=-7
Subtracting 7 from itself leaves 0.
r^{2}+8r+4^{2}=-7+4^{2}
Divide 8, the coefficient of the x term, by 2 to get 4. Then add the square of 4 to both sides of the equation. This step makes the left hand side of the equation a perfect square.
r^{2}+8r+16=-7+16
Square 4.
r^{2}+8r+16=9
Add -7 to 16.
\left(r+4\right)^{2}=9
Factor r^{2}+8r+16. 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(r+4\right)^{2}}=\sqrt{9}
Take the square root of both sides of the equation.
r+4=3 r+4=-3
Simplify.
r=-1 r=-7
Subtract 4 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}