Dot & Cross Product Lab
Set two vectors by magnitude and angle, and see A·B and |A×B| with their geometric meaning drawn: a projection length for the dot product, a shaded parallelogram for the cross product, and the right-hand-rule direction badge.
Learn the physics first
There are two ways to multiply vectors, and they answer different questions. The dot (scalar) product A·B = AB cos θ measures alignment: it is largest when the vectors point the same way, zero when they are perpendicular, and negative when they oppose. In this lab A is a force (N) and B a displacement (m), so A·B is the work in joules — only the force component along the motion counts.
The cross (vector) product A×B = AB sin θ measures turning and area: its magnitude is the area of the parallelogram the two vectors span (drawn shaded), and its direction is perpendicular to both, fixed by the right-hand rule — fingers along A, curl toward B, thumb gives A×B. With A a force and B a position vector, A×B is the torque; the same construction returns in magnetism as the force on a moving charge.
Model assumptions. A is a force in newtons and B a displacement in metres, both in a flat 2D plane; the cross product therefore points purely along ±z (out of or into the screen), shown by the circle badge. Angles in degrees from +x. Grid: 1 square = 1 N for A, 1 m for B.
Experiment
The two multiplications
—
—
A×B points out of the screen (+z)
Controls
Run draws the projection, then grows the parallelogram, then reveals the direction badge.
Live measurements
A·B is the work done by force A over displacement B; |A×B| is the parallelogram area (torque magnitude).
Try this. Rotate B toward 90°: the dot product slides to exactly 0 J (perpendicular force does no work) while the shaded area reaches its maximum |A||B|. Then drag B past A (B’s angle smaller than A’s) and watch the direction badge flip — A×B = −B×A. Finally set the angle to 0°: the area collapses to zero because parallel vectors span no parallelogram.
Understand
Predict before you run
With the defaults A = 5 N at 0° and B = 4 m at 60° (or your current settings), predict the work A·B = |A||B| cos θ.
Experiment completion
Verify (2,3)·(4,1) = 11 by hand and with the lab, find the angle where the dot product vanishes, then pass the quiz.
Where to go next
- Scalar & Vector Products lesson
- Work for a Constant Force lesson — the dot product at work
- Vector Addition Lab — the other vector operation