# 3-dimensional charge density for a finite thin wire

## Homework Statement

Express the 3D charge density $$\rho$$ for a thin wire with length Z and uniform linear charge density $$\lambda$$ along the z-axis in terms of a two-dimensional dirac-delta function.

## Homework Equations

The three dimensional charge density is the total charge over a volume.

## The Attempt at a Solution

I am not sure how to proceed with this question. Last night I attempted to calculate the electric field components, which I believe I did correctly, but was heavy in the algebra. I had intended to use Gauss law to calculate the charge density from the Electric field, hoping that a delta function would pop out somewhere. I talked to my professor today and he told me I was using the wrong approach, and that the solution to this problem is much simpler. Unfortunately I'm not sure I entirely understand how to use the dirac-delta function, and I feel stuck. I'm not sure how to start this problem. All I know is that

$$Q=\int^{Z}_{0}\lambda dz$$

This integral just evaluates to $$\lambda Z$$.

I have no idea how to proceed. Any help would be appreciated.

Thanks.

Related Advanced Physics Homework Help News on Phys.org
gabbagabbahey
Homework Helper
Gold Member
Well, you have $Q=\lambda Z$, but by definition of volume charge desity, you also have:

$$Q=\lambda Z=\int_{\text{all space}} \rho(\textbf{x})d^3x[/itex] Where is $\rho$ zero? Where is it undefined? P.S....why not just use John Wall as your screen name instead? Thanks for the reply. I can't seem to grasp the concept of the delta function, despite reading the text and going through and even seeming to understand examples involving the delta function in the text. I know what it does and what its properties are, but as far as actually using it it breaks apart for me. Are there any resources you could point me to where I may get a better understanding of the delta function? Your equation makes sense to me. Rho should be zero anywhere where we're not at x=0, y=0, 0<z<Z. I wouldn't think that it's undefined anywhere as we could express it with the dirac-delta function even at the line of charge. That said, from my feeble understanding of the delta function, your equation makes sense if we have a point charge. I can't see how to make that a two-dimensional delta function. As for this user name, I believe I created it before his name got big. That said, I still wouldn't compare him to the G.O.A.T. At least not yet Thanks again for your help. gabbagabbahey Homework Helper Gold Member Your equation makes sense to me. Rho should be zero anywhere where we're not at x=0, y=0, 0<z<Z. Right. I wouldn't think that it's undefined anywhere as we could express it with the dirac-delta function even at the line of charge. But the delta function is undefined at specific locations...For example, $\delta(x)$ is zero for $x\neq0$ and undefined at $x=0$...Its the integral of $\delta(x)$ over some interval that will never be undefined. That said, from my feeble understanding of the delta function, your equation makes sense if we have a point charge. I can't see how to make that a two-dimensional delta function. You understand that I am using $\rho(\textbf{x})$ to represent the localized charge density right? If so, the equation had better make sense to you, it is the definition of localized charge density! Anyways, using that definition, look at a point an the wire... $d^3 x=dxdydz$ in Cartesian coordinates....what will $dx$ and $dy$ be for an infinitesimally thin wire? What will that make the charge density $\rho=\frac{dQ}{d^3 x}$ on the wire? I'm sorry, I feel really stupid. You make this sound so easy, but I just don't seem to get it. Here's my train of thought right now. For an infinitesimal point charge [tex]\lambda dz => 4\pi \delta^{3}(r)=4\pi\delta(x)\delta(y)\delta(z-k)=\rho$$

So for the wire would I just integrate over z?

dx and dy should be 0 for an infinitesimally thin wire, but I'm not sure how to answer your last expression.

I'm sorry I don't understand... if it is easier I can just turn it in without answering this particular question and wait for the solution to be handed out. I just don't think I get this particular concept. I'm not sure why.

gabbagabbahey
Homework Helper
Gold Member
For an infinitesimal point charge

$$\lambda dz => 4\pi \delta^{3}(r)=4\pi\delta(x)\delta(y)\delta(z-k)=\rho$$

So for the wire would I just integrate over z?
I'm not sure what you are trying to say here...

A point charge at the origin has a charge density $\rho=q\delta^3(\textbf{r})=\delta(x)\delta(y)\delta(z)$..

The reason is that the charge density everywhere expect the origin is zero (since there's no charge there), the charge density at the origin is undefined (since $\rho=\frac{q}{dxdydz}$ and $dx=dy=dz=0$ for an infinitesimal point), and despite this, the total charge is finite $q=\int_{\text{all space}}\rho dx dy dz$...These are exactly the properties that define the 3D dirac delta function (zero everywhere, except at a single point, where it is undefined, yet its integral is finite), so you know $\rho$ must be of the form $\rho(\textbf{r})=f(\textbf{r})\delta^3(\textbf{r})$

Using this form you have $$q=\int_{\text{all space}}f(\textbf{r})\delta^3(\textbf{r}) dx dy dz=f(0)$$, so choosing $f(\textbf{r})=q$ is appropriate.

dx and dy should be 0 for an infinitesimally thin wire, but I'm not sure how to answer your last expression.
Use the same reasoning as above....if $dx=dy=0$ for a thin wire, the charge density will be undefined on the wire...You also know that it is zero everywhere else, and its integral is finite (since the total charge is just $\lambda Z$....so, the expected form of the charge density will be $\rho(\teftbf{r})=f(\textbf{r})\delta(x)\delta(y)$...right?