Skip to content

Bhattacharyya distance

The negative logarithm of the Bhattacharyya coefficient, quantifying overlap between two probability distributions.

Version
v2 · 2026-09-19 · History
Domain-specific #
3449
Domain group
Formal Sciences
Origin domain
Experimental Design & Statistics
Subdomain
Statistical Distance → Experimental Design & Statistics

Core Idea

For distributions on a common support, the coefficient integrates or sums the geometric mean of their densities or masses, and the distance is its negative logarithm. Pointwise geometric means accumulate shared probability mass; logarithmic transformation converts decreasing overlap into increasing separation and supports additive behavior in product cases. The abstraction is therefore identified by a declared carrier, a transformation or constraint over that carrier, and an invariant that tells an analyst whether the named structure is genuinely present.

The load-bearing residual is not the broad topic of statistical distance. It is the domain-specific identity determined by both distributions use a common dominating measure or discrete support, the coefficient is computed from normalized nonnegative probabilities, and zero overlap is handled as infinite distance.

How would you explain it like I'm…

The Sand-Pile Overlap

Imagine two piles of sand spread out along a line, shaped differently. You check, spot by spot, how much the two piles are both there together. If they overlap a lot, they count as close; if they hardly overlap, they are far apart, and if they don't overlap at all, they are infinitely far apart. The Bhattacharyya distance measures that.

Measuring How Much Chances Overlap

The Bhattacharyya distance measures how different two sets of chances are, for example the chances of different heights in two groups of people. At every possible value, you look at how likely it is in the first group and in the second group, and combine them in a way that is big only when both are big. Adding this up over all values tells you how much the two overlap, a number called the Bhattacharyya coefficient. The distance turns that around: lots of overlap means a small distance, and no overlap at all means an endless distance.

Log-Overlap Distribution Distance

The Bhattacharyya distance compares two probability distributions defined over the same set of outcomes. First you compute the Bhattacharyya coefficient: at each outcome, take the geometric mean of the two probabilities (the square root of their product) and add these up (or integrate, for continuous distributions). This coefficient is 1 when the distributions are identical and shrinks toward 0 as they overlap less. The distance is the negative logarithm of the coefficient, so it is 0 for identical distributions and grows as they separate, becoming infinite if they don't overlap at all. The logarithm also makes the distance add up nicely for independent combined variables. Both distributions must be proper (nonnegative, summing to one) on a common support.

 

For two probability distributions P and Q on a common support or with respect to a common dominating measure, the Bhattacharyya coefficient is BC(P,Q) = Σ √(p(x)q(x)) in the discrete case or ∫ √(p q) dμ in the continuous case, accumulating pointwise geometric means of the probabilities as a measure of shared mass. The Bhattacharyya distance is D_B = −ln BC. Since BC lies in [0,1], D_B ranges from 0 for identical distributions to +∞ when there is no overlap. The logarithm converts decreasing overlap into increasing separation and makes the distance additive over products of independent distributions. Correct use requires normalized, nonnegative probabilities on a shared support or dominating measure, and explicit handling of zero overlap as infinite distance; related measures such as the Hellinger distance, also built from the coefficient, are neighbors rather than the same quantity.

Scope of Application

Bhattacharyya distance belongs to statistical distance and is useful where the analyst can specify the typed statistical distance carrier, defining objects and relations, parameters, conventions, evidence, boundary cases, and comparison targets, then evaluate both distributions use a common dominating measure or discrete support, the coefficient is computed from normalized nonnegative probabilities, and zero overlap is handled as infinite distance. The scope is broad within that domain but bounded by the need for both distributions use a common dominating measure or discrete support, the coefficient is computed from normalized nonnegative probabilities, and zero overlap is handled as infinite distance. The entry records a descriptive analytical identity; practical use requires the governing domain's evidence, standards, and safety obligations.

Clarity

The abstraction clarifies a crowded vocabulary by making both distributions use a common dominating measure or discrete support, the coefficient is computed from normalized nonnegative probabilities, and zero overlap is handled as infinite distance the center of the account. A claim should name the carrier, the governing operation or relation, the applicable assumptions, and the recognition test. A bare label is insufficient because the name Bhattacharyya distance can be used for a formal identity, an implementation, or a neighboring result unless carrier and convention are stated.

Manages Complexity

Without the abstraction, an analyst must reason directly over many local details: the carrier roles, admissibility assumptions, competing conventions, derived invariants, boundary cases, and proof or validation obligations specific to Bhattacharyya distance. Bhattacharyya distance compresses them into the roles in the structural signature. That compression permits comparison across instances without erasing the variables that determine validity. It also exposes which details may be varied safely and which are constitutive.

Abstract Reasoning

  1. Identify the carrier. State what the elements, states, objects, or observations are: the typed statistical distance carrier, defining objects and relations, parameters, conventions, evidence, boundary cases, and comparison targets. Reject examples whose alleged carrier belongs to a different problem.
  2. Lock the constitutive rule. Express both distributions use a common dominating measure or discrete support, the coefficient is computed from normalized nonnegative probabilities, and zero overlap is handled as infinite distance independently of one notation or implementation.

Knowledge Transfer

Knowledge transfers strongly among subfields of statistical distance because they reuse the typed statistical distance carrier, defining objects and relations, parameters, conventions, evidence, boundary cases, and comparison targets, Pointwise geometric means accumulate shared probability mass; logarithmic transformation converts decreasing overlap into increasing separation and supports additive behavior in product cases., and type the carrier, state every parameter and convention in the definition, test that both distributions use a common dominating measure or discrete support, the coefficient is computed from normalized nonnegative probabilities, and zero overlap is handled as infinite distance, compare the nearest accepted identity, and report counterexamples, uncertainty, and limiting cases.

Relationships to Other Abstractions

Local relationship map for Bhattacharyya distanceParents appear above the current abstraction, mutual partners to the right, and children below. Node labels state whether each abstraction is prime or domain-specific; colors identify relation types.BhattacharyyadistanceDOMAINPrime abstraction: Similarity Measure — is a kind ofSimilarityMeasurePRIME

Current abstraction Bhattacharyya distance Domain-specific

Parents (1) — outgoing typed relations

  • Bhattacharyya distance is a kind of Similarity Measure Prime

    What makes it its own entry: the domain-specific identity determined by both distributions use a common dominating measure or discrete support, the coefficient is computed from normalized nonnegative probabilities, and zero overlap is handled as infinite distance.

Hierarchy paths (2) — routes to 2 parentless roots

Neighborhood in Abstraction Space

Bhattacharyya distance sits in a crowded region of the domain-specific corpus (27th percentile for distinctiveness): several abstractions share nearly its structure, so a description that fits it tends to fit its neighbors too.

Family — Unclustered & Miscellaneous (2769 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-10-25