Scalar projection

From HandWiki
If 0° ≤ θ ≤ 90°, as in this case, the scalar projection of a on b coincides with the length of the vector projection.
Vector projection of a on b (a1), and vector rejection of a from b (a2).

In mathematics, the scalar projection of a vector 𝐚 on (or onto) a vector 𝐛, also known as the scalar resolute of 𝐚 in the direction of 𝐛, is given by:

s=‖𝐚‖cos⁡θ=𝐚⋅b^,

where the operator ⋅ denotes a dot product, 𝐛^ is the unit vector in the direction of 𝐛, ‖𝐚‖ is the length of 𝐚, and θ is the angle between 𝐚 and 𝐛.

The term scalar component refers sometimes to scalar projection, as, in Cartesian coordinates, the components of a vector are the scalar projections in the directions of the coordinate axes.

The scalar projection is a scalar, equal to the length of the orthogonal projection of 𝐚 on 𝐛, with a negative sign if the projection has an opposite direction with respect to 𝐛.

Multiplying the scalar projection of 𝐚 on 𝐛 by b^ converts it into the above-mentioned orthogonal projection, also called vector projection of 𝐚 on 𝐛.

Definition based on angle θ

If the angle θ between 𝐚 and 𝐛 is known, the scalar projection of 𝐚 on 𝐛 can be computed using

s=‖𝐚‖cos⁡θ. (s=‖𝐚1‖ in the figure)

Definition in terms of a and b

When θ is not known, the cosine of θ can be computed in terms of 𝐚 and 𝐛, by the following property of the dot product 𝐚⋅𝐛:

𝐚⋅𝐛‖𝐚‖‖𝐛‖=cos⁡θ

By this property, the definition of the scalar projection s becomes:

s=‖𝐚1‖=‖𝐚‖cos⁡θ=‖𝐚‖𝐚⋅𝐛‖𝐚‖‖𝐛‖=𝐚⋅𝐛‖𝐛‖

Properties

The scalar projection has a negative sign if 90<θ≤180 degrees. It coincides with the length of the corresponding vector projection if the angle is smaller than 90°. More exactly, if the vector projection is denoted 𝐚1 and its length ‖𝐚1‖:

s=‖𝐚1‖ if 0<θ≤90 degrees,
s=−‖𝐚1‖ if 90<θ≤180 degrees.

See also