Integral of $$$n \left(n - 1\right)$$$

The calculator will find the integral/antiderivative of $$$n \left(n - 1\right)$$$, with steps shown.

Related calculator: Definite and Improper Integral Calculator

Please write without any differentials such as $$$dx$$$, $$$dy$$$ etc.
Leave empty for autodetection.

If the calculator did not compute something or you have identified an error, or you have a suggestion/feedback, please contact us.

Your Input

Find $$$\int n \left(n - 1\right)\, dn$$$.

Solution

Expand the expression:

$${\color{red}{\int{n \left(n - 1\right) d n}}} = {\color{red}{\int{\left(n^{2} - n\right)d n}}}$$

Integrate term by term:

$${\color{red}{\int{\left(n^{2} - n\right)d n}}} = {\color{red}{\left(- \int{n d n} + \int{n^{2} d n}\right)}}$$

Apply the power rule $$$\int n^{n}\, dn = \frac{n^{n + 1}}{n + 1}$$$ $$$\left(n \neq -1 \right)$$$ with $$$n=2$$$:

$$- \int{n d n} + {\color{red}{\int{n^{2} d n}}}=- \int{n d n} + {\color{red}{\frac{n^{1 + 2}}{1 + 2}}}=- \int{n d n} + {\color{red}{\left(\frac{n^{3}}{3}\right)}}$$

Apply the power rule $$$\int n^{n}\, dn = \frac{n^{n + 1}}{n + 1}$$$ $$$\left(n \neq -1 \right)$$$ with $$$n=1$$$:

$$\frac{n^{3}}{3} - {\color{red}{\int{n d n}}}=\frac{n^{3}}{3} - {\color{red}{\frac{n^{1 + 1}}{1 + 1}}}=\frac{n^{3}}{3} - {\color{red}{\left(\frac{n^{2}}{2}\right)}}$$

Therefore,

$$\int{n \left(n - 1\right) d n} = \frac{n^{3}}{3} - \frac{n^{2}}{2}$$

Simplify:

$$\int{n \left(n - 1\right) d n} = \frac{n^{2} \left(2 n - 3\right)}{6}$$

Add the constant of integration:

$$\int{n \left(n - 1\right) d n} = \frac{n^{2} \left(2 n - 3\right)}{6}+C$$

Answer

$$$\int n \left(n - 1\right)\, dn = \frac{n^{2} \left(2 n - 3\right)}{6} + C$$$A


Please try a new game Rotatly