In mathematics, the Lp spaces are function spaces defined using a natural generalization of the p-norm for finite-dimensional vector spaces. They are sometimes called Lebesgue spaces, named after Henri Lebesgue (Dunford & Schwartz 1958, III.3), although according to the Bourbaki group (Bourbaki 1987) they were first introduced by Frigyes Riesz (Riesz 1910). Lp spaces form an important class of Banach spaces in functional analysis, and of topological vector spaces. Because of their key role in the mathematical analysis of measure and probability spaces, Lebesgue spaces are used also in the theoretical discussion of problems in physics, statistics, finance, engineering, and other disciplines.
In statistics, measures of central tendency and statistical dispersion, such as the mean, median, and standard deviation, are defined in terms of Lp metrics, and measures of central tendency can be characterized as solutions to variational problems.
In penalized regression, "L1 penalty" and "L2 penalty" refer to penalizing either the L1 norm of a solution's vector of parameter values (i.e. the sum of its absolute values), or its L2 norm (its Euclidean length). Techniques which use an L1 penalty, like LASSO, encourage solutions where many parameters are zero. Techniques which use an L2 penalty, like ridge regression, encourage solutions where most parameter values are small. Elastic net regularization uses a penalty term that is a combination of the L1 norm and the L2 norm of the parameter vector.
The Fourier transform for the real line (or, for periodic functions, see Fourier series), maps Lp(ℝ) to Lq(ℝ) (or Lp(T) to ℓq) respectively, where 1 ≤ p ≤ 2 and 1/p + 1/q = 1 . This is a consequence of the Riesz–Thorin interpolation theorem, and is made precise with the Hausdorff–Young inequality.
By contrast, if p > 2, the Fourier transform does not map into Lq.
Hilbert spaces are central to many applications, from quantum mechanics to stochastic calculus. The spaces L2 and ℓ2 are both Hilbert spaces. In fact, by choosing a Hilbert basis E, i.e., a maximal orthonormal subset of L2 or any Hilbert space, one sees that every Hilbert space is isometrically isomorphic to ℓ2(E) (same E as above), i.e., a Hilbert space of type ℓ2.
The length of a vector x = (x1, x2, ..., xn) in the n-dimensional real vector space ℝn is usually given by the Euclidean norm:
The Euclidean distance between two points x and y is the length ||x − y||2 of the straight line between the two points. In many situations, the Euclidean distance is insufficient for capturing the actual distances in a given space. An analogy to this is suggested by taxi drivers in a grid street plan who should measure distance not in terms of the length of the straight line to their destination, but in terms of the rectilinear distance, which takes into account that streets are either orthogonal or parallel to each other. The class of p-norms generalizes these two examples and has an abundance of applications in many parts of mathematics, physics, and computer science.
For a real number p ≥ 1, the p-norm or Lp-norm of x is defined by
The Euclidean norm from above falls into this class and is the 2-norm, and the 1-norm is the norm that corresponds to the rectilinear distance.
The L∞ -norm or maximum norm (or uniform norm) is the limit of the Lp-norms for p → ∞. It turns out that this limit is equivalent to the following definition:
For all p ≥ 1, the p-norms and maximum norm as defined above indeed satisfy the properties of a "length function" (or norm), which are that:
Abstractly speaking, this means that ℝn together with the p-norm is a Banach space. This Banach space is the Lp-space over ℝn .
The grid distance or rectilinear distance (sometimes called the "Manhattan distance") between two points is never shorter than the length of the line segment between them (the Euclidean or "as the crow flies" distance). Formally, this means that the Euclidean norm of any vector is bounded by its 1-norm:
This fact generalizes to p-norms in that the p-norm ||x||p of any given vector x does not grow with p:
For the opposite direction, the following relation between the 1-norm and the 2-norm is known:
This inequality depends on the dimension n of the underlying vector space and follows directly from the Cauchy–Schwarz inequality.
In general, for vectors in ℂn where 0 < r < p:
This is a consequence of Hölder's inequality.
In ℝn for n > 1, the formula
Hence, the function
Although the p-unit ball Bnp around the origin in this metric is "concave", the topology defined on ℝn by the metric dp is the usual vector space topology of ℝn, hence ℓnp is a locally convex topological vector space. Beyond this qualitative statement, a quantitative way to measure the lack of convexity of ℓnp is to denote by Cp(n) the smallest constant C such that the multiple C Bnp of the p-unit ball contains the convex hull of Bnp, equal to Bn1. The fact that for fixed p < 1 we have
There is one ℓ0 norm and another function called the ℓ0 "norm" (with quotation marks).
The mathematical definition of the ℓ0 norm was established by Banach's Theory of Linear Operations. The space of sequences has a complete metric topology provided by the F-norm
Another function was called the ℓ0 "norm" by David Donoho—whose quotation marks warn that this function is not a proper norm—is the number of non-zero entries of the vector x. Many authors abuse terminology by omitting the quotation marks. Defining 00 = 0, the zero "norm" of x is equal to
This is not a norm because it is not homogeneous. For example, scaling the vector x by a positive constant does not change the "norm". Despite these defects as a mathematical norm, the non-zero counting "norm" has uses in scientific computing, information theory, and statistics–notably in compressed sensing in signal processing and computational harmonic analysis. Despite not being a norm, the associated metric, known as Hamming distance, is a valid distance, since homogeneity is not required for distances.
Further information: Sequence space
The p-norm can be extended to vectors that have an infinite number of components (sequences), which yields the space ℓp. This contains as special cases:
The space of sequences has a natural vector space structure by applying addition and scalar multiplication coordinate by coordinate. Explicitly, the vector sum and the scalar action for infinite sequences of real (or complex) numbers are given by:
Define the p-norm:
Here, a complication arises, namely that the series on the right is not always convergent, so for example, the sequence made up of only ones, (1, 1, 1, ...), will have an infinite p-norm for 1 ≤ p < ∞. The space ℓp is then defined as the set of all infinite sequences of real (or complex) numbers such that the p-norm is finite.
One can check that as p increases, the set ℓp grows larger. For example, the sequence
One also defines the ∞-norm using the supremum:
The p-norm thus defined on ℓp is indeed a norm, and ℓp together with this norm is a Banach space. The fully general Lp space is obtained—as seen below—by considering vectors, not only with finitely or countably-infinitely many components, but with "arbitrarily many components"; in other words, functions. An integral instead of a sum is used to define the p-norm.
In complete analogy to the preceding definition one can define the space over a general index set (and ) as
The index set can be turned into a measure space by giving it the discrete σ-algebra and the counting measure. Then the space is just a special case of the more general -space (see below).
An Lp space may be defined as a space of measurable functions for which the -th power of the absolute value is Lebesgue integrable, where functions which agree almost everywhere are identified. More generally, let 1 ≤ p < ∞ and (S, Σ, μ) be a measure space. Consider the set of all measurable functions from S to C or R whose absolute value raised to the p-th power has a finite integral, or equivalently, that
The set of such functions forms a vector space, with the following natural operations:
That the sum of two p-th power integrable functions is again p-th power integrable follows from the inequality
(This comes from the convexity of for .)
In fact, more is true. Minkowski's inequality says the triangle inequality holds for || · ||p. Thus the set of p-th power integrable functions, together with the function || · ||p, is a seminormed vector space, which is denoted by .
For p = ∞, the space is the space of measurable functions bounded almost everywhere, with the essential supremum of its absolute value as a norm:
As in the discrete case, if there exists q < ∞ such that f ∈ L∞(S, μ) ∩ Lq(S, μ), then
can be made into a normed vector space in a standard way; one simply takes the quotient space with respect to the subspace of functions whose p-norm is zero. Since for any measurable function f , we have that || f ||p = 0 if and only if f = 0 almost everywhere, that subspace does not depend upon p,
In the quotient space, two functions f and g are identified if f = g almost everywhere. The resulting normed vector space is, by definition,
In general, this process cannot be reversed: there is no consistent way to define a "canonical" representative of each coset of in . For , however, there is a theory of lifts enabling such recovery.
When the underlying measure space S is understood, Lp(S, μ) is often abbreviated Lp(μ), or just Lp.
For 1 ≤ p ≤ ∞, Lp(S, μ) is a Banach space. The fact that Lp is complete is often referred to as the Riesz-Fischer theorem, and can be proven using the convergence theorems for Lebesgue integrals.
The above definitions generalize to Bochner spaces.
Similar to the ℓp spaces, L2 is the only Hilbert space among Lp spaces. In the complex case, the inner product on L2 is defined by
The additional inner product structure allows for a richer theory, with applications to, for instance, Fourier series and quantum mechanics. Functions in L2 are sometimes called square-integrable functions, quadratically integrable functions or square-summable functions, but sometimes these terms are reserved for functions that are square-integrable in some other sense, such as in the sense of a Riemann integral (Titchmarsh 1976).
If we use complex-valued functions, the space L∞ is a commutative C*-algebra with pointwise multiplication and conjugation. For many measure spaces, including all sigma-finite ones, it is in fact a commutative von Neumann algebra. An element of L∞ defines a bounded operator on any Lp space by multiplication.
For 1 ≤ p ≤ ∞ the ℓp spaces are a special case of Lp spaces, when S = N, and μ is the counting measure on N. More generally, if one considers any set S with the counting measure, the resulting Lp space is denoted ℓp(S). For example, the space ℓp(Z) is the space of all sequences indexed by the integers, and when defining the p-norm on such a space, one sums over all the integers. The space ℓp(n), where n is the set with n elements, is Rn with its p-norm as defined above. As any Hilbert space, every space L2 is linearly isometric to a suitable ℓ2(I), where the cardinality of the set I is the cardinality of an arbitrary Hilbertian basis for this particular L2.
The dual space (the Banach space of all continuous linear functionals) of Lp(μ) for 1 < p < ∞ has a natural isomorphism with Lq(μ), where q is such that 1/p + 1/q = 1 (i.e. q = p/p − 1). This isomorphism associates g ∈ Lq(μ) with the functional κp(g) ∈ Lp(μ)∗ defined by
The fact that κp(g) is well defined and continuous follows from Hölder's inequality. κp : Lq(μ) → Lp(μ)∗ is a linear mapping which is an isometry by the extremal case of Hölder's inequality. It is also possible to show (for example with the Radon–Nikodym theorem, see) that any G ∈ Lp(μ)∗ can be expressed this way: i.e., that κp is onto. Since κp is onto and isometric, it is an isomorphism of Banach spaces. With this (isometric) isomorphism in mind, it is usual to say simply that Lq is the dual Banach space of Lp.
For 1 < p < ∞, the space Lp(μ) is reflexive. Let κp be as above and let κq : Lp(μ) → Lq(μ)∗ be the corresponding linear isometry. Consider the map from Lp(μ) to Lp(μ)∗∗, obtained by composing κq with the transpose (or adjoint) of the inverse of κp:
This map coincides with the canonical embedding J of Lp(μ) into its bidual. Moreover, the map jp is onto, as composition of two onto isometries, and this proves reflexivity.
If the measure μ on S is sigma-finite, then the dual of L1(μ) is isometrically isomorphic to L∞(μ) (more precisely, the map κ1 corresponding to p = 1 is an isometry from L∞(μ) onto L1(μ)∗).
The dual of L∞ is subtler. Elements of L∞(μ)∗ can be identified with bounded signed finitely additive measures on S that are absolutely continuous with respect to μ. See ba space for more details. If we assume the axiom of choice, this space is much bigger than L1(μ) except in some trivial cases. However, Saharon Shelah proved that there are relatively consistent extensions of Zermelo–Fraenkel set theory (ZF + DC + "Every subset of the real numbers has the Baire property") in which the dual of ℓ∞ is ℓ1.
Colloquially, if 1 ≤ p < q ≤ ∞, then Lp(S, μ) contains functions that are more locally singular, while elements of Lq(S, μ) can be more spread out. Consider the Lebesgue measure on the half line (0, ∞). A continuous function in L1 might blow up near 0 but must decay sufficiently fast toward infinity. On the other hand, continuous functions in L∞ need not decay at all but no blow-up is allowed. The precise technical result is the following. Suppose that 0 < p < q ≤ ∞. Then:
Neither condition holds for the real line with the Lebesgue measure. In both cases the embedding is continuous, in that the identity operator is a bounded linear map from Lq to Lp in the first case, and Lp to Lq in the second. (This is a consequence of the closed graph theorem and properties of Lp spaces.) Indeed, if the domain S has finite measure, one can make the following explicit calculation using Hölder's inequality
The constant appearing in the above inequality is optimal, in the sense that the operator norm of the identity I : Lq(S, μ) → Lp(S, μ) is precisely
Throughout this section we assume that: 1 ≤ p < ∞.
Let (S, Σ, μ) be a measure space. An integrable simple function f on S is one of the form
More can be said when S is a normal topological space and Σ its Borel σ–algebra, i.e., the smallest σ–algebra of subsets of S containing the open sets.
Suppose V ⊂ S is an open set with μ(V) < ∞. It can be proved that for every Borel set A ∈ Σ contained in V, and for every ε > 0, there exist a closed set F and an open set U such that
It follows that there exists a continuous Urysohn function 0 ≤ φ ≤ 1 on S that is 1 on F and 0 on S ∖ U, with
If S can be covered by an increasing sequence (Vn) of open sets that have finite measure, then the space of p–integrable continuous functions is dense in Lp(S, Σ, μ). More precisely, one can use bounded continuous functions that vanish outside one of the open sets Vn.
This applies in particular when S = Rd and when μ is the Lebesgue measure. The space of continuous and compactly supported functions is dense in Lp(Rd). Similarly, the space of integrable step functions is dense in Lp(Rd); this space is the linear span of indicator functions of bounded intervals when d = 1, of bounded rectangles when d = 2 and more generally of products of bounded intervals.
Several properties of general functions in Lp(Rd) are first proved for continuous and compactly supported functions (sometimes for step functions), then extended by density to all functions. For example, it is proved this way that translations are continuous on Lp(Rd), in the following sense:
Let (S, Σ, μ) be a measure space. If 0 < p < 1, then Lp(μ) can be defined as above: it is the vector space of those measurable functions f such that
As before, we may introduce the p-norm || f ||p = Np( f )1/p, but || · ||p does not satisfy the triangle inequality in this case, and defines only a quasi-norm. The inequality (a + b)p ≤ ap + bp, valid for a, b ≥ 0 implies that (Rudin 1991, §1.47)
In this setting Lp satisfies a reverse Minkowski inequality, that is for u, v in Lp
This result may be used to prove Clarkson's inequalities, which are in turn used to establish the uniform convexity of the spaces Lp for 1 < p < ∞ (Adams & Fournier 2003).
The space Lp for 0 < p < 1 is an F-space: it admits a complete translation-invariant metric with respect to which the vector space operations are continuous. It is also locally bounded, much like the case p ≥ 1. It is the prototypical example of an F-space that, for most reasonable measure spaces, is not locally convex: in ℓp or Lp([0, 1]), every open convex set containing the 0 function is unbounded for the p-quasi-norm; therefore, the 0 vector does not possess a fundamental system of convex neighborhoods. Specifically, this is true if the measure space S contains an infinite family of disjoint measurable sets of finite positive measure.
The only nonempty convex open set in Lp([0, 1]) is the entire space (Rudin 1991, §1.47). As a particular consequence, there are no nonzero linear functionals on Lp([0, 1]): the dual space is the zero space. In the case of the counting measure on the natural numbers (producing the sequence space Lp(μ) = ℓp), the bounded linear functionals on ℓp are exactly those that are bounded on ℓ1, namely those given by sequences in ℓ∞. Although ℓp does contain non-trivial convex open sets, it fails to have enough of them to give a base for the topology.
The situation of having no linear functionals is highly undesirable for the purposes of doing analysis. In the case of the Lebesgue measure on Rn, rather than work with Lp for 0 < p < 1, it is common to work with the Hardy space Hp whenever possible, as this has quite a few linear functionals: enough to distinguish points from one another. However, the Hahn–Banach theorem still fails in Hp for p < 1 (Duren 1970, §7.5).
The vector space of (equivalence classes of) measurable functions on (S, Σ, μ) is denoted L0(S, Σ, μ) (Kalton, Peck & Roberts 1984). By definition, it contains all the Lp, and is equipped with the topology of convergence in measure. When μ is a probability measure (i.e., μ(S) = 1), this mode of convergence is named convergence in probability.
The description is easier when μ is finite. If μ is a finite measure on (S, Σ), the 0 function admits for the convergence in measure the following fundamental system of neighborhoods
The topology can be defined by any metric d of the form
where φ is bounded continuous concave and non-decreasing on [0, ∞), with φ(0) = 0 and φ(t) > 0 when t > 0 (for example, φ(t) = min(t, 1)). Such a metric is called Lévy-metric for L0. Under this metric the space L0 is complete (it is again an F-space). The space L0 is in general not locally bounded, and not locally convex.
For the infinite Lebesgue measure λ on Rn, the definition of the fundamental system of neighborhoods could be modified as follows
The resulting space L0(Rn, λ) coincides as topological vector space with L0(Rn, g(x) dλ(x)), for any positive λ–integrable density g.
Let (S, Σ, μ) be a measure space, and f a measurable function with real or complex values on S. The distribution function of f is defined for t ≥ 0 by
If f is in Lp(S, μ) for some p with 1 ≤ p < ∞, then by Markov's inequality,
A function f is said to be in the space weak Lp(S, μ), or Lp,w(S, μ), if there is a constant C > 0 such that, for all t > 0,
The best constant C for this inequality is the Lp,w-norm of f, and is denoted by
The weak Lp coincide with the Lorentz spaces Lp,∞, so this notation is also used to denote them.
The Lp,w-norm is not a true norm, since the triangle inequality fails to hold. Nevertheless, for f in Lp(S, μ),
In fact, one has
Under the convention that two functions are equal if they are equal μ almost everywhere, then the spaces Lp,w are complete (Grafakos 2004).
For any 0 < r < p the expression
A major result that uses the Lp,w-spaces is the Marcinkiewicz interpolation theorem, which has broad applications to harmonic analysis and the study of singular integrals.
As before, consider a measure space (S, Σ, μ). Let w : S → [a, ∞), a > 0 be a measurable function. The w-weighted Lp space is defined as Lp(S, w dμ), where w dμ means the measure ν defined by
or, in terms of the Radon–Nikodym derivative, w = dν/dμ the norm for Lp(S, w dμ) is explicitly
As Lp-spaces, the weighted spaces have nothing special, since Lp(S, w dμ) is equal to Lp(S, dν). But they are the natural framework for several results in harmonic analysis (Grafakos 2004); they appear for example in the Muckenhoupt theorem: for 1 < p < ∞, the classical Hilbert transform is defined on Lp(T, λ) where T denotes the unit circle and λ the Lebesgue measure; the (nonlinear) Hardy–Littlewood maximal operator is bounded on Lp(Rn, λ). Muckenhoupt's theorem describes weights w such that the Hilbert transform remains bounded on Lp(T, w dλ) and the maximal operator on Lp(Rn, w dλ).
One may also define spaces Lp(M) on a manifold, called the intrinsic Lp spaces of the manifold, using densities.
Given a measure space (X, Σ, μ) and a locally-convex space E, one may also define a spaces of p-integrable E-valued functions in a number of ways. The most common of these being the spaces of Bochner integrable and Pettis-integrable functions. Using the tensor product of locally convex spaces, these may be respectively defined as and ; where and respectively denote the projective and injective tensor products of locally convex spaces. When E is a nuclear space, Grothendieck showed that these two constructions are indistinguishable.