This slecture was reviewed by Khalid Tahboub:
Great job! few minor remarks:
1) I think the first equation should be
instead of
3)I think the equation
should be instead
4) I think it might give a nice demonstration if you plot the histogram of U and X to show that this method really functions in the desired way.