Integral of $$$7 \tan^{3}{\left(x \right)} \sec{\left(x \right)}$$$
Related calculator: Definite and Improper Integral Calculator
Your Input
Find $$$\int 7 \tan^{3}{\left(x \right)} \sec{\left(x \right)}\, dx$$$.
Solution
Apply the constant multiple rule $$$\int c f{\left(x \right)}\, dx = c \int f{\left(x \right)}\, dx$$$ with $$$c=7$$$ and $$$f{\left(x \right)} = \tan^{3}{\left(x \right)} \sec{\left(x \right)}$$$:
$${\color{red}{\int{7 \tan^{3}{\left(x \right)} \sec{\left(x \right)} d x}}} = {\color{red}{\left(7 \int{\tan^{3}{\left(x \right)} \sec{\left(x \right)} d x}\right)}}$$
Strip out one tangent and write everything else in terms of the secant, using the formula $$$\tan^2\left(x \right)=\sec^2\left(x \right)-1$$$:
$$7 {\color{red}{\int{\tan^{3}{\left(x \right)} \sec{\left(x \right)} d x}}} = 7 {\color{red}{\int{\left(\sec^{2}{\left(x \right)} - 1\right) \tan{\left(x \right)} \sec{\left(x \right)} d x}}}$$
Let $$$u=\sec{\left(x \right)}$$$.
Then $$$du=\left(\sec{\left(x \right)}\right)^{\prime }dx = \tan{\left(x \right)} \sec{\left(x \right)} dx$$$ (steps can be seen »), and we have that $$$\tan{\left(x \right)} \sec{\left(x \right)} dx = du$$$.
The integral can be rewritten as
$$7 {\color{red}{\int{\left(\sec^{2}{\left(x \right)} - 1\right) \tan{\left(x \right)} \sec{\left(x \right)} d x}}} = 7 {\color{red}{\int{\left(u^{2} - 1\right)d u}}}$$
Integrate term by term:
$$7 {\color{red}{\int{\left(u^{2} - 1\right)d u}}} = 7 {\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$$$:
$$7 \int{u^{2} d u} - 7 {\color{red}{\int{1 d u}}} = 7 \int{u^{2} d u} - 7 {\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$$$:
$$- 7 u + 7 {\color{red}{\int{u^{2} d u}}}=- 7 u + 7 {\color{red}{\frac{u^{1 + 2}}{1 + 2}}}=- 7 u + 7 {\color{red}{\left(\frac{u^{3}}{3}\right)}}$$
Recall that $$$u=\sec{\left(x \right)}$$$:
$$- 7 {\color{red}{u}} + \frac{7 {\color{red}{u}}^{3}}{3} = - 7 {\color{red}{\sec{\left(x \right)}}} + \frac{7 {\color{red}{\sec{\left(x \right)}}}^{3}}{3}$$
Therefore,
$$\int{7 \tan^{3}{\left(x \right)} \sec{\left(x \right)} d x} = \frac{7 \sec^{3}{\left(x \right)}}{3} - 7 \sec{\left(x \right)}$$
Simplify:
$$\int{7 \tan^{3}{\left(x \right)} \sec{\left(x \right)} d x} = \frac{7 \left(\sec^{2}{\left(x \right)} - 3\right) \sec{\left(x \right)}}{3}$$
Add the constant of integration:
$$\int{7 \tan^{3}{\left(x \right)} \sec{\left(x \right)} d x} = \frac{7 \left(\sec^{2}{\left(x \right)} - 3\right) \sec{\left(x \right)}}{3}+C$$
Answer
$$$\int 7 \tan^{3}{\left(x \right)} \sec{\left(x \right)}\, dx = \frac{7 \left(\sec^{2}{\left(x \right)} - 3\right) \sec{\left(x \right)}}{3} + C$$$A