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

The calculator will find the integral/antiderivative of $$$\tan^{3}{\left(7 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 \tan^{3}{\left(7 x \right)}\, dx$$$.

Solution

Let $$$u=7 x$$$.

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

Thus,

$${\color{red}{\int{\tan^{3}{\left(7 x \right)} d x}}} = {\color{red}{\int{\frac{\tan^{3}{\left(u \right)}}{7} d u}}}$$

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

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

Let $$$v=\tan{\left(u \right)}$$$.

Then $$$u=\operatorname{atan}{\left(v \right)}$$$ and $$$du=\left(\operatorname{atan}{\left(v \right)}\right)^{\prime }dv = \frac{dv}{v^{2} + 1}$$$ (steps can be seen »).

The integral can be rewritten as

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

Since the degree of the numerator is not less than the degree of the denominator, perform polynomial long division (steps can be seen »):

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

Integrate term by term:

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

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

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

Let $$$w=v^{2} + 1$$$.

Then $$$dw=\left(v^{2} + 1\right)^{\prime }dv = 2 v dv$$$ (steps can be seen »), and we have that $$$v dv = \frac{dw}{2}$$$.

The integral can be rewritten as

$$\frac{v^{2}}{14} - \frac{{\color{red}{\int{\frac{v}{v^{2} + 1} d v}}}}{7} = \frac{v^{2}}{14} - \frac{{\color{red}{\int{\frac{1}{2 w} d w}}}}{7}$$

Apply the constant multiple rule $$$\int c f{\left(w \right)}\, dw = c \int f{\left(w \right)}\, dw$$$ with $$$c=\frac{1}{2}$$$ and $$$f{\left(w \right)} = \frac{1}{w}$$$:

$$\frac{v^{2}}{14} - \frac{{\color{red}{\int{\frac{1}{2 w} d w}}}}{7} = \frac{v^{2}}{14} - \frac{{\color{red}{\left(\frac{\int{\frac{1}{w} d w}}{2}\right)}}}{7}$$

The integral of $$$\frac{1}{w}$$$ is $$$\int{\frac{1}{w} d w} = \ln{\left(\left|{w}\right| \right)}$$$:

$$\frac{v^{2}}{14} - \frac{{\color{red}{\int{\frac{1}{w} d w}}}}{14} = \frac{v^{2}}{14} - \frac{{\color{red}{\ln{\left(\left|{w}\right| \right)}}}}{14}$$

Recall that $$$w=v^{2} + 1$$$:

$$\frac{v^{2}}{14} - \frac{\ln{\left(\left|{{\color{red}{w}}}\right| \right)}}{14} = \frac{v^{2}}{14} - \frac{\ln{\left(\left|{{\color{red}{\left(v^{2} + 1\right)}}}\right| \right)}}{14}$$

Recall that $$$v=\tan{\left(u \right)}$$$:

$$- \frac{\ln{\left(1 + {\color{red}{v}}^{2} \right)}}{14} + \frac{{\color{red}{v}}^{2}}{14} = - \frac{\ln{\left(1 + {\color{red}{\tan{\left(u \right)}}}^{2} \right)}}{14} + \frac{{\color{red}{\tan{\left(u \right)}}}^{2}}{14}$$

Recall that $$$u=7 x$$$:

$$- \frac{\ln{\left(1 + \tan^{2}{\left({\color{red}{u}} \right)} \right)}}{14} + \frac{\tan^{2}{\left({\color{red}{u}} \right)}}{14} = - \frac{\ln{\left(1 + \tan^{2}{\left({\color{red}{\left(7 x\right)}} \right)} \right)}}{14} + \frac{\tan^{2}{\left({\color{red}{\left(7 x\right)}} \right)}}{14}$$

Therefore,

$$\int{\tan^{3}{\left(7 x \right)} d x} = - \frac{\ln{\left(\tan^{2}{\left(7 x \right)} + 1 \right)}}{14} + \frac{\tan^{2}{\left(7 x \right)}}{14}$$

Add the constant of integration:

$$\int{\tan^{3}{\left(7 x \right)} d x} = - \frac{\ln{\left(\tan^{2}{\left(7 x \right)} + 1 \right)}}{14} + \frac{\tan^{2}{\left(7 x \right)}}{14}+C$$

Answer

$$$\int \tan^{3}{\left(7 x \right)}\, dx = \left(- \frac{\ln\left(\tan^{2}{\left(7 x \right)} + 1\right)}{14} + \frac{\tan^{2}{\left(7 x \right)}}{14}\right) + C$$$A