# Energy (signal processing)

In signal processing, the energy ${\displaystyle E_{s}}$ of a continuous-time signal x(t) is defined as

${\displaystyle E_{s}\ \ =\ \ \langle x(t),x(t)\rangle \ \ =\int _{-\infty }^{\infty }{|x(t)|^{2}}dt}$

the energy ${\displaystyle E_{s}}$ of a discrete-time signal x(n) is defined as

${\displaystyle E_{s}\ \ =\ \ \langle x(n),x(n)\rangle \ \ =\sum _{n=-\infty }^{\infty }{|x(n)|^{2}}}$

## Relationship to energy in physics

Energy in this context is not, strictly speaking, the same as the conventional notion of energy in physics and the other sciences. The two concepts are, however, closely related, and it is possible to convert from one to the other:

${\displaystyle E={E_{s} \over Z}={1 \over Z}\int _{-\infty }^{\infty }{|x(t)|^{2}}dt}$
where Z represents the magnitude, in appropriate units of measure, of the load driven by the signal.

For example, if x(t) represents the potential (in volts) of an electrical signal propagating across a transmission line, then Z would represent the characteristic impedance (in ohms) of the transmission line. The units of measure for the signal energy ${\displaystyle E_{s}}$ would appear as volt2·seconds, which is not dimensionally correct for energy in the sense of the physical sciences. After dividing ${\displaystyle E_{s}}$ by Z, however, the dimensions of E would become volt2·seconds per ohm, which is equivalent to joules, the SI unit for energy as defined in the physical sciences.

## Spectral energy density

Similarly, the spectral energy density of signal x(t) is

${\displaystyle \ E_{s}(f)=|X(f)|^{2}}$

where X(f) is the Fourier transform of x(t).

For example, if x(t) represents the magnitude of the electric field component (in volts per meter) of an optical signal propagating through free space, then the dimensions of X(f) would become volt·seconds per meter and ${\displaystyle E_{s}(f)}$ would represent the signal's spectral energy density (in volts2·second2 per meter2) as a function of frequency f (in hertz). Again, these units of measure are not dimensionally correct in the true sense of energy density as defined in physics. Dividing ${\displaystyle E_{s}(f)}$ by Zo, the characteristic impedance of free space (in ohms), the dimensions become joule-seconds per meter2 or, equivalently, joules per meter2 per hertz, which is dimensionally correct in SI units for spectral energy density.

## Parseval's theorem

As a consequence of Parseval's theorem, one can prove that the signal energy is always equal to the summation across all frequency components of the signal's spectral energy density.