Friday, 14 February 2014

Discrete Fourier transforms and p.g.f.s

In non-examinable sections Section 13.4 and 13.5 I have tried to show you some moderately sophisticated applications of the simple ideas we are learning about p.g.f. and conditional expectation. I have added an Appendix B to the notes to say a bit more about the fast Fourier transform.

The brief story is this. To find the distribution of Y, the sum of two i.i.d. r.vs X1 and X2 taking values in {0,1,,N1}, we might find its p.g.f. pY(z)=p(z)2=(p0+p1z++pN1zN1)2.
This would take O(N2) multiplications of the form pipj.

However, it is quicker to evaluate p(z) at 2N complex values z=ω0,,ω2N1, square those values, and then recover the real coefficients of the polynomial p(z)2. The calculation simplifies because by taking ω as a 2Nth root of unity the calculation of the p(ωk), k=0,,2N1, can be done by a clever method, the discrete fast Fourier transform, which needs only O(NlogN) multiplications.

Further details are in the notes on pages 52, 53 and 99, and then in the Part II course, Numerical Analysis.

Comments

Loading... Logging you in...
  • Logged in as
There are no comments posted yet. Be the first one!

Post a new comment

Comments by