Vector Products Simulation
This interactive simulation demonstrates how to calculate the scalar (dot) product and vector (cross) product of two vectors.
Vector a
Vector b
Example
Question:
Find the scalar and vector products of two vectors.
\( \mathbf{a} = 3\mathbf{\hat{i}} - 4\mathbf{\hat{j}} + 5\mathbf{\hat{k}} \)\,
\( \mathbf{b} = -2\mathbf{\hat{i}} + \mathbf{\hat{j}} - 3\mathbf{\hat{k}} \)
Solution:
Scalar (dot) product:
\[
\mathbf{a} \cdot \mathbf{b} = (3\mathbf{\hat{i}} - 4\mathbf{\hat{j}} + 5\mathbf{\hat{k}}) \cdot (-2\mathbf{\hat{i}} + \mathbf{\hat{j}} - 3\mathbf{\hat{k}})
\]
Calculate each term:
\[
= (3 \times -2) + (-4 \times 1) + (5 \times -3)
= -6 - 4 - 15
= -25
\]
Vector (cross) product:
\[
\mathbf{a} \times \mathbf{b} =
\begin{vmatrix}
\mathbf{\hat{i}} & \mathbf{\hat{j}} & \mathbf{\hat{k}} \\
3 & -4 & 5 \\
-2 & 1 & -3 \\
\end{vmatrix}
= 7\mathbf{\hat{i}} - \mathbf{\hat{j}} - 5\mathbf{\hat{k}}
\]
Note: \(\mathbf{b} \times \mathbf{a} = -7\mathbf{\hat{i}} + \mathbf{\hat{j}} + 5\mathbf{\hat{k}} \)
Scalar (Dot) Product
a · b = (ai × bi) + (aj × bj) + (ak × bk)
Result: a · b = -25
Vector (Cross) Product
a × b = \[\begin{vmatrix} \mathbf{i} & \mathbf{j} & \mathbf{k} \\ a_i & a_j & a_k \\ b_i & b_j & b_k \end{vmatrix}\]
= i(12 - 5) - j(-9 + 10) + k(3 - 8)
= 7i - j - 5k
Result: a × b = 7i - j - 5k
Note: b × a = -7i + j + 5k



