In mathematics, **spectral theory** is an inclusive term for theories extending the eigenvector and eigenvalue theory of a single square matrix to a much broader theory of the structure of operators in a variety of mathematical spaces.^{[1]} It is a result of studies of linear algebra and the solutions of systems of linear equations and their generalizations.^{[2]} The theory is connected to that of analytic functions because the spectral properties of an operator are related to analytic functions of the spectral parameter.^{[3]}

The name *spectral theory* was introduced by David Hilbert in his original formulation of Hilbert space theory, which was cast in terms of quadratic forms in infinitely many variables. The original spectral theorem was therefore conceived as a version of the theorem on principal axes of an ellipsoid, in an infinite-dimensional setting. The later discovery in quantum mechanics that spectral theory could explain features of atomic spectra was therefore fortuitous. Hilbert himself was surprised by the unexpected application of this theory, noting that "I developed my theory of infinitely many variables from purely mathematical interests, and even called it 'spectral analysis' without any presentiment that it would later find application to the actual spectrum of physics."^{[4]}

There have been three main ways to formulate spectral theory, each of which find use in different domains. After Hilbert's initial formulation, the later development of abstract Hilbert spaces and the spectral theory of single normal operators on them were well suited to the requirements of physics, exemplified by the work of von Neumann.^{[5]} The further theory built on this to address Banach algebras in general. This development leads to the Gelfand representation, which covers the commutative case, and further into non-commutative harmonic analysis.

The difference can be seen in making the connection with Fourier analysis. The Fourier transform on the real line is in one sense the spectral theory of differentiation as a differential operator. But for that to cover the phenomena one has already to deal with generalized eigenfunctions (for example, by means of a rigged Hilbert space). On the other hand it is simple to construct a group algebra, the spectrum of which captures the Fourier transform's basic properties, and this is carried out by means of Pontryagin duality.

One can also study the spectral properties of operators on Banach spaces. For example, compact operators on Banach spaces have many spectral properties similar to that of matrices.

The background in the physics of vibrations has been explained in this way:^{[6]}

Spectral theory is connected with the investigation of localized vibrations of a variety of different objects, from atoms and molecules in chemistry to obstacles in acoustic waveguides. These vibrations have frequencies, and the issue is to decide when such localized vibrations occur, and how to go about computing the frequencies. This is a very complicated problem since every object has not only a fundamental tone but also a complicated series of overtones, which vary radically from one body to another.

Such physical ideas have nothing to do with the mathematical theory on a technical level, but there are examples of indirect involvement (see for example Mark Kac's question *Can you hear the shape of a drum?*). Hilbert's adoption of the term "spectrum" has been attributed to an 1897 paper of Wilhelm Wirtinger on Hill differential equation (by Jean Dieudonné), and it was taken up by his students during the first decade of the twentieth century, among them Erhard Schmidt and Hermann Weyl. The conceptual basis for Hilbert space was developed from Hilbert's ideas by Erhard Schmidt and Frigyes Riesz.^{[7]}^{[8]} It was almost twenty years later, when quantum mechanics was formulated in terms of the Schrödinger equation, that the connection was made to atomic spectra; a connection with the mathematical physics of vibration had been suspected before, as remarked by Henri Poincaré, but rejected for simple quantitative reasons, absent an explanation of the Balmer series.^{[9]} The later discovery in quantum mechanics that spectral theory could explain features of atomic spectra was therefore fortuitous, rather than being an object of Hilbert's spectral theory.

Main article: Spectrum (functional analysis) |

Consider a bounded linear transformation *T* defined everywhere over a general Banach space. We form the transformation:

Here *I* is the identity operator and ζ is a complex number. The *inverse* of an operator *T*, that is *T*^{−1}, is defined by:

If the inverse exists, *T* is called *regular*. If it does not exist, *T* is called *singular*.

With these definitions, the *resolvent set* of *T* is the set of all complex numbers ζ such that *R _{ζ}* exists and is bounded. This set often is denoted as

This definition applies to a Banach space, but of course other types of space exist as well; for example, topological vector spaces include Banach spaces, but can be more general.^{[12]}^{[13]} On the other hand, Banach spaces include Hilbert spaces, and it is these spaces that find the greatest application and the richest theoretical results.^{[14]} With suitable restrictions, much can be said about the structure of the spectra of transformations in a Hilbert space. In particular, for self-adjoint operators, the spectrum lies on the real line and (in general) is a spectral combination of a point spectrum of discrete eigenvalues and a continuous spectrum.^{[15]}

Main article: Spectral theorem |

See also: Eigenvalue, eigenvector and eigenspace |

In functional analysis and linear algebra the spectral theorem establishes conditions under which an operator can be expressed in simple form as a sum of simpler operators. As a full rigorous presentation is not appropriate for this article, we take an approach that avoids much of the rigor and satisfaction of a formal treatment with the aim of being more comprehensible to a non-specialist.

This topic is easiest to describe by introducing the bra–ket notation of Dirac for operators.^{[16]}^{[17]} As an example, a very particular linear operator *L* might be written as a dyadic product:^{[18]}^{[19]}

in terms of the "bra" ⟨b_{1}| and the "ket" |k_{1}⟩. A function f is described by a *ket* as |f ⟩. The function *f*(*x*) defined on the coordinates is denoted as

and the magnitude of *f* by

where the notation (*) denotes a complex conjugate. This inner product choice defines a very specific inner product space, restricting the generality of the arguments that follow.^{[14]}

The effect of *L* upon a function *f* is then described as:

expressing the result that the effect of *L* on *f* is to produce a new function multiplied by the inner product represented by .

A more general linear operator *L* might be expressed as:

where the are scalars and the are a basis and the a reciprocal basis for the space. The relation between the basis and the reciprocal basis is described, in part, by:

If such a formalism applies, the are eigenvalues of *L* and the functions are eigenfunctions of *L*. The eigenvalues are in the *spectrum* of *L*.^{[20]}

Some natural questions are: under what circumstances does this formalism work, and for what operators *L* are expansions in series of other operators like this possible? Can any function *f* be expressed in terms of the eigenfunctions (are they a Schauder basis) and under what circumstances does a point spectrum or a continuous spectrum arise? How do the formalisms for infinite-dimensional spaces and finite-dimensional spaces differ, or do they differ? Can these ideas be extended to a broader class of spaces? Answering such questions is the realm of spectral theory and requires considerable background in functional analysis and matrix algebra.

See also: Borel functional calculus § Resolution of the identity |

This section continues in the rough and ready manner of the above section using the bra–ket notation, and glossing over the many important details of a rigorous treatment.^{[21]} A rigorous mathematical treatment may be found in various references.^{[22]} In particular, the dimension *n* of the space will be finite.

Using the bra–ket notation of the above section, the identity operator may be written as:

where it is supposed as above that are a basis and the a reciprocal basis for the space satisfying the relation:

This expression of the identity operation is called a *representation* or a *resolution* of the identity.^{[21]}^{[22]} This formal representation satisfies the basic property of the identity:

valid for every positive integer *k*.

Applying the resolution of the identity to any function in the space , one obtains:

which is the generalized Fourier expansion of ψ in terms of the basis functions { e_{i} }.^{[23]}
Here .

Given some operator equation of the form:

with *h* in the space, this equation can be solved in the above basis through the formal manipulations:

which converts the operator equation to a matrix equation determining the unknown coefficients *c _{j}* in terms of the generalized Fourier coefficients of

The role of spectral theory arises in establishing the nature and existence of the basis and the reciprocal basis. In particular, the basis might consist of the eigenfunctions of some linear operator *L*:

with the { *λ _{i}* } the eigenvalues of

Main article: Resolvent formalism |

See also: Green's function and Dirac delta function |

Using spectral theory, the resolvent operator *R*:

can be evaluated in terms of the eigenfunctions and eigenvalues of *L*, and the Green's function corresponding to *L* can be found.

Applying *R* to some arbitrary function in the space, say ,

This function has poles in the complex *λ*-plane at each eigenvalue of *L*. Thus, using the calculus of residues:

where the line integral is over a contour *C* that includes all the eigenvalues of *L*.

Suppose our functions are defined over some coordinates {*x _{j}*}, that is:

Introducing the notation

where *δ(x − y)* = *δ(x _{1} − y_{1}, x_{2} − y_{2}, x_{3} − y_{3}, ...)* is the Dirac delta function,

Then:

The function *G(x, y; λ)* defined by:

is called the *Green's function* for operator *L*, and satisfies:^{[25]}

See also: Spectral theory of ordinary differential equations and Integral equation |

Consider the operator equation:

in terms of coordinates:

A particular case is *λ* = 0.

The Green's function of the previous section is:

and satisfies:

Using this Green's function property:

Then, multiplying both sides of this equation by *h*(*z*) and integrating:

which suggests the solution is:

That is, the function *ψ*(*x*) satisfying the operator equation is found if we can find the spectrum of *O*, and construct *G*, for example by using:

There are many other ways to find *G*, of course.^{[26]} See the articles on Green's functions and on Fredholm integral equations. It must be kept in mind that the above mathematics is purely formal, and a rigorous treatment involves some pretty sophisticated mathematics, including a good background knowledge of functional analysis, Hilbert spaces, distributions and so forth. Consult these articles and the references for more detail.

Optimization problems may be the most useful examples about the combinatorial significance of the eigenvalues and eigenvectors in symmetric matrices, especially for the Rayleigh quotient with respect to a matrix **M**.

**Theorem** *Let M be a symmetric matrix and let x be the non-zero vector that maximizes the Rayleigh quotient with respect to M. Then, x is an eigenvector of M with eigenvalue equal to the Rayleigh quotient. Moreover, this eigenvalue is the largest eigenvalue of M. *

**Proof** Assume the spectral theorem. Let the eigenvalues of **M** be . Since the form an orthonormal basis, any vector x can be expressed in this basis as

The way to prove this formula is pretty easy. Namely,

evaluate the Rayleigh quotient with respect to *x*:

where we used Parseval's identity in the last line. Finally we obtain that

so the Rayleigh quotient is always less than .^{[27]}