Quote by sunjin09
The δ(θpi/2) part of your expression is missing a 1/r factor, if you think about the difference between dθ and dz. What you want is an infinitesimal displacement in the z direction, i.e., dz=r*dθ at pi/2.
BTW in cylindrical system δ(r,r')=[itex]\delta(rr')\frac{\delta(\phi\phi')}{r}\delta(zz') [/itex], where the 1/r is associated with the delta of [itex]\phi[/itex] coordinate, for the same consideration, but z coordinate is unaffected.

What I don't understand is why do I have to use "δ(r,r')"?
For instance in cylindrical coordinates, I made the ansatz that the solution to the problem is [itex]\rho (\vec x)=C \Theta (rR) \delta (z)[/itex]. When integrated over all the space, this gave me [itex]C=\frac{Q}{\pi R^2}[/itex] leading to [itex]\rho (r,z)=\frac{Q}{\pi R^2}\Theta (rR) \delta (z)[/itex] which coincides with the answer found on the Internet. I tried the exact same method in spherical coordinates but for some unknown reason to me, the answer found on the Internet differs from mine.
In either cases, I didn't use the expression for δ(
r,
r').