Compute The Cross (Vector) Product of Two Vectors
Compute The Cross (Vector) Product of Two Vectors
Compute areas
Example: Find the area of the triangle with vertices P (1, 1, 0), Q(1, 0, 1) and R(0, 1, 1).
Solution: Set a = P Q = (0, −1, 1) and b = P R = (−1, 0, 1). Thus the area is
√
|a × b| |(−1, −1, −1) 3
= 2= .
2 | 2
Compute volumes
Example: Find the volume of the parallelepiped with adjacent edges OP , OQ and OR, where
P (1, 1, 0), Q(1, 0, 1) and R(0, 1, 1) are three points. Also find the volume of the pyramid with
vertices O, P, Q and R.
Solution: Set a = OP = (1, 1, 0), b = OQ = (1, 0, 1) and c = OR = (0, 1, 1). Then the volume of
the parallelepiped is |a · (b × c)|. First compute
1 1 0
a · (b × c) = 1 0 1 = 0 − (0 + 1 + 1) = −2.
0 1 1