# Parseval's identity

In mathematical analysis, Parseval's identity, named after Marc-Antoine Parseval, is a fundamental result on the summability of the Fourier series of a function. The identity asserts the equality of the energy of a periodic signal (given as the integral of the squared amplitude of the signal) and the energy of its frequency domain representation (given as the sum of squares of the amplitudes). Geometrically, it is a generalized Pythagorean theorem for inner-product spaces (which can have an uncountable infinity of basis vectors).
The identity asserts that the sum of squares of the Fourier coefficients of a function is equal to the integral of the square of the function, $\Vert f\Vert _{L^{2}(-\pi ,\pi )}^{2}={\frac {1}{2\pi }}\int _{-\pi }^{\pi }|f(x)|^{2}\,dx=\sum _{n=-\infty }^{\infty }|{\hat {f}}(n)|^{2},$ where the Fourier coefficients ${\hat {f}}(n)$ of $f$ are given by ${\hat {f}}(n)={\frac {1}{2\pi }}\int _{-\pi }^{\pi }f(x)e^{-inx}\,dx.$
The result holds as stated, provided $f$ is a square-integrable function or, more generally, in L$^p$ space $L^{2}[-\pi ,\pi ].$ A similar result is the Plancherel theorem, which asserts that the integral of the square of the Fourier transform of a function is equal to the integral of the square of the function itself. In one-dimension, for $f\in L^{2}(\mathbb {R} ),$ $\int _{-\infty }^{\infty }|{\hat {f}}(\xi )|^{2}\,d\xi =\int _{-\infty }^{\infty }|f(x)|^{2}\,dx.$

## Generalization of the Pythagorean theorem

The identity is related to the Pythagorean theorem in the more general setting of a separable Hilbert space as follows. Suppose that $H$ is a Hilbert space with inner product $\langle \,\cdot \,,\,\cdot \,\rangle .$ Let $\left(e_{n}\right)$ be an orthonormal basis of $H$; i.e., the linear span of the $e_{n}$ is dense in $H,$ and the $e_{n}$ are mutually orthonormal:
    $\langle e_{m},e_{n}\rangle ={\begin{cases}1&{\mbox{if}}~m=n\\0&{\mbox{if}}~m\neq n.\end{cases}}$
Then Parseval's identity asserts that for every $x\in H,$ $\sum _{n}\left|\left\langle x,e_{n}\right\rangle \right|^{2}=\|x\|^{2}.$
This is directly analogous to the Pythagorean theorem, which asserts that the sum of the squares of the components of a vector in an orthonormal basis is equal to the squared length of the vector. One can recover the Fourier series version of Parseval's identity by letting $H$ be the Hilbert space $L^{2}[-\pi ,\pi ],$ and setting $e_{n}=e^{inx}$ for $n\in \mathbb {Z} .$
More generally, Parseval's identity holds for arbitrary Hilbert spaces, not necessarily separable. When the Hilbert space is not separable any orthonormal basis is uncountable and we need to generalize the concept of a series to an unconditional sum as follows: let $\{e_{r}\}_{r\in \Gamma }$ an orthonormal basis of a Hilbert space (where $\Gamma$ have arbitrary cardinality), then we say that ∑$_{r∈Γ}$a$_r$e$_r${\textstyle \sum _{r\in \Gamma }a_{r}e_{r}} converges unconditionally if for every $\epsilon >0$ there exists a finite subset $A\subset \Gamma$ such that $\left\|\sum _{r\in B}a_{r}e_{r}-\sum _{r\in C}a_{r}e_{r}\right\|<\epsilon$ for any pair of finite subsets $B,C\subset \Gamma$ that contains $A$ (that is, such that $A\subset B\cap C$). Note that in this case we are using a net to define the unconditional sum.