# Lp space

In mathematics, the ** L^{p} 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).

**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.**

*L*^{p}spacesIn statistics, measures of central tendency and statistical dispersion, such as the mean, median, and standard deviation, are defined in terms of *L*^{p} 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 *L*^{1} norm of a solution's vector of parameter values (i.e. the sum of its absolute values), or its *L*^{2} 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 *L*^{1} norm and the *L*^{2} norm of the parameter vector.

The Fourier transform for the real line (or, for periodic functions, see Fourier series), maps *L ^{p}*(

**R**) to

*L*(

^{q}**R**) (or

*L*(

^{p}**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.

Hilbert spaces are central to many applications, from quantum mechanics to stochastic calculus. The spaces *L*^{2} and *ℓ*^{2} are both Hilbert spaces. In fact, by choosing a Hilbert basis *E*, i.e., a maximal orthonormal subset of *L*^{2} 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* = (*x*_{1}, *x*_{2}, ..., *x _{n}*) in the n-dimensional real vector space

**R**

^{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.

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

*L*-norms for

^{p}*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 **R**^{n} together with the p-norm is a Banach space. This Banach space is the ** L^{p}-space** over

**R**

^{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.

defines an absolutely homogeneous function for 0 < *p* < 1; however, the resulting function does not define a norm, because it is not subadditive. On the other hand, 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.

Although the p-unit ball *B*_{n}^{p} around the origin in this metric is "concave", the topology defined on **R**^{n} by the metric *d _{p}* is the usual vector space topology of

**R**

^{n}, hence

*ℓ*

_{n}

^{p}is a locally convex topological vector space. Beyond this qualitative statement, a quantitative way to measure the lack of convexity of

*ℓ*

_{n}

^{p}is to denote by

*C*(

_{p}*n*) the smallest constant C such that the multiple

*C*

*B*

_{n}

^{p}of the p-unit ball contains the convex hull of

*B*

_{n}

^{p}, equal to

*B*

_{n}

^{1}. The fact that for fixed

*p*< 1 we have

shows that the infinite-dimensional sequence space *ℓ ^{p}* defined below, is no longer locally convex.

^{[citation needed]}

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

which is discussed by Stefan Rolewicz in *Metric Linear Spaces*.^{[1]} The *ℓ*_{0}-normed space is studied in functional analysis, probability theory, and harmonic analysis.

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 0^{0} = 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.

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:

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

diverges for *p* = 1 (the harmonic series), but is convergent for *p* > 1.

and the corresponding space *ℓ*^{ ∞} of all bounded sequences. It turns out that^{[2]}

if the right-hand side is finite, or the left-hand side is infinite. Thus, we will consider *ℓ*^{p} spaces for 1 ≤ *p* ≤ ∞.

The *p*-norm thus defined on *ℓ ^{ p}* is indeed a norm, and

*ℓ*

^{p}together with this norm is a Banach space. The fully general

*L*space is obtained—as seen below—by considering vectors, not only with finitely or countably-infinitely many components, but with "

^{p}*arbitrarily many components*"; in other words, functions. An integral instead of a sum is used to define the

*p*-norm.

where convergence on the right means that only countably many summands are nonzero (see also Unconditional convergence). With the norm

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

As in the discrete case, if there exists *q* < ∞ such that *f* ∈ *L*^{∞}(*S*, *μ*) ∩ *L ^{q}*(

*S*,

*μ*), then

In the quotient space, two functions *f* and g are identified if *f* = *g* almost everywhere. The resulting normed vector space is, by definition,

When the underlying measure space S is understood, *L ^{p}*(

*S*,

*μ*) is often abbreviated

*L*(

^{p}*μ*), or just

*L*.

^{p}For 1 ≤ *p* ≤ ∞, *L ^{p}*(

*S*,

*μ*) is a Banach space. The fact that

*L*is complete is often referred to as the Riesz-Fischer theorem, and can be proven using the convergence theorems for Lebesgue integrals.

^{p}Similar to the *ℓ*^{p} spaces, *L*^{2} is the only Hilbert space among *L ^{p}* spaces. In the complex case, the inner product on

*L*

^{2}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 *L*^{2} 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 *L ^{p}* space by multiplication.

For 1 ≤ *p* ≤ ∞ the ℓ^{p} spaces are a special case of *L ^{p}* 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

*L*space is denoted

^{p}*ℓ*

^{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

**R**

^{n}with its p-norm as defined above. As any Hilbert space, every space

*L*

^{2}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

*L*

^{2}.

The dual space (the Banach space of all continuous linear functionals) of *L ^{p}*(

*μ*) for 1 <

*p*< ∞ has a natural isomorphism with

*L*(

^{q}*μ*), where q is such that 1/

*p*+ 1/

*q*= 1 (i.e.

*q*=

*p*/

*p*− 1). This isomorphism associates

*g*∈

*L*(

^{q}*μ*) with the functional

*κ*(

_{p}*g*) ∈

*L*(

^{p}*μ*)

^{∗}defined by

The fact that *κ _{p}*(

*g*) is well defined and continuous follows from Hölder's inequality.

*κ*:

_{p}*L*(

^{q}*μ*) →

*L*(

^{p}*μ*)

^{∗}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

^{[4]}) that any

*G*∈

*L*(

^{p}*μ*)

^{∗}can be expressed this way: i.e., that

*κ*is

_{p}*onto*. Since

*κ*is onto and isometric, it is an isomorphism of Banach spaces. With this (isometric) isomorphism in mind, it is usual to say simply that

_{p}*L*is the dual Banach space of

^{q}*L*.

^{p}For 1 < *p* < ∞, the space *L ^{p}*(

*μ*) is reflexive. Let

*κ*be as above and let

_{p}*κ*:

_{q}*L*(

^{p}*μ*) →

*L*(

^{q}*μ*)

^{∗}be the corresponding linear isometry. Consider the map from

*L*(

^{p}*μ*) to

*L*(

^{p}*μ*)

^{∗∗}, obtained by composing

*κ*with the transpose (or adjoint) of the inverse of

_{q}*κ*:

_{p}This map coincides with the canonical embedding J of *L ^{p}*(

*μ*) into its bidual. Moreover, the map

*j*is onto, as composition of two onto isometries, and this proves reflexivity.

_{p}If the measure μ on S is sigma-finite, then the dual of *L*^{1}(*μ*) is isometrically isomorphic to *L*^{∞}(*μ*) (more precisely, the map *κ*_{1} corresponding to *p* = 1 is an isometry from *L*^{∞}(*μ*) onto *L*^{1}(*μ*)^{∗}).

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 *L*^{1}(*μ*) 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}.^{[5]}

Colloquially, if 1 ≤ *p* < *q* ≤ ∞, then *L ^{p}*(

*S*,

*μ*) contains functions that are more locally singular, while elements of

*L*(

^{q}*S*,

*μ*) can be more spread out. Consider the Lebesgue measure on the half line (0, ∞). A continuous function in

*L*

^{1}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.

^{[6]}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
*L ^{q}* to

*L*in the first case, and

^{p}*L*to

^{p}*L*in the second. (This is a consequence of the closed graph theorem and properties of

^{q}*L*spaces.) Indeed, if the domain S has finite measure, one can make the following explicit calculation using Hölder's inequality

^{p}The constant appearing in the above inequality is optimal, in the sense that the operator norm of the identity *I* : *L ^{q}*(

*S*,

*μ*) →

*L*(

^{p}*S*,

*μ*) is precisely

the case of equality being achieved exactly when *f* = 1 μ-almost-everywhere.

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 (*V _{n}*) of open sets that have finite measure, then the space of p–integrable continuous functions is dense in

*L*(

^{p}*S*, Σ,

*μ*). More precisely, one can use bounded continuous functions that vanish outside one of the open sets

*V*.

_{n}This applies in particular when *S* = **R**^{d} and when μ is the Lebesgue measure. The space of continuous and compactly supported functions is dense in *L ^{p}*(

**R**

^{d}). Similarly, the space of integrable

*step functions*is dense in

*L*(

^{p}**R**

^{d}); 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 *L ^{p}*(

**R**

^{d}) 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

*L*(

^{p}**R**

^{d}), in the following sense:

Let (*S*, Σ, *μ*) be a measure space. If 0 < *p* < 1, then *L ^{p}*(

*μ*) 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} = *N _{p}*(

*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}≤

*a*+

^{ p}*b*, valid for

^{ p}*a*,

*b*≥ 0 implies that (Rudin 1991, §1.47)

is a metric on *L ^{p}*(

*μ*). The resulting metric space is complete; the verification is similar to the familiar case when

*p*≥ 1.

In this setting *L ^{p}* satisfies a

*reverse Minkowski inequality*, that is for

*u*,

*v*in

*L*

^{p}This result may be used to prove Clarkson's inequalities, which are in turn used to establish the uniform convexity of the spaces *L ^{p}* for 1 <

*p*< ∞ (Adams & Fournier 2003).

The space *L ^{p}* 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

*ℓ*or

^{ p}*L*([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.

^{p}The only nonempty convex open set in *L ^{p}*([0, 1]) is the entire space (Rudin 1991, §1.47). As a particular consequence, there are no nonzero linear functionals on

*L*([0, 1]): the dual space is the zero space. In the case of the counting measure on the natural numbers (producing the sequence space

^{p}*L*(

^{p}*μ*) =

*ℓ*), the bounded linear functionals on

^{ p}*ℓ*are exactly those that are bounded on

^{ p}*ℓ*

^{ 1}, namely those given by sequences in

*ℓ*

^{ ∞}. Although

*ℓ*does contain non-trivial convex open sets, it fails to have enough of them to give a base for the topology.

^{ p}The situation of having no linear functionals is highly undesirable for the purposes of doing analysis. In the case of the Lebesgue measure on **R**^{n}, rather than work with *L ^{p}* for 0 <

*p*< 1, it is common to work with the Hardy space

*H*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

^{ p}*H*for

^{ p}*p*< 1 (Duren 1970, §7.5).

The vector space of (equivalence classes of) measurable functions on (*S*, Σ, *μ*) is denoted *L*^{0}(*S*, Σ, *μ*) (Kalton, Peck & Roberts 1984). By definition, it contains all the *L ^{p}*, 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

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 *L*^{0}. Under this metric the space *L*^{0} is complete (it is again an F-space). The space *L*^{0} is in general not locally bounded, and not locally convex.

For the infinite Lebesgue measure λ on **R**^{n}, the definition of the fundamental system of neighborhoods could be modified as follows

The resulting space *L*^{0}(**R**^{n}, *λ*) coincides as topological vector space with *L*^{0}(**R**^{n}, *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 *L*^{p}(*S*, *μ*) for some *p* with 1 ≤ *p* < ∞, then by Markov's inequality,

A function *f* is said to be in the space **weak L^{p}(S, μ)**, or

*L*

^{p,w}(

*S*,

*μ*), if there is a constant

*C*> 0 such that, for all

*t*> 0,

The best constant *C* for this inequality is the *L*^{p,w}-norm of *f*, and is denoted by

The weak *L*^{p} coincide with the Lorentz spaces *L*^{p,∞}, so this notation is also used to denote them.

The *L*^{p,w}-norm is not a true norm, since the triangle inequality fails to hold. Nevertheless, for *f* in *L*^{p}(*S*, *μ*),

Under the convention that two functions are equal if they are equal *μ* almost everywhere, then the spaces *L*^{p,w} are complete (Grafakos 2004).

is comparable to the *L*^{p,w}-norm. Further in the case *p* > 1, this expression defines a norm if *r* = 1. Hence for *p* > 1 the weak *L*^{p} spaces are Banach spaces (Grafakos 2004).

A major result that uses the *L*^{p,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 L^{p} space** is defined as

*L*(

^{p}*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 *L ^{p}*(

*S*,

*w*d

*μ*) is explicitly

As *L ^{p}*-spaces, the weighted spaces have nothing special, since

*L*(

^{p}*S*,

*w*d

*μ*) is equal to

*L*(

^{p}*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

*L*(

^{p}**T**,

*λ*) where

**T**denotes the unit circle and λ the Lebesgue measure; the (nonlinear) Hardy–Littlewood maximal operator is bounded on

*L*(

^{p}**R**

^{n},

*λ*). Muckenhoupt's theorem describes weights w such that the Hilbert transform remains bounded on

*L*(

^{p}**T**,

*w*d

*λ*) and the maximal operator on

*L*(

^{p}**R**

^{n},

*w*d

*λ*).

One may also define spaces *L ^{p}*(

*M*) on a manifold, called the

**intrinsic**of the manifold, using densities.

*L*spaces^{p}