Let (Ω,F)(\Omega, \mathcal{F}) be a measurable space, μ\mu and ν\nu be two probability measure.

Definition. The total variance distance between μ\mu and ν\nu is defined as

∥μ−ν∥TV≐sup⁡E∈F∣μ(E)−ν(E)∣. \Vert \mu - \nu \Vert_{TV} \doteq \sup_{ E \in \mathcal{F} } \big| \mu(E) - \nu(E) \big|.

Property. ∥⋅∥TV\Vert \cdot \Vert_{TV} is a metric.

Proof.

  1. Clearly ∥⋅∥TV\Vert \cdot \Vert_{TV} is non-negative.

  2. If ∥μ−ν∥TV=0\Vert \mu - \nu \Vert_{TV} = 0, then μ(E)=ν(E)\mu(E) = \nu(E), for each E∈FE \in \mathcal{F}. Therefore, μ=ν\mu = \nu.

  3. Let κ\kappa be another probability measure. Then

∥μ−κ∥TV=sup⁡E∈F∣μ(E)−κ(E)∣≤sup⁡E∈F(∣μ(E)−ν(E)∣+∣ν(E)−κ(E)∣)≤sup⁡E∈F∣μ(E)−ν(E)∣+sup⁡E∈F∣ν(E)−κ(E)∣=∥μ−ν∥TV+∥ν−κ∥TV. \begin{aligned} \Vert \mu - \kappa \Vert_{TV} &= \sup_{ E \in \mathcal{F} } \big| \mu(E) - \kappa(E) \big| \\ &\le \sup_{ E \in \mathcal{F} } \left( \big| \mu(E) - \nu(E) \big| + \big| \nu(E) - \kappa(E) \big| \right) \\ &\le \sup_{ E \in \mathcal{F} } \big| \mu(E) - \nu(E) \big| + \sup_{ E \in \mathcal{F} } \big| \nu(E) - \kappa(E) \big| \\ &= \Vert \mu - \nu \Vert_{TV} + \Vert \nu - \kappa \Vert_{TV}. \end{aligned}

□\square

Property.

∥μ−ν∥TV≐12⋅sup⁡{∫f dμ−∫f dν:∥f∥∞≤1}. \Vert \mu - \nu \Vert_{TV} \doteq \frac{1}{2} \cdot \sup \left\{ \int f \, d \mu - \int f \, d \nu : \Vert f \Vert_\infty \le 1 \right\}.

Proof. Since both μ\mu and ν\nu are probability measure, κ≐μ−ν\kappa \doteq \mu - \nu is a signed measure. Via Hahn Decomposition,

∃A∈F,s.t., {κ(A)=sup⁡{κ(E):E∈F},κ(E)≥0,∀E⊂A ∧ E∈F,κ(E)≤0,∀E⊂Aˉ ∧ E∈F. \exists A \in \mathcal{F}, \quad \text{s.t.,}\, \begin{cases} \kappa(A) = \sup \{ \kappa(E) : E \in \mathcal{F} \}, \\ \kappa(E) \ge 0, &\forall E \subset A \, \wedge\, E \in \mathcal{F}, \\ \kappa(E) \le 0, &\forall E \subset \bar A \, \wedge\, E \in \mathcal{F}. \end{cases}

Hence, ∥μ−ν∥TV=μ(A)−ν(A)=κ(A)\Vert \mu - \nu \Vert_{TV} = \mu(A) - \nu(A) = \kappa(A). Let f≐1A−1Aˉf \doteq \mathbf{1}_{A} - \mathbf{1}_{\bar A}. Then ∥f∥∞≤1\Vert f \Vert_\infty \le 1, and

∫f dμ−∫f dν=μ(A)−ν(A)+ν(Aˉ)−μ(Aˉ)=2⋅∥μ−ν∥TV. \begin{aligned} \int f \, d \mu - \int f \, d \nu &= \mu(A) - \nu(A) + \nu(\bar A) - \mu(\bar A) \\ &= 2 \cdot \Vert \mu - \nu \Vert_{TV}. \end{aligned}

□\square