ArticleslgStudy

mathematics

Total variation

Total variation is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Total variation rather than just read about it. In short: In mathematics, the total variation identifies several slightly different concepts, related to the (local or global) structure of the codomain of a function or a measure. For a real-valued continuous function 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].

Key takeaways

  • Total variation belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Total variation to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Total variation from memory before moving on to harder problems.

Reference excerpt

In mathematics, the total variation identifies several slightly different concepts, related to the (local or global) structure of the codomain of a function or a measure. For a real-valued continuous function 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 (Jordan 1881). He used the new concept in order to prove a convergence theorem for Fourier series of discontinuous periodic functions 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 Definition 1.1. The total variation of a real-valued (or more generally complex-valued) function f, defined on an interval [a,b]⊂ℝ is the quantity

Vab(f)=sup𝒫∑i=0nP−1|f(xi+1)−f(xi)|, where the supremum runs over the set of all partitions 𝒫={P={x0,…,xnP}∣P is a partition of [a,b]} of the given interval. Which means that a=x0<x1<...<xnP=b.

Total variation for functions of n > 1 real variables Definition 1.2. Let Ω be an open subset of Rn. Given a function f belonging to L1(Ω), the total variation of f in Ω is defined as

V(f,Ω):=sup⁡{∫Ωf(x)div⁡ϕ(x)dx:ϕ∈Cc1(Ω,ℝn), ‖ϕ‖L∞(Ω)≤1}, where

Cc1(Ω,ℝn) is the set of continuously differentiable vector functions of compact support contained in Ω, ‖‖L∞(Ω) is the essential supremum norm, and div is the divergence operator. This definition does not require that the domain Ω⊆ℝn of the given function be a bounded set.

Total variation in measure theory

Classical total variation definition Following Saks (1937, p. 10), consider a signed measure μ on a measurable space (X,Σ): then it is possible to define two set functions W‾(μ,⋅) and W_(μ,⋅), respectively called upper variation and lower variation, as follows

W‾(μ,E)=sup⁡{μ(A)∣A∈Σ and A⊂E}∀E∈Σ W_(μ,E)=inf⁡{μ(A)∣A∈Σ and A⊂E}∀E∈Σ clearly

W‾(μ,E)≥0≥W_(μ,E)∀E∈Σ Definition 1.3. The variation (also called absolute variation) of the signed measure μ is the set function

|μ|(E)=W‾(μ,E)+|W_(μ,E)|∀E∈Σ and its total variation is defined as the value of this measure on the whole space of definition, i.e.

‖μ‖=|μ|(X)

Modern definition of total variation norm Saks (1937, p. 11) 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

μ+(⋅)=W‾(μ,⋅), μ−(⋅)=−W_(μ,⋅), 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 Rudin (1966, pp. 137–139) and define the total variation of the complex-valued measure μ as follows Definition 1.4. The variation of the complex-valued measure μ is the set function

|μ|(E)=supπ∑A∈π|μ(A)|∀E∈Σ where the supremum is taken over all partitions π of a measurable set E 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 Rudin (1966, p. 139)) and coincides with the one defined by 1.3 when μ is a signed measure: 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

|μ|(E)=supπ∑A∈π‖μ(A)‖∀E∈Σ where the supremum is as above. This definition is slightly more general than the one given by Rudin (1966, p. 138) since it requires only to consider finite partitions of the space X: 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 is exactly one, therefore it is not interesting as a means of investigating the properties of such measures. However, when μ and ν are probability measures, 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 (μ−ν)(X)=0, we eventually arrive at the equivalent definition

‖μ−ν‖=|μ−ν|(X)=2sup⁡{|μ(A)−ν(A)|:A∈Σ} and its values are non-trivial. The factor 2 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 distributions can assign to the same event. For a categorical distribution it is possible to write the total variation distance as follows

δ(μ,ν)=∑x|μ(x)−ν(x)|. It may also be normalized to values in [0,1] by halving the previous definition as follows

δ(μ,ν)=12∑x|μ(x)−ν(x)|.

Basic properties

Total variation of differentiable functions The total variation of a C1(Ω‾) function f can be expressed as an integral involving the given function instead of as the supremum of the functionals of definitions 1.1 and 1.2.

The form of the total variation of a differentiable function of one variable Theorem 1. The total variation of a differentiable function f, defined on an interval [a,b]⊂ℝ, has the following expression if f′ is Riemann integrable

Vab(f)=∫ab|f′(x)|dx If f is differentiable and monotonic, then the above simplifies to

Vab(f)=|f(a)−f(b)| For any differentiable function f, we can decompose the domain interval [a,b], into subintervals [a,a1],[a1,a2],…,[aN,b] (with a<a1<a2<⋯<aN<b) in which f is locally monotonic, then the total variation of f over [a,b] can be written as the sum of local variations on those subintervals:

Vab(f)=Vaa1(f)+Va1a2(f)+⋯+VaNb(f)=|f(a)−f(a1)|+|f(a1)−f(a2)|+⋯+|f(aN)−f(b)|

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Total variation

Start with the simplest possible case. Write down what Total variation claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Total variation before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Total variation ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Total variation

In research
Total variation appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Total variation in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Total variation is common in secondary-school and first-year university syllabi. It links to neighbouring topics Mathematical analysis, so understanding it makes those chapters shorter.
In everyday life
Look for Total variation outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Total variation” →

How to study Total variation in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Total variation means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Total variation out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Total variation in simple terms?

In mathematics, the total variation identifies several slightly different concepts, related to the (local or global) structure of the codomain of a function or a measure. For a real-valued continuous function f, defined on an interval [a, b] ⊂ R, its total variation on the interval of definition is…

Why does Total variation matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Total variation?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Total variation.

Tags

  • Mathematical analysis

Keep exploring