I wish to compute the perimeter of a circumference of unit radius by using the Laplace transform (just for fun). However, I am getting the wrong result by a factor of 2. Can someone help me find it?
I write $$P=\int dx dy \delta(x^2+y^2-1),$$ where the integral is over the whole plane. Then I introduce the auxiliary function $$P(t)=\int dx dy \delta(x^2+y^2-t).$$
The Laplace transform $f(s)=\int_0^\infty e^{-st}P(t)dt$ gives $$f(s)= \int dx dy e^{-s(x^2+y^2)}=2\pi\int_0^\infty rdre^{-sr^2}=\frac{\pi}{s}.$$
Inverse Laplace transform then gives just $P(t)=\pi$.
Where is the mistake?
You don't need the Laplace transform to see the problem. Notice that $$\int dxdy\delta(x^2+y^2-1)=2\pi\int_0^\infty rdr\delta(r^2-1)=2\pi\frac{1}{2}=\pi.$$
This is wrong because you should have $\delta(r-1)$ in there and not $\delta(r^2-1)$ (user md2perp2 has it right on his comment).
So you should start with $$P=\int dxdy\delta(\sqrt{x^2+y^2}-1)$$ and then it will work.