Dot product & cross product
These are two defined operations on vectors. They are not ordinary multiplication, and their properties follow their definitions. We choose them because they capture useful geometry: alignment, area and orientation. No component formulas are needed on this page.
01Multiply a signed projection by a length.
Start with two nonparallel vectors u and v. |u| and |v| mean their lengths; θ is the angle between them, from 0° to 180°. Select either projection direction and play.
A projection is the component along a chosen direction: drop a perpendicular onto that line. Start with an acute angle, then try an obtuse angle. We use a signed component, so a projection pointing opposite the chosen direction is negative.
Both constructions multiply the same three numbers, so reversing the order gives the same scalar. This operation is the dot product; the centered dot · names the operation.
02A different product: a perpendicular vector.
Now enter three-dimensional space. Two linearly independent vectors are nonparallel; together they determine a plane. The cross product is a vector perpendicular to that plane, with a magnitude equal to their parallelogram area.
Drag the scene to orbit. Teal u and orange v lie in the same plane. Purple is the cross product, perpendicular to that plane. Here |u|=2 and |v|=1.5.
n̂ means a unit normal: length 1 and perpendicular to the plane. Multiplying it by |u||v|sinθ gives the cross product its magnitude. Of the two possible normal directions, the right-hand rule selects one.
Loading the hand model…
Use your RIGHT hand. Order matters.
This hand demonstrates the 90° example: the index finger follows the first vector, the middle finger the second, and the thumb the cross product. Rotate the hand on screen to inspect the three directions. Swapping the order above rotates the same right hand so its thumb reverses.
For angles strictly between 0° and 180°, use the curl version: curl your right-hand fingers from the first vector towards the second through the smaller angle; your thumb gives the normal direction. The hand indicates direction, not vector magnitude.
Why is the magnitude an area?
Choose u as the base. From the tip of v, draw a line perpendicular to the base. Its foot is H; the vertical distance VH is the height h.
This construction has its own angle control. Change the angle: the sloping side stays 1.5 long, while its vertical height changes.
03Two different ways to get zero.
Assume both input vectors are nonzero. A zero dot product means perpendicularity; a zero cross product means collinearity.
Dot product: perpendicular
Neither vector has a component along the other. The signed projection has zero length.
Cross product: collinear
The parallelogram collapses to a line, leaving no area. Same and opposite directions both give the zero vector.
If either input is the zero vector, both products are zero, but the angle of that vector is undefined. This is why the angle-based statements above specify nonzero inputs.
Stop here for now. Component calculations using unit vectors will be introduced in a later lesson.