Math 2.0

Numerical analysis Definition

Inverse distance weighting

Builds on Multivariate interpolationMetric spaceEuclidean distance

Definition

Let (X,δ)(X, \delta) be a metric space, usually ℝd\R^d with the Euclidean distance. Let x1,…,xN∈Xx_1, \dots, x_N \in X be pairwise distinct, let u1,…,uN∈ℝu_1, \dots, u_N \in \R, and let p>0p > 0. For x∈Xx \in X and i=1,…,Ni = 1, \dots, N with x≠xix \ne x_i, put wi(x)=δ(x,xi)−pw_i(x) = \delta(x, x_i)^{-p}. The inverse distance weighting interpolant of the data is the function u ⁣:X→ℝu \colon X \to \R given as follows. If xx is not one of the xix_i, then u(x)=∑i=1Nwi(x) ui∑i=1Nwi(x).u(x) = \frac{\sum_{i=1}^{N} w_i(x) \, u_i}{\sum_{i=1}^{N} w_i(x)}. At the data points, u(xi)=uiu(x_i) = u_i for i=1,…,Ni = 1, \dots, N.

Remarks

The interpolant reproduces the data by definition, and it is continuous at each xix_i, because wi(x)→∞w_i(x) \to \infty as x→xix \to x_i while the other weights stay bounded. Each value u(x)u(x) is a convex combination of the uiu_i, so min⁡iui≤u(x)≤max⁡iui\min_i u_i \le u(x) \le \max_i u_i. This scheme is also called Shepard's method. It is the case of constant fits with weight r−pr^{-p} in moving least squares.

Example: on ℝ\R with p=2p = 2, data u1=10u_1 = 10 at x1=0x_1 = 0 and u2=40u_2 = 40 at x2=3x_2 = 3, at x=1x = 1 the weights are 11 and 1/41/4. So u(1)=10+40/41+1/4=16u(1) = \frac{10 + 40/4}{1 + 1/4} = 16, which lies between 1010 and 4040.

Non-example: the plain average ∑iui/N\sum_i u_i / N with equal weights does not depend on the distances and does not reproduce the data; for the same data it gives 25≠1025 \ne 10 at x1x_1.

Reading path

To understand this page from the ground up, read these 4 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Euclidean distance concept
  2. Metric space concept
  3. Multivariate interpolation concept
  4. Inverse distance weighting definition

Further reading

  1. Web https://en.wikipedia.org/wiki/Inverse_distance_weighting
About this page
Tag55V8WAJXXJ
URIm2://55V8WAJXXJ
Kinddefinition
WritingW0 stub
MSC65D05, 41A05, 41A63
DefinesInverse distance weighting
UsesMultivariate interpolation, Metric space, Euclidean distance

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)
  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.