Integral of $$$- r^{2} + 2 z^{2}$$$ with respect to $$$r$$$

The calculator will find the integral/antiderivative of $$$- r^{2} + 2 z^{2}$$$ with respect to $$$r$$$, 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 \left(- r^{2} + 2 z^{2}\right)\, dr$$$.

Solution

Integrate term by term:

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

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

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

Apply the constant rule $$$\int c\, dr = c r$$$ with $$$c=2 z^{2}$$$:

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

Therefore,

$$\int{\left(- r^{2} + 2 z^{2}\right)d r} = - \frac{r^{3}}{3} + 2 r z^{2}$$

Simplify:

$$\int{\left(- r^{2} + 2 z^{2}\right)d r} = \frac{r \left(- r^{2} + 6 z^{2}\right)}{3}$$

Add the constant of integration:

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

Answer

$$$\int \left(- r^{2} + 2 z^{2}\right)\, dr = \frac{r \left(- r^{2} + 6 z^{2}\right)}{3} + C$$$A