Find classical harmonic oscillator Green function:
Solve the inhomogeneous ODE through convolution with Green's function:
Compare with the direct result from
DSolve:
Define a functional derivative:
Calculate the functional derivative for an example functional:
Calculate the phase space volume of a harmonic oscillator:
Find the distribution for the third power of a normally distributed random variable:
Plot the resulting PDF:
Fundamental solution of the Klein-Gordon operator

:
Visualize the fundamental solution. It is nonvanishing only in the forward light cone:
A cusp-containing solution of the Camassa-Holm equation:
Higher derivatives will contain
DiracDelta:
Plot the solution and its derivative:
Differentiate and integrate a piecewise defined function in a lossless manner:
Differentiating and integrating recovers the original function:
Using
Piecewise does not recover the original function:
Solve a classical second-order initial value problem:
Incorporate the initial values in the right-hand side through derivatives of
DiracDelta: