Integral of $$$\frac{\left(- \frac{10 - x}{e^{\frac{1}{10}}} + 1\right) e^{- \frac{x}{5}}}{5}$$$
Related calculator: Definite and Improper Integral Calculator
Your Input
Find $$$\int \frac{\left(- \frac{10 - x}{e^{\frac{1}{10}}} + 1\right) e^{- \frac{x}{5}}}{5}\, dx$$$.
Solution
The input is rewritten: $$$\int{\frac{\left(- \frac{10 - x}{e^{\frac{1}{10}}} + 1\right) e^{- \frac{x}{5}}}{5} d x}=\int{\left(\frac{x - 10}{5 e^{\frac{1}{10}}} + \frac{1}{5}\right) e^{- \frac{x}{5}} d x}$$$.
Simplify the integrand:
$${\color{red}{\int{\left(\frac{x - 10}{5 e^{\frac{1}{10}}} + \frac{1}{5}\right) e^{- \frac{x}{5}} d x}}} = {\color{red}{\int{\frac{\left(\frac{x - 10}{e^{\frac{1}{10}}} + 1\right) e^{- \frac{x}{5}}}{5} 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}{5}$$$ and $$$f{\left(x \right)} = \left(\frac{x - 10}{e^{\frac{1}{10}}} + 1\right) e^{- \frac{x}{5}}$$$:
$${\color{red}{\int{\frac{\left(\frac{x - 10}{e^{\frac{1}{10}}} + 1\right) e^{- \frac{x}{5}}}{5} d x}}} = {\color{red}{\left(\frac{\int{\left(\frac{x - 10}{e^{\frac{1}{10}}} + 1\right) e^{- \frac{x}{5}} d x}}{5}\right)}}$$
For the integral $$$\int{\left(\frac{x - 10}{e^{\frac{1}{10}}} + 1\right) e^{- \frac{x}{5}} d x}$$$, use integration by parts $$$\int \operatorname{u} \operatorname{dv} = \operatorname{u}\operatorname{v} - \int \operatorname{v} \operatorname{du}$$$.
Let $$$\operatorname{u}=\frac{x - 10 + e^{\frac{1}{10}}}{e^{\frac{1}{10}}}$$$ and $$$\operatorname{dv}=e^{- \frac{x}{5}} dx$$$.
Then $$$\operatorname{du}=\left(\frac{x - 10 + e^{\frac{1}{10}}}{e^{\frac{1}{10}}}\right)^{\prime }dx=\frac{dx}{e^{\frac{1}{10}}}$$$ (steps can be seen ») and $$$\operatorname{v}=\int{e^{- \frac{x}{5}} d x}=- 5 e^{- \frac{x}{5}}$$$ (steps can be seen »).
The integral becomes
$$\frac{{\color{red}{\int{\left(\frac{x - 10}{e^{\frac{1}{10}}} + 1\right) e^{- \frac{x}{5}} d x}}}}{5}=\frac{{\color{red}{\left(\frac{x - 10 + e^{\frac{1}{10}}}{e^{\frac{1}{10}}} \cdot \left(- 5 e^{- \frac{x}{5}}\right)-\int{\left(- 5 e^{- \frac{x}{5}}\right) \cdot e^{- \frac{1}{10}} d x}\right)}}}{5}=\frac{{\color{red}{\left(- \frac{5 \left(x - 10 + e^{\frac{1}{10}}\right) e^{- \frac{x}{5}}}{e^{\frac{1}{10}}} - \int{\left(- \frac{5 e^{- \frac{x}{5}}}{e^{\frac{1}{10}}}\right)d x}\right)}}}{5}$$
Apply the constant multiple rule $$$\int c f{\left(x \right)}\, dx = c \int f{\left(x \right)}\, dx$$$ with $$$c=- \frac{5}{e^{\frac{1}{10}}}$$$ and $$$f{\left(x \right)} = e^{- \frac{x}{5}}$$$:
$$- \frac{\left(x - 10 + e^{\frac{1}{10}}\right) e^{- \frac{x}{5}}}{e^{\frac{1}{10}}} - \frac{{\color{red}{\int{\left(- \frac{5 e^{- \frac{x}{5}}}{e^{\frac{1}{10}}}\right)d x}}}}{5} = - \frac{\left(x - 10 + e^{\frac{1}{10}}\right) e^{- \frac{x}{5}}}{e^{\frac{1}{10}}} - \frac{{\color{red}{\left(- \frac{5 \int{e^{- \frac{x}{5}} d x}}{e^{\frac{1}{10}}}\right)}}}{5}$$
Let $$$u=- \frac{x}{5}$$$.
Then $$$du=\left(- \frac{x}{5}\right)^{\prime }dx = - \frac{dx}{5}$$$ (steps can be seen »), and we have that $$$dx = - 5 du$$$.
So,
$$- \frac{\left(x - 10 + e^{\frac{1}{10}}\right) e^{- \frac{x}{5}}}{e^{\frac{1}{10}}} + \frac{{\color{red}{\int{e^{- \frac{x}{5}} d x}}}}{e^{\frac{1}{10}}} = - \frac{\left(x - 10 + e^{\frac{1}{10}}\right) e^{- \frac{x}{5}}}{e^{\frac{1}{10}}} + \frac{{\color{red}{\int{\left(- 5 e^{u}\right)d u}}}}{e^{\frac{1}{10}}}$$
Apply the constant multiple rule $$$\int c f{\left(u \right)}\, du = c \int f{\left(u \right)}\, du$$$ with $$$c=-5$$$ and $$$f{\left(u \right)} = e^{u}$$$:
$$- \frac{\left(x - 10 + e^{\frac{1}{10}}\right) e^{- \frac{x}{5}}}{e^{\frac{1}{10}}} + \frac{{\color{red}{\int{\left(- 5 e^{u}\right)d u}}}}{e^{\frac{1}{10}}} = - \frac{\left(x - 10 + e^{\frac{1}{10}}\right) e^{- \frac{x}{5}}}{e^{\frac{1}{10}}} + \frac{{\color{red}{\left(- 5 \int{e^{u} d u}\right)}}}{e^{\frac{1}{10}}}$$
The integral of the exponential function is $$$\int{e^{u} d u} = e^{u}$$$:
$$- \frac{\left(x - 10 + e^{\frac{1}{10}}\right) e^{- \frac{x}{5}}}{e^{\frac{1}{10}}} - \frac{5 {\color{red}{\int{e^{u} d u}}}}{e^{\frac{1}{10}}} = - \frac{\left(x - 10 + e^{\frac{1}{10}}\right) e^{- \frac{x}{5}}}{e^{\frac{1}{10}}} - \frac{5 {\color{red}{e^{u}}}}{e^{\frac{1}{10}}}$$
Recall that $$$u=- \frac{x}{5}$$$:
$$- \frac{\left(x - 10 + e^{\frac{1}{10}}\right) e^{- \frac{x}{5}}}{e^{\frac{1}{10}}} - \frac{5 e^{{\color{red}{u}}}}{e^{\frac{1}{10}}} = - \frac{\left(x - 10 + e^{\frac{1}{10}}\right) e^{- \frac{x}{5}}}{e^{\frac{1}{10}}} - \frac{5 e^{{\color{red}{\left(- \frac{x}{5}\right)}}}}{e^{\frac{1}{10}}}$$
Therefore,
$$\int{\left(\frac{x - 10}{5 e^{\frac{1}{10}}} + \frac{1}{5}\right) e^{- \frac{x}{5}} d x} = - \frac{\left(x - 10 + e^{\frac{1}{10}}\right) e^{- \frac{x}{5}}}{e^{\frac{1}{10}}} - \frac{5 e^{- \frac{x}{5}}}{e^{\frac{1}{10}}}$$
Simplify:
$$\int{\left(\frac{x - 10}{5 e^{\frac{1}{10}}} + \frac{1}{5}\right) e^{- \frac{x}{5}} d x} = \left(- x - e^{\frac{1}{10}} + 5\right) e^{- \frac{x}{5} - \frac{1}{10}}$$
Add the constant of integration:
$$\int{\left(\frac{x - 10}{5 e^{\frac{1}{10}}} + \frac{1}{5}\right) e^{- \frac{x}{5}} d x} = \left(- x - e^{\frac{1}{10}} + 5\right) e^{- \frac{x}{5} - \frac{1}{10}}+C$$
Answer
$$$\int \frac{\left(- \frac{10 - x}{e^{\frac{1}{10}}} + 1\right) e^{- \frac{x}{5}}}{5}\, dx = \left(- x - e^{\frac{1}{10}} + 5\right) e^{- \frac{x}{5} - \frac{1}{10}} + C$$$A