I am trying to solve this integral over a Cube:
$$\frac{1}{\sqrt {x^{2}+y^{2}}}-\frac{1}{\sqrt {y^{2}+z^{2}}}\ $$
I can see that this that this will turn into zero because of symmetry since I am integrating the difference of a "radius" over the whole cube.
But is there a concrete way to solve this integral ?
I tried to simplify or using cylinder coordinate, but I couldn't get an easy or straightforward way to do it.
Any hint would be more than appreciated.
Thank you.
You're looking at: $$ I \equiv \int\limits_0^1dx\int\limits_0^1dy\int\limits_0^1dz\left( \frac{1}{\sqrt{x^2+y^2}} - \frac{1}{\sqrt{y^2+z^2}} \right) $$
Split apart the integral: $$ I = \int\limits_0^1dx\int\limits_0^1dy\int\limits_0^1dz \frac{1}{\sqrt{x^2+y^2}} - \int\limits_0^1dx\int\limits_0^1dy\int\limits_0^1dz \frac{1}{\sqrt{y^2+z^2}} $$
In the left integral, you can integrate over $z$ to get a factor of $1$. In the right integral you can integrate over $x$ to get a factor of $1$. $$ I = (1) \int\limits_0^1dx\int\limits_0^1dy \frac{1}{\sqrt{x^2+y^2}} - (1) \int\limits_0^1dy\int\limits_0^1dz \frac{1}{\sqrt{y^2+z^2}} $$
You've got the same integral added and subtracted now. To see this more clearly, you can re-label the variables in each like: $$ I = \int\limits_0^1dA\int\limits_0^1dB \frac{1}{\sqrt{A^2+B^2}} - \int\limits_0^1dA\int\limits_0^1dB \frac{1}{\sqrt{A^2+B^2}} $$
This is of course $I=0$.