$$$x^{2} e^{- \frac{x}{2}}$$$ 的積分
您的輸入
求$$$\int x^{2} e^{- \frac{x}{2}}\, dx$$$。
解答
對於積分 $$$\int{x^{2} e^{- \frac{x}{2}} d x}$$$,使用分部積分法 $$$\int \operatorname{u} \operatorname{dv} = \operatorname{u}\operatorname{v} - \int \operatorname{v} \operatorname{du}$$$。
令 $$$\operatorname{u}=x^{2}$$$ 與 $$$\operatorname{dv}=e^{- \frac{x}{2}} dx$$$。
則 $$$\operatorname{du}=\left(x^{2}\right)^{\prime }dx=2 x dx$$$(步驟見 »),且 $$$\operatorname{v}=\int{e^{- \frac{x}{2}} d x}=- 2 e^{- \frac{x}{2}}$$$(步驟見 »)。
該積分變為
$${\color{red}{\int{x^{2} e^{- \frac{x}{2}} d x}}}={\color{red}{\left(x^{2} \cdot \left(- 2 e^{- \frac{x}{2}}\right)-\int{\left(- 2 e^{- \frac{x}{2}}\right) \cdot 2 x d x}\right)}}={\color{red}{\left(- 2 x^{2} e^{- \frac{x}{2}} - \int{\left(- 4 x e^{- \frac{x}{2}}\right)d x}\right)}}$$
套用常數倍法則 $$$\int c f{\left(x \right)}\, dx = c \int f{\left(x \right)}\, dx$$$,使用 $$$c=-4$$$ 與 $$$f{\left(x \right)} = x e^{- \frac{x}{2}}$$$:
$$- 2 x^{2} e^{- \frac{x}{2}} - {\color{red}{\int{\left(- 4 x e^{- \frac{x}{2}}\right)d x}}} = - 2 x^{2} e^{- \frac{x}{2}} - {\color{red}{\left(- 4 \int{x e^{- \frac{x}{2}} d x}\right)}}$$
對於積分 $$$\int{x e^{- \frac{x}{2}} d x}$$$,使用分部積分法 $$$\int \operatorname{u} \operatorname{dv} = \operatorname{u}\operatorname{v} - \int \operatorname{v} \operatorname{du}$$$。
令 $$$\operatorname{u}=x$$$ 與 $$$\operatorname{dv}=e^{- \frac{x}{2}} dx$$$。
則 $$$\operatorname{du}=\left(x\right)^{\prime }dx=1 dx$$$(步驟見 »),且 $$$\operatorname{v}=\int{e^{- \frac{x}{2}} d x}=- 2 e^{- \frac{x}{2}}$$$(步驟見 »)。
因此,
$$- 2 x^{2} e^{- \frac{x}{2}} + 4 {\color{red}{\int{x e^{- \frac{x}{2}} d x}}}=- 2 x^{2} e^{- \frac{x}{2}} + 4 {\color{red}{\left(x \cdot \left(- 2 e^{- \frac{x}{2}}\right)-\int{\left(- 2 e^{- \frac{x}{2}}\right) \cdot 1 d x}\right)}}=- 2 x^{2} e^{- \frac{x}{2}} + 4 {\color{red}{\left(- 2 x e^{- \frac{x}{2}} - \int{\left(- 2 e^{- \frac{x}{2}}\right)d x}\right)}}$$
套用常數倍法則 $$$\int c f{\left(x \right)}\, dx = c \int f{\left(x \right)}\, dx$$$,使用 $$$c=-2$$$ 與 $$$f{\left(x \right)} = e^{- \frac{x}{2}}$$$:
$$- 2 x^{2} e^{- \frac{x}{2}} - 8 x e^{- \frac{x}{2}} - 4 {\color{red}{\int{\left(- 2 e^{- \frac{x}{2}}\right)d x}}} = - 2 x^{2} e^{- \frac{x}{2}} - 8 x e^{- \frac{x}{2}} - 4 {\color{red}{\left(- 2 \int{e^{- \frac{x}{2}} d x}\right)}}$$
令 $$$u=- \frac{x}{2}$$$。
則 $$$du=\left(- \frac{x}{2}\right)^{\prime }dx = - \frac{dx}{2}$$$ (步驟見»),並可得 $$$dx = - 2 du$$$。
該積分變為
$$- 2 x^{2} e^{- \frac{x}{2}} - 8 x e^{- \frac{x}{2}} + 8 {\color{red}{\int{e^{- \frac{x}{2}} d x}}} = - 2 x^{2} e^{- \frac{x}{2}} - 8 x e^{- \frac{x}{2}} + 8 {\color{red}{\int{\left(- 2 e^{u}\right)d u}}}$$
套用常數倍法則 $$$\int c f{\left(u \right)}\, du = c \int f{\left(u \right)}\, du$$$,使用 $$$c=-2$$$ 與 $$$f{\left(u \right)} = e^{u}$$$:
$$- 2 x^{2} e^{- \frac{x}{2}} - 8 x e^{- \frac{x}{2}} + 8 {\color{red}{\int{\left(- 2 e^{u}\right)d u}}} = - 2 x^{2} e^{- \frac{x}{2}} - 8 x e^{- \frac{x}{2}} + 8 {\color{red}{\left(- 2 \int{e^{u} d u}\right)}}$$
指數函數的積分為 $$$\int{e^{u} d u} = e^{u}$$$:
$$- 2 x^{2} e^{- \frac{x}{2}} - 8 x e^{- \frac{x}{2}} - 16 {\color{red}{\int{e^{u} d u}}} = - 2 x^{2} e^{- \frac{x}{2}} - 8 x e^{- \frac{x}{2}} - 16 {\color{red}{e^{u}}}$$
回顧一下 $$$u=- \frac{x}{2}$$$:
$$- 2 x^{2} e^{- \frac{x}{2}} - 8 x e^{- \frac{x}{2}} - 16 e^{{\color{red}{u}}} = - 2 x^{2} e^{- \frac{x}{2}} - 8 x e^{- \frac{x}{2}} - 16 e^{{\color{red}{\left(- \frac{x}{2}\right)}}}$$
因此,
$$\int{x^{2} e^{- \frac{x}{2}} d x} = - 2 x^{2} e^{- \frac{x}{2}} - 8 x e^{- \frac{x}{2}} - 16 e^{- \frac{x}{2}}$$
化簡:
$$\int{x^{2} e^{- \frac{x}{2}} d x} = 2 \left(- x^{2} - 4 x - 8\right) e^{- \frac{x}{2}}$$
加上積分常數:
$$\int{x^{2} e^{- \frac{x}{2}} d x} = 2 \left(- x^{2} - 4 x - 8\right) e^{- \frac{x}{2}}+C$$
答案
$$$\int x^{2} e^{- \frac{x}{2}}\, dx = 2 \left(- x^{2} - 4 x - 8\right) e^{- \frac{x}{2}} + C$$$A