Assume . In cylindrical coordinates, the sphere imposes , and the volume element is . The required triple integral is
Hence
It tends to zero as and to the full sphere volume as , checking both limits.
Express the position vector in the suggested orthonormal basis as . Then
This orthogonal transformation preserves and has Jacobian determinant of absolute value one, so . The basis actually reverses orientation; the absolute value of the Jacobian determinant is why no minus sign enters the volume integral. Also , so the half-space becomes .
At each fixed , the section is the disk , of area . Its reflection symmetry in makes the integral of vanish. Hence the required triple integral is
The negative sign is also consistent with the cap lying in the direction , where its average coordinate is negative.
The liquid occupies and . A horizontal slice is a disk of area . Integrating these areas gives
Equivalently, the triple integral is , including the cylindrical Jacobian determinant factor .