Integral of $$$\cos^{3}{\left(x \right)}$$$

The calculator will find the integral/antiderivative of $$$\cos^{3}{\left(x \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 write it in the comments below.

Your Input

Find $$$\int \cos^{3}{\left(x \right)}\, dx$$$.

Solution

Strip out one cosine and write everything else in terms of the sine, using the formula $$$\cos^2\left(\alpha \right)=-\sin^2\left(\alpha \right)+1$$$ with $$$\alpha=x$$$:

$${\color{red}{\int{\cos^{3}{\left(x \right)} d x}}} = {\color{red}{\int{\left(1 - \sin^{2}{\left(x \right)}\right) \cos{\left(x \right)} d x}}}$$

Let $$$u=\sin{\left(x \right)}$$$.

Then $$$du=\left(\sin{\left(x \right)}\right)^{\prime }dx = \cos{\left(x \right)} dx$$$ (steps can be seen here), and we have that $$$\cos{\left(x \right)} dx = du$$$.

Therefore,

$${\color{red}{\int{\left(1 - \sin^{2}{\left(x \right)}\right) \cos{\left(x \right)} d x}}} = {\color{red}{\int{\left(1 - u^{2}\right)d u}}}$$

Integrate term by term:

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

Apply the constant rule $$$\int c\, du = c u$$$ with $$$c=1$$$:

$$- \int{u^{2} d u} + {\color{red}{\int{1 d u}}} = - \int{u^{2} d u} + {\color{red}{u}}$$

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

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

Recall that $$$u=\sin{\left(x \right)}$$$:

$${\color{red}{u}} - \frac{{\color{red}{u}}^{3}}{3} = {\color{red}{\sin{\left(x \right)}}} - \frac{{\color{red}{\sin{\left(x \right)}}}^{3}}{3}$$

Therefore,

$$\int{\cos^{3}{\left(x \right)} d x} = - \frac{\sin^{3}{\left(x \right)}}{3} + \sin{\left(x \right)}$$

Add the constant of integration:

$$\int{\cos^{3}{\left(x \right)} d x} = - \frac{\sin^{3}{\left(x \right)}}{3} + \sin{\left(x \right)}+C$$

Answer: $$$\int{\cos^{3}{\left(x \right)} d x}=- \frac{\sin^{3}{\left(x \right)}}{3} + \sin{\left(x \right)}+C$$$