I'm reading page 8 of Schaum's ouTlines "Signals and Systems" by Hwei P. HSU, and I'm not understanding where this formula for the nth generalized derivative (of a generalized function) comes from:
If $g(t)$ is a generalized function, its $n$th generalized derivative $g^{(n)}(t) = d^ng(t)/dt^n$ is defined by the following relation:
$$\int_{-\infty}^{\infty} \phi(t)g^{(n)}(t)dt = (-1)^n\int_{-\infty}^{\infty}\phi^{(n)}(t)g(t)dt$$
where $\phi(t)$ is a testing function which can be differentiated an arbitrary number of times and vanishes outside some fixed interval and $\phi^{(n)}(t)$ is the $n$th derivative of $\phi(t)$.
Where does this come from? I can't wrap my head into deriving it, nor can I find anywhere on the internet of how it is derived. This is not calculus!