$$$\frac{x^{2} e^{- x}}{2}$$$ 的积分
您的输入
求$$$\int \frac{x^{2} e^{- x}}{2}\, dx$$$。
解答
对 $$$c=\frac{1}{2}$$$ 和 $$$f{\left(x \right)} = x^{2} e^{- x}$$$ 应用常数倍法则 $$$\int c f{\left(x \right)}\, dx = c \int f{\left(x \right)}\, dx$$$:
$${\color{red}{\int{\frac{x^{2} e^{- x}}{2} d x}}} = {\color{red}{\left(\frac{\int{x^{2} e^{- x} d x}}{2}\right)}}$$
对于积分$$$\int{x^{2} e^{- x} d x}$$$,使用分部积分法$$$\int \operatorname{u} \operatorname{dv} = \operatorname{u}\operatorname{v} - \int \operatorname{v} \operatorname{du}$$$。
设 $$$\operatorname{u}=x^{2}$$$ 和 $$$\operatorname{dv}=e^{- x} dx$$$。
则 $$$\operatorname{du}=\left(x^{2}\right)^{\prime }dx=2 x dx$$$ (步骤见 »),并且 $$$\operatorname{v}=\int{e^{- x} d x}=- e^{- x}$$$ (步骤见 »)。
积分变为
$$\frac{{\color{red}{\int{x^{2} e^{- x} d x}}}}{2}=\frac{{\color{red}{\left(x^{2} \cdot \left(- e^{- x}\right)-\int{\left(- e^{- x}\right) \cdot 2 x d x}\right)}}}{2}=\frac{{\color{red}{\left(- x^{2} e^{- x} - \int{\left(- 2 x e^{- x}\right)d x}\right)}}}{2}$$
对 $$$c=-2$$$ 和 $$$f{\left(x \right)} = x e^{- x}$$$ 应用常数倍法则 $$$\int c f{\left(x \right)}\, dx = c \int f{\left(x \right)}\, dx$$$:
$$- \frac{x^{2} e^{- x}}{2} - \frac{{\color{red}{\int{\left(- 2 x e^{- x}\right)d x}}}}{2} = - \frac{x^{2} e^{- x}}{2} - \frac{{\color{red}{\left(- 2 \int{x e^{- x} d x}\right)}}}{2}$$
对于积分$$$\int{x e^{- x} d x}$$$,使用分部积分法$$$\int \operatorname{u} \operatorname{dv} = \operatorname{u}\operatorname{v} - \int \operatorname{v} \operatorname{du}$$$。
设 $$$\operatorname{u}=x$$$ 和 $$$\operatorname{dv}=e^{- x} dx$$$。
则 $$$\operatorname{du}=\left(x\right)^{\prime }dx=1 dx$$$ (步骤见 »),并且 $$$\operatorname{v}=\int{e^{- x} d x}=- e^{- x}$$$ (步骤见 »)。
因此,
$$- \frac{x^{2} e^{- x}}{2} + {\color{red}{\int{x e^{- x} d x}}}=- \frac{x^{2} e^{- x}}{2} + {\color{red}{\left(x \cdot \left(- e^{- x}\right)-\int{\left(- e^{- x}\right) \cdot 1 d x}\right)}}=- \frac{x^{2} e^{- x}}{2} + {\color{red}{\left(- x e^{- x} - \int{\left(- e^{- x}\right)d x}\right)}}$$
对 $$$c=-1$$$ 和 $$$f{\left(x \right)} = e^{- x}$$$ 应用常数倍法则 $$$\int c f{\left(x \right)}\, dx = c \int f{\left(x \right)}\, dx$$$:
$$- \frac{x^{2} e^{- x}}{2} - x e^{- x} - {\color{red}{\int{\left(- e^{- x}\right)d x}}} = - \frac{x^{2} e^{- x}}{2} - x e^{- x} - {\color{red}{\left(- \int{e^{- x} d x}\right)}}$$
设$$$u=- x$$$。
则$$$du=\left(- x\right)^{\prime }dx = - dx$$$ (步骤见»),并有$$$dx = - du$$$。
积分变为
$$- \frac{x^{2} e^{- x}}{2} - x e^{- x} + {\color{red}{\int{e^{- x} d x}}} = - \frac{x^{2} e^{- x}}{2} - x e^{- 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$$$:
$$- \frac{x^{2} e^{- x}}{2} - x e^{- x} + {\color{red}{\int{\left(- e^{u}\right)d u}}} = - \frac{x^{2} e^{- x}}{2} - x e^{- x} + {\color{red}{\left(- \int{e^{u} d u}\right)}}$$
指数函数的积分为 $$$\int{e^{u} d u} = e^{u}$$$:
$$- \frac{x^{2} e^{- x}}{2} - x e^{- x} - {\color{red}{\int{e^{u} d u}}} = - \frac{x^{2} e^{- x}}{2} - x e^{- x} - {\color{red}{e^{u}}}$$
回忆一下 $$$u=- x$$$:
$$- \frac{x^{2} e^{- x}}{2} - x e^{- x} - e^{{\color{red}{u}}} = - \frac{x^{2} e^{- x}}{2} - x e^{- x} - e^{{\color{red}{\left(- x\right)}}}$$
因此,
$$\int{\frac{x^{2} e^{- x}}{2} d x} = - \frac{x^{2} e^{- x}}{2} - x e^{- x} - e^{- x}$$
化简:
$$\int{\frac{x^{2} e^{- x}}{2} d x} = \left(- \frac{x^{2}}{2} - x - 1\right) e^{- x}$$
加上积分常数:
$$\int{\frac{x^{2} e^{- x}}{2} d x} = \left(- \frac{x^{2}}{2} - x - 1\right) e^{- x}+C$$
答案
$$$\int \frac{x^{2} e^{- x}}{2}\, dx = \left(- \frac{x^{2}}{2} - x - 1\right) e^{- x} + C$$$A