Review - of - vectors-Griffiths-Introduction To Electrodynamics (2017)
Review - of - vectors-Griffiths-Introduction To Electrodynamics (2017)
1 Vector Analysis
3 mi
4
mi 5 mi
A −A
1
2 Chapter 1 Vector Analysis
B −B
(i) Addition of two vectors. Place the tail of B at the head of A; the sum,
A + B, is the vector from the tail of A to the head of B (Fig. 1.3). (This rule
generalizes the obvious procedure for combining two displacements.) Addition is
commutative:
A + B = B + A;
3 miles east followed by 4 miles north gets you to the same place as 4 miles north
followed by 3 miles east. Addition is also associative:
(A + B) + C = A + (B + C).
To subtract a vector, add its opposite (Fig. 1.4):
A − B = A + (−B).
(ii) Multiplication by a scalar. Multiplication of a vector by a positive scalar
a multiplies the magnitude but leaves the direction unchanged (Fig. 1.5). (If a is
negative, the direction is reversed.) Scalar multiplication is distributive:
a(A + B) = aA + aB.
(iii) Dot product of two vectors. The dot product of two vectors is defined by
A · B ≡ AB cos θ, (1.1)
where θ is the angle they form when placed tail-to-tail (Fig. 1.6). Note that A · B
is itself a scalar (hence the alternative name scalar product). The dot product is
commutative,
A · B = B · A,
and distributive,
A · (B + C) = A · B + A · C. (1.2)
Geometrically, A · B is the product of A times the projection of B along A (or
the product of B times the projection of A along B). If the two vectors are parallel,
then A · B = AB. In particular, for any vector A,
A · A = A2 . (1.3)
If A and B are perpendicular, then A · B = 0.
1.1 Vector Algebra 3
2A
A
A θ
B
Example 1.1. Let C = A − B (Fig. 1.7), and calculate the dot product of C with
itself.
Solution
C · C = (A − B) · (A − B) = A · A − A · B − B · A + B · B,
or
C 2 = A2 + B 2 − 2AB cos θ.
(iv) Cross product of two vectors. The cross product of two vectors is de-
fined by
A × (B + C) = (A × B) + (A × C), (1.5)
A C A
θ θ
B B
A×A=0
for any vector A. (Here 0 is the zero vector, with magnitude 0.)
Problem 1.1 Using the definitions in Eqs. 1.1 and 1.4, and appropriate diagrams,
show that the dot product and cross product are distributive,
a) when the three vectors are coplanar;
! b) in the general case.
If so, prove it; if not, provide a counterexample (the simpler the better).
z z
A
z Azz
x Ax x
y y y
FIGURE 1.9
1.1 Vector Algebra 5
A = A x x̂ + A y ŷ + A z ẑ.
x̂ · x̂ = ŷ · ŷ = ẑ · ẑ = 1; x̂ · ŷ = x̂ · ẑ = ŷ · ẑ = 0. (1.9)
Accordingly,
Rule (iii): To calculate the dot product, multiply like components, and add.
In particular,
so
A= A2x + A2y + A2z . (1.11)
Therefore,
A × B = (A x x̂ + A y ŷ + A z ẑ) × (Bx x̂ + B y ŷ + Bz ẑ) (1.13)
= (A y Bz − A z B y )x̂ + (A z Bx − A x Bz )ŷ + (A x B y − A y Bx )ẑ.
This cumbersome expression can be written more neatly as a determinant:
x̂ ŷ ẑ
A × B = A x A y A z . (1.14)
B x B y Bz
Rule (iv): To calculate the cross product, form the determinant whose first row
is x̂, ŷ, ẑ, whose second row is A (in component form), and whose third row is B.
Example 1.2. Find the angle between the face diagonals of a cube.
Solution
We might as well use a cube of side 1, and place it as shown in Fig. 1.10, with
one corner at the origin. The face diagonals A and B are
A = 1 x̂ + 0 ŷ + 1 ẑ; B = 0 x̂ + 1 ŷ + 1 ẑ.
z
(0, 0, 1)
B
θ
A (0, 1, 0)
y
x (1, 0, 0)
FIGURE 1.10
Problem 1.3 Find the angle between the body diagonals of a cube.
Problem 1.4 Use the cross product to find the components of the unit vector n̂
perpendicular to the shaded plane in Fig. 1.11.
A · (B × C) = B · (C × A) = C · (A × B), (1.15)
for they all correspond to the same figure. Note that “alphabetical” order is
preserved—in view of Eq. 1.6, the “nonalphabetical” triple products,
A · (C × B) = B · (A × C) = C · (B × A),
A · (B × C) = (A × B) · C
(this follows immediately from Eq. 1.15); however, the placement of the parenthe-
ses is critical: (A · B) × C is a meaningless expression—you can’t make a cross
product from a scalar and a vector.
z
3
n
A
n
2 y θ
1 C
x B
(ii) Vector triple product: A × (B × C). The vector triple product can be
simplified by the so-called BAC-CAB rule:
Notice that
(A × B) × C = −C × (A × B) = −A(B · C) + B(A · C)
is an entirely different vector (cross-products are not associative). All higher vec-
tor products can be similarly reduced, often by repeated application of Eq. 1.17,
so it is never necessary for an expression to contain more than one cross product
in any term. For instance,
(A × B) · (C × D) = (A · C)(B · D) − (A · D)(B · C);
A × [B × (C × D)] = B[A · (C × D)] − (A · B)(C × D). (1.18)
Problem 1.5 Prove the BAC-CAB rule by writing out both sides in component
form.
r ≡ x x̂ + y ŷ + z ẑ. (1.19)
z
Source point
r r
(x, y, z)
r r⬘
z
y r Field point
O O
x
x y
I will reserve the letter r for this purpose, throughout the book. Its magnitude,
r = x 2 + y2 + z2, (1.20)
dl = d x x̂ + dy ŷ + dz ẑ. (1.22)
(We could call this dr, since that’s what it is, but it is useful to have a special
notation for infinitesimal displacements.)
In electrodynamics, one frequently encounters problems involving two
points—typically, a source point, r , where an electric charge is located, and
a field point, r, at which you are calculating the electric or magnetic field
(Fig. 1.14). It pays to adopt right from the start some short-hand notation for
the separation vector from the source point to the field point. I shall use for this
purpose the script letter r:
r ≡ r − r . (1.23)
Its magnitude is
r = |r − r |, (1.24)
r = (x − x )2 + (y − y )2 + (z − z )2 , (1.27)
Problem 1.7 Find the separation vector r from the source point (2,8,7) to the field
point (4,6,8). Determine its magnitude (r), and construct the unit vector r̂.