Skip to article frontmatterSkip to article content

6.5Potential theory

from pylab import *
from scipy.interpolate import barycentric_interpolate

If f(x)f(x) is analytic inside a curve Γ enclosing the interpolation points {xj}\{ x_j \}, the error in polynomial interpolant is

f(x)p(x)=12πiΓ(x)(t)f(t)(tx)dtf(x) - p(x) = \frac{1}{2\pi\ii} \oint_{\Gamma} \frac{\ell(x)}{\ell(t)} \frac{f(t)}{(t-x)} \ud t

We have seen that if ff is analytic inside the stadium SS, the error goes to zero exponentially. If the function has a singularity within the stadium S, i.e., close to the real line, then we have to do more analysis and the effect of point distribution also has to be considered in the analysis.

Define

γn(x,t)=(t)(x)1/(n+1)=(j=0ntxjxxj)1/(n+1)\gamma_n(x,t) = \left| \frac{\ell(t)}{\ell(x)} \right|^{1/(n+1)} = \left( \prod_{j=0}^n \frac{ |t-x_j| }{ |x- x_j| } \right)^{1/(n+1)}

then

(x)(t)=[γn(x,t)]n1\left| \frac{\ell(x)}{\ell(t)} \right| = [\gamma_n(x,t)]^{-n-1}

If γn(x,t)>1\gamma_n(x,t) > 1, for all tΓt \in \Gamma, then we get exponential convergence as nn \to \infty. Define

αn=minxX,tΓγn(x,t),X=[1,+1]\alpha_n = \min_{x \in X, t \in \Gamma} \gamma_n(x,t), \qquad X = [-1,+1]

If αnα>1\alpha_n \ge \alpha > 1 for all sufficiently large nn, and if ff is analytic in the region bounded by Γ, then p(x)f(x)p(x) \to f(x) at the rate O(αn)O(\alpha^{-n}).

We can give a geometric interpretation of the condition αn>1\alpha_n > 1; the geometric mean distance of every tΓt \in \Gamma from {xj}\{ x_j \} is strictly greater than the geometric mean distance of every xXx \in X to {xj}\{ x_j \}.

6.5.1Discrete potential

We want to study the behaviour of the function γn(x,t)\gamma_n(x,t). Taking logarithm

logγn(x,t)=1n+1j=0nlogtxj1n+1j=0nlogxxj\log \gamma_n(x,t) = \frac{1}{n+1} \sum_{j=0}^n \log|t-x_j| - \frac{1}{n+1} \sum_{j=0}^n \log|x-x_j|

Define the potential function

un(s)=1n+1j=0nlogsxj=1n+1logωn(s)u_n(s) = \frac{1}{n+1} \sum_{j=0}^n \log|s-x_j| = \frac{1}{n+1} \log|\omega_n(s)|

Recall that ωn(x)\omega_n(x) is the polynomial factor in the error estimate. unu_n is a harmonic function in the complex plane away from {xj}\{x_j\}. We may think of each xjx_j as a point charge of strength 1n+1\frac{1}{n+1}, like an electron, and of unu_n as the potential induced by all the charges, whose gradient defines an electric field.

In terms of the potential

logγn(x,t)=un(t)un(x)and(x)(t)=e(n+1)[un(t)un(x)]\log \gamma_n(x,t) = u_n(t) - u_n(x) \qquad \textrm{and} \qquad \left| \frac{\ell(x)}{\ell(t)} \right| = \ee^{-(n+1)[ u_n(t) - u_n(x)]}

For convergence, we require un(t)un(x)>0u_n(t)-u_n(x) > 0; in particular if

minxX,tΓ[un(t)un(x)]logα>0,for some α>1\min_{x \in X, t \in \Gamma}[ u_n(t) - u_n(x)] \ge \log\alpha > 0, \qquad \textrm{for some $\alpha > 1$}

then

(x)(t)e(n+1)logα=αn10\left| \frac{\ell(x)}{\ell(t)} \right| \le \ee^{-(n+1)\log\alpha} = \alpha^{-n-1} \to 0

and the interpolants converge exponentially, fp=O(αn)\norm{f-p}_\infty = O(\alpha^{-n}). We can write the condition as

mintΓun(t)maxxXun(x)logα>0,for some α>1\min_{t \in \Gamma} u_n(t) - \max_{x \in X} u_n(x) \ge \log\alpha > 0, \qquad \textrm{for some $\alpha > 1$}

Hence convergence depends on the difference of values taken by the potential function on the set of points XX where the interpolant is to be evaluated and on a contour Γ inside which ff is analytic. If ff is analytic everywhere, we can take take Γ far out in the complex plane and we easily satisfy the above condition since

un(t)logt,t1u_n(t) \approx \log|t|, \qquad |t| \gg 1

But if there is a singularity close to the real line, Γ cannot be taken too far away, and then we have to analyze the condition more carefully.

6.5.2From discrete to continuous potentials

Since we are interested in the case nn \to \infty, we can examine the potential in this limit. We can write the potential unu_n as a Lebesque-Stieltjes integral

un(s)=11logsτμn(τ)dτu_n(s) = \int_{-1}^1 \log|s-\tau| \mu_n(\tau) \ud\tau

where μn\mu_n is a measure consisting of a sum of Dirac delta functions, each of strength 1/(n+1)1/(n+1)

μn(τ)=1n+1j=0nδ(τxj)\mu_n(\tau) = \frac{1}{n+1} \sum_{j=0}^n \delta(\tau - x_j)

What is the limiting measure as nn \to \infty ? The precise notion of convergence appropriate for this limit is known as “weak-star” convergence. This limit depends on the grid point distribution which is characterized by μn\mu_n. Note that

11μn(τ)dτ=1,abμn(τ)dτ=number of nodes in [a,b]n+1\int_{-1}^1 \mu_n(\tau)\ud\tau = 1, \qquad \int_a^b \mu_n(\tau) \ud \tau = \frac{\textrm{number of nodes in $[a,b]$}}{n+1}

In the limit, we need

11μ(τ)dτ=1,abμ(τ)dτ=number of nodes in [a,b]n+1\int_{-1}^1 \mu(\tau)\ud\tau = 1, \qquad \int_a^b \mu(\tau) \ud \tau = \frac{\textrm{number of nodes in $[a,b]$}}{n+1}

The second property can also be written as

μ(τ)dτ=number of nodes in [τ12dτ,τ+12dτ]total number of nodes\mu(\tau) \ud\tau = \frac{\textrm{number of nodes in $[\tau-\half\ud\tau, \tau+ \half\ud\tau]$}}{\textrm{total number of nodes}}

6.5.2.1Uniform point distribution

The number of nodes in an interval of length Δτ\Delta\tau is proportional to Δτ\Delta\tau so that

μ(τ)dτ=Cdτ\mu(\tau) \ud\tau = C \ud\tau

and using the condition 11μ(τ)dτ=1\int_{-1}^1\mu(\tau)\ud\tau=1 we get C=12C=\half and

μ(τ)=12\mu(\tau) = \frac{1}{2}

The limiting potential is

u(s)=1211logsτdτ=1+12Real[(s+1)log(s+1)(s1)log(s1)]\begin{align} u(s) &= \half \int_{-1}^1 \log|s-\tau| \ud\tau \\ &= -1 + \half \textrm{Real} [(s+1)\log(s+1) - (s-1)\log(s-1)] \end{align}

At the end-points and middle, it takes the values

u(±1)=1+log(2),u(0)=1u(\pm 1) = -1 + \log(2), \qquad u(0) = -1

The equipotential curve u(s)=1+log(2)u(s) = -1 + \log(2) is shown in red in figure and it cuts the imaginary axis at ±0.52552491457i\pm 0.52552491457\ii and passes through the end points x=±1x=\pm 1.

Equipotential curves for uniform points. The red curve corresponds to u(s) = -1 + \log 2.

Equipotential curves for uniform points. The red curve corresponds to u(s)=1+log2u(s) = -1 + \log 2.

If ff has a singularity outside the red curve, then we can take Γ to be an equipotential curve

Γ={sC:u(s)=u0>1+log(2)}\Gamma = \{ s \in \complex : u(s) = u_0 > -1 + \log(2) \}

and

u(x)1+log(2),xXu(x) \le -1 + \log(2), \qquad x \in X

Then

mintΓu(t)maxxXu(x)u0+1log(2)>0\min_{t \in \Gamma} u(t) - \max_{x \in X} u(x) \ge u_0 + 1 - \log(2) > 0

and we have exponential convergence. But if the singularity is inside the red curve, then we cannot choose a curve Γ that satisfies the above condition; interpolation at uniform nodes will not converge.

6.5.2.2Chebyshev points

The Chebyshev points are uniformly distributed with respect to the variable θ[0,π]\theta \in [0,\pi] where x=cosθx = \cos\theta, so that

μ(τ)dτ=Cdθ\mu(\tau)\ud\tau = C \ud\theta

and using the condition

11μ(τ)dτ=1=0πCdθ\int_{-1}^1\mu(\tau)\ud\tau = 1 = \int_0^\pi C \ud\theta

we get

C=1π,μ(τ)=C[dτdθ]1=1π1τ2C = \frac{1}{\pi}, \qquad \mu(\tau) = C \left[ \dd{\tau}{\theta} \right]^{-1} = \frac{1} {\pi \sqrt{1-\tau^2}}

The limiting potential is

u(s)=11logsτπ1τ2dτ=logs+i1s2log2u(s) = \int_{-1}^1 \frac{\log|s-\tau|}{\pi\sqrt{1-\tau^2}} \ud\tau = \log|s + \ii \sqrt{1-s^2}| - \log 2

For

s[1,+1],u(s)=logs2+(1s2)log2=log2=consts \in [-1,+1], \qquad u(s) = \log\sqrt{s^2 + (1-s^2)} - \log 2 = -\log 2 = \textrm{const}

Thus

X=[1,+1]X = [-1,+1] is an equipotential curve of the potential function u(s)u(s).

Equipotential curves for chebyshev points. The potential is u(s) = \log|s + \ii \sqrt{1-s^2}| - \log 2.  For u_0 > -\log 2, the equipotential curve u(s) = u_0 is the Bernstein ellipse E_\rho with \rho = 2 \ee^{u_0} which encloses the set X.

Equipotential curves for chebyshev points. The potential is u(s)=logs+i1s2log2u(s) = \log|s + \ii \sqrt{1-s^2}| - \log 2. For u0>log2u_0 > -\log 2, the equipotential curve u(s)=u0u(s) = u_0 is the Bernstein ellipse EρE_\rho with ρ=2eu0\rho = 2 \ee^{u_0} which encloses the set XX.

This property helps us. No matter how close the singularity of ff is to XX, we can always find an equipotential curve u(s)=ρu(s) = \rho with ρ>log(2)\rho > -\log(2), which encloses XX and inside which ff is analytic. If we take Γ to be this equipotential curve then

mintΓu(t)maxxXu(x)=ρ+log(2)>0\min_{t \in \Gamma} u(t) - \max_{x \in X} u(x) = \rho + \log(2) > 0

and we obtain exponential convergence.

Thus, interpolation with Chebyshev points will converge exponentially for real analytic functions. Note that the form of μ indicates that what is needed is that the interpolation points {xj}\{ x_j \} must be clustered near the end-points with a density of (1x2)1/2(1-x^2)^{-1/2}.