In
mathematics
Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, the total variation identifies several slightly different concepts, related to the (
local
Local may refer to:
Geography and transportation
* Local (train), a train serving local traffic demand
* Local, Missouri, a community in the United States
Arts, entertainment, and media
* ''Local'' (comics), a limited series comic book by Bria ...
or global) structure of the
codomain
In mathematics, a codomain, counter-domain, or set of destination of a function is a set into which all of the output of the function is constrained to fall. It is the set in the notation . The term '' range'' is sometimes ambiguously used to ...
of a
function or a
measure. For a
real-valued continuous function
In mathematics, a continuous function is a function such that a small variation of the argument induces a small variation of the value of the function. This implies there are no abrupt changes in value, known as '' discontinuities''. More preci ...
''f'', defined on an
interval 'a'', ''b''⊂ R, its total variation on the interval of definition is a measure of the one-dimensional
arclength of the curve with parametric equation ''x'' ↦ ''f''(''x''), for ''x'' ∈
'a'', ''b'' Functions whose total variation is finite are called ''
functions of bounded variation''.
Historical note
The concept of total variation for functions of one real variable was first introduced by
Camille Jordan in the paper . He used the new concept in order to prove a convergence theorem for
Fourier series
A Fourier series () is an Series expansion, expansion of a periodic function into a sum of trigonometric functions. The Fourier series is an example of a trigonometric series. By expressing a function as a sum of sines and cosines, many problems ...
of
discontinuous periodic function
A periodic function, also called a periodic waveform (or simply periodic wave), is a function that repeats its values at regular intervals or periods. The repeatable part of the function or waveform is called a ''cycle''. For example, the t ...
s whose variation is
bounded. The extension of the concept to functions of more than one variable however is not simple for various reasons.
Definitions
Total variation for functions of one real variable
The total variation of a
real-valued (or more generally
complex-valued)
function , defined on an
interval is the quantity
:
where the
supremum runs over the
set of all
partitions of the given
interval. Which means that
.
Total variation for functions of ''n'' > 1 real variables
[}] Let Ω be an
open subset of R
''n''. Given a function ''f'' belonging to ''L''
1(Ω), the total variation of ''f'' in Ω is defined as
:
where
*
is the
set of
continuously differentiable vector functions of
compact support
In mathematics, the support of a real-valued function f is the subset of the function domain of elements that are not mapped to zero. If the domain of f is a topological space, then the support of f is instead defined as the smallest closed ...
contained in
,
*
is the
essential supremum
In mathematics, the concepts of essential infimum and essential supremum are related to the notions of infimum and supremum, but adapted to measure theory and functional analysis, where one often deals with statements that are not valid for ''all' ...
norm, and
*
is the
divergence
In vector calculus, divergence is a vector operator that operates on a vector field, producing a scalar field giving the rate that the vector field alters the volume in an infinitesimal neighborhood of each point. (In 2D this "volume" refers to ...
operator.
This definition ''does not require'' that the
domain of the given function be a
bounded set
In mathematical analysis and related areas of mathematics, a set is called bounded if all of its points are within a certain distance of each other. Conversely, a set which is not bounded is called unbounded. The word "bounded" makes no sense in ...
.
Total variation in measure theory
Classical total variation definition
Following , consider a
signed measure
In mathematics, a signed measure is a generalization of the concept of (positive) measure by allowing the set function to take negative values, i.e., to acquire sign.
Definition
There are two slightly different concepts of a signed measure, de ...
on a
measurable space : then it is possible to define two
set function
In mathematics, especially measure theory, a set function is a function whose domain is a family of subsets of some given set and that (usually) takes its values in the extended real number line \R \cup \, which consists of the real numbers \R ...
s
and
, respectively called upper variation and lower variation, as follows
:
:
clearly
:
The variation (also called absolute variation) of the signed measure
is the set function
:
and its total variation is defined as the value of this measure on the whole space of definition, i.e.
:
Modern definition of total variation norm
uses upper and lower variations to prove the
Hahn–Jordan decomposition: according to his version of this theorem, the upper and lower variation are respectively a
non-negative and a
non-positive measure. Using a more modern notation, define
:
:
Then
and
are two non-negative
measures such that
:
:
The last measure is sometimes called, by
abuse of notation, total variation measure.
Total variation norm of complex measures
If the measure
is
complex-valued i.e. is a
complex measure, its upper and lower variation cannot be defined and the Hahn–Jordan decomposition theorem can only be applied to its real and imaginary parts. However, it is possible to follow and define the total variation of the complex-valued measure
as follows
The variation of the complex-valued measure
is the
set function
In mathematics, especially measure theory, a set function is a function whose domain is a family of subsets of some given set and that (usually) takes its values in the extended real number line \R \cup \, which consists of the real numbers \R ...
:
where the
supremum is taken over all partitions
of a
measurable set into a countable number of disjoint measurable subsets.
This definition coincides with the above definition
for the case of real-valued signed measures.
Total variation norm of vector-valued measures
The variation so defined is a
positive measure (see ) and coincides with the one defined by when
is a
signed measure
In mathematics, a signed measure is a generalization of the concept of (positive) measure by allowing the set function to take negative values, i.e., to acquire sign.
Definition
There are two slightly different concepts of a signed measure, de ...
: its total variation is defined as above. This definition works also if
is a
vector measure: the variation is then defined by the following formula
:
where the supremum is as above. This definition is slightly more general than the one given by since it requires only to consider ''finite partitions'' of the space
: this implies that it can be used also to define the total variation on
finite-additive measures.
Total variation of probability measures
The total variation of any
probability measure
In mathematics, a probability measure is a real-valued function defined on a set of events in a σ-algebra that satisfies Measure (mathematics), measure properties such as ''countable additivity''. The difference between a probability measure an ...
is exactly one, therefore it is not interesting as a means of investigating the properties of such measures. However, when μ and ν are
probability measure
In mathematics, a probability measure is a real-valued function defined on a set of events in a σ-algebra that satisfies Measure (mathematics), measure properties such as ''countable additivity''. The difference between a probability measure an ...
s, the
total variation distance of probability measures can be defined as
where the norm is the total variation norm of signed measures. Using the property that
, we eventually arrive at the equivalent definition
:
and its values are non-trivial. The factor
above is usually dropped (as is the convention in the article
total variation distance of probability measures). Informally, this is the largest possible difference between the probabilities that the two
probability distribution
In probability theory and statistics, a probability distribution is a Function (mathematics), function that gives the probabilities of occurrence of possible events for an Experiment (probability theory), experiment. It is a mathematical descri ...
s can assign to the same event. For a
categorical distribution it is possible to write the total variation distance as follows
:
It may also be normalized to values in