I try to evaluate an Integral of a Heaviside
function, but it turns out with an erroneous output(zero). Here is my integral:
Integrate[HeavisideTheta[k - Sqrt[kx^2 + ky^2 + kz^2]],
{kx, -Infinity, Infinity},
{ky, -Infinity, Infinity},
{kz, -Infinity, Infinity}, {kx, ky, kz} ∈ Reals]
The right answer should be a volume of a sphere, but it seems Mathematica doesn't know it.
k
first. $\endgroup$Assumptions->k>0
in the integral. It returns 0. $\endgroup$