Dot product Created 2026-09-28 Updated 2026-11-05
A dot product measures how much two Euclidean vectors point along each other. This article uses real Euclidean vectors in , with the usual Cartesian basis: multiply matching coordinates and add,
The result is a scalar, while is the Euclidean norm. This real convention has no complex conjugation; for vectors over the complex numbers, use the convention specified in inner product.
For two nonzero Euclidean vectors, the same dot product records their angle through the cosine:
Here is an inverse trigonometric function. The Cauchy-Schwarz inequality guarantees that the normalized ratio lies in . The zero vector has dot product zero with every vector, but its angle is undefined: the ratio would divide by zero. To outline the geometric identity, expand and compare with the law of cosines.[ref]
Take and . Their Euclidean norms are and , and
The unit vector selects the horizontal direction. The scalar projection says how far reaches along that direction; its vector projection is . Thus splits into an aligned part and an orthogonal projection residual.
Figure 1.
The vector projection of onto the horizontal line is ; the orthogonal projection residual is and the angle is
. Details.
For , the dot product proves orthogonality; both Euclidean norms are . For , : the scalar projection onto is , because reaches against that chosen direction. Its angle with is .
Keeping fixed and choosing of Euclidean norm gives . At angles , the dot products are . Positive values mean partial alignment, zero means orthogonality, and negative values mean a component against the other direction.
Figure 2.
With Euclidean norms and , the dot product follows ; equal-length arrows show positive, zero, and negative alignment with
. Details.
This interpretation explains work: for a constant force and a straight displacement , counts the force component along the motion. A sideways force contributes zero work, and an opposing force contributes negative work.[ref]
The direction must first be represented by a unit vector: . The scalar projection of the vector area is therefore
If a vector projection is intended, multiply this scalar by :
Subsonic leading edge 2026-11-05
A subsonic leading edge has an incoming edge-normal flow component below the speed of sound. It can occur even when the free stream is supersonic: the relevant component is the normal Mach number for a swept leading edge,
Using a quarter-chord sweep angle instead would project onto a different direction and can change the classification incorrectly.[ref]
For an original example, and give . If the same aircraft wing is exposed to with unchanged sweep, and the edge is instead a supersonic leading edge. This is a flow-condition classification, not an immutable geometrical name.
For and aft sweep between zero and , the threshold is
At , the boundary is about . Equivalently, the edge's angle from the downstream streamwise direction is less than the Mach angle, placing it inside the apex Mach cone. The normal Mach number for a swept leading edge article derives the underlying vector projection; no assumption about a measured surface pressure is needed for that geometry.
Subsonic edge-normal inflow does not imply that every part of the three-dimensional flow is subsonic or free of shock waves. Thickness, angle of attack and interference with a fuselage affect the surface flow. The regime is useful precisely when kept separate from those further aerodynamic predictions.
Vector projection 2026-10-14
The vector projection multiplies the scalar projection by the chosen unit vector, giving the orthogonal projection onto the linear span of a nonzero real Euclidean vector :
For and , this gives and ; the dot product checks the orthogonal projection residual. Replacing by gives the same : reversing direction changes the scalar projection, but preserves the vector projection onto the line.
For a short proof of the nearest-point property, any vector on this line satisfies by the Pythagorean identity. The second term is uniquely minimized at . This connects a directional measurement to the orthogonal projection used in approximation.[ref]