Porisma

Calculate scalar products from Cartesian components

Expand using an orthonormal basis and use the result in equations.

Calculate scalar products from Cartesian components

Multiply matching coordinates and add the results. Keep negative signs with their components. The answer is a scalar; when testing perpendicular directions, compare it with zero and check that neither direction vector is zero.

In an orthonormal basis, write a=(a1,a2,a3)\mathbf a=(a_1,a_2,a_3) and b=(b1,b2,b3)\mathbf b=(b_1,b_2,b_3). Then

a⋅b=a1b1+a2b2+a3b3=∣a∣∣b∣cos⁡θ.\mathbf a\cdot\mathbf b=a_1b_1+a_2b_2+a_3b_3=|\mathbf a||\mathbf b|\cos\theta.

The basis self-products are i⋅i=j⋅j=k⋅k=1\mathbf i\cdot\mathbf i=\mathbf j\cdot\mathbf j=\mathbf k\cdot\mathbf k=1. Distinct perpendicular basis directions give i⋅j=j⋅k=k⋅i=0\mathbf i\cdot\mathbf j=\mathbf j\cdot\mathbf k=\mathbf k\cdot\mathbf i=0, and their reversed products are zero by commutativity. The source basis sketch labels the positive y-direction with another i; use j there, as required by the printed formulas.

Derive the component rule

The complete expansion explains why only matching components survive:

a⋅b=(a1i+a2j+a3k)⋅(b1i+b2j+b3k)=a1i⋅(b1i+b2j+b3k)+a2j⋅(b1i+b2j+b3k)+a3k⋅(b1i+b2j+b3k)=a1b1i⋅i+a1b2i⋅j+a1b3i⋅k+a2b1j⋅i+a2b2j⋅j+a2b3j⋅k+a3b1k⋅i+a3b2k⋅j+a3b3k⋅k=a1b1(1)+0+0+0+a2b2(1)+0+0+0+a3b3(1)=a1b1+a2b2+a3b3.\begin{aligned} \mathbf a\cdot\mathbf b&=(a_1\mathbf i+a_2\mathbf j+a_3\mathbf k)\cdot(b_1\mathbf i+b_2\mathbf j+b_3\mathbf k)\\ &=a_1\mathbf i\cdot(b_1\mathbf i+b_2\mathbf j+b_3\mathbf k)\\ &\quad+a_2\mathbf j\cdot(b_1\mathbf i+b_2\mathbf j+b_3\mathbf k)\\ &\quad+a_3\mathbf k\cdot(b_1\mathbf i+b_2\mathbf j+b_3\mathbf k)\\ &=a_1b_1\mathbf i\cdot\mathbf i+a_1b_2\mathbf i\cdot\mathbf j+a_1b_3\mathbf i\cdot\mathbf k\\ &\quad+a_2b_1\mathbf j\cdot\mathbf i+a_2b_2\mathbf j\cdot\mathbf j+a_2b_3\mathbf j\cdot\mathbf k\\ &\quad+a_3b_1\mathbf k\cdot\mathbf i+a_3b_2\mathbf k\cdot\mathbf j+a_3b_3\mathbf k\cdot\mathbf k\\ &=a_1b_1(1)+0+0+0+a_2b_2(1)+0+0+0+a_3b_3(1)\\ &=a_1b_1+a_2b_2+a_3b_3. \end{aligned}

Example 9 keeps both methods: form the columns first, or distribute and use self-products. Self-Practice 2 checks signs in two component calculations. Example 10 uses a zero product to find a parameter. Example 11 combines cos⁡(π/3)=1/2\cos(\pi/3)=1/2 with b⊥(a−b)\mathbf b\perp(\mathbf a-\mathbf b) to prove a relation between magnitudes; it does not make the two original vectors parallel.

Diagrams for this unit

Open 1 diagram

Try these examples

Open an example in chapter practice. Try it first, then read its solution. Use “Learn this step” to return to this unit.