$$$- \ln\left(x\right) + \frac{1}{\ln\left(x\right)}$$$ 的积分
您的输入
求$$$\int \left(- \ln\left(x\right) + \frac{1}{\ln\left(x\right)}\right)\, dx$$$。
解答
逐项积分:
$${\color{red}{\int{\left(- \ln{\left(x \right)} + \frac{1}{\ln{\left(x \right)}}\right)d x}}} = {\color{red}{\left(\int{\frac{1}{\ln{\left(x \right)}} d x} - \int{\ln{\left(x \right)} d x}\right)}}$$
该积分(对数积分)没有闭式表达式:
$$- \int{\ln{\left(x \right)} d x} + {\color{red}{\int{\frac{1}{\ln{\left(x \right)}} d x}}} = - \int{\ln{\left(x \right)} d x} + {\color{red}{\operatorname{li}{\left(x \right)}}}$$
对于积分$$$\int{\ln{\left(x \right)} d x}$$$,使用分部积分法$$$\int \operatorname{u} \operatorname{dv} = \operatorname{u}\operatorname{v} - \int \operatorname{v} \operatorname{du}$$$。
设 $$$\operatorname{u}=\ln{\left(x \right)}$$$ 和 $$$\operatorname{dv}=dx$$$。
则 $$$\operatorname{du}=\left(\ln{\left(x \right)}\right)^{\prime }dx=\frac{dx}{x}$$$ (步骤见 »),并且 $$$\operatorname{v}=\int{1 d x}=x$$$ (步骤见 »)。
因此,
$$\operatorname{li}{\left(x \right)} - {\color{red}{\int{\ln{\left(x \right)} d x}}}=\operatorname{li}{\left(x \right)} - {\color{red}{\left(\ln{\left(x \right)} \cdot x-\int{x \cdot \frac{1}{x} d x}\right)}}=\operatorname{li}{\left(x \right)} - {\color{red}{\left(x \ln{\left(x \right)} - \int{1 d x}\right)}}$$
应用常数法则 $$$\int c\, dx = c x$$$,使用 $$$c=1$$$:
$$- x \ln{\left(x \right)} + \operatorname{li}{\left(x \right)} + {\color{red}{\int{1 d x}}} = - x \ln{\left(x \right)} + \operatorname{li}{\left(x \right)} + {\color{red}{x}}$$
因此,
$$\int{\left(- \ln{\left(x \right)} + \frac{1}{\ln{\left(x \right)}}\right)d x} = - x \ln{\left(x \right)} + x + \operatorname{li}{\left(x \right)}$$
加上积分常数:
$$\int{\left(- \ln{\left(x \right)} + \frac{1}{\ln{\left(x \right)}}\right)d x} = - x \ln{\left(x \right)} + x + \operatorname{li}{\left(x \right)}+C$$
答案
$$$\int \left(- \ln\left(x\right) + \frac{1}{\ln\left(x\right)}\right)\, dx = \left(- x \ln\left(x\right) + x + \operatorname{li}{\left(x \right)}\right) + C$$$A