Skip to content

A Riemann–Hilbert calculation must specify which side of the contour carries each boundary value and which side the jump multiplies. A rational problem with a known solution lets us test the discretization between collocation nodes and check the coefficient reconstructed at infinity. The matrix example detects a multiplication-order error a scalar example cannot.

Required background. Direct scattering gives a setting where the analytic sides have physical meanings. Here the contour is a unit circle oriented counterclockwise; the plus side, on the left of the direction of travel, is its interior.

Manufacture a regular jump with known factors

Section titled “Manufacture a regular jump with known factors”

Prescribe M+=M−JM_+=M_-J on ∣z∣=1|z|=1 and M−(∞)=IM_-(\infty)=I. Choose

F+(z)=I+zA3−z,F−(z)=I+B3z−1,J=F−−1F+. F_+(z)=I+\frac{zA}{3-z},\qquad F_-(z)=I+\frac{B}{3z-1},\qquad J=F_-^{-1}F_+ .

In the scalar problem take A=0.4A=0.4, B=0.3B=0.3. The exterior factor’s pole at 1/31/3 lies inside the circle, as does its zero (1−B)/3(1-B)/3, so it is analytic and invertible on the required exterior. The interior candidate has its pole at 33 and zero at 3/(1−A)3/(1-A), both outside. The exact answer is therefore F±F_\pm. The ratio of another regular normalized solution to this one extends across the circle to an entire function with value one at infinity, which proves uniqueness. The first exterior coefficient is M1=B/3M_1=B/3 in M−=I+M1/z+⋯M_-=I+M_1/z+\cdots. Trogdon and Olver, chapter 6, boundary discretization of jump problems

In dimension two choose A=0.4E12A=0.4 E_{12} and B=0.3E21B=0.3 E_{21}, where EijE_{ij} has one unit entry. Both factors have determinant one wherever defined, and the same exact construction and uniqueness argument hold. Now ABA B and BAB A are different diagonal matrices. Exchanging F−−1F+F_-^{-1}F_+ with F+F−−1F_+F_-^{-1} really changes the jump. If reversing the contour orientation also exchanges plus and minus, use the inverse jump to preserve the original solution.

Solve for coefficients and test three outputs

Section titled “Solve for coefficients and test three outputs”

Approximate the interior by ∑j=0KDjzj\sum_{j=0}^K D_j z^j and the exterior by I+∑j=1KCjz−jI+\sum_{j=1}^K C_j z^{-j}. Positive versus negative powers enforce analyticity on the designated sides. Keeping the exterior constant equal to II fixes normalization separately. At 4K+84K+8 equally spaced boundary points impose the linear equations M+−M−J=0M_+-M_-J=0 in least squares, solving every output row. Test the maximum row-sum norm at a different grid displaced by half a collocation spacing. Finally compare C1C_1 directly to B/3B/3.

KKScalar jump errorMatrix jump errorMatrix C1C_1 error
31.09×10−21.09\times10^{-2}7.35×10−37.35\times10^{-3}1.28×10−51.28\times10^{-5}
64.01×10−44.01\times10^{-4}2.73×10−42.73\times10^{-4}1.37×10−81.37\times10^{-8}
125.54×10−75.54\times10^{-7}3.76×10−73.76\times10^{-7}2.47×10−142.47\times10^{-14}

The first recovered matrix coefficient is already close to rounding accuracy at the highest order, while the withheld jump defect is still visible. Agreement of a reconstructed field coefficient is therefore insufficient to certify both traces. Singularities near a deformed contour can slow convergence, and oscillations may require a new contour and scale, as in the Gaussian saddle example. Reproduce both least-squares systems and withheld tests (Python)

Try the same counterclockwise circle with J(z)=diag⁡(z,z−1)J(z)=\operatorname{diag}(z,z^{-1}). Every jump matrix is invertible with determinant one. The second column would have to satisfy zM+(2)=M−(2)zM_+^{(2)}=M_-^{(2)}, where the superscript denotes the column. Analyticity inside forces the left side to start with a positive power of zz. Analyticity outside and normalization force the right side to have constant term (0,1)T(0,1)^{\mathsf T} followed by negative powers. Taking the mean around the circle exposes the contradiction in the lower entry.

This obstruction is visible before writing a solver. In that lower entry the defect has mean −1-1 when formed as interior minus exterior, hence its root-mean-square magnitude is at least one. Zero choices for the free coefficients attain the bound. The companion reproduces it with Laurent order five and 32 equally spaced nodes. The sampled Fourier modes are distinct at that order. Increasing the order on a suitably resolved grid preserves the discrepancy. Adding a pole or changing the normalization would pose a different factorization problem. Run the winding test and the regular comparison

  • Trogdon, T., and S. Olver (2016). Riemann–Hilbert Problems, Their Numerical Solution, and the Computation of Nonlinear Special Functions. SIAM. Chapter 6.