For two discrete probability distributions and
on the same outcomes, the Bhattacharyya coefficient
is
|
(1)
|
For probability density functions and
, it is
|
(2)
|
The Bhattacharyya distance is then defined by
|
(3)
|
The coefficient lies between 0 and 1, attaining 1 for identical distributions. Consequently, the distance is nonnegative, may be infinite, and is zero for identical distributions. Although it is symmetric, it does not in general satisfy the triangle inequality and therefore is not a metric.