I'm working on an integral that has a Dirac delta, and normally I'm fine with them, but this time I have the Dirac delta paired with a composition of functions.
The integral is,
$$ \int dx \delta(x-x_0)\cos (\phi(x,t)). $$
I might be over thinking this and the answer is just $\cos(\phi(x_0,t))$, but I can't find any reference to whether or not there is some special rule for this situation.
Can someone point me in the right direction?