Dot and Cross Products
, computed coordinate-wise as . Zero dot product means perpendicular; the sign tells acute vs. obtuse.
is perpendicular to both inputs (right-hand rule) with magnitude — the AREA of the parallelogram they span. For plane vectors and it collapses to the determinant on the -axis.
The cube-edge vectors and : dot product , lengths each, so and — connecting face diagonals of a cube always form equilateral triangles.
Force, velocity, momentum, electric field — anything with a magnitude AND a direction is a vector, and the dot/cross pair are the only two ways to multiply them that respect rotations. Work done is a dot product (); torque and magnetic force are cross products. Learn these two operations and you have learned the grammar of mechanics.
Are and perpendicular? Work: dot product — yes, exactly perpendicular, no angle computation needed. Now check against itself: , so — the dot product also measures length.
Proofs & Why It Matters
Apply the law of cosines to the triangle with sides , , and : .
Expand the left side coordinate-wise: . Comparing the two expansions, the and terms cancel and .
The parallelogram on has base and height , so its area is .
Now compute from the component formula; the Lagrange identity gives . Taking square roots matches the area exactly.
For every real , — a quadratic in that is never negative, so its discriminant is : .
Rearranged, , with equality exactly when for some — parallel vectors.
Seeing It: Vectors in 2D & 3D
Placing ’s tail at ’s head (or vice versa — the parallelogram shows both orders at once) lands at the same corner: . Coordinates just add: , and the picture explains why — the horizontal runs add, the vertical rises add, independently.
The diagonal of the parallelogram IS the sum; the other diagonal, from head of to head of , is the difference . Every force diagram, velocity composition, and displacement chain in physics is this one picture reused.
Draw both vectors from one point and the angle between them is captured algebraically by .
Reading the picture: when is small the vectors reinforce and the dot product is large and positive; as passes the cosine — and the dot product — crosses zero and turns negative. So perpendicularity is the single cleanest test in the subject: compute one number, check if it is . No angle ever needs to be found unless the problem asks for it.
The green vector is the SHADOW of on the line through — the projection .
The dashed red segment is what remains, , and the small square marks the right angle that DEFINES the projection: the remainder is exactly perpendicular to . The remainder’s length is the distance from ’s head to the line — which is why this one picture powers point-to-line distances, least squares, and Gram–Schmidt alike.
In three dimensions points PERPENDICULAR to the shaded parallelogram that and span — choose which of the two perpendicular directions by the right-hand rule: curl the right hand’s fingers from toward and the thumb gives (so points the OPPOSITE way: the cross product is anti-commutative). Its length equals the parallelogram’s area, : parallel vectors span no area and give the zero vector, perpendicular ones give the maximum . Normal vectors to planes, torque, and area computations all read straight off this picture.
Going Deeper: Explanations & Worked Problems
Start with lengths: in 3D, — Pythagoras applied twice, first in the floor plane to get the horizontal run , then in the vertical plane with the height .
Now ask: how much do two vectors AGREE in direction? Multiply matching coordinates and add: . Why is that a good measure? Because it is LINEAR in each slot (, straight from distributing the products), it gives (agreement with yourself is total), and — the theorem proved on the proof slide — it equals . So the sign of the dot product is the sign of : positive means the angle is acute (the vectors lean the same way), zero means perpendicular, negative means obtuse. Every fact in this topic flows from those three properties.
Step 1 — dot product: .
Step 2 — lengths: and (two Pythagorean triples).
Step 3 — solve the angle formula for : .
Step 4 — interpret: is close to , so the angle is small (); both vectors point into the first quadrant, so a small positive angle is exactly what geometry predicts. Always end with this sanity check — a negative cosine for two first-quadrant vectors would signal an arithmetic slip.
Compute .
Step 1 — the determinant recipe: .
Step 2 — perpendicularity check: ✓ and ✓, as the cross product must be orthogonal to both inputs.
Step 3 — magnitude check by the area formula: , , and , so and — matching exactly. Two independent routes to the same number is how you KNOW the computation is right.