Notes
1P4 Mathematics · Topic 3

The vector product

Lecture 3 · Fri 16 Oct

Vector product between orthogonal unit vectors

Recall from lecture 1 that for the right-handed basis (A right-handed coordinate frame). In general, the vector product of and is a new vector perpendicular to the plane containing and . Its sense is given by the The right-hand screw rule: turn a right-handed screw from to , and it advances along . This is the same product as in 1P3: Cross (vector) product.

Result Products of the basis vectors (cyclic order) memorise

Cyclic rotation of gives

Show derivation

From Vector (cross) product: and are perpendicular unit vectors, so , and its direction is the normal turning from to by the right-hand screw, which in a right-handed basis is (Right-handed Cartesian basis). Relabelling does not change a right-handed set, so the same holds cyclically.

e1 e2 e3 along: + against: −

Going round in the arrow direction gives (); going against it gives ().

Figure Cyclic order of the basis vectors
  • is perpendicular to both and . Its sense is set by the RH screw turned from to .
  • Basis products follow the cyclic order : in that order you get , against it you get .

Non-commutative nature of the vector product

Picture turning a right-handed screw:

  • To get , turn the screw from a to b. The screw advances along .
  • To get , turn it from to . This is the same rotation run backwards, so the screw advances the opposite way. Hence points opposite to .
Interactive figure

Switch the order and the green vector flips from to with the same length. Drag to rotate the view, and change to watch the length vary as the parallelogram’s area.

Figure Curl a → b: screw up; curl b → a: screw down

By the same argument, the anticyclic basis products are negative:

Result Anticommutativity databook p.16

The order matters: reversing it flips the sign. The vector product is anticommutative.

Show derivation

In Vector (cross) product, , but turning from to is the opposite sense to turning from to , so the right-hand screw advances the other way: is reversed.

Explanation Is the vector product associative?

No. Brackets matter as well as order. For example,

So never write without brackets. Triple products come next lecture.

  • Swapping the order flips the sign: .
  • Anticyclic basis products are negative: , , .
  • The product is not associative either, so always bracket .

Some useful observations

Result Vector product of a vector with itself memorise

Setting in gives . This can only hold if

Show derivation

Directly from Vector (cross) product: the angle between and itself is , and .

Result The vector product is perpendicular to both factors memorise

Because is perpendicular to both and :

Show derivation

By Vector (cross) product, points along , the normal to the plane containing and . A vector perpendicular to another has zero scalar product with it (Defining properties of the scalar product).

Equation Basis built from a, b and a × b memorise

If and are not parallel, then , and any vector can be written as

Show derivation

If and are not parallel, , so , and it is perpendicular to the plane of and (The vector product is perpendicular to both factors). So , , are three non-coplanar vectors, which is all a basis of 3D space needs (Vector in components).

Explanation Why do a and b have to be non-parallel?

The combination only reaches the plane of and (compare Plane in terms of in-plane basis vectors). The third vector sticks straight out of that plane, so the three together reach every point in 3D. If , there is no plane: and you only have one direction.

A useful consequence: dotting with kills the and terms by The vector product is perpendicular to both factors. The skew-lines derivation below uses exactly this trick.

  • , so .
  • . Dotting with removes anything lying in the plane of .
  • For non-parallel , the set is a basis of 3D.

Vector product between two arbitrary vectors

We know the direction of : normal to the plane of and , in the RH-screw sense. Its magnitude is fixed by the definition:

Definition Vector (cross) product

Here is the unit normal to the plane containing and , in the RH-screw sense from to . The angle between and is taken with . (Databook: maths p16.)

The factor is the area of the parallelogram with sides and : base times height . So is a directed area: its length is the area and its direction is the normal to that area.

Interactive figure

Sweep : the area, and so , is largest at and goes to zero as swings parallel to .

Figure |a × b| is the area of the parallelogram
Explanation Why restrict θ to between 0 and π?

With we have , so really is the length. All the sign information then lives in , which the screw rule fixes. A consequence to remember: exactly when or (parallel or antiparallel), or when one of the vectors is zero.

  • is the area of the parallelogram on , so is a directed area.
  • ⇔ (or one of them is zero). Use this to test whether vectors are parallel.
  • , so the magnitude is never negative; the direction comes from the RH screw.

Application: alternative line equation

Equation Line: vector-product form memorise

Here is the unit direction of the line and is any point on it.

Show derivation From r = a + λt̂ to t̂ × r = b

Take the line (Line with a unit direction). Cross both sides with :

since . The right-hand side is a constant vector; call it .

Meaning of . Let be the angle between and . The distance from the origin to the line is , and . So:

  • is the minimum distance from the origin to the line;
  • is perpendicular to the plane containing the line and the origin.
Interactive figure

Slide : moves along the line but does not change. Rotate the view to see that is perpendicular to the plane containing the line and , and that its length equals the dashed distance.

Figure t̂ × r is the same for every point on the line
Explanation Why is t̂ × r the same for every point on the line?

only “sees” the part of perpendicular to . Moving along the line only changes the part of parallel to , and that part is crossed out. The perpendicular part is the same for every point: it is the vector from to the foot of the perpendicular.

  • Line form : cross with and the term vanishes.
  • is the distance from to the line; is normal to the plane through and the line.
Try now

Vector product in coordinate form

Equation Vector product in components memorise
Show derivation Components of a × b

Write and (Einstein summation convention). Expanding term by term:

  • Terms with vanish, since .
  • The pair and : and , so these give .
  • Doing the same for the other two pairs gives the and terms. In full: and give ; and give (using , ). Expanding the brackets term by term uses the distributive law (databook maths p16).
Equation Determinant mnemonic memorise

Expand along the top row, remembering the on the middle term. Determinants are covered next lecture.

Show derivation

Expand the determinant along its top row (3 × 3 determinant (top-row expansion)):

which is Vector product in components. (“Mnemonic” because a determinant with vectors in a row is not a true determinant of numbers.)

Watch out

The middle component carries a minus sign: . Dropping it is the commonest error. Afterwards, check that your answer is perpendicular to both and (The vector product is perpendicular to both factors).

Explanation Why can we expand term by term?

The expansion uses two properties: the vector product distributes over addition, , and scalars pull out, . What you must not do is reorder the factors, because of Anticommutativity.

Explanation Quick worked check
Example (1, 2, 3) × (4, 5, 6)

Check: ✓, and ✓.

  • Use the determinant with rows , , , in that order. Swapping the rows flips the sign.
  • Watch the minus on the term. Always check .
Try now

Einstein convention: the permutation tensor

With and we have . All nine products can be packed into one symbol.

Definition Permutation (alternating) tensor, Levi-Civita symbol

is for the cyclic orders of Cyclic order of the basis vectors and for the anticyclic ones.

Equation Vector product in index notation memorise

The sum runs over the repeated indices .

Show derivation

As in Vector product in components, , and by the definition of Permutation (alternating) tensor, Levi-Civita symbol . So , whose -th component is . Check : only and survive, giving ✓.

Result Contracted epsilon (ε–δ) identity — not required for this course memorise

Here is the Kronecker delta. The identity is useful for triple products, but the lecturer marked it as not required.

Show derivation not required

Fix and sum over . A term is non-zero only if are all different and are all different. So , is the third index, and .

  • , : the term is (, cyclic).
  • , : the term is (swapping two indices flips the sign).
  • Anything else (including or ): .

The right-hand side gives , and in the same three cases (for it is ). The two sides agree for every choice of indices.

Check of the identity for a few values (exercise from the handout): with and , the only non-zero term on the left is , giving . The right-hand side is ✓.

Explanation How does ε_ijk reproduce the component formula?

Take the component. Only and give non-zero :

which matches Vector product in components. Two handy rules follow from the definition:

  • shifting all three indices cyclically leaves unchanged: ;
  • swapping any two indices flips its sign. This is anticommutativity in index form.
  • : for cyclic , for anticyclic, if any index repeats.
  • .

Engineering applications of the vector product

Result Where the vector product appears memorise
  • : force on a charge moving with velocity in a magnetic field .
  • : moment (torque) of a force acting at position .
  • : velocity of a point at on a body with angular velocity .
  • : Poynting vector, the electromagnetic power flow.
  • : acceleration of a point with velocity and constant angular velocity .
Explanation How does a = ω × v connect to centripetal acceleration?

Substitute for a point in the plane of rotation, with . Then has length and points from back towards the axis. This is the familiar of Centripetal acceleration.

  • Know these forms: , (position first), ( first), , for constant .

Angular velocity vector: worked example

A particle moves in a circle in the – plane with constant angular velocity . It starts at when . Then (Circular motion: position, velocity, acceleration):

Equation Angular velocity vector (circular motion) memorise

This holds for circular motion with measured from the centre of the circle. is a vector, perpendicular to the plane of rotation.

Show derivation r × v for circular motion

The and terms vanish, and turns the minus into a plus. Divide by : . Conversely, (Circular motion: position, velocity, acceleration), using and .

Check of the converse:

Interactive figure

Press ▶: stays tangent to the circle. Then raise the circle off with . still gives the right velocity, but is no longer equal to .

Figure v = ω × r
Explanation When does ω = r × v / r² work?

is true for measured from any point on the axis: moving the origin along the axis adds a part of parallel to , and that part is crossed out. The inverse formula needs , i.e. the origin at the centre of the circle. That is the “for circular motion” in the handout. Set in the widget to see it fail.

  • Uniform circular motion about the centre: , so .
  • Conversely , with first. is along the rotation axis in the RH-screw sense.

Minimum distance revisited: point to a line

Take a line through with unit direction , and a point . Let be the angle between and . From the right-angled triangle, .

Equation Point-to-line distance (vector-product form) memorise

must be a unit vector. This is more compact than the earlier dot-product form, Distance from a point to a line.

Show derivation

Let be the angle between and the line. In the right-angled triangle formed by A, P and the foot of the perpendicular from P, the side opposite is . By Vector (cross) product, , and .

A P θ p − a t̂ dmin r = a + λt̂

The perpendicular distance is the side opposite in the triangle with hypotenuse .

Figure Distance from P to the line
Watch out

If the direction vector is not a unit vector, divide by its length: .

  • for any point on the line. must be unit; otherwise divide by .
  • The sign or order inside doesn’t matter: gives the same.

Application: minimum distance between two skew lines

Take two lines and , which are not parallel. The directions need not be unit vectors. Let and be the points on the two lines at which the length of is a minimum, .

Result Shortest line between skew lines memorise

The shortest line between the two lines is their common perpendicular: it is orthogonal to both and , so it has direction t₁ × t₂.

Show derivation The shortest line is the common perpendicular

The vector between two general points, one on each line, is

To minimise , differentiate with respect to each and set the result to zero (Product rule for a scalar product):
since . Similarly , which gives . So at the minimum is perpendicular to both directions, and the only direction perpendicular to both and is that of (The vector product is perpendicular to both factors).

Equation Shortest distance between skew lines memorise

This is the projection of the vector between any two points on the lines onto the unit common normal.

Show derivation Distance between skew lines

Let and be the position vectors of and . By the result above,

Dot both sides with . The terms vanish by The vector product is perpendicular to both factors:
Finally .

Interactive figure

Move and to make as small as you can. At the minimum both dot products are zero and lies on the red common perpendicular.

Figure Two skew lines and their common perpendicular
Explanation Why does dotting with t₁ × t₂ make the λs disappear?

is perpendicular to both and , so whatever the s are. Geometrically, sliding along either line never changes how far apart the lines are in the common-normal direction. That is why any point and any point can be used.

Watch out
  • If , the lines are parallel and the formula gives . Use the point-to-line distance Point-to-line distance (vector-product form) instead.
  • If for non-parallel lines, then : the lines intersect.
  • The shortest segment between skew lines is the common perpendicular, with direction . This comes from minimising , which gives .
  • To get , project onto and divide by . need not be unit.
  • Parallel lines (): use the point-to-line formula. A zero numerator means the lines intersect.

How to find vectors p₁ and p₂ for shortest distance case

joins the origin to . So and for particular values of the s, and finding means finding those s. Let , which is already known from Shortest distance between skew lines, and let be the unit vector along , chosen to point from to . Going from to along the common perpendicular:

Equation Parameters of the closest points memorise

Then and . The handout writes the denominator as , meaning .

Show derivation Solving for λ₁ and λ₂

Cross the equation with , which removes the term, and then with , which removes the term:

The two cross products eliminate one unknown each. Rearranging the first:
Dot both sides with . The term drops out: it is perpendicular to , so it lies in the plane of and is perpendicular to . The second equation is handled in the same way. (The equation is : from , moving the distance along the unit common normal reaches .) Dotting gives . The second equation rearranges to , and dotting with gives .

Watch out

The two formulas look almost identical. The only difference is which direction is crossed with : uses and uses . Both use , not .

Explanation Is there another way to get the λs?

Yes. The minimisation itself gave two scalar conditions, and , with . These are two simultaneous linear equations in , and they give the same answer. The cross-product route is useful because it gives each directly, without solving simultaneous equations. As a check, should come out parallel to with length .

  • Cross the equation with to find , and with to find . Then dot with to remove the term.
  • Check: and .

Example: Tripos-standard question

Example Shortest distance between two lines, with a parameter α

Question. Find the shortest distance between the line through and and the line through and . Explain what happens when , and find the minimum distance in that case.

Directions and a connecting vector. Using Line through two points:

Common normal.
Distance (Shortest distance between skew lines):
The case α = 26. Now , so the lines are parallel and non-coincident (the second part is checked below). and the formula above gives . Instead, take a point on and find its distance to with Point-to-line distance (vector-product form). Use on , on and :
This distance is non-zero, which also shows that the lines are not coincident.

Explanation Why is the answer 3/√5 for every α ≠ 26, and why does it jump at α = 26?

Every is a combination of and . So, for every , lies in the fixed plane through containing those two directions. ’s direction is also a combination of them, so runs parallel to , at distance from it. The plane’s normal is , and .

When crosses ’s direction (as seen along the normal), the closest approach is just this plane-to-line gap. At the lines are parallel and never cross, so the distance is measured sideways within the plane as well. That is why it is larger: .

  • Typical Tripos pattern: compute and spot the value of the parameter that makes it zero. That value means parallel lines, and you must switch to the point-to-line formula.
  • After finding a parallel-case distance, state whether it is non-zero (lines distinct) or zero (lines coincident).
Try now

Revisiting circular motion in cylindrical coordinates – constant angular velocity

In cylindrical polars . Here is the unit vector in the radial direction and the unit vector in the tangential (circumferential) direction. Unlike , these unit vectors vary in time. Compare Cylindrical polar position vector.

Watch out

Notation: this section uses for the polar coordinates, not the of Cylindrical polars to Cartesian. The full cylindrical basis is with . The hats are often dropped.

Equation Polar unit vectors for θ = ωt memorise
Show derivation

is the unit vector at angle from : its components are and . is turned anticlockwise (the way increases): angle , components and .

Differentiating, for constant :

Equation Rates of change of the polar unit vectors memorise

With :

Show derivation

Differentiate Polar unit vectors for θ = ωt component by component (Derivative of a vector):

And , (the three form a right-handed set, Products of the basis vectors (cyclic order)). For a general replace by .

Interactive figure

Press ▶ and watch the pair rotate rigidly. Switch on the rates: the tip of moves along , and the tip of moves along .

Figure The rotating basis ê_r, ê_θ
Explanation Why must ê_r change only in the ê_θ direction?

always has length 1, so its rate of change is perpendicular to it (Stationary or constant magnitude means a ⊥ ȧ). In the plane, the only perpendicular direction is . The same argument applies to . Both results are the “velocity” of the tip of a unit vector spinning with the frame.

  • rotate with the particle, so they are not constant. Differentiate them.
  • and , i.e. both are .

General case: r varying with time

Now let , with no longer necessarily equal to . The basis rates become

Equation Velocity in polar coordinates memorise

is the radial velocity; is the circumferential velocity.

Show derivation

. Product rule, then Rates of change of the polar unit vectors with : .

x θ r O P ṙ êr rθ̇ êθ ṙ

The velocity (black) is the sum of the radial part along and the circumferential part perpendicular to it.

Figure Radial and circumferential velocity components
Equation Acceleration in polar coordinates memorise
Show derivation Acceleration in polar coordinates

Differentiate with the product rule. Both unit vectors must be differentiated too:

Substitute and , then collect terms.

Result Names of the acceleration terms memorise
  • : radial acceleration
  • : centripetal acceleration
  • : Coriolis acceleration
  • : circumferential (angular) acceleration
Explanation Where does the factor 2 in the Coriolis term come from?

There are two separate contributions of :

  • one from differentiating the radial velocity : the direction turns, giving ;
  • one from differentiating the circumferential speed : the radius grows, giving .

Forgetting either one is the usual way to lose the 2. Quick check: with constant and constant, everything except vanishes, which is Centripetal acceleration.

Explanation Why is ė_r = θ̇ ê_θ when θ is not ωt?

depends on time only through . By the chain rule,

The same steps give .

  • .
  • Learn the acceleration with the term names: radial , centripetal , Coriolis , circumferential .
  • Useful identity: .

Example: motion of a satellite

Example Satellite under gravity

A satellite of mass orbits the earth (radius , mass ). Its position is given by polars measured from the earth’s centre, and surface gravity is .

The only force is gravity, acting radially. Since :

by Newton's second law. Compare components with Acceleration in polar coordinates:
The second equation says that , the angular momentum per unit mass, is conserved, because gravity has no tangential component.

Explanation How do you spot (1/r) d(r²θ̇)/dt?

Expand it: ✓. Whenever a problem has no circumferential force, write the equation in this form and integrate it at once: .

  • Central force means zero component, so and (angular momentum per unit mass) is constant.
  • Radial equation for an orbit: , using .