Appendix B

Properties of Vector Products

This appendix regards the basic properties of vector products and their geometric interpretation.

B.1 Dot Product

The dot product, or scalar product between two vectors is indicated with the symbol ∙ and is defined as:

ab=i=1na1b1++anbn(B.1)

This equation is a pure algebraic definition where the term vector is intended as a sequence of numbers. When we deal with a geometric interpretation where the vectors are entities characterized by a magnitude and a direction we can write:

ab=|| a |||| b ||cosθ(B.2)

where θ is the angle formed by the two vectors. Equation (B.2) tells us a few important things.

One of these things is that two non-zero-length vectors are perpendicular to each other if and only ...

Get Introduction to Computer Graphics now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.