Methods · Distance
MINKOWSKI DISTANCE (Minkowski Distance)
Minkowski distance is a general distance family tuned by a single number p; as p grows, the weight of the single worst criterion increases, and as it shrinks, the deviation is shared equally across criteria.
Base method's data type: Classical
What Is the Method?
Minkowski distance is a generalised distance measure that gauges the difference between two numerical vectors with a single parameter p. Its input is two equal-length vectors and a number p (p must be greater than or equal to 1), its output a single figure. Though it looks like a separate method, it is in fact a family: given p=1 it equals Manhattan distance, given p=2 it equals Euclidean distance, and as p approaches infinity it equals Chebyshev (largest-difference) distance. It is a building block that feeds the "how far is this alternative from the ideal" step of ranking methods such as TOPSIS and VIKOR.
Its origin lies in Hermann Minkowski's 1910 work Geometrie der Zahlen (Geometry of Numbers), where the general Lp norm was defined. In DecisionMind, Minkowski distance is the single general distance step in which the user chooses the p value; the other distance cards (Manhattan, Euclidean, Chebyshev) are fixed-p special cases of this family.
The Philosophy Behind It
The question behind Minkowski distance is this: in assessing an alternative's deviation from the ideal, how much weight should be given to the way the deviations are distributed? At p=1 (Manhattan), every deviation is counted linearly, and none is penalised more than another. As p grows, large deviations are increasingly heavily penalised; once p becomes very large, only the single worst criterion determines the result, and small deviations on the other criteria lose their significance.
This makes it possible to view Minkowski distance as a slider: at low p the philosophy is "the total deviation matters, regardless of which criterion it comes from"; at high p the philosophy is "the weakest link matters most, and the others cannot compensate for it". A decision-maker's choice of p is, in effect, an implicit answer to the question "how much compensation between criteria is acceptable", and this answer must be stated explicitly in the report.
How It Works
The calculation consists of a single step, but it requires a parameter choice.
One step: raising to the pth power, summing, then taking the pth root. The absolute difference between the two vectors is taken on each criterion, this difference is raised to the pth power, these values are summed across all criteria, and finally the pth root of the sum is taken. Given p=1, this reduces directly to Manhattan distance; given p=2, to Euclidean distance; both are special cases of Minkowski. In DecisionMind, the p value is set by the user; the default value is 2 (Euclidean).
The choice of p directly affects the result of the calculation, and this card's second and third cases demonstrate this with figures. The formula for this step and its implementation in DecisionMind are given on the method page; this card carries no formulas.
How to Read the Output
Minkowski distance is a single figure calculated for the chosen p value; two distances calculated with different p values cannot be compared with one another, because their scales differ. A value of zero means the two vectors are identical; a large value shows that the total deviation (weighted according to the chosen p) is large.
Stating only "the distance is 0.30" without reporting p is incomplete information, because the same two alternatives could come out equal at p=1 while diverging markedly at p=2. Minkowski distance must therefore always be reported together with the p value used; p is a decision that determines the result as much as the rest of the formula does.
Thus instead of writing:
"The distance is 0.30, so these two alternatives are equally far from the ideal"
it is correct to write:
"At p=1 the distances are equal (0.30); moving to p=2 breaks this equality because of how the deviations are distributed, since as p grows a single large deviation weighs more heavily than the others"
Data Type and Inputs
Minkowski distance works with crisp numerical data. Under this name, DM3 holds only the base Minkowski member; it has no separate extension, though the p=1 and p=2 special cases are also found in DM3 separately, under the names Manhattan and Euclidean distance. You need: two equal-length numerical vectors, preferably brought onto a common scale (normalised), and a p value greater than or equal to 1. The choice of p does not come from the data; it is a decision made by the decision-maker or analyst about how much compensation is allowed between criteria, and it must be justified in the report. A minimum of two criteria and two alternatives suffices; there is no upper limit. Minkowski produces no weights and requires none.
When to Use It, When Not To
If you hold a clear view on how much compensation is acceptable between your criteria and want to express that view with a single number (p), Minkowski is a suitable choice; trying values between p=1 and p=2 (or a higher p) lets you see how sensitive the ranking is. If a standard distance (Manhattan or Euclidean) suffices, using that card directly, without the added trouble of choosing p, is simpler.
It should not be used where p is chosen by looking at the data or the desired result; this amounts to searching for p backwards from the result, and it is not honest. Where criteria are binary or categorical, Hamming distance should be used rather than Minkowski. Where criteria are strongly related (correlated) and this relationship should be taken into account, Mahalanobis distance is more suitable.
The meaning of p can be justified beforehand, sensitivity analysis wanted → Minkowski
A standard p=1 or p=2 suffices → Manhattan or Euclidean directly
Criteria binary/categorical → Hamming
Criteria are related to one another (correlated) → Mahalanobis
p is chosen by looking at the result → no distance measure at all; the justification for p must be settled first
Strengths
Minkowski distance's greatest strength is its flexibility: a single parameter spans a wide family, from Manhattan to Euclidean to Chebyshev, letting the analyst tune the understanding of compensation between criteria with p. This flexibility can also be used to test how robust a ranking is: several different p values can be applied to the same data to see whether the order changes. It is simple to calculate and scales linearly as the number of criteria grows.
Weaknesses
Its limitations are the price of its flexibility. First, the choice of p can be arbitrary; two analysts applying different p values to the same data can arrive at different rankings, and which is "correct" cannot be read off from the data, it is a decision. Second, as p grows, the result becomes increasingly sensitive to the single worst criterion alone; this is a desirable property in some situations and a loss of information in others. Third, different p values can rank the same table differently (Aruldoss, Travis and Venkatasamy, 2019); this sensitivity must be shown in the report. Fourth, it does not take the relationship (correlation) between criteria into account. Fifth, if p is not reported, the reader cannot tell which distance was used; this is a gap similar to not stating the form of normalisation in TOPSIS.
Common Mistakes
The most common mistake is saying only "Minkowski distance" without reporting the p value; the figure is meaningless without p. A second mistake is trying several results with different p values, choosing the p that gives the desired ranking, and not showing the others; this is searching for the parameter backwards from the result, and it is not honest. A third mistake is applying Minkowski distance directly to raw, unnormalised criteria; a large-scale criterion dominates the total whatever p is. A fourth mistake is assuming p=1 and p=2 results will always give the same order; where deviations are concentrated at a single point, the two p values can favour different alternatives.
The governing principle is this:
Minkowski distance offers not a single figure but a family; which member (which p) was used is information that must be reported as much as the calculation itself.
Cases
Each case opens with a deviation table, describes in words how the p value affects it, and shows how to read the result. The first case is DM3's own validation example; the figures have been recalculated and verified in Python. The remaining cases are illustrative constructions.
1. Validation: Comparing two numerical vectors at p=2 (DM3 validation example)
DM3's Minkowski-distance engine compares two vectors across three criteria (D1-D3), at p=2: a = (3, 5, 4) and b = (5, 3, 2).
| Vector | D1 | D2 | D3 |
|---|---|---|---|
| a | 3 | 5 | 4 |
| b | 5 | 3 | 2 |
| |a-b| | 2 | 2 | 2 |
The method raises each difference to the second power (2²=4, a total of 12 across the three criteria), then takes the second root of the sum.
Result: Minkowski distance at p=2 is d = 3.464. This value is identical to the Euclidean distance when p=2 is chosen, because p=2 is Euclidean distance itself.
In the report: "At p=2, the distance between a and b is 3.464; this is the same result as applying Euclidean distance to the same data."
Source: This example is DM3's Minkowski-engine validation case, constructed for illustrative purposes.
2. Mining: The effect of p in choosing an explosives supplier
A mining operation is comparing three suppliers (A, B, C) by their deviation from the ideal. The weighted normalised deviation table (difference from the ideal, across three criteria, lower is better) is as follows:
| Supplier | K1 deviation | K2 deviation | K3 deviation | Total deviation (p=1) |
|---|---|---|---|---|
| A | 0.10 | 0.10 | 0.10 | 0.30 |
| B | 0.28 | 0.01 | 0.01 | 0.30 |
| C | 0.05 | 0.05 | 0.20 | 0.30 |
All three suppliers' total absolute deviation (p=1, Manhattan) is identical: 0.30. A's deviation is spread evenly across the three criteria; B's deviation is piled up almost entirely on one criterion (K1); C's deviation is spread at a moderate level across two criteria. At p=1, all three appear equal.
The table changes as p rises:
| p | A | B | C |
|---|---|---|---|
| 1 | 0.300 | 0.300 | 0.300 |
| 2 | 0.173 | 0.280 | 0.212 |
| 4 | 0.132 | 0.280 | 0.200 |
| 8 | 0.115 | 0.280 | 0.200 |
At p=1 there is no difference at all between the three suppliers. The moment p=2 (Euclidean) is used, A comes out best and B worst; as p grows further this order (A, C, B) does not change, but the gap widens, and B's value approaches its single worst criterion (0.28) while A's approaches its own worst criterion (0.10).
The operation hesitates here: at p=1 no distinction can be made between the suppliers at all, because the total deviation is equal for all three. Yet B's deviation is piled onto a single criterion, possibly the most critical one; this is a very different risk profile from A, whose deviation is evenly spread across criteria. p=1 cannot see this difference; p=2 and above reveal it immediately.
In the report: "At p=1, no distinction can be made between the three suppliers (all 0.30). At p=2, A (0.173) is markedly ahead of B (0.280); this is because B's deviation is piled onto a single criterion, while A's is evenly spread across three. The decision has been made using p=2 (Euclidean) as the default choice."
3. Shipping: A p-dependent reversal of order in choosing a port service provider
A shipping firm is comparing two port service providers (X, Y) by their deviation from the ideal. The deviation table across three criteria is as follows:
| Provider | K1 deviation | K2 deviation | K3 deviation |
|---|---|---|---|
| X | 0.01 | 0.01 | 0.30 |
| Y | 0.11 | 0.11 | 0.11 |
X's deviation is concentrated almost entirely on K3 (0.30), and is negligible on the other two criteria (0.01 each). Y's deviation is spread evenly across the three criteria (0.11 each).
| p | X | Y | Winner |
|---|---|---|---|
| 1 | 0.320 | 0.330 | X |
| 1.5 | 0.302 | 0.229 | Y |
| 2 | 0.300 | 0.191 | Y |
| 4 | 0.300 | 0.145 | Y |
| 8 | 0.300 | 0.126 | Y |
At p=1, X (0.320) comes out slightly ahead of Y (0.330), because its total absolute deviation is a little smaller. The moment p rises to 1.5, the order reverses completely: Y (0.229) moves markedly ahead of X (0.302), and this advantage widens further as p grows. The reason is clear: X's single large deviation on K3 (0.30) is penalised increasingly heavily as p grows, and X's distance effectively locks onto this one criterion (already equal to 0.300, that is, K3 itself, by p=8); Y's moderate deviation, evenly spread across three criteria, shrinks rapidly as p grows.
The firm faces a serious dilemma here: at p=1 the decision favours X, at p=1.5 and above the decision decisively favours Y. This means two analysts applying different p values to the same data could arrive at diametrically opposed recommendations. Where p is fixed determines the result as much as the data itself.
In the report: "At p=1, X is ahead by a narrow margin; at every p value from 1.5 upward, Y comes out clearly ahead, because X's single large deviation on K3 is penalised increasingly heavily as p rises. The decision has been made in Y's favour using p=2 (Euclidean, the default); this choice is justified in the report."
4. What Not to Do
In the mining case, reporting the p=1 result (all three suppliers equal) and never showing the difference that emerges at p=2 and above is the first error; this conceals the concentrated risk that B carries. The second error, in the shipping case, is wanting Y to win first and then choosing the p value (1.5 or above) that produces that result and presenting it in the report as "we always use this p"; the justification for choosing p must be settled before the data is seen. The third error is comparing two distance figures obtained with different p values (say, 0.30 at p=1 and 0.17 at p=2) directly and saying "the distance at p=2 is smaller, so it must be a better calculation"; different p values operate on different scales and cannot be compared.
Sources
For the formula for this step and its implementation in DecisionMind, see the method page: decisionmind.app/library/dist-minkowski
Minkowski, H. (1910). Geometrie der Zahlen (2nd ed.). Teubner, Leipzig. (no DOI)
Aruldoss, M., Travis, M. L., & Venkatasamy, P. (2019). A Study and Estimation of Different Distance Measures in Generalized Fuzzy TOPSIS to Improve Ranking Order. In: Advanced Fuzzy Logic Approaches in Engineering Science. IGI Global. DOI: 10.4018/978-1-5225-5709-8.ch010
Chen, T.-Y., & Tsao, C.-Y. (2007). Experimental analysis of the intuitionistic fuzzy TOPSIS method on distance measures. Information Sciences 2007 (7th International FLINS Conference), 1057-1063. DOI: 10.1142/9789812709677_0148
Deza, M. M., & Deza, E. (2009). Encyclopedia of Distances. Springer-Verlag Berlin Heidelberg. DOI: 10.1007/978-3-642-00234-2_1