MathLinear Algebra

Gabay sa kaalaman

Scalar Products: Components, Angles, and Orthogonality

Connect the component rule for scalar products to angles, orthogonality, and scalar or vector projections.

What a scalar product measures

For real vectors expressed in the same orthonormal Cartesian basis,

a⋅b=a1b1+a2b2+a3b3.\mathbf a\cdot\mathbf b=a_1b_1+a_2b_2+a_3b_3.

The component rule produces one number. For nonzero vectors it also satisfies

a⋅b=∥a∥∥b∥cos⁡α,0≤α≤π.\mathbf a\cdot\mathbf b=\|\mathbf a\|\|\mathbf b\|\cos\alpha, \qquad 0\le\alpha\le\pi.

Thus its sign distinguishes acute, right, and obtuse angles. A zero dot product certifies perpendicularity for two nonzero vectors. The zero vector has zero dot product with every vector, but it does not determine an angle.

A new example with a positive result

Take a=⟨1,2,2⟩\mathbf a=\langle1,2,2\rangle and b=⟨2,0,1⟩\mathbf b=\langle2,0,1\rangle. Then

a⋅b=1(2)+2(0)+2(1)=4,∥a∥=3,∥b∥=5.\mathbf a\cdot\mathbf b=1(2)+2(0)+2(1)=4, \quad \|\mathbf a\|=3,\quad\|\mathbf b\|=\sqrt5.

Therefore cos⁡α=4/(35)\cos\alpha=4/(3\sqrt5), so the angle is acute. The dot product is 44; the normalized dot product is the cosine. Those quantities are not interchangeable.

Projection and checks

For a nonzero direction vector b\mathbf b, the signed scalar component of a\mathbf a along that direction is

comp⁡ba=a⋅b∥b∥.\operatorname{comp}_{\mathbf b}\mathbf a =\frac{\mathbf a\cdot\mathbf b}{\|\mathbf b\|}.

The vector projection instead equals [(a⋅b)/(b⋅b)]b[(\mathbf a\cdot\mathbf b)/(\mathbf b\cdot\mathbf b)]\mathbf b. In the new example these are 4/54/\sqrt5 and ⟨8/5,0,4/5⟩\langle8/5,0,4/5\rangle, respectively.

Check signs component by component, including negative entries and zero entries. Also verify that ∣a⋅b∣≤∥a∥∥b∥|\mathbf a\cdot\mathbf b|\le\|\mathbf a\|\|\mathbf b\|; a computed cosine outside [−1,1][-1,1] indicates an error or small numerical rounding. Do not replace scalar multiplication by the cross product, whose result is a vector.

Kaugnay na tanong

Gamitin ang kaalamang ito

Gamitin ang gabay sa konsepto para maunawaan ang pangangatwiran, pagkatapos ay bumalik sa kumpletong tanong at may nilutas na sagot.

Scalar Product of Two Three-Dimensional Vectors

Mga Source

Sinusuportahan ng mga reference na ito ang mga pangunahing konsepto at hangganan ng interpretasyong ipinaliwanag sa itaas.