  The emission of electromagnetic waves from a source within or near a
non-trivial medium (with or without boundaries, crystalline or amorphous, with
inhomogeneities, absorption and so on) is sometimes studied using the
reciprocity principle. This is a variation of the method of Green's functions.
If one is only interested in the asymptotic radiation fields the generality of
these methods may actually be a shortcoming: obtaining expressions valid for
the uninteresting near fields is not just a wasted effort but may be
prohibitively difficult. In this work we obtain a modified form the reciprocity
principle which gives the asymptotic radiation field directly. The method may
be used to obtain the radiation from a prescribed source, and also to study
scattering problems. To illustrate the power of the method we study a few
pedagogical examples and then, as a more challenging application we tackle two
related problems. We calculate the specular reflection of x rays by a rough
surface and by a smoothly graded surface taking polarization effects into
account. In conventional treatments of reflection x rays are treated as scalar
waves, polarization effects are neglected. This is a good approximation at
grazing incidence but becomes increasingly questionable for soft x rays and UV
at higher incidence angles.
  PACs: 61.10.Dp, 61.10.Kw, 03.50.De
