I'm interested in the behavior of Dirac deltafunctions within multivariate integrals. Here is a simple example to which I do not know the answer:
$\iint\limits_{[0,1]\times [0,1]} \delta\left(x - y\right)\, dA$
This integrates the constant function $1$ over the line $y=x$. Is there a prefactor involed though due to the delta? I can imagine this evaluating either to $1$ or to $\sqrt2$.
The information from the relevant Wikipedia page suggests the value $\sqrt2$ while WolframAlpha suggests the value $1$.
How is the behavior of a Dirac deltafunction within a multivariate integral defined? My goal is to create an algorithm to solve a broad class of these problems in general.