I have difficulty calculating the general form of a double integral:
$\int_0^1\int_0^1\sqrt{x^2+y^2-2mxy}\,\text{d}x\text{d}y$, where m is a constant between -1 and 1.
I've tried some special cases:
m=0:
$$ \int_0^1\int_0^1\sqrt{x^2+y^2}\text{d}x\text{d}y =2\int_0^{\frac{\pi}4}\int_0^{\sec\theta}r^2\text{d}r\text{d}\theta =\frac13\int_0^{\frac{\pi}4}\sec^3\theta\text{d}\theta=\frac13(\sec\theta\tan\theta+\ln|\sec\theta+\tan\theta|)\big|_0^{\frac{\pi}{4}}$$
$$ =\frac{\sqrt2+\ln(\sqrt2+1)}{3}$$
m=1:
$$ \int_0^1\int_0^1|x-y|\text{d}x\text{d}y=\frac13 $$
General cases:
$$ \int_0^1\int_0^1\sqrt{x^2+y^2-2mxy}\text{d}x\text{d}y=\int_0^1\int_0^1\sqrt{(x-y\cos\theta)^2+y^2\sin^2\theta}\text{d}x\text{d}y $$
I've tried to use substitution, but it seemed more complex...
Update:Actually I've tried to continue, here's what I got:
$$ \int\sqrt{(x-y\cos\theta)^2+y^2\sin^2\theta}\text{d}(x-y\cos\theta) $$
Using substitution $x-y\cos\theta=y\sin\theta\tan u, \text{d}(x-y\cos\theta)=y\sin\theta\sec^2 u$
$$=y\sin\theta\int\sec^3 u\text{d}u=\frac12x\sec u-\frac12y\sin\theta\tan\theta+\frac12\ln|\sec u+\frac{x}{y\sin\theta}-\tan\theta|$$....
Update:
Thanks to @Po1ynomial in the comments, I tried to use polar coordinate but got stuck here:
$$2\int_0^{\frac{\pi}4}\int_0^{\sec\theta}r^2\sqrt{1-m\sin2\theta}\text{d}r\text{d}\theta=\frac23\int_0^{\frac{\pi}4}\sec^3\theta\sqrt{1-m\sin2\theta}\text{d}\theta=?...$$