Solve for n
n=-45
n=40
Share
Copied to clipboard
\left(n+5\right)\times 360-n\times 360=n\left(n+5\right)
Variable n cannot be equal to any of the values -5,0 since division by zero is not defined. Multiply both sides of the equation by n\left(n+5\right), the least common multiple of n,n+5.
360n+1800-n\times 360=n\left(n+5\right)
Use the distributive property to multiply n+5 by 360.
360n+1800-n\times 360=n^{2}+5n
Use the distributive property to multiply n by n+5.
360n+1800-n\times 360-n^{2}=5n
Subtract n^{2} from both sides.
360n+1800-n\times 360-n^{2}-5n=0
Subtract 5n from both sides.
355n+1800-n\times 360-n^{2}=0
Combine 360n and -5n to get 355n.
355n+1800-360n-n^{2}=0
Multiply -1 and 360 to get -360.
-5n+1800-n^{2}=0
Combine 355n and -360n to get -5n.
-n^{2}-5n+1800=0
Rearrange the polynomial to put it in standard form. Place the terms in order from highest to lowest power.
a+b=-5 ab=-1800=-1800
To solve the equation, factor the left hand side by grouping. First, left hand side needs to be rewritten as -n^{2}+an+bn+1800. To find a and b, set up a system to be solved.
1,-1800 2,-900 3,-600 4,-450 5,-360 6,-300 8,-225 9,-200 10,-180 12,-150 15,-120 18,-100 20,-90 24,-75 25,-72 30,-60 36,-50 40,-45
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 -1800.
1-1800=-1799 2-900=-898 3-600=-597 4-450=-446 5-360=-355 6-300=-294 8-225=-217 9-200=-191 10-180=-170 12-150=-138 15-120=-105 18-100=-82 20-90=-70 24-75=-51 25-72=-47 30-60=-30 36-50=-14 40-45=-5
Calculate the sum for each pair.
a=40 b=-45
The solution is the pair that gives sum -5.
\left(-n^{2}+40n\right)+\left(-45n+1800\right)
Rewrite -n^{2}-5n+1800 as \left(-n^{2}+40n\right)+\left(-45n+1800\right).
n\left(-n+40\right)+45\left(-n+40\right)
Factor out n in the first and 45 in the second group.
\left(-n+40\right)\left(n+45\right)
Factor out common term -n+40 by using distributive property.
n=40 n=-45
To find equation solutions, solve -n+40=0 and n+45=0.
\left(n+5\right)\times 360-n\times 360=n\left(n+5\right)
Variable n cannot be equal to any of the values -5,0 since division by zero is not defined. Multiply both sides of the equation by n\left(n+5\right), the least common multiple of n,n+5.
360n+1800-n\times 360=n\left(n+5\right)
Use the distributive property to multiply n+5 by 360.
360n+1800-n\times 360=n^{2}+5n
Use the distributive property to multiply n by n+5.
360n+1800-n\times 360-n^{2}=5n
Subtract n^{2} from both sides.
360n+1800-n\times 360-n^{2}-5n=0
Subtract 5n from both sides.
355n+1800-n\times 360-n^{2}=0
Combine 360n and -5n to get 355n.
355n+1800-360n-n^{2}=0
Multiply -1 and 360 to get -360.
-5n+1800-n^{2}=0
Combine 355n and -360n to get -5n.
-n^{2}-5n+1800=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.
n=\frac{-\left(-5\right)±\sqrt{\left(-5\right)^{2}-4\left(-1\right)\times 1800}}{2\left(-1\right)}
This equation is in standard form: ax^{2}+bx+c=0. Substitute -1 for a, -5 for b, and 1800 for c in the quadratic formula, \frac{-b±\sqrt{b^{2}-4ac}}{2a}.
n=\frac{-\left(-5\right)±\sqrt{25-4\left(-1\right)\times 1800}}{2\left(-1\right)}
Square -5.
n=\frac{-\left(-5\right)±\sqrt{25+4\times 1800}}{2\left(-1\right)}
Multiply -4 times -1.
n=\frac{-\left(-5\right)±\sqrt{25+7200}}{2\left(-1\right)}
Multiply 4 times 1800.
n=\frac{-\left(-5\right)±\sqrt{7225}}{2\left(-1\right)}
Add 25 to 7200.
n=\frac{-\left(-5\right)±85}{2\left(-1\right)}
Take the square root of 7225.
n=\frac{5±85}{2\left(-1\right)}
The opposite of -5 is 5.
n=\frac{5±85}{-2}
Multiply 2 times -1.
n=\frac{90}{-2}
Now solve the equation n=\frac{5±85}{-2} when ± is plus. Add 5 to 85.
n=-45
Divide 90 by -2.
n=-\frac{80}{-2}
Now solve the equation n=\frac{5±85}{-2} when ± is minus. Subtract 85 from 5.
n=40
Divide -80 by -2.
n=-45 n=40
The equation is now solved.
\left(n+5\right)\times 360-n\times 360=n\left(n+5\right)
Variable n cannot be equal to any of the values -5,0 since division by zero is not defined. Multiply both sides of the equation by n\left(n+5\right), the least common multiple of n,n+5.
360n+1800-n\times 360=n\left(n+5\right)
Use the distributive property to multiply n+5 by 360.
360n+1800-n\times 360=n^{2}+5n
Use the distributive property to multiply n by n+5.
360n+1800-n\times 360-n^{2}=5n
Subtract n^{2} from both sides.
360n+1800-n\times 360-n^{2}-5n=0
Subtract 5n from both sides.
355n+1800-n\times 360-n^{2}=0
Combine 360n and -5n to get 355n.
355n-n\times 360-n^{2}=-1800
Subtract 1800 from both sides. Anything subtracted from zero gives its negation.
355n-360n-n^{2}=-1800
Multiply -1 and 360 to get -360.
-5n-n^{2}=-1800
Combine 355n and -360n to get -5n.
-n^{2}-5n=-1800
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{-n^{2}-5n}{-1}=-\frac{1800}{-1}
Divide both sides by -1.
n^{2}+\left(-\frac{5}{-1}\right)n=-\frac{1800}{-1}
Dividing by -1 undoes the multiplication by -1.
n^{2}+5n=-\frac{1800}{-1}
Divide -5 by -1.
n^{2}+5n=1800
Divide -1800 by -1.
n^{2}+5n+\left(\frac{5}{2}\right)^{2}=1800+\left(\frac{5}{2}\right)^{2}
Divide 5, the coefficient of the x term, by 2 to get \frac{5}{2}. Then add the square of \frac{5}{2} to both sides of the equation. This step makes the left hand side of the equation a perfect square.
n^{2}+5n+\frac{25}{4}=1800+\frac{25}{4}
Square \frac{5}{2} by squaring both the numerator and the denominator of the fraction.
n^{2}+5n+\frac{25}{4}=\frac{7225}{4}
Add 1800 to \frac{25}{4}.
\left(n+\frac{5}{2}\right)^{2}=\frac{7225}{4}
Factor n^{2}+5n+\frac{25}{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(n+\frac{5}{2}\right)^{2}}=\sqrt{\frac{7225}{4}}
Take the square root of both sides of the equation.
n+\frac{5}{2}=\frac{85}{2} n+\frac{5}{2}=-\frac{85}{2}
Simplify.
n=40 n=-45
Subtract \frac{5}{2} 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}