Electromagnetism: cylindrical or rectangular coordinates.

In the case of a charged sphere, the electric field is radial, so you can pull the unit vector out of the integral. In the present case, the electric field isn't radial, so you can't pull the unit vector out of the integral.
  • #1
Bromio
62
0
Hi.

Sorry my spelling, because I am not English.

Homework Statement


In a sphere truncated sector with an angle of 60 degrees, there is a uniform charge distribution, [tex]\rho[/tex]. Calculate the electric field in [tex](0,0,0)[/tex]. The sector starts in [tex]z=a[/tex] and ends in [tex]z = b[/tex]. The sphere center is in [tex](0,0,0)[/tex].

Homework Equations


To calculate the electric field, I use:
[tex]\bar{E}(\bar{R}) = \displaystyle\frac{1}{4 \pi \epsilon_0} \displaystyle\int\displaystyle\int\displaystyle\int_{V'} \rho\left(\bar{R}\right) \displaystyle\frac{\bar{R}-\bar{R}'}{\left|\bar{R}-\bar{R}'\right|^3}\;dV'[/tex]

The Attempt at a Solution


I know that:
[tex]\rho\left(\bar{R}\right) = \rho[/tex]

[tex]\bar{R} = 0[/tex]

[tex]\bar{R}' = \hat{R}'R'[/tex]

[tex]dV' = R'^2\sin\theta\;dRd\theta d\phi[/tex]

Now, I substitute these values in the integral and I solve it.

What is the problem? I don't know if I can integrate using cylindrical coordinates directly or, on the other hand, if I must use rectangular coordinates:
[tex]\bar{E}(0) = \displaystyle\frac{1}{4 \pi \epsilon_0} \displaystyle\int_0^{2 \pi}\displaystyle\int_0^{\pi /6}\displaystyle\int_a^b \rho\displaystyle\frac{\hat{R}R'}{R'^3}R'^2 \sin \theta\;dRd\theta d\phi[/tex]

or

[tex]\bar{E}(0) = \displaystyle\frac{1}{4 \pi \epsilon_0} \displaystyle\int_0^{2 \pi}\displaystyle\int_0^{\pi /6}\displaystyle\int_a^b \rho\displaystyle\frac{-\hat{z}R' \cos \theta}{R'^3}R'^2 \sin \theta\;dRd\theta d\phi[/tex] ?

In first situation, the result will depend on [tex]\hat{R}[/tex], but, in the second one, it will depend on [tex]\hat{z}[/tex]. Which is the correct solution and why?

Thank you.
Bromio.
 
Last edited:
Physics news on Phys.org
  • #2
Your post is a bit unclear. You refer to cylindrical coordinates, but your integrals are written using spherical coordinates.
Bromio said:

Homework Statement


In a sphere truncated sector with an angle of 60 degrees, there is a uniform charge distribution, [tex]\rho[/tex]. Calculate the electric field in [tex](0,0,0)[/tex]. The sector starts in [tex]z=a[/tex] and ends in [tex]z = b[/tex]. The sphere center is in [tex](0,0,0)[/tex].
I'm not sure I understand what region the charge occupies. You have these limits z=a and z=b, yet later on, you use these values as the limits for the radial coordinate r, not z.

Homework Equations


To calculate the electric field, I use:
[tex]\bar{E}(\bar{R}) = \displaystyle\frac{1}{4 \pi \epsilon_0} \displaystyle\int\displaystyle\int\displaystyle\int_{V'} \rho\left(\bar{R}\right) \displaystyle\frac{\bar{R}-\bar{R}'}{\left|\bar{R}-\bar{R}'\right|^3}\;dV'[/tex]

The Attempt at a Solution


I know that:
[tex]\rho\left(\bar{R}\right) = \rho[/tex]

[tex]\bar{R} = 0[/tex]

[tex]\bar{R}' = \hat{R}'R'[/tex]

[tex]dV' = R'^2\sin\theta\;dRd\theta d\phi[/tex]
You have several problems from confusing R and R'. In the integral, the charge density should be a function of R', not R. In the volume element dV', you have both R and R'. It should just be R', right?
 
  • #3
Thanks for answering, vela.

Some of the errors you have detected are misprints, so I'll correct them. In addition, I thought in spherical coordinates, but I wrote cylindrical ones. Sorry, again. Now I attach an image in order to see how is the situation.

[tex]\rho\left(\bar{R}'\right) = \rho[/tex]
[tex]
dV' = R'^2\sin\theta\;dR'd\theta d\phi
[/tex]The question is the same I asked above.

Thank you.
Bromio
 

Attachments

  • electro1.jpg
    electro1.jpg
    14 KB · Views: 424
  • #4
In your first integral, the unit vector should be [tex]\hat{R}'[/tex], not [tex]\hat{R}[/tex]. I assume that's just another typo as you wrote it correctly earlier. You also dropped an overall negative sign.

Other than those errors, both expressions are correct. In the first integral, you're not taking advantage of the axial symmetry of the problem yet. If you plug in the expression for [tex]\hat{R}'[/tex] and integrate, you'll find the x and y components come out to be zero. You can, of course, prior to integration, argue those components should be 0 by symmetry and just calculate the z component. That's what the second integral gives you.
 
  • #5
Thank you, vela

You are right: the error you indicates is a misprint again (in paper I've written the equation correctly).

Because of your answer, I understand I should substitute [TEX]\hat{R}'[/TEX] unit vector by [TEX]\hat{x} \cos \theta \sin \phi + \hat{y} \cos \theta \cos \phi + \hat{z} \sin \theta[/TEX] and then, integrate. Why I must do it?

In other words:
Is this solution correct?

[TEX]
\bar{E}(0) = \displaystyle\frac{1}{4 \pi \epsilon_0} \displaystyle\int_0^{2 \pi}\displaystyle\int_0^{\pi /6}\displaystyle\int_a^b \rho\displaystyle\frac{\hat{R}\cancel{R}}{\cancel{R^3}}\cancel{R^2} \sin \theta\;dRd\theta d\phi
[/TEX]

Or should I write [tex]\hat{R}[/tex] in rectangular coordinates?

Thank you.
Bromio

PS: I don't know what happens with LaTeX, but some formulas doesn't appear properly, although I have checked them in an auxiliary program.
 
Last edited:
  • #6
You're still missing the overall negative sign, and the unit vector you should be

[tex]\hat{R} = \sin\theta\cos\phi\,\hat{x} + \sin\theta\sin\phi\,\hat{y} + \cos\theta\,\hat{z}[/tex]

I'm not sure about your question about why you would do this. How else are you going to evaluate the integral? Note that the unit vector depends on the variables of integration, so you can't just pull it out of the integral.
 
  • #7
Thank you, vela

The integral is [tex]
\bar{E}(0) = \displaystyle\frac{1}{4 \pi \epsilon_0} \displaystyle\int_0^{2 \pi}\displaystyle\int_0^{\pi /6}\displaystyle\int_a^b \rho\displaystyle\frac{-\hat{R}R'}{R^3}R'^2 \sin \theta\;dRd\theta d\phi
[/tex]

I'm not sure about your question about why you would do this. How else are you going to evaluate the integral? Note that the unit vector depends on the variables of integration, so you can't just pull it out of the integral.

That's my trouble! So, I can't pull [tex]\hat{R}[/tex] out because of its dependency.

For example, if I were calculating the electric field in a charged sphere, obvioulsy the field depends on radial direction and there is spherical simmetry, so I could integrate the [tex]\hat{R}[/tex] unit vector. Yes?

Thanks, again.
Bromio.
 
  • #8
Bromio said:
That's my trouble! So, I can't pull [tex]\hat{R}[/tex] out because of its dependency.

For example, if I were calculating the electric field in a charged sphere, obvioulsy the field depends on radial direction and there is spherical simmetry, so I could integrate the [tex]\hat{R}[/tex] unit vector. Yes?
I'm not sure what you're trying to ask here.
 
  • #9
vela said:
I'm not sure what you're trying to ask here.

I've considered a different problem. Suppose a sphere with a volumetric charge distribution, [TEX]\rho[/TEX]. I want to calculate the field in every point of the space. Generally, I solve this problem using Gauss' law, but suppose I want to use electric field formula. Obviously, [TEX]\bar{E}[/TEX] direction will be [TEX]\hat{R}[/TEX], radial. Could I pull [TEX]\hat{R}[/TEX] out the integral? Or should I substitute it for its rectangular coordinates?

Thank you.
Bromio.
 
  • #10
Your integral in post 7 has mistakes. I assumed you were just being careless, but your subsequent questions make me question my assumption. R and R' aren't interchangeable, and I think you're confusing yourself by not being keeping track of which is being used where.

There's nothing particularly special about the unit vector. Just like any other quantity in the integrand, if it depends on the variables of integration, you can't pull it out of the integral. It's that simple. If you want to evaluate the integral, you'll need to express the unit vector explicitly in terms of the integration variable.
 
  • #11
vela said:
Your integral in post 7 has mistakes. I assumed you were just being careless, but your subsequent questions make me question my assumption. R and R' aren't interchangeable, and I think you're confusing yourself by not being keeping track of which is being used where.

I think [tex]\bar{R}'[/tex] points at the source and [tex]\bar{R}[/tex] points to where I want to know the electric field.

So, the integral should be:
[tex]

\bar{E}(0) = \displaystyle\frac{1}{4 \pi \epsilon_0} \displaystyle\int_0^{2 \pi}\displaystyle\int_0^{\pi /6}\displaystyle\int_a^b \rho\displaystyle\frac{-\hat{R}'R'}{R'^3}R'^2 \sin \theta\;dR'd\theta d\phi

[/tex]

In this case, [tex]\bar{R} = 0[/tex]. Is it correct?

vela said:
There's nothing particularly special about the unit vector. Just like any other quantity in the integrand, if it depends on the variables of integration, you can't pull it out of the integral. It's that simple. If you want to evaluate the integral, you'll need to express the unit vector explicitly in terms of the integration variable.

Thank you. I've understood this finally.

Thank you.
Bromio.
 

1. What is the difference between cylindrical and rectangular coordinates in electromagnetism?

Cylindrical coordinates use the radial distance, azimuthal angle, and height to describe a point in 3D space. Rectangular coordinates use the x, y, and z axes to describe a point. In electromagnetism, cylindrical coordinates are useful for describing systems with cylindrical symmetry, while rectangular coordinates are useful for systems with rectangular symmetry.

2. How do you convert between cylindrical and rectangular coordinates in electromagnetism?

To convert from cylindrical coordinates to rectangular coordinates, you can use the following equations:x = r*cos(θ)y = r*sin(θ)z = zwhere r is the radial distance, θ is the azimuthal angle, and z is the height. To convert from rectangular coordinates to cylindrical coordinates, you can use the following equations:r = √(x^2 + y^2)θ = tan^-1(y/x)z = z

3. Which coordinate system is more commonly used in electromagnetism?

The choice of coordinate system depends on the specific problem and the symmetry of the system. In electromagnetism, both cylindrical and rectangular coordinates are commonly used.

4. How does the electric and magnetic field vary in cylindrical and rectangular coordinates?

In cylindrical coordinates, the electric and magnetic fields can be expressed in terms of the radial, azimuthal, and axial components. In rectangular coordinates, the fields are typically expressed in terms of the x, y, and z components. The specific equations for these components depend on the specific problem and the symmetry of the system.

5. Can you use both cylindrical and rectangular coordinates at the same time in electromagnetism?

Yes, it is possible to use both coordinate systems simultaneously in electromagnetism. This is often done when dealing with complex systems that have both cylindrical and rectangular symmetry. However, it is important to be consistent and clearly define which coordinate system is being used for each part of the problem.

Similar threads

Replies
2
Views
697
  • Advanced Physics Homework Help
Replies
1
Views
791
  • Advanced Physics Homework Help
Replies
2
Views
728
  • Advanced Physics Homework Help
Replies
1
Views
389
  • Advanced Physics Homework Help
Replies
7
Views
994
  • Advanced Physics Homework Help
Replies
7
Views
1K
  • Advanced Physics Homework Help
Replies
4
Views
769
  • Advanced Physics Homework Help
Replies
2
Views
1K
Replies
6
Views
3K
  • Advanced Physics Homework Help
Replies
1
Views
2K
Back
Top