Do you integrate a variable charge density when solving for Q?

Click For Summary
The discussion focuses on integrating a variable charge density when calculating the total charge in a specified volume. The charge density is given as p = p0*(a^2 - z^2), and the confusion arises regarding whether to substitute this expression before or after integrating. It is clarified that the variable charge density p depends on z, meaning it cannot be factored out of the integral. The total charge is computed by integrating p(z) over the limits from -b to b, as it accounts for all values of z within that range. Understanding the relationship between charge density and the integration limits is crucial for accurate calculations.
Axxaaa
Messages
3
Reaction score
0
For example, let's say there was an block infinitely long in the x and y direction and in the z direction bounded by positive and negative a.

I am trying to find the charge of a imaginary partition infinitely long in the x and y direction and in the z direction bounded by positive and negative b, where b is less than a.

Here is where I get confused, if the charge density is something like p = p0*(a^2 - z^2), where z in the case is b, as mentioned above.

dQ = p * dV

Do i integrate from here or do I substitute in p = p0*(a^2 - z^2), and then integrate?
 
Physics news on Phys.org
As p is equal to p0*(a^2 - z^2) it does not matter, but I wonder how you try to integrate it without replacing p by the other expression.
 
I thought to just take p out of the integral and substitute it in later after I integrate dV with respect to z. Also, p should still matter because I stated that z^2 is in this case b^2.
 
Perhaps this will help: ##\renewcommand{\d}{\text{d}}##
The charge in the infinite sheet between ##z## and ##z+dz## is $$\d q=p(z)\d z$$
So the charge within ##|z|<b## is the sum of all such sheets inside that range.

I stated that z^2 is in this case b^2.
In your example, "##z^2=b^2##", as you say, only at the point ##z=b## ... but the total charge includes all the charge at all points between z=-b and z=b as well - so z has to be able to take on all values in between. vis: $$q=\int_{-b}^b p(z)\;\d z$$ ... i.e. you cannot take ##p## outside the integral because it depends on the variable being integrated over.

There may be a small confusion here though.
after I integrate dV with respect to z
$$\d q=\rho(x,y,z) \d V = p(z)\d z : p(z)=\int_{-\infty}^\infty\int_{-\infty}^\infty\rho(x,y,z)\; \d x\d y$$ ... the provided density function has already done two of the integrations for you - so you are not integrating dV over z.
 
Last edited:

Similar threads

  • · Replies 10 ·
Replies
10
Views
1K
  • · Replies 3 ·
Replies
3
Views
465
  • · Replies 22 ·
Replies
22
Views
2K
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
642
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
9
Views
682