A set is orthogonal when every pair of different vectors has dot product zero. It is orthonormal when, in addition, every vector has length .
| Step | On , , | |
|---|---|---|
| 1 | List the pairs. Three vectors give three pairs; four vectors give six. | , , |
| 2 | Compute every dot product. Use the dot product. Stop at the first nonzero result: the set is not orthogonal. | , , |
| 3 | Check the lengths. All pair products zero means orthogonal. For orthonormal, every must equal as well. | , , : orthogonal, not orthonormal |
| 4 | Normalize if an orthonormal set is needed. Divide each vector by its length (normalization). Scaling does not change orthogonality. | , , |