$$$-1 + e^{- x}$$$ 的积分
您的输入
求$$$\int \left(-1 + e^{- x}\right)\, dx$$$。
解答
逐项积分:
$${\color{red}{\int{\left(-1 + e^{- x}\right)d x}}} = {\color{red}{\left(- \int{1 d x} + \int{e^{- x} d x}\right)}}$$
应用常数法则 $$$\int c\, dx = c x$$$,使用 $$$c=1$$$:
$$\int{e^{- x} d x} - {\color{red}{\int{1 d x}}} = \int{e^{- x} d x} - {\color{red}{x}}$$
设$$$u=- x$$$。
则$$$du=\left(- x\right)^{\prime }dx = - dx$$$ (步骤见»),并有$$$dx = - du$$$。
因此,
$$- x + {\color{red}{\int{e^{- x} d x}}} = - x + {\color{red}{\int{\left(- e^{u}\right)d u}}}$$
对 $$$c=-1$$$ 和 $$$f{\left(u \right)} = e^{u}$$$ 应用常数倍法则 $$$\int c f{\left(u \right)}\, du = c \int f{\left(u \right)}\, du$$$:
$$- x + {\color{red}{\int{\left(- e^{u}\right)d u}}} = - x + {\color{red}{\left(- \int{e^{u} d u}\right)}}$$
指数函数的积分为 $$$\int{e^{u} d u} = e^{u}$$$:
$$- x - {\color{red}{\int{e^{u} d u}}} = - x - {\color{red}{e^{u}}}$$
回忆一下 $$$u=- x$$$:
$$- x - e^{{\color{red}{u}}} = - x - e^{{\color{red}{\left(- x\right)}}}$$
因此,
$$\int{\left(-1 + e^{- x}\right)d x} = - x - e^{- x}$$
加上积分常数:
$$\int{\left(-1 + e^{- x}\right)d x} = - x - e^{- x}+C$$
答案
$$$\int \left(-1 + e^{- x}\right)\, dx = \left(- x - e^{- x}\right) + C$$$A