Accelerating electrons via microwaves

In Synchrotrons I think they use microwaves to accelerate the electrons bundles that fly through-how does putting a microwave through a cavity accelerate an electron? I know that the Electric and Magnetic fields could and do have an effect on the electron, but if the radiation is moving parallel to the electron, wouldn't the force be perpendicular? Also, how exactly does the microwave radiation look in the vacuum chamber? Are the two ends constant nodes?

• Electromagnetic waves aren't just magnetic which would justify your word "orthogonal". They also have electric fields and the electric force has the same direction as the electric field. Jul 2 '13 at 7:54 The acceleration relies on synchronising the phase and frequency of the standing wave with the particle's transit through the cavity. At time zero the proton enters the resonator, and is accelerated forwards by the negative field gradient in the left half of the cavity. The frequency is adjusted so the period is twice the time the particle takes to cross the cavity, so after one quarter of the period, $\tau/4$, the particle has reached the middle of the box and the field has fallen to zero. At this point the particle is coasting. As the particle passes the centre of the resonator the field changes phase by $\pi$ and the particle is again accelerated by the field gradient in the right half of the cavity.
In big accelerators like the LHC the proton velocity is effectively constant (at 0.99 and a bit $c$) so the standing wave frequency is constant. It's just a matter of getting the phase right.