# Engineering Analysis/L2 Space

The *L _{2}* space is very important to engineers, because functions in this space do not need to be continuous. Many discontinuous engineering functions, such as the delta (impulse) function, the unit step function, and other discontinuous functions are part of this space.

## L2 Functions[edit]

A large number of functions qualify as *L _{2}* functions, including uncommon, discontinuous, piece-wise, and other functions. A function which, over a finite range, has a finite number of discontinuities is an

*L*function. For example, a unit step and an impulse function are both

_{2}*L*functions. Also, other functions useful in signal analysis, such as square waves, triangle waves, wavelets, and other functions are

_{2}*L*functions.

_{2}In practice, most physical systems have a finite amount of noise associated with them. Noisy signals and random signals, if finite, are also *L _{2}* functions: this makes analysis of those functions using the techniques listed below easy.

## Null Function[edit]

The null functions of *L _{2}* are the set of all functions φ in

*L*that satisfy the equation:

_{2}for all *a* and *b*.

## Norm[edit]

The *L _{2}* norm is defined as follows:

[L2 Norm]

If the norm of the function is 1, the function is normal.

We can show that the derivative of the norm squared is:

## Scalar Product[edit]

The scalar product in *L _{2}* space is defined as follows:

[L2 Scalar Product]

If the scalar product of two functions is zero, the functions are orthogonal.

We can show that given coefficient matrices *A* and *B*, and variable *x*, the derivative of the scalar product can be given as:

We can recognize this as the product rule of differentiation. Generalizing, we can say that:

We can also say that the derivative of a matrix *A* times a vector *x* is:

## Metric[edit]

The metric of two functions (we will not call it the "distance" here, because that word has no meaning in a function space) will be denoted with ρ*(x,y)*. We can define the metric of an *L _{2}* function as follows:

[L2 Metric]

## Cauchy-Schwarz Inequality[edit]

The Cauchy-Schwarz Inequality still holds for *L _{2}* functions, and is restated here:

## Linear Independence[edit]

A set of functions in *L _{2}* are linearly independent if:

If and only if all the *a* coefficients are 0.

## Grahm-Schmidt Orthogonalization[edit]

The Grahm-Schmidt technique that we discussed earlier still works with functions, and we can use it to form a set of linearly independent, orthogonal functions in *L _{2}*.

For a set of functions φ, we can make a set of orthogonal functions ψ that space the same space but are orthogonal to one another:

[Grahm-Schmidt Orthogonalization]

## Basis[edit]

The *L _{2}* is an infinite-basis set, which means that any basis for the

*L*set will require an infinite number of basis functions. To prove that an infinite set of orthogonal functions is a basis for the

_{2}*L*space, we need to show that the null function is the only function in

_{2}*L*that is orthogonal to all the basis functions. If the null function is the only function that satisfies this relationship, then the set is a basis set for

_{2}*L*.

_{2}By definition, we can express any function in *L _{2}* as a linear sum of the basis elements. If we have basis elements φ, we can define any other function ψ as a linear sum:

We will explore this important result in the section on Fourier Series.