Post · 2 min read· pp. 118–121

Approximating Pushnitski's reciprocal log function

The function ∣x∣|x| can be approximated with accuracy O(1/n)O(1/n) by degree nn polynomials on [−1,1][-1,1] but accuracy O(exp⁡−Cn)O(\exp-C\sqrt n) by type (n,n)(n,n) rationals. In a lecture at Oxford on 8 November, Alexander Pushnitski presented some striking theorems concerning much more difficult functions involving $1/\log x$. Roughly speaking polynomials can achieve accuracy $1/\log n$ whereas rationals are closer to $1/n$.

As a concrete example, consider the function that takes the value $0$ for x∈[−.1,0]x\in [-.1,0] and −1/log⁡x-1/\log x for x∈[0,.1]x\in [0,.1], we construct ff with splitting, we get this image:

text
f = chebfun('-heaviside(x)./log(x)',[-.1,.1],'splitting','on');
LW = 'linewidth'; MS = 'markersize';
plot(f,'k',LW,2), ylim([-.2 .5]), grid on

The function is so steep that Chebfun thinks it actually has a jump at x=0x=0, hence the gap in the plot.

We know that the Chebyshev coefficients of a function with a jump discontinuity decrease at the rate O(1/n)O(1/n). This function is almost a step discontinuity, and the Chebyshev coefficients decrease almost as slowly, at a rate (to be confirmed) O(1/nlog⁡n)O(1/n\log n):

text
f1000 = chebfun('-heaviside(x)./log(x)',[-.1,.1],1000);
plotcoeffs(f1000,'loglog'), xlim([0 500]), grid on

Here are some polynomial approximations to ff.

text
tic
f = chebfun({0,'-1./log(x)'},[-.1 0 .1],1000);
LW = 'linewidth'; MS = 'markersize';
for m = 1:4
  p = remez(f,4*m);
  subplot(2,2,m), plot(f-p), grid on
  title(['degree ' int2str(2*m)])
end
toc
text
Elapsed time is 12.551456 seconds.

These converge very slowly, and that could easily be proved. For pp to approximate ff to accuracy ϵ\epsilon, its derivative would have to be of size at least exp⁡(C/ϵ)\exp(C/\epsilon). From Markov's inequality it will follow that ϵ\epsilon can decrease no faster than approximately O(1/log⁡n)O(1/\log n) as n→inftyn\to infty (to be confirmed).

Here are some rational approximations. The convergence is probably O(1/n)O(1/n), but we are far from seeing that.

text
tic
for m = 1:4
  [p,q] = remez(f,m-1,m-1);
  subplot(2,2,m), plot(f-p./q), grid on
  title(['type (' int2str(m-1) ',' int2str(m-1) ')'])
end
toc
text
Warning: Remez algorithm did not converge after 20 iterations to the tolerance
4.6e-14. 
Elapsed time is 16.780112 seconds.

What about CF (=AAK) approximation, which as it happens is the method used by Pushnitsky for his proofs? It gets in the ballpark:

text
tic
for m = 1:4
  [p,q] = cf(f,m-1,m-1,4000);
  subplot(2,2,m), plot(f-p./q), grid on
  title(['type (' int2str(m-1) ',' int2str(m-1) ')'])
end
toc
text
Elapsed time is 3.393613 seconds.