This article's lead section may be too long. Please read the length guidelines and help move details into the article's body. (January 2024)

In mathematics, a **square-integrable function**, also called a **quadratically integrable function** or ** function** or **square-summable function**,^{[1]} is a real- or complex-valued measurable function for which the integral of the square of the absolute value is finite. Thus, square-integrability on the real line is defined as follows.

One may also speak of quadratic integrability over bounded intervals such as for .^{[2]}

An equivalent definition is to say that the square of the function itself (rather than of its absolute value) is Lebesgue integrable. For this to be true, the integrals of the positive and negative portions of the real part must both be finite, as well as those for the imaginary part.

The vector space of (equivalence classes of) square integrable functions (with respect to Lebesgue measure) forms the space with Among the spaces, the class of square integrable functions is unique in being compatible with an inner product, which allows notions like angle and orthogonality to be defined. Along with this inner product, the square integrable functions form a Hilbert space, since all of the spaces are complete under their respective -norms.

Often the term is used not to refer to a specific function, but to equivalence classes of functions that are equal almost everywhere.

The square integrable functions (in the sense mentioned in which a "function" actually means an equivalence class of functions that are equal almost everywhere) form an inner product space with inner product given by

where

- and are square integrable functions,
- is the complex conjugate of
- is the set over which one integrates—in the first definition (given in the introduction above), is , in the second, is .

Since , square integrability is the same as saying

It can be shown that square integrable functions form a complete metric space under the metric induced by the inner product defined above. A complete metric space is also called a Cauchy space, because sequences in such metric spaces converge if and only if they are Cauchy. A space that is complete under the metric induced by a norm is a Banach space. Therefore, the space of square integrable functions is a Banach space, under the metric induced by the norm, which in turn is induced by the inner product. As we have the additional property of the inner product, this is specifically a Hilbert space, because the space is complete under the metric induced by the inner product.

This inner product space is conventionally denoted by and many times abbreviated as Note that denotes the set of square integrable functions, but no selection of metric, norm or inner product are specified by this notation. The set, together with the specific inner product specify the inner product space.

The space of square integrable functions is the space in which

The function defined on is in for but not for ^{[1]}
The function defined on is square-integrable.^{[3]}

Bounded functions, defined on are square-integrable. These functions are also in for any value of ^{[3]}

The function defined on where the value at is arbitrary. Furthermore, this function is not in for any value of in ^{[3]}