I'm having problems in an integral of many variables in which one of them leads to a Dirac delta and a Principal value.
I have to solve
\begin{equation} Int = \int dp dp' dk dk' dq f[p,p'] f[k,k'] \delta (p-p'-q)\delta (k-k'+q) \int_0^\infty e^{-i (g[k] -g[k'] - h[q])t} dt, \end{equation}
in which $f[p,p']$ denotes a function of $p$ and $p'$, for instance. I know that \begin{equation} \int_0 ^\infty e^{-i (g[k] -g[k'] - h[q])t} dt = \pi \delta (g[k] -g[k'] - h[q]) + i PV \frac{1}{(g[k] -g[k'] - h[q])}, \end{equation} in which PV denotes the Cauchy Principal Value. The ''delta part'' is ok, the PV part no. I know that PV(1/x), for instance, requires a test function $f[x]$ to be computed. So, PV(1/x) of some function would be \begin{equation} PV\int_{-\infty}^\infty \frac{f[x]}{x} dx. \end{equation}
The problem here is that I have many variables, and as soon as I will eventually integrate over all variables, I really do not know in relation of what I have to integrate in the resulting PV.
So far, I thought I could do \begin{equation} \int dp dp' dk dk' f[p,p'] f[k,k'] PV \int_{-\infty}^{\infty} dq \delta (p-p'-q) \frac{\delta (k-k'+q)}{(g[k] -g[k'] - h[q])} . \end{equation} Applying one of these delta ''functions'' I would obtain \begin{equation}\int dp dp' dk dk' f[p,p'] f[k,k']\frac{\delta (p-p'+k-k')}{(g[k] -g[k'] - h[k'-k])} \end{equation} and finally \begin{equation} \int dp dp' dk \frac{f[p,p'] f[k, k +p -p']}{(g[k] -g[k+p-p'] - h[p-p'])}. \end{equation}
Is it correct? For me it is a bit strange, because it seems like I am cheating choosing the integral to be in $q$ since I have another integral in $q$ to do. Moreover, in any variable I would choose, they are all dependent of o $p$, $p'$ and so on. What kind of detail I lost?
Maybe you will need to know that $g[k]$ and $h[q]$ only obtain non-negative values.
Thank you very much.