An inner product turns two vectors into one number. Multiply matching parts, add them up, and the same number then gives lengths, distances and angles.
| Step | On , | |
|---|---|---|
| 1 | Identify the inner product. No rule given in means the standard dot product. Check that both vectors have the same number of entries. | standard dot product in |
| 2 | Multiply matching entries. Entry 1 with entry 1, entry 2 with entry 2, and so on. With weights, multiply each product by its weight. | |
| 3 | Add the products. The sign carries meaning: positive means an acute angle, zero means orthogonal, negative means obtuse. | |
| 4 | Take lengths from the same inner product. The norm is . A distance is the length of the difference . | , |
| 5 | Find the angle if asked. Divide the inner product by both lengths (angle formula). The Cauchy-Schwarz inequality keeps the ratio between and . | , |