ArticleslgStudy

mathematics

Polyharmonic spline

Polyharmonic spline is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Polyharmonic spline rather than just read about it. In short: In applied mathematics, polyharmonic splines are used for function approximation and data interpolation. They are very useful for interpolating and fitting scattered data in many dimensions.

Polyharmonic spline — main illustration
Polyharmonic spline — illustration

Key takeaways

  • Polyharmonic spline belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Polyharmonic spline to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Polyharmonic spline from memory before moving on to harder problems.

Reference excerpt

In applied mathematics, polyharmonic splines are used for function approximation and data interpolation. They are very useful for interpolating and fitting scattered data in many dimensions. Special cases include thin plate splines and natural cubic splines in one dimension.

Definition A polyharmonic spline is a linear combination of polyharmonic radial basis functions (RBFs) denoted by φ plus a polynomial term:

where

𝐱=[x1 x2 ⋯ xd]T (T denotes matrix transpose, meaning 𝐱 is a column vector) is a real-valued vector of d independent variables, 𝐜i=[ci,1 ci,2 ⋯ ci,d]T are N vectors of the same size as 𝐱 (often called centers) that the curve or surface must interpolate, 𝐰=[w1 w2 ⋯ wN]T are the N weights of the RBFs, 𝐯=[v1 v2 ⋯ vd+1]T are the d+1 weights of the polynomial. The polynomial with the coefficients 𝐯 improves fitting accuracy for polyharmonic smoothing splines and also improves extrapolation away from the centers 𝐜i. See figure below for comparison of splines with polynomial term and without polynomial term. The polyharmonic RBFs are of the form:

φ(r)={rkwith k=1,3,5,…,rkln⁡(r)with k=2,4,6,…r=|𝐱−𝐜i|=(𝐱−𝐜i)T(𝐱−𝐜i). Other values of the exponent k are not useful (such as φ(r)=r2), because a solution of the interpolation problem might not exist. To avoid problems at r=0 (since log⁡(0)=−∞), the polyharmonic RBFs with the natural logarithm might be implemented as:

φ(r)={rk−1ln⁡(rr)for r<1,(this works because 00 is defined)rkln⁡(r)for r≥1. or, more simply adding a continuity extension in r=0

φ(r)={0for r<ϵ,(for some very small value of ϵ, e.g. if using floating point numbers in double precisions, ϵ=10−200)rkln⁡(r)for r≥ϵ. The weights wi and vj are determined such that the function interpolates N given points (𝐜i,fi) (for i=1,2,…,N) and fulfills the d+1 orthogonality conditions

∑i=1Nwi=0,∑i=1Nwi𝐜i=𝟎. All together, these constraints are equivalent to the symmetric linear system of equations

where

Ai,j=φ(|𝐜i−𝐜j|),B=[11⋯1𝐜1𝐜2⋯𝐜N]T,𝐟=[f1,f2,…,fN]T. In order for this system of equations to have a unique solution, B must be full rank. B is full rank for very mild conditions on the input data. For example, in two dimensions, three centers forming a non-degenerate triangle ensure that B is full rank, and in three dimensions, four centers forming a non-degenerate tetrahedron ensure that B is full rank. As explained later, the linear transformation resulting from the restriction of the domain of the linear transformation A to the null space of BT is positive definite. This means that if B is full rank, the system of equations (2) always has a unique solution and it can be solved using a linear solver specialised for symmetric matrices. The computed weights allow evaluation of the spline for any 𝐱∈ℝd using equation (1). Many practical details of implementing and using polyharmonic splines are explained in Fasshauer. In Iske polyharmonic splines are treated as special cases of other multiresolution methods in scattered data modelling.

Discussion The main advantage of polyharmonic spline interpolation is that usually very good interpolation results are obtained for scattered data without performing any "tuning", so automatic interpolation is feasible. This is not the case for other radial basis functions. For example, the Gaussian function e−k⋅r2 needs to be tuned, so that k is selected according to the underlying grid of the independent variables. If this grid is non-uniform, a proper selection of k to achieve a good interpolation result is difficult or impossible. Main disadvantages are:

To determine the weights, a dense linear system of equations must be solved. Solving a dense linear system becomes impractical if the dimension N is large, since the memory required is O(N2) and the number of operations required is O(N3). Evaluating the computed polyharmonic spline function at M data points requires O(MN) operations. In many applications (image processing is an example), M is much larger than N, and if both numbers are large, this is not practical.

Fast construction and evaluation methods One straightforward approach to speeding up model construction and evaluation is to use a subset of k nearest interpolation nodes to build a local model every time we evaluate the spline. As a result, the total time needed for model construction and evaluation at M points changes from O(N3+MN) to O(k3∗M). This can yield better timings if k is much less than N. Such an approach is advocated by some software libraries, the most notable being scipy.interpolate.RBFInterpolator. The main drawback is that it introduces small discontinuities in the spline and requires problem-specific tuning: a proper choice of the neighbors count, k. Recently, methods have been developed to overcome the aforementioned difficulties without sacrificing main advantages of polyharmonic splines. First, a bunch of methods for fast O(log⁡N) evaluation were proposed:

Beatson et al. present a method to interpolate polyharmonic splines with r2k−1 being a basis function at one point in 3 dimensions or less Cherrie et al. present a method to interpolate polyharmonic splines with r2klog⁡r as a basis function at one point in 4 dimensions or less Second, an accelerated model construction by applying an iterative solver to an ACBF-preconditioned linear system was proposed by Brown et al. This approach reduces running time from O(N3) to O(N2), and further to O(Nlog⁡N) when combined with accelerated evaluation techniques. The approaches above are often employed by commercial geospatial data analysis libraries and by some open source implementations (e.g. ALGLIB). Sometimes domain decomposition methods are used to improve asymptotic behavior, reducing memory requirements from O(N2) to O(N), thus making polyharmonic splines suitable for datasets with more than 1.000.000 points.

… excerpt ends here. Continue reading the full article.

Illustrations

Polyharmonic spline: Interpolation with different polyharmonic splines that shall pass the 4 predefined points marked by a circle (the interpolation with phi = r2 is not useful, since the linear equation system of the interpolation problem has no solution; it is solved in a least squares
sense, but then does not pass the centers)
Interpolation with different polyharmonic splines that shall pass the 4 predefined points marked by a circle (the interpolation with phi = r2 is not useful, since the linear equation system of the interpolation problem has no solution; it is solved in a least squares sense, but then does not pass the centers)
Polyharmonic spline: The same interpolation as in the first figure, but the points to be interpolated are scaled by 100
The same interpolation as in the first figure, but the points to be interpolated are scaled by 100
Polyharmonic spline: The same interpolation as in the first figure, but without the polynomial term
The same interpolation as in the first figure, but without the polynomial term

Worked examples

Example 1 — a first encounter with Polyharmonic spline

Start with the simplest possible case. Write down what Polyharmonic spline claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Polyharmonic spline before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Polyharmonic spline ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Polyharmonic spline

In research
Polyharmonic spline appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Polyharmonic spline in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Polyharmonic spline is common in secondary-school and first-year university syllabi. It links to neighbouring topics Interpolation, Multivariate interpolation, Splines (mathematics), so understanding it makes those chapters shorter.
In everyday life
Look for Polyharmonic spline outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Polyharmonic spline” →

How to study Polyharmonic spline in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Polyharmonic spline means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Polyharmonic spline out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Polyharmonic spline in simple terms?

In applied mathematics, polyharmonic splines are used for function approximation and data interpolation. They are very useful for interpolating and fitting scattered data in many dimensions.

Why does Polyharmonic spline matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Polyharmonic spline?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Polyharmonic spline.

Tags

  • Interpolation
  • Multivariate interpolation
  • Splines (mathematics)

Keep exploring