The 4-momentum
is a 4-vector and so it
transforms just like
under a Lorentz transformation.
For a photon
,
where
is the frequency of the
photon and
is Planck's constant. If it is moving in the direction, then it has
(and )
as perceived by .
Boosting this to the frame of ,
you should find that the energy
there corresponds to
A photon moving in the
direction (in the frame of )
has
(and )
according to .
Boosting to the
frame of ,
you should find