Solve for n
n = -\frac{40}{3} = -13\frac{1}{3} \approx -13.333333333
n=13
Share
Copied to clipboard
a+b=1 ab=3\left(-520\right)=-1560
To solve the equation, factor the left hand side by grouping. First, left hand side needs to be rewritten as 3n^{2}+an+bn-520. To find a and b, set up a system to be solved.
-1,1560 -2,780 -3,520 -4,390 -5,312 -6,260 -8,195 -10,156 -12,130 -13,120 -15,104 -20,78 -24,65 -26,60 -30,52 -39,40
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 -1560.
-1+1560=1559 -2+780=778 -3+520=517 -4+390=386 -5+312=307 -6+260=254 -8+195=187 -10+156=146 -12+130=118 -13+120=107 -15+104=89 -20+78=58 -24+65=41 -26+60=34 -30+52=22 -39+40=1
Calculate the sum for each pair.
a=-39 b=40
The solution is the pair that gives sum 1.
\left(3n^{2}-39n\right)+\left(40n-520\right)
Rewrite 3n^{2}+n-520 as \left(3n^{2}-39n\right)+\left(40n-520\right).
3n\left(n-13\right)+40\left(n-13\right)
Factor out 3n in the first and 40 in the second group.
\left(n-13\right)\left(3n+40\right)
Factor out common term n-13 by using distributive property.
n=13 n=-\frac{40}{3}
To find equation solutions, solve n-13=0 and 3n+40=0.
3n^{2}+n-520=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{-1±\sqrt{1^{2}-4\times 3\left(-520\right)}}{2\times 3}
This equation is in standard form: ax^{2}+bx+c=0. Substitute 3 for a, 1 for b, and -520 for c in the quadratic formula, \frac{-b±\sqrt{b^{2}-4ac}}{2a}.
n=\frac{-1±\sqrt{1-4\times 3\left(-520\right)}}{2\times 3}
Square 1.
n=\frac{-1±\sqrt{1-12\left(-520\right)}}{2\times 3}
Multiply -4 times 3.
n=\frac{-1±\sqrt{1+6240}}{2\times 3}
Multiply -12 times -520.
n=\frac{-1±\sqrt{6241}}{2\times 3}
Add 1 to 6240.
n=\frac{-1±79}{2\times 3}
Take the square root of 6241.
n=\frac{-1±79}{6}
Multiply 2 times 3.
n=\frac{78}{6}
Now solve the equation n=\frac{-1±79}{6} when ± is plus. Add -1 to 79.
n=13
Divide 78 by 6.
n=-\frac{80}{6}
Now solve the equation n=\frac{-1±79}{6} when ± is minus. Subtract 79 from -1.
n=-\frac{40}{3}
Reduce the fraction \frac{-80}{6} to lowest terms by extracting and canceling out 2.
n=13 n=-\frac{40}{3}
The equation is now solved.
3n^{2}+n-520=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.
3n^{2}+n-520-\left(-520\right)=-\left(-520\right)
Add 520 to both sides of the equation.
3n^{2}+n=-\left(-520\right)
Subtracting -520 from itself leaves 0.
3n^{2}+n=520
Subtract -520 from 0.
\frac{3n^{2}+n}{3}=\frac{520}{3}
Divide both sides by 3.
n^{2}+\frac{1}{3}n=\frac{520}{3}
Dividing by 3 undoes the multiplication by 3.
n^{2}+\frac{1}{3}n+\left(\frac{1}{6}\right)^{2}=\frac{520}{3}+\left(\frac{1}{6}\right)^{2}
Divide \frac{1}{3}, the coefficient of the x term, by 2 to get \frac{1}{6}. Then add the square of \frac{1}{6} to both sides of the equation. This step makes the left hand side of the equation a perfect square.
n^{2}+\frac{1}{3}n+\frac{1}{36}=\frac{520}{3}+\frac{1}{36}
Square \frac{1}{6} by squaring both the numerator and the denominator of the fraction.
n^{2}+\frac{1}{3}n+\frac{1}{36}=\frac{6241}{36}
Add \frac{520}{3} to \frac{1}{36} by finding a common denominator and adding the numerators. Then reduce the fraction to lowest terms if possible.
\left(n+\frac{1}{6}\right)^{2}=\frac{6241}{36}
Factor n^{2}+\frac{1}{3}n+\frac{1}{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(n+\frac{1}{6}\right)^{2}}=\sqrt{\frac{6241}{36}}
Take the square root of both sides of the equation.
n+\frac{1}{6}=\frac{79}{6} n+\frac{1}{6}=-\frac{79}{6}
Simplify.
n=13 n=-\frac{40}{3}
Subtract \frac{1}{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}