Help with Seemingly Hopeless Double Integral I hate to be that guy to just post an integration problem and ask how to solve it so I'll give a little relevant info
Okay, so I'm working on a physics project and my professor proposed that the following double integral could potentially solve a problem that I've used an alternative method to solve:
$$I=\int_0^\pi\int_0^\rho\frac{t^2\sin\phi\left(t\cos\phi-d\right)}{\left[t^2\sin^2\phi+\left(t\cos\phi-d\right)^2\right]^{3/2}}\;dt d\phi$$


*

*$\rho$ is an arbitrary, strictly positive real constant

*$d$ is a real constant that satisfies $d>\rho$
This integral's value could provide immense insight into fields of uniform, solid spherical objects, so it's actually pretty important for my work.
After some quick attempts to simplify, I decided to try some integral calculators with set values. Needless to say, the result after the first integral seemed so hopeless that I couldn't imagine simplifying and integrating again--not to mention then generalising constant inputs to their original variable form.
However, there is a strong likelihood that $I$ simplifies to one of the following two solutions:
$$\text{1.This solution comes from inverse square laws}$$
$$I=\frac{1}{d^2}$$
$$\text{2. This solution comes from a separate computation that I did (integrals below)}$$
$$I=\left(1-\frac{\rho^2}{5d^2}\right)\left[\frac{3}{2\rho^2}+\frac{3(\rho^2-d^2)}{4d\rho^3}\ln\left(\frac{d+\rho}{d-\rho}\right)\right]$$
Although it looks like these are vastly different answers, given $\rho=1$ and $d=10$, you get the following outputs from $(1)$ and $(2)$:
$$1.\; I=0.01$$
$$2.\; I\approx 0.01000046$$
Here's the ratio of solution (2) over (1) for $\rho\in(0,1),\;d\in(0,50)$

I tried to tackle this problem differently than my professor, and set up the following integrals to solve the problem that lead to solution $(2)$:
$$\frac{9}{4\rho^6}\left[\;\int\limits_{d-\rho}^{d+\rho}x\left[x-\frac{x^2+d^2-\rho^2}{2d}\right]\left[\frac{(x+d)^2-\rho^2}{4d\cdot x}\right]\;dx\right]\cdot\left[\;\int\limits_{d-\rho}^{d+\rho}\frac{\rho^2-(x-d)^2}{2d\cdot x}\;dx\right]$$

Where you come in
If the double integral is correctly composed (which my professor felt confident with), I need someone skilled in integration to solve said double integral. I've given two possible solutions and it's probable that the answer will be one of those. If it's solution $(1)$, I know that mine will have an error and you will essentially have proved the inverse square law for gravitational and electric fields. If it's solution $(2)$, then this will be far more exciting to me but less likely. If it's neither, then there are several possible implications
BOUNTY
I'm willing to award the following bounties for solving the double integral at the beginning. Since certain solutions have stronger implications (as explained above), I'm rewarding the following bounties:


*

*+200 rep if you verify solution $(1)$

*+500 rep if you verify solution $(2)$

*+75 rep for any other solutions (note they'll have to be verified by a second user first)


QUESTIONS
If you have any additional questions feel free to ask, and thanks for reading all this!
 A: Hint:
With the change of variable $u=\cos\phi$, the integral on $\phi$ becomes
$$\int_{-1}^1\frac{t^2(tu-d)}{\sqrt{(u-dt)^2+d^2(1-t^2)}}du.$$
By decomposition of the numerator, you will get a term
$$c(t)\log((u-dt)^2+d^2(1-t^2))$$
and another
$$c'(t)\arctan\frac{u-dt}{d\sqrt{1-t^2}}.$$ 
These terms do not simplify at the bounds of the integration interval.
The integral on $t$ (cubic in $t$ at the denominator) is worse. I am not optimisitc about existence of a closed-form.
A: \begin{align*}
&\iint \frac{t^2 \sin(\phi) (t \cos(\phi) - d)}{(t^2 \sin^2(\phi) + (t \cos(\phi) - d)^2)^{3/2}} \,\mathrm{d}t\,\mathrm{d}\phi  \\
&= \frac{\sqrt{d^2 + t^2 - 2 d t \cos(\phi)}(d^2 - 2 t^2 - 2 d t \cos(\phi) - 3 d^2 \cos(2 \phi))}{6d^2} \\
&+ d \cos(\phi) \ln\left(t - d \cos(\phi) + \sqrt{d^2 + t^2 - 2 d t \cos(\phi)}\right) \sin^2(\phi)  \text{,} \end{align*}
as one can readily verify.  Then $I = \frac{-2 \rho^3}{3 d^2}$.
I think for your case $1$, you mean $I \propto \frac{1}{d^2}$.  The integral can't be positive because:


*

*$t^2 \geq 0$ and 

*$\sin(\phi) \geq 0$ since $\phi \in [0,\pi]$, but

*$t \cos(\phi) - d < 0$ because $0 < t < \rho < d$, while

*the denominator is $\geq 0$, so

*the integrand is (zero or) negative everywhere.

A: I have to say, that the solution of I looks similar to (1), it is:
$$I=-\frac{2 \rho ^3}{3 d^2}$$
I integrate the integral for several values of $\rho$ and $d$ numerical and checked this result, it is correct. 
For the calculation you only need the substitution of @Yves it is not that difficult! - with the help of Mathematica:
First you have to do the integration over t, the antiderivative is just:\,
$\int \frac{t^{2}\text{Sin}[\phi ](t\text{Cos}[\phi ]-d)}{\left( t^{2}\ \text{
Sin}[\phi ]^{2}+(t\text{Cos}[\phi ]-d)^{2}\right) ^{3/2}}dt$
$=\frac{\left( 2\left( \rho ^{2}+3\varrho ^{2}\right) \text{Cos
}[\phi ]+\varrho \left( -4\rho +\sqrt{\rho ^{2}+\varrho ^{2}-2\rho \varrho 
\text{Cos}[\phi ]}\,\text{Log}\left[ \rho -\varrho \text{Cos}[\phi ]+\sqrt{
\rho ^{2}+\varrho ^{2}-2\rho \varrho \text{Cos}[\phi ]}\right] +\text{Cos}
[2\phi ]\left( -6\rho +3\sqrt{\rho ^{2}+\varrho ^{2}-2\rho \varrho \, \text{Cos}
[\phi ]}\,\text{Log}\left[ \rho -\varrho \text{Cos}[\phi ]+\sqrt{\rho ^{2}
+\varrho ^{2}-2\rho \varrho \text{Cos}[\phi ]}\right] \right) \right)
\right) \,\text{Sin}[\phi ]}{2\sqrt{\rho ^{2}+\varrho ^{2}-2\rho \varrho \text{
Cos}[\phi ]}}$
Second you do the substitution:
$$y=\text{Cos}[\phi ]$$
and the simplification:
$$\text{Cos}[2 \phi ]=\text{Cos}^{2}[\phi ]-\text{Sin}^{2}[\phi ]$$
leading to: 
$$I=\int_{1}^{-1}\left[ \frac{-t \varrho +6y^{2} t\varrho -y\left( t^{2}+3\ \varrho ^{2}\right) +\left( 1-3y^{2}\right) \varrho \,\sqrt{t^{2}-2 \,y \,t \varrho +\varrho ^{2}}\,\text{Log}\left[ t -y\,\varrho +\sqrt{
t^{2}-2\,y\, t\, \varrho \ +\varrho ^{2}}\right] }{\sqrt{t^{2}-2\,y\, t
\varrho +\varrho ^{2}}}\right] _{0}^{\rho }dy$$
Mathematica even finds the antiderivative of that function, I guess it should be found also in a table of integrals. Then the expression can be simplified in a way so the stated result is given.
