$$$e^{x} \cos{\left(2 x \right)}$$$ 的積分
您的輸入
求$$$\int e^{x} \cos{\left(2 x \right)}\, dx$$$。
解答
對於積分 $$$\int{e^{x} \cos{\left(2 x \right)} d x}$$$,使用分部積分法 $$$\int \operatorname{u} \operatorname{dv} = \operatorname{u}\operatorname{v} - \int \operatorname{v} \operatorname{du}$$$。
令 $$$\operatorname{u}=\cos{\left(2 x \right)}$$$ 與 $$$\operatorname{dv}=e^{x} dx$$$。
則 $$$\operatorname{du}=\left(\cos{\left(2 x \right)}\right)^{\prime }dx=- 2 \sin{\left(2 x \right)} dx$$$(步驟見 »),且 $$$\operatorname{v}=\int{e^{x} d x}=e^{x}$$$(步驟見 »)。
該積分可改寫為
$${\color{red}{\int{e^{x} \cos{\left(2 x \right)} d x}}}={\color{red}{\left(\cos{\left(2 x \right)} \cdot e^{x}-\int{e^{x} \cdot \left(- 2 \sin{\left(2 x \right)}\right) d x}\right)}}={\color{red}{\left(e^{x} \cos{\left(2 x \right)} - \int{\left(- 2 e^{x} \sin{\left(2 x \right)}\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^{x} \sin{\left(2 x \right)}$$$:
$$e^{x} \cos{\left(2 x \right)} - {\color{red}{\int{\left(- 2 e^{x} \sin{\left(2 x \right)}\right)d x}}} = e^{x} \cos{\left(2 x \right)} - {\color{red}{\left(- 2 \int{e^{x} \sin{\left(2 x \right)} d x}\right)}}$$
對於積分 $$$\int{e^{x} \sin{\left(2 x \right)} d x}$$$,使用分部積分法 $$$\int \operatorname{u} \operatorname{dv} = \operatorname{u}\operatorname{v} - \int \operatorname{v} \operatorname{du}$$$。
令 $$$\operatorname{u}=\sin{\left(2 x \right)}$$$ 與 $$$\operatorname{dv}=e^{x} dx$$$。
則 $$$\operatorname{du}=\left(\sin{\left(2 x \right)}\right)^{\prime }dx=2 \cos{\left(2 x \right)} dx$$$(步驟見 »),且 $$$\operatorname{v}=\int{e^{x} d x}=e^{x}$$$(步驟見 »)。
因此,
$$e^{x} \cos{\left(2 x \right)} + 2 {\color{red}{\int{e^{x} \sin{\left(2 x \right)} d x}}}=e^{x} \cos{\left(2 x \right)} + 2 {\color{red}{\left(\sin{\left(2 x \right)} \cdot e^{x}-\int{e^{x} \cdot 2 \cos{\left(2 x \right)} d x}\right)}}=e^{x} \cos{\left(2 x \right)} + 2 {\color{red}{\left(e^{x} \sin{\left(2 x \right)} - \int{2 e^{x} \cos{\left(2 x \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^{x} \cos{\left(2 x \right)}$$$:
$$2 e^{x} \sin{\left(2 x \right)} + e^{x} \cos{\left(2 x \right)} - 2 {\color{red}{\int{2 e^{x} \cos{\left(2 x \right)} d x}}} = 2 e^{x} \sin{\left(2 x \right)} + e^{x} \cos{\left(2 x \right)} - 2 {\color{red}{\left(2 \int{e^{x} \cos{\left(2 x \right)} d x}\right)}}$$
我們得到了先前見過的一個積分。
因此,我們得到關於該積分的如下簡單等式:
$$\int{e^{x} \cos{\left(2 x \right)} d x} = 2 e^{x} \sin{\left(2 x \right)} + e^{x} \cos{\left(2 x \right)} - 4 \int{e^{x} \cos{\left(2 x \right)} d x}$$
求解後,可得
$$\int{e^{x} \cos{\left(2 x \right)} d x} = \frac{\left(2 \sin{\left(2 x \right)} + \cos{\left(2 x \right)}\right) e^{x}}{5}$$
因此,
$$\int{e^{x} \cos{\left(2 x \right)} d x} = \frac{\left(2 \sin{\left(2 x \right)} + \cos{\left(2 x \right)}\right) e^{x}}{5}$$
加上積分常數:
$$\int{e^{x} \cos{\left(2 x \right)} d x} = \frac{\left(2 \sin{\left(2 x \right)} + \cos{\left(2 x \right)}\right) e^{x}}{5}+C$$
答案
$$$\int e^{x} \cos{\left(2 x \right)}\, dx = \frac{\left(2 \sin{\left(2 x \right)} + \cos{\left(2 x \right)}\right) e^{x}}{5} + C$$$A