ED02E1: Vector and Coordinate Geometry Problems with Complete Solutions
ED02 developed the geometric language used throughout electrodynamics. This companion article
turns that language into calculation practice.
The problems are arranged so that each new layer depends on the previous one:
| vectors | →products and projections→source-field geometry | |
|
| →curvilinear coordinates→differential elements→symmetry. | | |
The goal is not merely to obtain correct numbers. Each solution emphasizes which geometric
object is being computed and why that object will matter later in electrostatics, magnetostatics, or
field integration.
1 Problems
Problem 1: components, magnitude, and unit direction
Let
Find:
Problem 2: dot product, angle, and projection
Let
Find:
Figure 1. Projection geometry for Problem 2. The vector A is decomposed into a part parallel to
B and a residual perpendicular to B.
Problem 3: cross product, direction, and area
Let
Compute A × B. Find the area of the parallelogram and triangle formed by the two
vectors.
Problem 4: scalar triple product and oriented volume
Let
Compute
What is the physical volume of the parallelepiped? What information is contained in the
sign?
Problem 5: source point to field point
A source element is at
and the field is required at
Find
Explain why this geometry appears repeatedly in Coulomb-law and Biot-Savart integrals.
Figure 2. The relative displacement R points from the source location r′ toward the field point r.
Problem 6: evaluating a vector field
Consider
Evaluate F at (2,−1, 3) and find its magnitude there.
Problem 7: Cartesian to cylindrical coordinates
Convert the Cartesian point
to cylindrical coordinates (s,ϕ,z), using
Then convert back to Cartesian coordinates as a check.
Figure 3. Cylindrical coordinates separate the distance s from the axis, azimuth ϕ, and height z.
The quadrant of the Cartesian point matters when determining ϕ.
Problem 8: cylindrical basis components
At azimuth
write s and ϕ in the Cartesian basis. Then express
in the local cylindrical basis.
Figure 4. The cylindrical basis is local. The directions s and ϕ rotate as the azimuth changes.
Problem 9: a physical differential displacement in cylindrical coordinates
At
a coordinate increment is
Find the three physical components of dr and estimate |dr|.
Problem 10: recover the volume of a cylinder from the cylindrical volume element
Using
derive the volume of a cylinder of radius a and height h.
Then evaluate the result for
Problem 11: Cartesian to spherical coordinates
Convert
to spherical coordinates (r,𝜃,ϕ) using the convention in ED02:
Problem 12: components of a vector in the spherical basis
At
express
in the local spherical basis
Problem 13: area of a spherical patch
On a sphere of radius
find the area of the patch bounded by
Use the exact spherical surface element rather than a flat-area approximation.
Figure 5. A spherical patch has physical side lengths rd𝜃 and r sin𝜃dϕ, so its area element is
r2 sin𝜃d𝜃dϕ.
Problem 14: volume of a spherical wedge
Find the volume in the region
Use
Problem 15: basis variation under a small azimuthal change
The cylindrical basis is
Show that for a small change dϕ,
and
Why is this important for later differentiation of vector fields?
Figure 6. A small azimuthal displacement rotates the cylindrical basis. Even if vector components
remain numerically unchanged, the physical vector can change because its basis vectors have
changed.
Problem 16: choose coordinates from symmetry
For each source configuration, state the most natural coordinate system, the coordinate on which
the field magnitude can depend, and the most likely field direction before any detailed
calculation:
- an isolated point charge,
- an infinite line charge along the z axis,
- a very large uniformly charged plane in the xy plane,
- and a long straight current along the z axis.
Explain the symmetry argument in each case.
2 Complete solutions
Solution 1: components, magnitude, and unit direction
The magnitude follows from the orthonormal Cartesian basis:
Therefore
Its magnitude is
Hence
Solution 2: dot product, angle, and projection
First compute the dot product:
| A ⋅ B | = (2)(1) + (−1)(2) + (2)(2) | |
|
| = 2 − 2 + 4 | |
|
| = 4. | | |
The magnitudes are
Using
we obtain
so
The vector projection of A onto B is
Since B ⋅ B = 9,
The perpendicular remainder is
Check orthogonality:
That zero is the defining geometric property of the residual.
Solution 3: cross product, direction, and area
Using the determinant form,
| A × B | =  | |
|
| = 6x − 3y − 5z. | | |
Its magnitude is
Therefore the parallelogram area is
while the triangle area is
The direction of the cross product is Normal to the plane containing A and B, with its sign fixed
by the right-hand rule.
Solution 4: scalar triple product and oriented volume
First calculate
| B × C | =  | |
|
| = (−1, 2,−6). | | |
Then
| A ⋅ (B × C) | = (1)(−1) + (0)(2) + (2)(−6) | |
|
| = −13. | | |
The physical volume is the absolute value:
The negative sign indicates that the ordered set (A,B,C) has the opposite orientation from a
right-handed ordered basis. The sign is orientation information; the geometric volume itself is
positive.
Solution 5: source point to field point
Subtract the source position from the field position:
| R | = r − r′ | |
|
| = (4 − 1, 2 − (−2), 3.5 − 0.5) | |
|
| = (3, 4, 3) m. | | |
Its magnitude is
Therefore
In source integrals, each source element at r′ contributes to the field at r. The separation
magnitude controls how strongly the contribution is weighted, while R supplies the relevant
source-to-field direction.
Solution 6: evaluating a vector field
Substitute
The components become
and
Thus
Its magnitude is
A vector field assigns a different vector to each point. Evaluating the field at one point produces
one ordinary vector.
Solution 7: Cartesian to cylindrical coordinates
The cylindrical radius is
| s | =  | |
|
| =  | |
|
| = 6. | | |
The point lies in Cartesian quadrant II because
Since
the correct quadrant-II angle is
The vertical coordinate is unchanged:
Therefore
Check by converting back:
The original point is recovered.
Solution 8: cylindrical basis components
The local cylindrical basis vectors are
and
At ϕ = 60∘,
Because the basis is orthonormal, the local components are obtained by projection:
| As | = A ⋅s | |
|
| = 4 + 2 | |
|
| = 2 + , | | |
| Aϕ | = A ⋅ϕ | |
|
| = 4 + 2 | |
|
| = 1 − 2 , | | |
and
Therefore
The physical vector did not change. Only its basis and component values changed.
Solution 9: a physical differential displacement in cylindrical coordinates
The cylindrical differential displacement is
Convert the angle to radians:
The three physical edge lengths are therefore
| sdϕ | = (0.20) | |
|
| ≈ 0.01047 m, | | |
and
Since the local basis is orthonormal,
| |dr| | ≈ | |
|
| ≈ 0.0107 m. | | |
The important point is that dϕ itself is not a length. The corresponding physical tangential
distance is sdϕ.
Solution 10: recover the cylinder volume
Integrate over the full cylinder:
Then
| V | = ∫
0h ∫
02π ∫
0asdsdϕdz | |
|
| =    | |
|
| = (2π)h | |
|
| = πa2h. | | |
For
we obtain
| V | = π(0.040)2(0.120) | |
|
| ≈ 6.03 × 10−4 m3. | | |
Equivalently,
The factor s in the cylindrical volume element is exactly what makes the integration reproduce the
familiar geometric result.
Solution 11: Cartesian to spherical coordinates
The radial distance is
| r | =  | |
|
| =  | |
|
| = 4. | | |
The polar angle satisfies
Thus
Since x = y > 0,
Therefore
Solution 12: components in the spherical basis
The spherical basis in Cartesian components is
and
At
these become
Project A onto each basis direction:
and
| Aϕ | = A ⋅ϕ | |
|
| = − + . | | |
Hence
Solution 13: area of a spherical patch
For a surface of constant radius,
Therefore
| A | = r2 ∫
ϕ1ϕ2
∫
𝜃1𝜃2
sin 𝜃 d𝜃 dϕ | |
|
| = r2(ϕ
2 − ϕ1)(cos 𝜃1 − cos 𝜃2). | | |
Using radians,
Thus
| A = | (0.30)2 | |
|
| ×![[cos(40∘) − cos(50 ∘)]](https://images.physicslibrary.org/cache/objects/1585/make4ht/VectorAndCoordinateGeometryProblems131x.png) | |
|
| ≈ 3.87 × 10−3 m2. | | |
The factor sin 𝜃 accounts for the shrinking physical circumference of circles of latitude as the pole
is approached.
Solution 14: volume of a spherical wedge
Integrate over the stated bounds:
| V | = ∫
0π∕2 ∫
0π∕3 ∫
0.100.20r2 sin 𝜃 dr d𝜃 dϕ. | | |
The radial integral is
The polar integral is
The azimuthal integral is
Therefore
Solution 15: basis variation under a small azimuthal change
Differentiate the radial basis vector with respect to ϕ:
 | = − sin ϕx + cos ϕy | |
|
| = ϕ. | | |
Therefore, to first order in dϕ,
Similarly,
 | = − cos ϕx − sin ϕy | |
|
| = −s, | | |
so
This matters because differentiating a vector field in cylindrical or spherical coordinates requires
differentiating not only its numerical components but also the basis vectors themselves. ED03 will
build the differential operators from precisely this geometry.
Solution 16: choose coordinates from symmetry
Isolated point charge
The source is unchanged by any rotation about the charge. Distance from the source is the only
scalar coordinate that can affect the field magnitude.
Therefore spherical coordinates are natural:
Infinite line charge on the z axis
The source is unchanged by translation along z and rotation about the z axis. The field magnitude
can therefore depend only on distance s from the axis.
Cylindrical coordinates are natural:
Very large uniformly charged plane in the xy plane
The source is unchanged by translations in x and y and by rotations in the plane. The field cannot
prefer any in-plane direction. It must point normal to the plane and can depend only on
z.
Cartesian coordinates are natural:
For an ideal infinite uniform plane, later symmetry arguments will show that the magnitude is
actually constant on either side, but that result is not needed here.
Long straight current on the z axis
The source is unchanged by translation along z and rotation about the axis. The magnetic field
magnitude can depend only on s.
The right-hand rule and rotational symmetry indicate the azimuthal direction:
This final example is especially useful: symmetry determines not only which coordinate the
magnitude can depend on, but also which basis direction is physically allowed.
3 What these problems are preparing us to do
ED02E1 is deliberately geometric. We have not yet differentiated fields with gradient,
divergence, or curl. Nevertheless, the main ingredients for those operators are now in
place:
- local orthonormal bases,
- coordinate-dependent basis vectors,
- scale factors,
- line elements,
- area elements,
- volume elements,
- and symmetry-adapted descriptions of fields.
ED03 will turn these geometric ingredients into differential operators.
4 Summary
The most important habits from these problems are:
- distinguish a vector from its component list,
- use dot products to extract components along a chosen direction,
- use cross products to encode oriented area and perpendicular direction,
- form R = r − r′ from source to field point,
- use sdϕ and r sin 𝜃 dϕ as physical lengths rather than treating angles as lengths,
- remember that cylindrical and spherical basis vectors vary with position,
- and choose coordinates that expose the source symmetry before doing algebra.
References
[1] D. J. Griffiths, Introduction to Electrodynamics, 5th ed., Cambridge University Press,
2023.
[2] E. M. Purcell and D. J. Morin, Electricity and Magnetism, 3rd ed., Cambridge
University Press.
[3] H. M. Schey, Div, Grad, Curl, and All That, W. W. Norton.
[4] G. B. Arfken, H. J. Weber, and F. E. Harris, Mathematical Methods for Physicists,
Academic Press.