Integralen av $$$- x + \left(e^{x} - 1\right) e^{- x}$$$
Relaterad kalkylator: Kalkylator för bestämda och oegentliga integraler
Din inmatning
Bestäm $$$\int \left(- x + \left(e^{x} - 1\right) e^{- x}\right)\, dx$$$.
Lösning
Integrera termvis:
$${\color{red}{\int{\left(- x + \left(e^{x} - 1\right) e^{- x}\right)d x}}} = {\color{red}{\left(- \int{x d x} + \int{\left(e^{x} - 1\right) e^{- x} d x}\right)}}$$
Tillämpa potensregeln $$$\int x^{n}\, dx = \frac{x^{n + 1}}{n + 1}$$$ $$$\left(n \neq -1 \right)$$$ med $$$n=1$$$:
$$\int{\left(e^{x} - 1\right) e^{- x} d x} - {\color{red}{\int{x d x}}}=\int{\left(e^{x} - 1\right) e^{- x} d x} - {\color{red}{\frac{x^{1 + 1}}{1 + 1}}}=\int{\left(e^{x} - 1\right) e^{- x} d x} - {\color{red}{\left(\frac{x^{2}}{2}\right)}}$$
Expand the expression:
$$- \frac{x^{2}}{2} + {\color{red}{\int{\left(e^{x} - 1\right) e^{- x} d x}}} = - \frac{x^{2}}{2} + {\color{red}{\int{\left(1 - e^{- x}\right)d x}}}$$
Integrera termvis:
$$- \frac{x^{2}}{2} + {\color{red}{\int{\left(1 - e^{- x}\right)d x}}} = - \frac{x^{2}}{2} + {\color{red}{\left(\int{1 d x} - \int{e^{- x} d x}\right)}}$$
Tillämpa konstantregeln $$$\int c\, dx = c x$$$ med $$$c=1$$$:
$$- \frac{x^{2}}{2} - \int{e^{- x} d x} + {\color{red}{\int{1 d x}}} = - \frac{x^{2}}{2} - \int{e^{- x} d x} + {\color{red}{x}}$$
Låt $$$u=- x$$$ vara.
Då $$$du=\left(- x\right)^{\prime }dx = - dx$$$ (stegen kan ses »), och vi har att $$$dx = - du$$$.
Alltså,
$$- \frac{x^{2}}{2} + x - {\color{red}{\int{e^{- x} d x}}} = - \frac{x^{2}}{2} + x - {\color{red}{\int{\left(- e^{u}\right)d u}}}$$
Tillämpa konstantfaktorregeln $$$\int c f{\left(u \right)}\, du = c \int f{\left(u \right)}\, du$$$ med $$$c=-1$$$ och $$$f{\left(u \right)} = e^{u}$$$:
$$- \frac{x^{2}}{2} + x - {\color{red}{\int{\left(- e^{u}\right)d u}}} = - \frac{x^{2}}{2} + x - {\color{red}{\left(- \int{e^{u} d u}\right)}}$$
Integralen av den exponentiella funktionen är $$$\int{e^{u} d u} = e^{u}$$$:
$$- \frac{x^{2}}{2} + x + {\color{red}{\int{e^{u} d u}}} = - \frac{x^{2}}{2} + x + {\color{red}{e^{u}}}$$
Kom ihåg att $$$u=- x$$$:
$$- \frac{x^{2}}{2} + x + e^{{\color{red}{u}}} = - \frac{x^{2}}{2} + x + e^{{\color{red}{\left(- x\right)}}}$$
Alltså,
$$\int{\left(- x + \left(e^{x} - 1\right) e^{- x}\right)d x} = - \frac{x^{2}}{2} + x + e^{- x}$$
Lägg till integrationskonstanten:
$$\int{\left(- x + \left(e^{x} - 1\right) e^{- x}\right)d x} = - \frac{x^{2}}{2} + x + e^{- x}+C$$
Svar
$$$\int \left(- x + \left(e^{x} - 1\right) e^{- x}\right)\, dx = \left(- \frac{x^{2}}{2} + x + e^{- x}\right) + C$$$A