This is a revision of """"The Malliavin Calculus"""". It includes more background material on the elements of the theory of stochastic integration and papers (co-authored with Salah Mohammed) on the application of the Malliavin calculus to problems in analysis.