$$$\ln\left(x^{2} + 1\right)$$$ 的積分
您的輸入
求$$$\int \ln\left(x^{2} + 1\right)\, dx$$$。
解答
對於積分 $$$\int{\ln{\left(x^{2} + 1 \right)} d x}$$$,使用分部積分法 $$$\int \operatorname{u} \operatorname{dv} = \operatorname{u}\operatorname{v} - \int \operatorname{v} \operatorname{du}$$$。
令 $$$\operatorname{u}=\ln{\left(x^{2} + 1 \right)}$$$ 與 $$$\operatorname{dv}=dx$$$。
則 $$$\operatorname{du}=\left(\ln{\left(x^{2} + 1 \right)}\right)^{\prime }dx=\frac{2 x}{x^{2} + 1} dx$$$(步驟見 »),且 $$$\operatorname{v}=\int{1 d x}=x$$$(步驟見 »)。
該積分可改寫為
$${\color{red}{\int{\ln{\left(x^{2} + 1 \right)} d x}}}={\color{red}{\left(\ln{\left(x^{2} + 1 \right)} \cdot x-\int{x \cdot \frac{2 x}{x^{2} + 1} d x}\right)}}={\color{red}{\left(x \ln{\left(x^{2} + 1 \right)} - \int{\frac{2 x^{2}}{x^{2} + 1} d x}\right)}}$$
套用常數倍法則 $$$\int c f{\left(x \right)}\, dx = c \int f{\left(x \right)}\, dx$$$,使用 $$$c=2$$$ 與 $$$f{\left(x \right)} = \frac{x^{2}}{x^{2} + 1}$$$:
$$x \ln{\left(x^{2} + 1 \right)} - {\color{red}{\int{\frac{2 x^{2}}{x^{2} + 1} d x}}} = x \ln{\left(x^{2} + 1 \right)} - {\color{red}{\left(2 \int{\frac{x^{2}}{x^{2} + 1} d x}\right)}}$$
重寫並拆分分式:
$$x \ln{\left(x^{2} + 1 \right)} - 2 {\color{red}{\int{\frac{x^{2}}{x^{2} + 1} d x}}} = x \ln{\left(x^{2} + 1 \right)} - 2 {\color{red}{\int{\left(1 - \frac{1}{x^{2} + 1}\right)d x}}}$$
逐項積分:
$$x \ln{\left(x^{2} + 1 \right)} - 2 {\color{red}{\int{\left(1 - \frac{1}{x^{2} + 1}\right)d x}}} = x \ln{\left(x^{2} + 1 \right)} - 2 {\color{red}{\left(\int{1 d x} - \int{\frac{1}{x^{2} + 1} d x}\right)}}$$
配合 $$$c=1$$$,應用常數法則 $$$\int c\, dx = c x$$$:
$$x \ln{\left(x^{2} + 1 \right)} + 2 \int{\frac{1}{x^{2} + 1} d x} - 2 {\color{red}{\int{1 d x}}} = x \ln{\left(x^{2} + 1 \right)} + 2 \int{\frac{1}{x^{2} + 1} d x} - 2 {\color{red}{x}}$$
$$$\frac{1}{x^{2} + 1}$$$ 的積分是 $$$\int{\frac{1}{x^{2} + 1} d x} = \operatorname{atan}{\left(x \right)}$$$:
$$x \ln{\left(x^{2} + 1 \right)} - 2 x + 2 {\color{red}{\int{\frac{1}{x^{2} + 1} d x}}} = x \ln{\left(x^{2} + 1 \right)} - 2 x + 2 {\color{red}{\operatorname{atan}{\left(x \right)}}}$$
因此,
$$\int{\ln{\left(x^{2} + 1 \right)} d x} = x \ln{\left(x^{2} + 1 \right)} - 2 x + 2 \operatorname{atan}{\left(x \right)}$$
加上積分常數:
$$\int{\ln{\left(x^{2} + 1 \right)} d x} = x \ln{\left(x^{2} + 1 \right)} - 2 x + 2 \operatorname{atan}{\left(x \right)}+C$$
答案
$$$\int \ln\left(x^{2} + 1\right)\, dx = \left(x \ln\left(x^{2} + 1\right) - 2 x + 2 \operatorname{atan}{\left(x \right)}\right) + C$$$A