Tutorials › Real Analysis › The Supremum Norm

Sequences of Functions · Tutorial 579 of 1000

The Supremum Norm

Learn how the supremum norm measures the largest possible size of a bounded function and provides a distance between functions.

Advanced 9 min read

What You'll Learn

  • Define the supremum norm for bounded real-valued functions on a nonempty domain
  • Distinguish a supremum from a maximum and check whether the supremum is attained
  • Prove the norm axioms, including the triangle inequality
  • Use the supremum norm to measure the distance between two functions
  • Apply the reverse triangle inequality to compare function norms

From Error Bounds to a Norm

In “Examples of Nonuniform Convergence,” we examined the error \(|f_n(x)-f(x)|\) across an entire domain. The supremum of that error records its least upper bound, whether or not any input actually realizes it. This tutorial develops that idea into a standard way to measure the size of a function.

A norm is a numerical measure of size that respects addition and scalar multiplication. For functions, the supremum norm measures the largest absolute value taken over the domain. Its importance in the study of sequences of functions is direct: when the difference \(f_n-f\) is bounded, its supremum norm is exactly the supremum error used in the Supremum Criterion for Uniform Convergence, established earlier in the course.

Definition of the Supremum Norm

Fix a nonempty set \(E\), and consider functions \(f:E\to\mathbb{R}\). A function is bounded on \(E\) if there is a finite constant \(M\geq0\) such that \(|f(x)|\leq M\) for every \(x\in E\). The collection of all such functions will be denoted by \(B(E)\). It is nonempty and closed under addition and real scalar multiplication: sums and scalar multiples of bounded functions are bounded.

Definition: For \(f\in B(E)\), the supremum norm of \(f\) is \(\|f\|_\infty=\sup_{x\in E}|f(x)|\). The supremum is finite because \(f\) is bounded. The notation \(\|f\|_\infty\) measures the size of the function on its whole domain.

The subscript \(\infty\) is standard notation for this norm. It does not mean that the norm is infinite: for every \(f\in B(E)\), the value \(\|f\|_\infty\) is a finite nonnegative real number. If a function is unbounded, this supremum is infinite, so it does not have a finite supremum norm and is not an element of \(B(E)\).

The supremum need not be a value of \(|f|\) at any point. When it is attained, it is also the maximum of \(|f|\); otherwise, values of \(|f|\) can approach the supremum arbitrarily closely without equaling it. The norm is defined using the supremum in either situation.

Worked Example: A Supremum That Is Not a Maximum

Define \(f:[0,\infty)\to\mathbb{R}\) by \(f(x)=x/(1+x)\). For every \(x\geq0\), we have \(f(x)\geq0\), and

$$ \frac{x}{1+x}<1, $$

because \(x<1+x\). Thus \(1\) is an upper bound for the values \(|f(x)|\), and no value equals \(1\). To show that no smaller number is an upper bound, take positive integers \(k\). Then

$$ f(k)=\frac{k}{k+1}=1-\frac{1}{k+1}\longrightarrow1. $$

Consequently, values of \(f\) get arbitrarily close to \(1\), so \(\sup_{x\geq0}|f(x)|=1\). The function is bounded and \(\|f\|_\infty=1\), even though there is no input \(x\geq0\) at which \(|f(x)|=1\). This is precisely why the definition uses a supremum rather than requiring a maximum.

The Supremum Norm Satisfies the Norm Axioms

A norm on a real vector space assigns a nonnegative real number to each element and satisfies three conditions: only the zero element has norm zero, multiplying by a scalar multiplies the norm by its absolute value, and the norm of a sum is no greater than the sum of the norms. The supremum norm has all three properties.

Theorem (The Supremum Norm Is a Norm): Let \(E\) be nonempty and let \(f,g\in B(E)\). For every real number \(c\), \(\|f\|_\infty\geq0\), \(\|f\|_\infty=0\) if and only if \(f(x)=0\) for every \(x\in E\), \(\|cf\|_\infty=|c|\|f\|_\infty\), and \(\|f+g\|_\infty\leq\|f\|_\infty+\|g\|_\infty\).

Proof. Since \(|f(x)|\geq0\) for every \(x\), its supremum is nonnegative. If \(f\) is the zero function, then \(|f(x)|=0\) at every input, so \(\|f\|_\infty=0\). Conversely, suppose \(\|f\|_\infty=0\). For each \(x\in E\),

$$ 0\leq|f(x)|\leq\sup_{y\in E}|f(y)|=\|f\|_\infty=0. $$

It follows that \(|f(x)|=0\), and hence \(f(x)=0\), for every \(x\in E\). This proves the definiteness condition.

For scalar multiplication, if \(c=0\), then \(\|cf\|_\infty=0=|c|\|f\|_\infty\). If \(c\neq0\), then for every \(x\in E\), \(|cf(x)|=|c||f(x)|\). Since multiplication by the positive constant \(|c|\) preserves order, the least upper bound of these values is \(|c|\) times the least upper bound of \(|f(x)|\). Therefore \(\|cf\|_\infty=|c|\|f\|_\infty\).

For the triangle inequality, the pointwise triangle inequality gives

$$ |f(x)+g(x)| \leq |f(x)|+|g(x)| \leq\|f\|_\infty+\|g\|_\infty $$

for every \(x\in E\). Thus \(\|f\|_\infty+\|g\|_\infty\) is an upper bound for all values \(|f(x)+g(x)|\), and their supremum cannot exceed that upper bound. Hence \(\|f+g\|_\infty\leq\|f\|_\infty+\|g\|_\infty\). All the norm axioms hold. \(\square\)

The nonempty-domain hypothesis matters for definiteness: it ensures there are inputs at which a function can be tested. The boundedness hypothesis matters because a norm, as defined here, takes finite values. Together these conditions make \(B(E)\) a vector space on which the supremum norm is well-defined.

Worked Example: Computing the Norm on a Closed Interval

Let \(f:[0,2]\to\mathbb{R}\) be \(f(x)=2x-3\). Since \(0\leq x\leq2\), we have \(-3\leq2x-3\leq1\), and therefore \(|f(x)|\leq3\) throughout the interval. At \(x=0\), \(f(0)=-3\), so \(|f(0)|=3\). The upper bound is attained, giving

$$ \|f\|_\infty=\sup_{x\in[0,2]}|2x-3|=3. $$

For the function \(-2f\), scalar homogeneity gives \(\|-2f\|_\infty=|-2|\|f\|_\infty=6\). Directly, its absolute value is \(|-4x+6|\), which equals \(6\) at \(x=0\) and never exceeds \(6\) on \([0,2]\). The calculation agrees with the norm axiom.

The Norm Defines a Distance Between Functions

A norm can also compare two elements by measuring the size of their difference. For bounded functions, this gives a distance that tracks the largest pointwise separation over the domain. In particular, the distance is small only when the two functions are close at every input.

Definition: For \(f,g\in B(E)\), define their supremum distance by \(d_\infty(f,g)=\|f-g\|_\infty=\sup_{x\in E}|f(x)-g(x)|\).
Theorem (The Supremum Norm Defines a Metric): For \(f,g,h\in B(E)\), the function \(d_\infty(f,g)\) is nonnegative, equals zero exactly when \(f=g\), satisfies \(d_\infty(f,g)=d_\infty(g,f)\), and satisfies \(d_\infty(f,h)\leq d_\infty(f,g)+d_\infty(g,h)\).

Proof. Nonnegativity follows from the nonnegativity of a norm. By the definiteness condition of the norm, \(d_\infty(f,g)=\|f-g\|_\infty=0\) exactly when \(f-g\) is the zero function, which is exactly when \(f=g\). Also,

$$ d_\infty(g,f)=\|g-f\|_\infty =\|-(f-g)\|_\infty =|-1|\|f-g\|_\infty =d_\infty(f,g). $$

Finally, the triangle inequality for the norm, applied to \(f-h=(f-g)+(g-h)\), yields

$$ d_\infty(f,h)=\|f-h\|_\infty \leq\|f-g\|_\infty+\|g-h\|_\infty =d_\infty(f,g)+d_\infty(g,h). $$

These are the metric properties, so the supremum distance is a metric on \(B(E)\). \(\square\)

Worked Example: Comparing Two Functions Uniformly

On \(E=[0,1]\), let \(u(x)=x\) and \(v(x)=1-x\). Both are bounded. Their distance is the supremum of the absolute value of their difference:

$$ d_\infty(u,v) =\sup_{x\in[0,1]}|u(x)-v(x)| =\sup_{x\in[0,1]}|2x-1| =1. $$

Indeed, \(-1\leq2x-1\leq1\) on this interval, so the absolute value is at most \(1\); it equals \(1\) at \(x=0\) and \(x=1\). This distance is different from simply adding the separate sizes of the two functions: \(\|u\|_\infty=\|v\|_\infty=1\), while \(d_\infty(u,v)=1\). The distance measures their difference, not their individual sizes.

A Useful Consequence: The Reverse Triangle Inequality

The triangle inequality also gives a bound on how much the norm can change when a function is altered. This estimate is useful whenever a function is replaced by an approximation: a small supremum distance guarantees that the two functions have nearly the same norm.

Theorem (Reverse Triangle Inequality): For any \(f,g\in B(E)\), \(\big|\|f\|_\infty-\|g\|_\infty\big|\leq\|f-g\|_\infty\).

Proof. Since \(f=(f-g)+g\), the triangle inequality gives

$$ \|f\|_\infty\leq\|f-g\|_\infty+\|g\|_\infty, $$

so \(\|f\|_\infty-\|g\|_\infty\leq\|f-g\|_\infty\). Interchanging \(f\) and \(g\) gives \(\|g\|_\infty-\|f\|_\infty\leq\|g-f\|_\infty\). By homogeneity, \(\|g-f\|_\infty=\|f-g\|_\infty\). The two inequalities together imply

$$ -\|f-g\|_\infty \leq\|f\|_\infty-\|g\|_\infty \leq\|f-g\|_\infty, $$

which is equivalent to the stated absolute-value inequality. \(\square\)

Why the Supremum, Rather Than a Pointwise Maximum?

The supremum norm works on domains where a maximum may fail to exist. The domain might be unbounded, or the values might approach their least upper bound only near a missing endpoint. The definition does not require a function to attain its largest absolute value, and restricting it to functions with an attained maximum would exclude many useful bounded functions.

A second important point is that the domain is part of the norm. The same formula can have different supremum norms on different domains because the collection of inputs changes. For example, the function \(q(x)=x\) has supremum norm \(1\) on \([0,1)\), but supremum norm \(2\) on \([0,2]\). On the first domain, \(1\) is approached but not attained; on the second, the value \(2\) is attained. Norm statements should therefore always specify the domain.

For sequences of functions, the definition connects size and error: when \(f_n\) and \(f\) belong to \(B(E)\), the norm \(\|f_n-f\|_\infty\) is the supremum error across \(E\). The Supremum Criterion for Uniform Convergence from earlier in the course expresses uniform convergence by asking that these errors tend to zero. The next tutorial develops this connection further. A common pitfall is to substitute a maximum for a supremum without checking attainment; the boundary-layer example in “Examples of Nonuniform Convergence” illustrates why that distinction can affect the calculation.

Takeaway: The supremum norm \(\|f\|_\infty=\sup_{x\in E}|f(x)|\) measures the size of a bounded function over its whole domain. It satisfies the norm axioms, and the norm of a difference gives a metric measuring the largest pointwise separation between functions.

Check Your Understanding

Use the definitions and results in this tutorial to answer the following questions.

  1. Why is the supremum norm finite for every function in \(B(E)\)?
  2. Can a function have supremum norm \(1\) without taking the value \(1\) or \(-1\)? Give the example from this tutorial that demonstrates this.
  3. Which norm axiom shows that multiplying a function by \(-3\) triples its norm?
  4. What does \(d_\infty(f,g)\) measure, and when is it zero?
  5. State the reverse triangle inequality for the supremum norm.