A9 · Lesson 18 · Cylindrical and spherical coordinates
Coordinates that fit wires and charges
The magnetic field of a wire circles it, getting weaker with distance. In and it's the messy-looking . Described by distance from the wire and direction around it, it's just "strength , pointing around." Choosing coordinates that match the shape of a problem turns hard integrals into easy ones, and every textbook formula for wires, cables and charges is written this way.
Play
- The arrows show the magnetic field around a wire carrying current out of the page at the origin. The point is placed by its distance and angle instead of and .
- The two short arrows at the point are the unit vectors (straight out) and (around). Move the point. Which one does the field follow?
- Change and watch the field strength. Change φ: does the strength change?
Predict
In the grid, a small patch has area . In polar coordinates, a patch spans outward and around. What is its area?
. Turning through an angle moves you a distance around a circle of radius , so the patch is by . Patches far from the center are bigger than ones near it for the same and . Forgetting that factor of is the most common mistake with polar integrals.
Name it
Cylindrical and spherical coordinates
Cylindrical : distance from an axis, angle around it, and height along it.
Spherical : distance from a center, angle down from the axis, and angle around it.
(Math books sometimes swap the names θ and φ; physics and engineering books use these.)
Unit vectors that move. , and point differently at different places: in the plane, and . That's why fields look simple in these coordinates:
| Source | Field |
|---|---|
| point charge | (spherical) |
| line charge λ | (cylindrical) |
| wire carrying | (cylindrical) |
Area and volume elements. A small patch or box isn't :
Integrals become easy when the region matches. The charge on a disk of radius with density :
and the volume of a sphere: .
Divergence of a spreading field. For a field pointing straight out from a center, , the divergence is in spherical coordinates. For that's zero: a point charge's field has no divergence anywhere except at the charge itself, just as Gauss's law requires.
Worked example
Find the volume of a cylinder of radius and height in cylindrical coordinates.
Show the solution
- Set up the integral. The factor in is essential:
- Integrate each factor.
Answer the volume is .
Worked example
A ball of radius has density . What is its mass?
Show the solution
- Add up spherical shells.
- Integrate.
- Compare with a uniform ball. That's a quarter of what a uniform ball at would have.
Answer the mass is .
Worked example
Find the volume inside the unit sphere and within 45° of the axis.
Show the solution
- Describe the region. In spherical coordinates it's , , , with
- Integrate each factor.
- Compare with the whole sphere. That's 14.6% of the whole sphere's . The same integral with up to gives the full volume.
Answer the volume is 0.613.
Check
A point is at = 4 cm, = 20°. What is its coordinate, in cm?
Write units the way you normally would: 1.5 cm, 15 mm and 0.015 m are the same answer.
Check
A disk of radius 1 m has charge density nC/m², zero at the center and largest at the rim. What is its total charge?
Write units the way you normally would: 1.5 nC, 1500 pC and 0.0015 µC are the same answer.
Check
A ball of radius 1 cm holds a uniform charge density of 4 µC/m³. What is its total charge?
Write units the way you normally would: 1.5 nC, 1500 pC and 0.0015 µC are the same answer.
Check
A long wire carries 4 nC/m of charge. How strong is the electric field 1 cm from it?
Write units the way you normally would: 1.5 V/m, 1500 mV/m and 0.0015 kV/m are the same answer.
Check
You integrate over a sphere using , forgetting the . What goes wrong?
Check
The cone within 45° of the axis, inside the unit sphere.
(a)
What is its volume?
Check
Find the volume of a cylinder in cylindrical coordinates.
Step 1
What is ?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
What is ?
Explain why
Why does the area element in polar coordinates include a factor of ?
A small step in angle moves you a distance that depends on how far out you are: around a circle of radius , an angle spans an arc of length . So a small patch reaching outward and around is a near-rectangle by , with area . Patches far from the center are larger for the same coordinate steps, and the factor of accounts for that.
Practice
Keep practicing
8 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.