I have a particular Cauchy Principal Value integral that I need to numerically solve for my thesis research. It is the following $$ \int_{-1}^{1}dx\frac{\mathbf{p}^{2}+\mathbf{k}^2-2|\mathbf{p}||\mathbf{k}|x}{x-x_{0}} $$ where $x_{0}=[\mathbf{p}^2 +\mathbf{k}^2 +m_{\pi}^2 -(p_{0}-k_{0})^2]/(2|\mathbf{p}||\mathbf{k}|)$
I have tried the usual integration code, with the PrincipalValue command
y = (p^2 + k^2 + m^2 -(p_0 - k_0)^2)/(2*p*k);
Integrate[(p^2 + k^2 - 2*p*k*x)/(x - y), {x, -1, 1}, PrincipalVale -> True]
When I tried to execute this, the answer simply doesn't come despite waiting for several minutes. Can anyone tell me what is wrong with this and what is the proper way to evaluate this integral?
p_0as in $\TeX$. This should be rewritten asp0andk0. And even then, it might take some time to integrate. And: You seem to have left out the absolutes from your input equation. Why is that? – Jinxed Mar 21 '15 at 15:31Integrate, it's best to keep the integrand as simple as possible. By definingybeforeIntegrate, you make it unnecessarily complicated. DoClear[y]before integrating. Then defineyafterwards. – Jens Mar 21 '15 at 16:31