Integral of $$$- \sinh{\left(x \right)} + \cosh{\left(x \right)} + 1$$$
Related calculator: Definite and Improper Integral Calculator
Your Input
Find $$$\int \left(- \sinh{\left(x \right)} + \cosh{\left(x \right)} + 1\right)\, dx$$$.
Solution
Integrate term by term:
$${\color{red}{\int{\left(- \sinh{\left(x \right)} + \cosh{\left(x \right)} + 1\right)d x}}} = {\color{red}{\left(\int{1 d x} - \int{\sinh{\left(x \right)} d x} + \int{\cosh{\left(x \right)} d x}\right)}}$$
Apply the constant rule $$$\int c\, dx = c x$$$ with $$$c=1$$$:
$$- \int{\sinh{\left(x \right)} d x} + \int{\cosh{\left(x \right)} d x} + {\color{red}{\int{1 d x}}} = - \int{\sinh{\left(x \right)} d x} + \int{\cosh{\left(x \right)} d x} + {\color{red}{x}}$$
The integral of the hyperbolic sine is $$$\int{\sinh{\left(x \right)} d x} = \cosh{\left(x \right)}$$$:
$$x + \int{\cosh{\left(x \right)} d x} - {\color{red}{\int{\sinh{\left(x \right)} d x}}} = x + \int{\cosh{\left(x \right)} d x} - {\color{red}{\cosh{\left(x \right)}}}$$
The integral of the hyperbolic cosine is $$$\int{\cosh{\left(x \right)} d x} = \sinh{\left(x \right)}$$$:
$$x - \cosh{\left(x \right)} + {\color{red}{\int{\cosh{\left(x \right)} d x}}} = x - \cosh{\left(x \right)} + {\color{red}{\sinh{\left(x \right)}}}$$
Therefore,
$$\int{\left(- \sinh{\left(x \right)} + \cosh{\left(x \right)} + 1\right)d x} = x + \sinh{\left(x \right)} - \cosh{\left(x \right)}$$
Simplify:
$$\int{\left(- \sinh{\left(x \right)} + \cosh{\left(x \right)} + 1\right)d x} = x - e^{- x}$$
Add the constant of integration:
$$\int{\left(- \sinh{\left(x \right)} + \cosh{\left(x \right)} + 1\right)d x} = x - e^{- x}+C$$
Answer
$$$\int \left(- \sinh{\left(x \right)} + \cosh{\left(x \right)} + 1\right)\, dx = \left(x - e^{- x}\right) + C$$$A