Integral of $$$e^{\sec^{2}{\left(x \right)}} \tan{\left(x \right)}$$$
Related calculator: Definite and Improper Integral Calculator
Your Input
Find $$$\int e^{\sec^{2}{\left(x \right)}} \tan{\left(x \right)}\, dx$$$.
Solution
Let $$$u=\sec^{2}{\left(x \right)}$$$.
Then $$$du=\left(\sec^{2}{\left(x \right)}\right)^{\prime }dx = 2 \tan{\left(x \right)} \sec^{2}{\left(x \right)} dx$$$ (steps can be seen »), and we have that $$$\tan{\left(x \right)} \sec^{2}{\left(x \right)} dx = \frac{du}{2}$$$.
The integral becomes
$${\color{red}{\int{e^{\sec^{2}{\left(x \right)}} \tan{\left(x \right)} d x}}} = {\color{red}{\int{\frac{e^{u}}{2 u} 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}{2}$$$ and $$$f{\left(u \right)} = \frac{e^{u}}{u}$$$:
$${\color{red}{\int{\frac{e^{u}}{2 u} d u}}} = {\color{red}{\left(\frac{\int{\frac{e^{u}}{u} d u}}{2}\right)}}$$
This integral (Exponential Integral) does not have a closed form:
$$\frac{{\color{red}{\int{\frac{e^{u}}{u} d u}}}}{2} = \frac{{\color{red}{\operatorname{Ei}{\left(u \right)}}}}{2}$$
Recall that $$$u=\sec^{2}{\left(x \right)}$$$:
$$\frac{\operatorname{Ei}{\left({\color{red}{u}} \right)}}{2} = \frac{\operatorname{Ei}{\left({\color{red}{\sec^{2}{\left(x \right)}}} \right)}}{2}$$
Therefore,
$$\int{e^{\sec^{2}{\left(x \right)}} \tan{\left(x \right)} d x} = \frac{\operatorname{Ei}{\left(\sec^{2}{\left(x \right)} \right)}}{2}$$
Add the constant of integration:
$$\int{e^{\sec^{2}{\left(x \right)}} \tan{\left(x \right)} d x} = \frac{\operatorname{Ei}{\left(\sec^{2}{\left(x \right)} \right)}}{2}+C$$
Answer
$$$\int e^{\sec^{2}{\left(x \right)}} \tan{\left(x \right)}\, dx = \frac{\operatorname{Ei}{\left(\sec^{2}{\left(x \right)} \right)}}{2} + C$$$A