Energy stored in space/frequency electric field I've come across a problem with finding the energy stored in time/frequency electric field. In space/time we have (taking $\epsilon = 1$)
$$ Energy = \frac{1}{2} \int_V |\mathbf{E}(\mathbf{x},t)|^2 \;d^3x $$ 
But, I presume that the formula is different for a frequency-dependent electric field. I've searched Griffiths and Jackson but can't quite find what I'm looking for...
I've also tried to Fourier transform my expression for the electric field back to space/time, but my electric field is a fairly gruesome expression - I couldn't FT it easily. I was hoping to compute the energy from $E(\mathbf{x},\omega)$ via computational integral, once I find an expression for the energy.
 A: The energy you seem to refer to is the electric part of the Poynting energy expression for some volume $V$:
$$
E_{\text{Poynting}}(t) = \int_V \frac{1}{2}\epsilon_0 \left|\mathbf E(\mathbf x, t)\right|^2 + \frac{1}{2\mu_0}\left|\mathbf B(\mathbf x, t)\right|^2 \,d^3\mathbf x.
$$
The vector $\mathbf E(\mathbf x, t)$ in this expression is the electric vector at position $x$ at time $t$. There is no integration over time in this expression. 
If you want to express this electric part of energy with help of the Fourier amplitude $\tilde{\mathbf E}(\mathbf x, \omega)$ defined by
$$
\mathbf E(\mathbf x, t) = \int_{-\infty}^{\infty}\tilde{\mathbf E}(\mathbf x, \omega) e^{i\omega t} \frac{d\omega}{2\pi},
$$
you can simply substitute in the above expression :
$$
E_{electric}(t) = \int_V \frac{1}{2}\epsilon_0 \left|\int_{-\infty}^{\infty}\tilde{\mathbf E}(\mathbf x, \omega) e^{i\omega t} \frac{d\omega}{2\pi}\right|^2 d^3\mathbf x.
$$
Energy is a function of $t$ only, and you can try to find a formula for its frequency dependent Fourier components $E_{electric}(\omega)$ by calculating FT of the last expression with respect to time $t$.
A: I do not think it depends on frequency. Why should it? E.g., if the $\vec E$ is sinusoidal
$$
\vec E(\vec x, t)=\vec E_0\sin(\vec k\cdot \vec x-\omega t)
$$
you just have
$$
\mbox{Power}= \int d^3x E_0^2 \sin(\vec k\cdot \vec x-\omega t)^2
$$
As Crazy Buddy pointed out, if you want the Energy you have to integrate over time as well 
$$
\mbox{Energy}= \int_0^T dt \int d^3x E_0^2 \sin(\vec k\cdot \vec x-\omega t)^2
$$
However, i point out that that formula is true only if the volume is infinite (i.e., you integrate with all coordinates going from $-\infty$ to $\infty$). Otherwise, you should also add the contribution given by integrating the Poynting vector on the boundary of the volume.
A: It doesn't make sense to say energy contained 'per frequency'. If you're integrating over time and space, you will get the total energy in the field.
$$E = \int_{0}^{T}dt\int_{-\infty}^{\infty}d^{3}x  |E(x)|^{2} $$
But if you take a fourier transform, you'll have to take one on both sides. So the quantity on the left will be the fourier transform of the energy. I don't really know what that means, but that's what you'll get. You cannot take a fourier transform of one side of an equation alone.
