Dot and Cross Products - Comprehensive Summary
Dot Product: \(\vec{u} \cdot \vec{v} = u_1v_1 + u_2v_2 + ... + u_nv_n\), resulting in a scalar
Cross Product: \(\vec{u} \times \vec{v} = \begin{vmatrix} \vec{i} & \vec{j} & \vec{k} \\ u_1 & u_2 & u_3 \\ v_1 & v_2 & v_3 \end{vmatrix}\), resulting in a vector (3D only)
Orthogonal Vectors: Vectors are orthogonal if their dot product is zero
• Dot product is commutative: \(\vec{u} \cdot \vec{v} = \vec{v} \cdot \vec{u}\)
• Cross product is anti-commutative: \(\vec{u} \times \vec{v} = -(\vec{v} \times \vec{u}))
• Cross product results in a vector perpendicular to both inputs
• Magnitude of cross product gives area of parallelogram
1. Dot product: Multiply corresponding components and sum
2. Cross product: Use determinant method or formula
3. Orthogonality test: Check if dot product equals zero
4. Area calculation: Use magnitude of cross product
• Dot product measures similarity/angle between vectors
• Cross product measures perpendicularity/area
• Cross product only exists in 3D (and 7D)
• Use right-hand rule for cross product direction
Dot Product: \(\vec{u} \cdot \vec{v} = u_1v_1 + u_2v_2 + ... + u_nv_n\). Also, \(\vec{u} \cdot \vec{v} = |\vec{u}||\vec{v}|\cos\theta\), where \(\theta\) is the angle between vectors.
- Multiply corresponding components of the vectors
- Sum all the products to get the dot product
- Calculate magnitudes of both vectors
- Use \(\cos\theta = \frac{\vec{u} \cdot \vec{v}}{|\vec{u}||\vec{v}|}\) to find the angle
\(\vec{u} \cdot \vec{v} = u_1v_1 + u_2v_2 = (2)(4) + (3)(-1) = 8 - 3 = 5\)
\(|\vec{u}| = \sqrt{2^2 + 3^2} = \sqrt{4 + 9} = \sqrt{13}\)
\(|\vec{v}| = \sqrt{4^2 + (-1)^2} = \sqrt{16 + 1} = \sqrt{17}\)
Using \(\vec{u} \cdot \vec{v} = |\vec{u}||\vec{v}|\cos\theta\):
\(\cos\theta = \frac{\vec{u} \cdot \vec{v}}{|\vec{u}||\vec{v}|} = \frac{5}{\sqrt{13}\sqrt{17}} = \frac{5}{\sqrt{221}}\)
\(\theta = \arccos\left(\frac{5}{\sqrt{221}}\right) \approx 68.2°\)
Since the dot product is positive, the angle is acute (less than 90°), indicating the vectors point somewhat in the same direction.
The dot product is 5 and the angle between the vectors is approximately 68.2°.
• Component multiplication: Multiply corresponding components only
• Summation: Add all products to get the scalar result
• Angle relationship: Positive dot product = acute angle
Cross Product: \(\vec{a} \times \vec{b} = \begin{vmatrix} \vec{i} & \vec{j} & \vec{k} \\ a_1 & a_2 & a_3 \\ b_1 & b_2 & b_3 \end{vmatrix}\). The result is a vector perpendicular to both \(\vec{a}\) and \(\vec{b}\).
\(\vec{a} \times \vec{b} = \begin{vmatrix} \vec{i} & \vec{j} & \vec{k} \\ 1 & 2 & 3 \\ 4 & 5 & 6 \end{vmatrix}\)
Along the first row:
\(\vec{a} \times \vec{b} = \vec{i}\begin{vmatrix} 2 & 3 \\ 5 & 6 \end{vmatrix} - \vec{j}\begin{vmatrix} 1 & 3 \\ 4 & 6 \end{vmatrix} + \vec{k}\begin{vmatrix} 1 & 2 \\ 4 & 5 \end{vmatrix}\)
\(\begin{vmatrix} 2 & 3 \\ 5 & 6 \end{vmatrix} = (2)(6) - (3)(5) = 12 - 15 = -3\)
\(\begin{vmatrix} 1 & 3 \\ 4 & 6 \end{vmatrix} = (1)(6) - (3)(4) = 6 - 12 = -6\)
\(\begin{vmatrix} 1 & 2 \\ 4 & 5 \end{vmatrix} = (1)(5) - (2)(4) = 5 - 8 = -3\)
\(\vec{a} \times \vec{b} = \vec{i}(-3) - \vec{j}(-6) + \vec{k}(-3) = \begin{pmatrix} -3 \\ 6 \\ -3 \end{pmatrix}\)
Check \((\vec{a} \times \vec{b}) \cdot \vec{a} = (-3)(1) + (6)(2) + (-3)(3) = -3 + 12 - 9 = 0\)
Check \((\vec{a} \times \vec{b}) \cdot \vec{b} = (-3)(4) + (6)(5) + (-3)(6) = -12 + 30 - 18 = 0\)
The cross product is \(\vec{a} \times \vec{b} = \begin{pmatrix} -3 \\ 6 \\ -3 \end{pmatrix}\), which is perpendicular to both original vectors.
• Anticommutativity: \(\vec{a} \times \vec{b} = -(\vec{b} \times \vec{a})\)
• Perpendicularity: Cross product is perpendicular to input vectors
• Right-hand rule: Direction determined by right-hand orientation
Orthogonal Vectors: Two vectors are orthogonal if and only if their dot product equals zero. The angle between orthogonal vectors is 90°.
\(\vec{p} \cdot \vec{q} = (2)(1) + (-1)(5) + (3)(1) = 2 - 5 + 3 = 0\)
Since \(\vec{p} \cdot \vec{q} = 0\), the vectors are orthogonal.
When vectors are orthogonal, the angle between them is 90°.
For completeness: \(\cos\theta = \frac{\vec{p} \cdot \vec{q}}{|\vec{p}||\vec{q}|} = \frac{0}{|\vec{p}||\vec{q}|} = 0\)
Therefore \(\theta = \arccos(0) = 90°\)
The vectors \(\vec{p}\) and \(\vec{q}\) are orthogonal (perpendicular) to each other.
• Orthogonality test: Dot product equals zero
• Angle determination: Zero dot product = 90° angle
• Perpendicularity: Geometric interpretation of zero dot product
Parallelogram Area: The area of a parallelogram formed by two vectors equals the magnitude of their cross product: \(A = |\vec{m} \times \vec{n}|\).
\(\vec{m} \times \vec{n} = \begin{vmatrix} \vec{i} & \vec{j} & \vec{k} \\ 2 & 1 & -1 \\ 1 & 3 & 2 \end{vmatrix}\)
\(= \vec{i}\begin{vmatrix} 1 & -1 \\ 3 & 2 \end{vmatrix} - \vec{j}\begin{vmatrix} 2 & -1 \\ 1 & 2 \end{vmatrix} + \vec{k}\begin{vmatrix} 2 & 1 \\ 1 & 3 \end{vmatrix}\)
\(\begin{vmatrix} 1 & -1 \\ 3 & 2 \end{vmatrix} = (1)(2) - (-1)(3) = 2 + 3 = 5\)
\(\begin{vmatrix} 2 & -1 \\ 1 & 2 \end{vmatrix} = (2)(2) - (-1)(1) = 4 + 1 = 5\)
\(\begin{vmatrix} 2 & 1 \\ 1 & 3 \end{vmatrix} = (2)(3) - (1)(1) = 6 - 1 = 5\)
\(\vec{m} \times \vec{n} = \vec{i}(5) - \vec{j}(5) + \vec{k}(5) = \begin{pmatrix} 5 \\ -5 \\ 5 \end{pmatrix}\)
\(|\vec{m} \times \vec{n}| = \sqrt{5^2 + (-5)^2 + 5^2} = \sqrt{25 + 25 + 25} = \sqrt{75} = 5\sqrt{3}\)
The area of the parallelogram is \(5\sqrt{3}\) square units.
The area of the parallelogram is \(5\sqrt{3}\) square units.
• Area formula: Cross product magnitude gives parallelogram area
• Cross product calculation: Determinant method
• Magnitude calculation: Square root of sum of squares
Triple Scalar Product: \(\vec{u} \cdot (\vec{v} \times \vec{w})\) gives the volume of the parallelepiped formed by the three vectors. It equals the determinant of the matrix formed by the three vectors.
\(\vec{v} \times \vec{w} = \begin{vmatrix} \vec{i} & \vec{j} & \vec{k} \\ 2 & 0 & 3 \\ 1 & 1 & 1 \end{vmatrix}\)
\(= \vec{i}\begin{vmatrix} 0 & 3 \\ 1 & 1 \end{vmatrix} - \vec{j}\begin{vmatrix} 2 & 3 \\ 1 & 1 \end{vmatrix} + \vec{k}\begin{vmatrix} 2 & 0 \\ 1 & 1 \end{vmatrix}\)
\(= \vec{i}(0-3) - \vec{j}(2-3) + \vec{k}(2-0) = \begin{pmatrix} -3 \\ 1 \\ 2 \end{pmatrix}\)
\(\vec{u} \cdot (\vec{v} \times \vec{w}) = \begin{pmatrix} 1 \\ 2 \\ 1 \end{pmatrix} \cdot \begin{pmatrix} -3 \\ 1 \\ 2 \end{pmatrix}\)
\(= (1)(-3) + (2)(1) + (1)(2) = -3 + 2 + 2 = 1\)
\(\vec{u} \cdot (\vec{v} \times \vec{w}) = \begin{vmatrix} 1 & 2 & 1 \\ 2 & 0 & 3 \\ 1 & 1 & 1 \end{vmatrix}\)
Expanding along first row: \(1\begin{vmatrix} 0 & 3 \\ 1 & 1 \end{vmatrix} - 2\begin{vmatrix} 2 & 3 \\ 1 & 1 \end{vmatrix} + 1\begin{vmatrix} 2 & 0 \\ 1 & 1 \end{vmatrix}\)
\(= 1(0-3) - 2(2-3) + 1(2-0) = -3 + 2 + 2 = 1\)
Since the triple scalar product is positive (1), the three vectors form a right-handed system.
The absolute value (1) represents the volume of the parallelepiped formed by the three vectors.
The triple scalar product is 1, representing a volume of 1 cubic unit for the parallelepiped formed by the three vectors.
• Triple scalar product: Volume of parallelepiped
• Right-hand rule: Positive value indicates right-handed system
• Determinant equivalence: Triple scalar product equals determinant
Dot Product: An algebraic operation that takes two equal-length sequences of numbers and returns a single number. It measures how much two vectors point in the same direction.
Cross Product: A binary operation on two vectors in three-dimensional space that results in a vector perpendicular to both input vectors.
Orthogonal Projection: The projection of one vector onto another using the dot product.
- For dot products: Multiply corresponding components and sum the results
- For cross products: Use determinant method or component formula
- For orthogonality: Check if dot product equals zero
- For angles: Use \(\cos\theta = \frac{\vec{u} \cdot \vec{v}}{|\vec{u}||\vec{v}|}\)
• Dot product is commutative: \(\vec{u} \cdot \vec{v} = \vec{v} \cdot \vec{u}\)
• Cross product is anticommutative: \(\vec{u} \times \vec{v} = -(\vec{v} \times \vec{u})\)
• \(\vec{u} \cdot \vec{u} = |\vec{u}|^2\) (dot product with itself)
• \(\vec{u} \times \vec{u} = \vec{0}\) (cross product with itself)
• Distributive property: \(\vec{u} \cdot (\vec{v} + \vec{w}) = \vec{u} \cdot \vec{v} + \vec{u} \cdot \vec{w}\)
Geometric Interpretation: The dot product measures the projection of one vector onto another, while the cross product magnitude measures the area of the parallelogram formed by the vectors.
- \(\vec{u} = \begin{pmatrix} 3 \\ 0 \end{pmatrix}\) (horizontal vector)
- \(\vec{v} = \begin{pmatrix} 2 \\ 2 \end{pmatrix}\) (diagonal vector)
- \(\vec{u} \cdot \vec{v} = 6\) measures alignment
- \(|\vec{u} \times \vec{v}| = 6\) gives parallelogram area