Integral of $$$e^{x} \cosh{\left(x \right)}$$$
Related calculator: Definite and Improper Integral Calculator
Your Input
Find $$$\int e^{x} \cosh{\left(x \right)}\, dx$$$.
Solution
Rewrite the hyperbolic function in terms of the exponential:
$${\color{red}{\int{e^{x} \cosh{\left(x \right)} d x}}} = {\color{red}{\int{\left(\frac{e^{x}}{2} + \frac{e^{- x}}{2}\right) e^{x} d x}}}$$
Simplify the integrand:
$${\color{red}{\int{\left(\frac{e^{x}}{2} + \frac{e^{- x}}{2}\right) e^{x} d x}}} = {\color{red}{\int{\frac{\left(e^{x} + e^{- x}\right) e^{x}}{2} d x}}}$$
Apply the constant multiple rule $$$\int c f{\left(x \right)}\, dx = c \int f{\left(x \right)}\, dx$$$ with $$$c=\frac{1}{2}$$$ and $$$f{\left(x \right)} = \left(e^{x} + e^{- x}\right) e^{x}$$$:
$${\color{red}{\int{\frac{\left(e^{x} + e^{- x}\right) e^{x}}{2} d x}}} = {\color{red}{\left(\frac{\int{\left(e^{x} + e^{- x}\right) e^{x} d x}}{2}\right)}}$$
Simplify:
$$\frac{{\color{red}{\int{\left(e^{x} + e^{- x}\right) e^{x} d x}}}}{2} = \frac{{\color{red}{\int{\left(e^{2 x} + 1\right)d x}}}}{2}$$
Integrate term by term:
$$\frac{{\color{red}{\int{\left(e^{2 x} + 1\right)d x}}}}{2} = \frac{{\color{red}{\left(\int{1 d x} + \int{e^{2 x} d x}\right)}}}{2}$$
Apply the constant rule $$$\int c\, dx = c x$$$ with $$$c=1$$$:
$$\frac{\int{e^{2 x} d x}}{2} + \frac{{\color{red}{\int{1 d x}}}}{2} = \frac{\int{e^{2 x} d x}}{2} + \frac{{\color{red}{x}}}{2}$$
Let $$$u=2 x$$$.
Then $$$du=\left(2 x\right)^{\prime }dx = 2 dx$$$ (steps can be seen »), and we have that $$$dx = \frac{du}{2}$$$.
So,
$$\frac{x}{2} + \frac{{\color{red}{\int{e^{2 x} d x}}}}{2} = \frac{x}{2} + \frac{{\color{red}{\int{\frac{e^{u}}{2} d u}}}}{2}$$
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)} = e^{u}$$$:
$$\frac{x}{2} + \frac{{\color{red}{\int{\frac{e^{u}}{2} d u}}}}{2} = \frac{x}{2} + \frac{{\color{red}{\left(\frac{\int{e^{u} d u}}{2}\right)}}}{2}$$
The integral of the exponential function is $$$\int{e^{u} d u} = e^{u}$$$:
$$\frac{x}{2} + \frac{{\color{red}{\int{e^{u} d u}}}}{4} = \frac{x}{2} + \frac{{\color{red}{e^{u}}}}{4}$$
Recall that $$$u=2 x$$$:
$$\frac{x}{2} + \frac{e^{{\color{red}{u}}}}{4} = \frac{x}{2} + \frac{e^{{\color{red}{\left(2 x\right)}}}}{4}$$
Therefore,
$$\int{e^{x} \cosh{\left(x \right)} d x} = \frac{x}{2} + \frac{e^{2 x}}{4}$$
Add the constant of integration:
$$\int{e^{x} \cosh{\left(x \right)} d x} = \frac{x}{2} + \frac{e^{2 x}}{4}+C$$
Answer
$$$\int e^{x} \cosh{\left(x \right)}\, dx = \left(\frac{x}{2} + \frac{e^{2 x}}{4}\right) + C$$$A