a
b,
a
b,
s=\left\|a\right\|\cos\theta=a ⋅ \hatb,
where the operator
⋅
\hat{b
b,
\left\|a\right\|
a,
\theta
a
b
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
a
b
b
Multiplying the scalar projection of
a
b
\hatb
a
b
\theta
a
b
a
b
s=\left\|a\right\|\cos\theta.
s=\left\|a1\right\|
The formula above can be inverted to obtain the angle, θ.
When
\theta
\theta
a
b,
a ⋅ b
a ⋅ b | |
\left\|a\right\|\left\|b\right\| |
=\cos\theta
By this property, the definition of the scalar projection
s
s=\left\|a1\right\|=\left\|a\right\|\cos\theta=\left\|a\right\|
a ⋅ b | |
\left\|a\right\|\left\|b\right\| |
=
a ⋅ b | |
\left\|b\right\| |
The scalar projection has a negative sign if
90\circ<\theta\le180\circ
a1
\left\|a1\right\|
s=\left\|a1\right\|
0\circ\le\theta\le90\circ,
s=-\left\|a1\right\|
90\circ<\theta\le180\circ.