(1) 如果您提供您使用的显式代码,将会很有帮助。这样其他人(阅读:我)不需要单独编码。
(2) 如果积分存在,它必须为零。这是因为您在交换 x 和 y 时否定了 n(y)-n(x) 因子,但其余部分保持不变。然而,积分范围对称意味着仅重命名变量,因此它必须保持不变。
(3) 这里有一些代码显示它将为零,至少如果我们将奇异部分和围绕它的小带归零。
a = 1;
b = 1;
beta = 1;
eps[x_] := 2*(a-b*Cos[x])
n[x_] := 1/(1+Exp[beta*eps[x]])
delta = .001;
pw[x_,y_] := Piecewise[{{1,Abs[Abs[x]-Abs[y]]>delta}}, 0]
我们在被积函数上加 1 只是为了避免结果接近于零的准确性问题。
NIntegrate[1+Cos[(x+y)/2]^2*(n[x]-n[y])/(eps[x]-eps[y])^2*pw[Cos[x],Cos[y]],
{x,-Pi,Pi}, {y,-Pi,Pi}] / (4*Pi^2)
我得到下面的结果。
NIntegrate::slwcon:
Numerical integration converging too slowly; suspect one of the following:
singularity, value of the integration is 0, highly oscillatory integrand,
or WorkingPrecision too small.
NIntegrate::eincr:
The global error of the strategy GlobalAdaptive has increased more than
2000 times. The global error is expected to decrease monotonically after a
number of integrand evaluations. Suspect one of the following: the
working precision is insufficient for the specified precision goal; the
integrand is highly oscillatory or it is not a (piecewise) smooth
function; or the true value of the integral is 0. Increasing the value of
the GlobalAdaptive option MaxErrorIncreases might lead to a convergent
numerical integration. NIntegrate obtained 39.4791 and 0.459541
for the integral and error estimates.
Out[24]= 1.00002
这很好地表明纯正的结果将为零。
(4) 用 cx 代替 cos(x) 和 cy 代替 cos(y),并去除无关因素以进行收敛性评估,得到以下表达式。
((1 + E^(2*(1 - cx)))^(-1) - (1 + E^(2*(1 - cy)))^(-1))/
(2*(1 - cx) - 2*(1 - cy))^2
以 cx 为中心的 cy 中的级数展开式表示一个 1 阶极点。因此它看起来确实是一个奇异积分。
丹尼尔·利希特布劳