Vectors, Dot Products and Cross Products

Choose a dot or cross product from the scalar or directional quantity being modeled.

Builds on Parametric Curves and Motion

The bigger question: How do we describe direction and motion in space?

On this page

Two products answer different questions

A vector in space has three ordered components. Its length is ∥v∥=vx2+vy2+vz2\|v\|=\sqrt{v_x^2+v_y^2+v_z^2}. The dot product u⋅v=uxvx+uyvy+uzvzu\cdot v=u_xv_x+u_yv_y+u_zv_z is a scalar. For nonzero vectors it equals ∥u∥∥v∥cos⁡θ\|u\|\|v\|\cos\theta, measuring alignment. Orthogonality means the dot product is zero.

The cross product is a vector perpendicular to both inputs:

u×v=(uyvz−uzvy, uzvx−uxvz, uxvy−uyvx).u\times v=(u_yv_z-u_zv_y,\ u_zv_x-u_xv_z,\ u_xv_y-u_yv_x).

Its magnitude is the area of the parallelogram spanned by the inputs. Its direction follows the right-hand rule, so swapping inputs reverses its sign. Parallel inputs, including a zero input, give a zero cross product and no resulting normal direction.

Visual guide

VISUAL GUIDEDot product keeps only the parallel part
For displacement d = (2, 0) and force F = (3, 4), only the horizontal component 3 contributes to work: F · d = 6. The vertical component is perpendicular to the displacement.-0.5-0.50.6250.8751.752.252.883.6345xy
  • Perpendicular component
For displacement d = (2, 0) and force F = (3, 4), only the horizontal component 3 contributes to work: F · d = 6. The vertical component is perpendicular to the displacement.

Worked example: force and displacement

For force F=(3,4,0)F=(3,4,0) N and displacement d=(2,0,0)d=(2,0,0) m, work is F⋅d=6F\cdot d=6 J. The perpendicular force component contributes no work to this displacement. The projection of FF onto the displacement direction is (F⋅d)/(d⋅d) d=(3,0,0)(F\cdot d)/(d\cdot d)\,d=(3,0,0) N.

Do not replace work with ∥F∥∥d∥=10\|F\|\|d\|=10 J; that assumes alignment. Units help distinguish a force vector, a displacement and their scalar work.

PAUSE & THINKA quick check, not a grade

Try it yourself.

Choose an answer and explain your reasoning to yourself. Use a hint if you get stuck.

Nonzero vectors a and b satisfy a·b=0. What does that tell you?

Hint 1 · Find a starting point

The dot product equals |a||b| cos θ.

Hint 2 · Take the next step

Nonzero lengths force cos θ=0.

Show the reasoning

Answer: They are perpendicular.

The angle is 90°. A zero cross product would instead signal parallel vectors.

Before moving on: what would make one of the other answers wrong? Saying why is part of understanding.

Worked example: oriented area and volume

For u=(1,0,0)u=(1,0,0) and v=(0,2,0)v=(0,2,0), the cross product is (0,0,2)(0,0,2), so the parallelogram area is 22 and its upward normal is explicit. With w=(0,0,3)w=(0,0,3), the scalar triple product u⋅(v×w)=6u\cdot(v\times w)=6 is signed volume. Geometric volume is its absolute value.

A zero triple product indicates coplanar vectors. A negative value records reversed orientation, not negative physical volume. Torque instead uses r×Fr\times F, where rr is measured from the specified origin; changing that origin generally changes torque.

Practice

  1. Find the angle between (1,1,0)(1,1,0) and (1,−1,0)(1,-1,0).
  2. Find the area of the triangle spanned by (2,0,0)(2,0,0) and (0,3,0)(0,3,0).
  3. Compute (0,1,0)×(1,0,0)(0,1,0)\times(1,0,0).
Show worked solutions
  1. Their dot product is zero and both are nonzero, so the angle is π/2\pi/2.
  2. The parallelogram area is 66; the triangle area is 33.
  3. The result is (0,0,−1)(0,0,-1), opposite to the product in the reverse order.

Further study

MIT OpenCourseWare: Multivariable Calculus provides a full university course with additional lectures and exercises.

MAKE IT YOURS

Pause before the next idea.

Can you explain how the visualization connects to this lesson’s goal? If a step still feels uncertain, put this lesson on your review list and try the check again another day.

Optional marks, not a grade. Saved in this browser only. Open notebook →