Complex Exponential From Summation of Cosine and Sine Waves:

Any cosine wave with a phase shift of d can be described by the sum of a sine and a cosine wave of amplitudes As and Ac with no phase shift.

A cos(q + d) = Ac cos(q) + As sin(q)

 

This approach was used to plot As versus Ac and obtain the phase shift d.

Figure 4-11 on pp. 118 shows this for arbitrary phase waves.

 

We can use the trigonometry identity,

cos(A + B) = cos(A) cos(B) - sin(A) sin(B)

To define Ac and As in terms of d and A:

A cos(q + d) = {A cos(d)} cos(q) + {-A sin(d)} sin(q)

So, Ac = {A cos(d)} and As = {-A sin(d)}.

This presents the problem that As is defined as a negative number, yet the amplitude of a wave is required to be a positive number. The issue is resolved by describing the sign of As as an imaginary number, i. Then the expression for the phase shifted wave can be written,

A (cos(d) + i sin(d)) = eid

By expressing phase shifted waves in terms of eid the mathematics for calculation of the diffracted intensity is greatly simplified since a number of simple math identities are available for the complex exponential.

Rule 1: enpi = -1 if n is odd or 1 if n is even, i.e. = (-1)n

Rule 2: enpi = e-npi when n is an integer

Rule 3: eix + e-ix = 2 cos x