# Applied linear operators and spectral methods/Differentiating distributions

## Differentiation of a distribution

If ${\displaystyle f(x)}$  is a differentiable function in ${\displaystyle \mathbb {R} }$  whose first derivative is locally integrable, then the derivative ${\displaystyle f'(x)}$  defines its own distribution

${\displaystyle \left\langle f',\phi \right\rangle :=\int _{-\infty }^{\infty }f'(x)~\phi (x)~{\text{d}}x}$

Integrating by parts and noting that at the boundaries ${\displaystyle x=\pm \infty }$ , ${\displaystyle \phi (x)=0}$  because of compact support, we have

${\displaystyle \left\langle f',\phi \right\rangle :=-\int _{-\infty }^{\infty }f(x)~\phi '(x)~{\text{d}}x=:\left\langle f,\phi '\right\rangle }$

This suggests defining the derivative of any distribution ${\displaystyle f}$  via

${\displaystyle {\text{(1)}}\qquad {\left\langle f',\phi \right\rangle =-\left\langle f,\phi '\right\rangle }}$

We need to check that this definition satisfies the properties of a distribution. We observe that if ${\displaystyle \phi }$  is a test function then so is ${\displaystyle -\phi '}$ . Linearity is obvious. What about continuity? If ${\displaystyle \{\phi _{n}\}}$  is a zero sequence, so is the sequence ${\displaystyle \{-\phi _{n}\}}$  and thus ${\displaystyle \left\langle f,-\phi '_{n}\right\rangle }$  tends to zero as ${\displaystyle n\rightarrow \infty }$ . Hence (1) defines a distribution.

Remark: All distributions are infinitely differentiable is the class of test functions includes only infinitely differentiable functions.

Comment: One can take test functions which are only ${\displaystyle C^{n}}$  differentiable. Then the distribution will only be ${\displaystyle n}$  times differentiable. Thus, enlarging the class of test functions reduces the class of distributions.

More generally, if ${\displaystyle f^{(n)}}$  is the ${\displaystyle n}$ th derivative of the distribution ${\displaystyle f}$ ,

${\displaystyle {\left\langle f^{(n)},\phi \right\rangle =-\left\langle f,\phi ^{(n)}\right\rangle }}$

Distributions can be generated by functions which are not differentiable in the ordinary sense. However, we can differentiate them in the distribution sense.

For example, the derivative of the delta distribution gives us the dipole distribution:

${\displaystyle \left\langle \delta '_{0},\phi \right\rangle =-\left\langle \delta _{0},\phi '\right\rangle =-\phi '(0)}$

Also, the derivative of the Heaviside function is given by

${\displaystyle \left\langle H',\phi \right\rangle =-\left\langle H,\phi '\right\rangle =-\int _{0}^{\infty }\phi '(x)~{\text{d}}x}$

Since ${\displaystyle \phi (\infty )=0}$ , from the fundamental theorem of calculus,

${\displaystyle \left\langle H',\phi \right\rangle =-\phi (0)=\left\langle \delta _{0},\phi \right\rangle }$

Therefore the derivative of the Heaviside function is the delta function. Template:Lectures