- Introduced by
- Minkowski, H.
- Year
- 1910
- Type
- Distance (Lp, generalised)
- Family
- Distance
What does it do?
Minkowski distance is a family of distances, indexed by p ≥ 1, that measures how far apart two numeric vectors are by combining their coordinate gaps.
It is listed under MCDM, but the formula is a pairwise distance: it compares two profiles and does not rank alternatives by itself.
The intuition behind the method
Suppose each alternative is described by several numeric criteria, and you want to know how far one profile lies from another, or from a reference profile. The Minkowski distance takes the absolute gap on each criterion, raises it to the power p, adds these terms, and takes the p-th root of the sum. With p = 1 every unit of gap counts equally wherever it occurs; as p grows, the largest single gap increasingly determines the result. The output is a measure of separation only, so turning it into a decision requires a further step that the formula does not provide.
History
The distance is named after the mathematician Hermann Minkowski, and the page cites his book Geometrie der Zahlen (Teubner, Leipzig, 1910). The Lp family generalises the Manhattan (p = 1), Euclidean (p = 2) and Chebyshev (p → ∞) distances. The page's citation is a bibliographic reference to the book, and the 1910 date is that of the cited edition; the book is not an exposition of this formula in its modern form, so treat the citation as a naming credit rather than a derivation.
When to use it
Choose this distance when your question concerns the separation between two numeric profiles measured on the same coordinates, and the coordinates are already on comparable scales. Choose p according to how strongly a single large gap should dominate: p = 1 treats all gaps additively, while larger p gives more weight to the largest gap. Do not use it on its own when the goal is to rank several alternatives; that requires a ranking procedure that aggregates scores, which this formula does not provide. Avoid it for categorical or ordinal coordinates, where differences between coordinate values have no clear meaning, and for mixed-scale data unless the coordinates are standardised beforehand. Values p < 1 fall outside the stated range and should not be used with this formula.
Limitations and considerations
- The formula on this page has no weights and no normalisation step. Results therefore depend on the units and numerical ranges of the coordinates: a criterion with larger values contributes more to the distance. If weights or normalisation are applied before the distance is computed, the results also depend on those choices.
- The formula is restricted to p ≥ 1. For p < 1 the triangle inequality fails, so the expression is not a metric there.
- The output is one number per pair of profiles, with no ranking or aggregation step, so it cannot by itself order alternatives.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- The formula is a single explicit expression with one parameter, p, so each computed distance can be reproduced by hand, as the example shows for p = 2 (gaps 2, 2, 2 give √12 ≈ 3.4641).
- The parameter p moves the measure between familiar cases (Manhattan at p = 1, Euclidean at p = 2, Chebyshev in the limit), so one formula covers several distances.
Applications
- Nearest-neighbour search, where the stored profile with the smallest distance to a query profile is returned.
- Clustering of numeric records, where the choice of p determines which records are judged similar.
- Within a larger decision procedure, measuring how far each alternative's criterion profile lies from an ideal or reference profile, with the resulting distances passed to a separate ranking step.
How it works
How it works
Take the absolute gap |a_j − b_j| on each of the n coordinates, raise it to the power p, sum over all coordinates, and take the p-th root of the sum. The special cases are p = 1, which gives the Manhattan distance (sum of absolute gaps); p = 2, which gives the Euclidean distance; and the limit p → ∞, which gives the Chebyshev distance (largest single gap).
Formula
d_p(\mathbf{a},\mathbf{b}) = \left(\sum_{j=1}^{n}|a_j-b_j|^p\right)^{1/p},\quad p\ge 1Common pitfalls
- Because the formula does not normalise coordinates, a criterion with a large numerical range dominates the distance whatever the value of p. Rescaling the criteria changes the result, so choose and report a scaling (for example standardisation) before computing distances.
- Large p makes the largest coordinate gap the main driver of the distance, so one outlying criterion can determine the outcome. Small p, such as p = 1, lets many moderate gaps add up without emphasising the largest one. Neither choice of p is correct in general; it should be justified by the decision context and reported with the result.
Frequently asked questions
Is the Minkowski distance an MCDM method?
Not on its own. The formula measures the distance between two numeric vectors and does not aggregate criteria into a ranking. It can be a component of a decision procedure, but that procedure must supply the ranking step, any normalisation and any weights.
Which value of p should I use?
The formula does not prescribe one. p = 1 treats coordinate gaps additively, p = 2 gives the Euclidean distance used in the page's example, and larger p gives more emphasis to the largest gap. The choice should follow from the decision context and be reported with the result.
Why do the units of my criteria matter?
The formula adds raw coordinate gaps, so a criterion with larger values or a wider range contributes more to the distance. Standardise the criteria beforehand if they are not on comparable scales.
Sources
Minkowski, H. (1910). Geometrie der Zahlen. Teubner, Leipzig
Open publication reference