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

The calculator will find the integral/antiderivative of $$$\cos^{7}{\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 contact us.

Your Input

Find $$$\int \cos^{7}{\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^{7}{\left(x \right)} d x}}} = {\color{red}{\int{\left(1 - \sin^{2}{\left(x \right)}\right)^{3} \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 »), and we have that $$$\cos{\left(x \right)} dx = du$$$.

Thus,

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

Expand the expression:

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

Integrate term by term:

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

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

$$- \int{3 u^{2} d u} + \int{3 u^{4} d u} - \int{u^{6} d u} + {\color{red}{\int{1 d u}}} = - \int{3 u^{2} d u} + \int{3 u^{4} d u} - \int{u^{6} 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=6$$$:

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

Apply the constant multiple rule $$$\int c f{\left(u \right)}\, du = c \int f{\left(u \right)}\, du$$$ with $$$c=3$$$ and $$$f{\left(u \right)} = u^{2}$$$:

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

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

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

Apply the constant multiple rule $$$\int c f{\left(u \right)}\, du = c \int f{\left(u \right)}\, du$$$ with $$$c=3$$$ and $$$f{\left(u \right)} = u^{4}$$$:

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

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

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

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

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

Therefore,

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

Simplify:

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

Add the constant of integration:

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

Answer

$$$\int \cos^{7}{\left(x \right)}\, dx = \left(- \frac{\sin^{7}{\left(x \right)}}{7} + \frac{3 \sin^{5}{\left(x \right)}}{5} + \sin{\left(x \right)} \cos^{2}{\left(x \right)}\right) + C$$$A


Please try a new game Rotatly