• Support PF! Buy your school textbooks, materials and every day products via PF Here!

Calculate the charge of a density distributed along z axis?

1. The problem statement, all variables and given/known data
How do I find the total charge from a material with a charge density given by
[tex]\rho =10^{-9} \text{cos}\left ( \frac{z}{z_0}\right ) C/m^3[/tex]
that exist between [itex]\frac{-\pi}{3}z_0<z<\frac{\pi}{3}z_0[/itex].

2. Relevant equations
None I can think of.

3. The attempt at a solution

Attempt #1:

Since the charge density is a volume charge density we may assume that we are dealing with a cylindrical charge distribution that remains the same along [itex]r[/itex]. However, the radius of the assumed shaped was not given, so let us assume that its radius is [itex]r_0[/itex]. We may solve this by:

[tex]q=\int_V \rho d\tau[/tex] [tex]q=\int_0^{r_0} \int_0^{2\pi} \int_{\frac{-\pi}{3}z_0}^{\frac{\pi}{3}z_0} 10^{-9} \text{cos}\left ( \frac{z}{z_0}\right ) C/m^3 rdrd\phi dz[/tex]

Everything will then be straight forward, but the issue is that

1. [itex]r_0[/itex] is not given, and
2. the problem did not say it is a cylindrical charge density.

This is just, however, one way I could deal with a volume charge density that does not have a given volume, unusual huh.

Attempt #2:

Since the problem indicated that the volume charge density is distributed on a line, then it must be a line charge only. Thus it must have an infinitesimal radius that could be resolve by Dirac Delta function, so:

[tex]\rho =10^{-9} \text{cos}\left ( \frac{z}{z_0}\right ) C/m^3[/tex]

must be equivalent to:

[tex]\rho =\delta(r,\phi - r',\phi')10^{-9} \text{cos}\left ( \frac{z}{z_0}\right ) C/m[/tex]

then, things could now be easily solved in the integral:

[tex]q=\int_V \left (\delta(r,\phi - r',\phi')10^{-9} \text{cos}\left ( \frac{z}{z_0}\right ) C/m\right )d\tau[/tex]

4. My Question

Now, my question is, which two approaches is the right solution, Or if neither any of the two is correct, how should we solve the total charge of a density given above?

Cross-Link: Posted the Question In physics.exchange but, does not seem to get answered, Hope you guys help me out. http://physics.stackexchange.com/questions/240215/how-to-compute-the-charge-of-a-density-distributed-along-z-axis [Broken]
Last edited by a moderator:

Simon Bridge

Science Advisor
Homework Helper
You are specifically given units of C/m3 ... so this is explicitly a volume charge density.

The only dpendence given is z, so a cylindrical symmetry is reasonable.
The question appears to call for the total charge between two planes so ##r\in [0,\infty)## ... but that gives you an infinite charge.
It follows that there is some information missing from the problem statement, or the statement is in error.

You need to use the context that the question is set in to further determine the limits for the volume.
Hi, that what all the problem given. No [itex]r[/itex] for a cylinder or so. The problem just tells that the charge is distributed on z.

Simon Bridge

Science Advisor
Homework Helper
That's why I suggest going to the context - sometimes the needed information is not explicitly given.
Maybe the "material" is finite in a way mentioned elsewhere?

There are too many other possibilities to safely guess ... which is basically what you are doing above.
Have you asked the other students to see how they are handling it?

If you cannot ask anyone, and you must turn in something, then you will have to just leave ##r_0## as a variable.


Science Advisor
Homework Helper
Insights Author
Gold Member
2018 Award
I see no need to assume it is a cylinder. Just assume the cross-sectional area in the XY plane is constant, A.
However, this still leaves such a trivial problem that I suspect the missing information is crucial.
Thanks for the responses! I will just assume that there might be a missing information. In case there is none, is my solution involving dirac-delta correct?

Want to reply to this thread?

"Calculate the charge of a density distributed along z axis?" You must log in or register to reply here.

Physics Forums Values

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving