Dot product Created 2026-09-28 Updated 2026-10-14
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 , andThe 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.
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.
With Euclidean norms and , the dot product follows ; equal-length arrows show positive, zero, and negative alignment with
. Details. Gravity components on an inclined plane 2026-10-18
Choose a unit vector pointing downhill and a perpendicular unit vector pointing outward from the inclined plane. The gravitational weight points vertically downward. Its scalar projections onto these directions giveThe angle between the downward vertical and the inward normal is : the inward component uses cosine, and the downhill component uses sine. These are two components of one force. They replace its vertical arrow in a component calculation; adding them to that same arrow would count gravitational weight twice.
Continued contact with a stationary straight inclined plane gives zero perpendicular acceleration. The perpendicular component of Newton's second law therefore givesThis is why the normal force generally differs from : it balances the inward component, rather than the whole gravitational weight. An extra lifting force, a curved surface, or motion of the support would require a new perpendicular balance.[ref]
6.2 Friction. University Physics Volume 1 by William Moebs and others; “Friction and the Inclined Plane”, Example 6.11 strategy and Figure 6.14; perpendicular balance and
The same geometry explains the ramp's usefulness. A frictionless block pulled uphill at constant velocity needs a parallel force . Travelling a distance raises it through height , so the pulling work is , its gain in gravitational potential energy. The smaller force costs a larger displacement; the work-energy theorem keeps the accounting consistent.
The direction must first be represented by a unit vector: . The scalar projection of the vector area is thereforeIf a vector projection is intended, multiply this scalar by :
The scalar is the signed scalar projection along the unit vector . Multiplying by that unit vector makes the orthogonal projection of onto its span.
For the other expression, the vector triple product identity givesThis is the orthogonal projection onto a plane perpendicular to through the origin. Its dot product with is zero, while the difference from is parallel to .
Using the complex conjugate, . The locus is therefore the straight lineIn the complex plane, the quantity is the signed scalar projection of in the direction . Thus the straight line is perpendicular to and passes through . This description uses no separation of into real coordinates.
For nonzero , let be its angle to the unit vector . The scalar projection on the oriented axis is . Since , the dot product identity gives . Multiplying that signed scalar by places the foot at .
The residual is perpendicular to the axis, because . An obtuse angle gives a negative scalar and a foot on the negative side of the line; has projection zero without needing an angle.
Projection drops a perpendicular to a unit direction; directional stretching doubles only the parallel component
. Details. The first panel is a constructed geometric illustration. The second illustrates the directional stretch used later in Question 6.
Scalar projection Created 2026-10-14 Updated 2026-10-20
The scalar projection of a real Euclidean vector onto a nonzero Euclidean vector is its signed component along the unit vector :For , the scalar projection onto is , while that onto is . Reversing the measuring direction reverses the sign; the scalar projection is not necessarily a nonnegative length. For nonzero , it also equals , using the angle with and its cosine. For the zero vector it is zero, even though that angle is undefined.
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]
https://ocw.mit.edu/courses/18-06-linear-algebra-spring-2010/resources/lecture-15-projections-onto-subspaces/. Strang, MIT 18.06, Lecture 15: projections onto subspaces



