I have a function $f$ which takes three unit vectors of $\mathbb R^3$ and returns a number, so $f \colon \mathbb R^3 \times \mathbb R^3 \times \mathbb R^3 \to \mathbb R$ which is defined as $f(\mathbf x,\mathbf y, \mathbf z) := |\det(\mathbf x, \mathbf y, \mathbf z)|$ i.e. determinant of the 3 by 3 matrix whose columns are the three coordinates (wrt canonical base) of the three vectors.
I would like to compute the surface integral $$ \int_{S^2 \times S^2 \times S^2} f(\mathbf x, \mathbf y, \mathbf z) \, d\sigma(x) d\sigma(y) d\sigma(z) $$ where $S^2 := \{(a,b,c) \in \mathbb R^3: a^2 + b^2 + c^2 = 1\}$ is the unit sphere and $\sigma$ is the surface measure over it.
I have used
region = ImplicitRegion[x^2 + y^2 + z^2 == 1, {x,y,z}]; Integrate[Abs[Det[{{a, d, g}, {b,e,h}, {c, f, i}}]], {a,b,c} ∈ region, {d,e,f} ∈ region,{g,h,i} ∈ region] where, of course, "function" is replaced by the above definition ($a,b,c$ are the coordinates of $x$ and so on). Mathematica works for quite a lot and returns... 0.
This is clearly meaningless, as the function is non-negative (but not identically vanishing). Maybe in this way I am computing a volume integral (on a region of measure 0)? What is the correct way to write this? Thanks.
EDIT: I have tried also spherical coordinates: I have assumed (rotational invariance) that $\mathbf = (0,0,1)$. Hence I gave to compute
Integrate[Abs[Det[( { {Sin[a] Cos[b], Sin[c] Cos[d], 0}, {Sin[a] Sin[b], Sin[c] Sin[d], 0}, {Cos[a], Cos[c], 1} } )]]*Sin[a]*Sin[c], {a, 0, 2*Pi}, {c, 0, 2*Pi}, {b, 0, Pi}, {d, 0, Pi}, Assumptions -> a ∈ Reals && b ∈ Reals && c ∈ Reals && d ∈ Reals] returning 0 after a while. I have also tried the following:
Block[{t, a}, F = {t, a} \[Function] {Sin[t] Cos[a], Sin[t] Sin[a], Cos[t]}; DF = {t, a} \[Function] Evaluate[D[F[t, a], {{t, a}, 1}]]; jacobidet = {t, a} \[Function] Evaluate[Simplify[Sqrt[Det[Transpose[DF[t, a]].DF[t, a]]]]];]; Integrate[Abs[Det[( { {Sin[t] Cos[a], d, g}, {Sin[t] Sin[a], e, h}, {Cos[t], f, i} } )]]* jacobidet[t, a], {a, 0, 2*Pi}, {t, 0, Pi}] hoping that I could then integrate again the resultign expression in the other variables. But also this did not work - as it could be expected actually.
I am stuck...
{1,0,0}, correct? If you are looking for the expected volume of the tetrahedron defined by 3 random vectors. $\endgroup$