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(R) to Lq(R) (or Lp(T) to lq) respectively, where 1 p 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 l2 are both Hilbert spaces. In fact, by choosing a Hilbert basis (i.e., a maximal orthonormal subset of L2 or any Hilbert space), one sees that all Hilbert spaces are isometric to l2(E), where E is a set with an appropriate cardinality.
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 absolute value bars are unnecessary when p is a rational number and, in reduced form, has an even numerator.
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 . 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 Rn together with the p-norm is a Banach space. This Banach space is the Lp-space over Rn.
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 Cn where 0 < r < p:
In Rn for n > 1, the formula
defines a subadditive function at the cost of losing absolute homogeneity. It does define an F-norm, though, which is homogeneous of degree p.
Hence, the function
defines a metric. The metric space (Rn, dp) is denoted by lnp.
Although the p-unit ball Bnp around the origin in this metric is "concave", the topology defined on Rn by the metric dp is the usual vector space topology of Rn, hence lnp is a locally convex topological vector space. Beyond this qualitative statement, a quantitative way to measure the lack of convexity of lnp 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 l0 norm and another function called the l0 "norm" (with quotation marks).
which is discussed by Stefan Rolewicz in Metric Linear Spaces. The l0-normed space is studied in functional analysis, probability theory, and harmonic analysis.
Another function was called the l0 "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. For example, scaling the vector x by a positive constant does not change the "norm". Many authors abuse terminology by omitting the quotation marks. Defining , the zero "norm" of x is equal to
This is not a norm because it is not homogeneous. 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.
The p-norm can be extended to vectors that have an infinite number of components, which yields the space l 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 l 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 l p grows larger. For example, the sequence
is not in l 1, but it is in l p for p > 1, as the series
diverges for p = 1 (the harmonic series), but is convergent for p > 1.
One also defines the ?-norm using the supremum:
and the corresponding space l ? of all bounded sequences. It turns out that
if the right-hand side is finite, or the left-hand side is infinite. Thus, we will consider l p spaces for 1 p .
The p-norm thus defined on l p is indeed a norm, and l 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.
An Lp space may be defined as a space of measurable functions for which the p-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:
for every scalar ?.
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 .
This can be made into a normed vector space in a standard way; one simply takes the quotient space with respect to the kernel of || · ||p. Since for any measurable function f , we have that || f ||p = 0 if and only if f = 0 almost everywhere, the kernel of || · ||p 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,
For p = ?, the space L?(S, ?) is defined as follows. We start with the set of all measurable functions from S to C or R which are bounded. Again two such functions are identified if they are equal almost everywhere. Denote this set by L?(S, ?). For a function f in this set, the essential supremum of its absolute value serves as an appropriate norm:
As before, if there exists q < ? such that f ? L?(S, ?) ? Lq(S, ?), then
When the underlying measure space S is understood, Lp(S, ?) is often abbreviated Lp(?), or just Lp. The above definitions generalize to Bochner spaces.
Similar to the lp 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 quadratically integrable functions, square-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 lp 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 lp(S). For example, the space lp(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 lp(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 l2(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 (i.e. ). 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 l? is l1.
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
the case of equality being achieved exactly when f = 1 ?-a.e.
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
where aj is scalar, Aj ? ? has finite measure and is the indicator function of the set , for j = 1, ..., n. By construction of the integral, the vector space of integrable simple functions is dense in Lp(S, ?, ?).
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 on that is on and on , 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) pa p + b p, valid for a, b >= 0 implies that (Rudin 1991, §1.47)
and so the function
is a metric on Lp(?). The resulting metric space is complete; the verification is similar to the familiar case when p >= 1.
In this setting Lp satisfies a reverse Minkowski inequality, that is for u, v in Lp
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 l 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(?) = l p), the bounded linear functionals on l p are exactly those that are bounded on l 1, namely those given by sequences in l ?. Although l 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 H p 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 H p 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.
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, ?),
and in particular Lp(S, ?) ? Lp,w(S, ?).
In fact, one has
and raising to power and taking the supremum in 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
As before, consider a measure space (S, ?, ?). Let w : S -> [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
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.