Diffraction gratings: generating the exact and complete solution of an electromagnetic problem from the approximate solution of another problem

The generalized source method is shown to give the exact solution to an unsolved electromagnetic problem from the complete solution to another solved problem even when the solution to the known problem is approximate. This is illustrated with the example of a binary grating where an exact solution exists.