# Exact computation of the matching distance on 2-parameter persistence modules

arXiv: https://arxiv.org/abs/1812.09085 · HTML: https://mlsanity.com/paper/1812.09085/

## Key facts

- Cited by 3 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 21 Dec 2018.

## Built on by (most cited first, 3 of 3)

- [Stability for Inference with Persistent Homology Rank Functions](https://mlsanity.com/paper/2307.02904/) (2023)
- [COMPLEX: A Closed-Form Certified Embedding of Multiparameter Persistence Modules](https://mlsanity.com/paper/2609.22012/) (2026)
- [The sublevel Flood bifiltration: towards scalable 2-parameter persistent homology](https://mlsanity.com/paper/2610.05441/) (2026)

## Abstract (arXiv)

The matching distance is a pseudometric on multi-parameter persistence modules, defined in terms of the weighted bottleneck distance on the restriction of the modules to affine lines. It is known that this distance is stable in a reasonable sense, and can be efficiently approximated, which makes it a promising tool for practical applications. In this work, we show that in the 2-parameter setting, the matching distance can be computed exactly in polynomial time. Our approach subdivides the space of affine lines into regions, via a line arrangement. In each region, the matching distance restricts to a simple analytic function, whose maximum is easily computed. As a byproduct, our analysis establishes that the matching distance is a rational number, if the bigrades of the input modules are rational.
