Definition: The Dot Product We define the dot product of two vectors \(\textbf = a \hat> + b \hat> \) and \(\textbf= c \hat> + d \hat>\) to be \[\textbf \cdot \textbf = ac+bd.\nonumber \]
Notice that the dot product of two vectors is a number and not a vector. For 3 dimensional vectors, we define the dot product similarly:
Definition: Dot Products in \( \mathbb
Example \(\PageIndex<1>\) If \[\textbf = 2\; \hat> + 4\; \hat> \;\;\; \text \;\;\; \textbf = \hat> + 5\; \hat> \nonumber \] then \[ \textbf \cdot \textbf = (2)(1) + (4)(5) = 22. \nonumber \]1>
We define the angle \(\theta \) between two vectors v and w by the formula \[ \cos q = \dfrac \cdot \textbf > <|| \textbf|| || \textbf|| >\nonumber \] so that \[ \textbf \cdot \textbf = ||\textbf|| || \textbf || \cos q. \nonumber \] Two vectors are called orthogonal if their angle is a right angle. We see that angles are orthogonal if and only if \[ \textbf \cdot \textbf = 0. \nonumber \]
Example \(\PageIndex<2>\) To find the angle between \[ \textbf = 2 \hat> + 3 \hat> + \hat> \nonumber \] and \[\textbf = 4 \hat> + \hat> + 2 \hat> \nonumber \] we compute: \[||\textbf|| = \sqrt = \sqrt \nonumber \] and \[ || \textbf || = \sqrt = \sqrt \nonumber \] and \[\textbf \cdot \textbf = 8 + 3 + 2 = 13. \nonumber \] Hence \[ \theta = \cos^\left( \dfrac <\sqrt\sqrt> \right). \nonumber \]2>
Projections and Components Suppose that a car is stopped on a steep hill, and let g be the force of gravity acting on it. We can split the vector g into the component that is pushing the car down the road and the component that is pushing the car onto the road. We define
Definition: Projection Let u and v be a vectors. Then u can be broken up into two components, r and s such that r is parallel to v and s is perpendicular to v. r is called the projection of u onto v and sis called the component of u perpendicular to v.
We see that \[\begin \textbf \cdot \textbf = || \textbf || \; || \textbf|| \cos q &= \dfrac <|| \textbf|| \; || \textbf || \text_<\textbf> \textbf ><||\textbf||> \\ &= ||\textbf || \; || \text_<\textbf> \textbf ||. \end \nonumber \] hence \(\textbf \cdot \textbf = \dfrac<||\text_<\textbf>\textbf ||> <|| \textbf||>\) We can calculate the projection of u onto v by the formula: \(\text_<\textbf>\textbf = \dfrac <\textbf\cdot \textbf ><|| \textbf||^2 > \textbf \). Notice that this works since if we take magnitudes of both sides we get that \[|| \text_<\textbf> \textbf || = \dfrac < \textbf\cdot \textbf > < || \textbf||^2 > || \textbf|| \nonumber \] and the right hand side simplifies to the formula above. The direction is correct since the right hand side of the formula is a constant multiple of v so the projection vector is in the direction of v as required. To find the vector s, notice from the diagram that \[ \text_<\textbf> \textbf + \textbf = \textbf \nonumber \] so that \[ \textbf = \textbf - \text_ < \textbf> \textbf. \nonumber \]
Suppose you are skiing and have a terrible fall. Your body spins around and you ski stays in place (do not try this at home). With proper bindings your bindings will release and your ski will come off. The bindings recognize that a force has been applied. This force is called torque. To compute it we use the cross produce of two vectors which not only gives the torque, but also produces the direction that is perpendicular to both the force and the direction of the leg.
Definition: Cross Product Let \(\textbf = a \hat> + b \hat> + c \hat>\) and \(\textbf = d \hat> + e \hat> + f \hat> \) be vectors. Then we define the cross product \(\textbf \times \textbf \) by the determinant of the matrix: \[\begin \hat> & \hat> &\hat> \\ a & b &c \\ d & e & f \end. \nonumber \] We can compute this determinant as \[\begin b & c \\ e & f \end \hat> - \begin a & c \\ d & f \end \hat> + \begin a & b \\ d & e \end \hat> \nonumber \] \[ =(bf - ce ) \hat> + (cd - af ) \hat> + (ae - bd)\hat>. \nonumber \]
Example \(\PageIndex<4>\) Find the cross product \(\textbf \times \textbf \) if \[\textbf = 2 \hat> + \hat> -3 \hat>, \;\;\; \textbf = 4 \hat> + 5 \hat>.\nonumber \] Solution We calculate \[\begin\begin \hat> & \hat> & \hat> \\ 2 & 1 & -3 \\ 0 & 4 & 5 \end & = \begin 1 & -3 \\ 4 & 5 \end \hat> - \begin 2 & -3 \\ 0 & 5 \end \hat> + \begin 2 & 1 \\ 0 & 4 \end \hat> \\ &= 17 \hat> - 10 \hat> + 8 \hat>. \end \nonumber \] If you need more help see the lecture notes for Math 103 B on matrices.4>
Notice that since switching the order of two rows of a determinant changes the sign of the determinant, we have
\[ \textbf \times \textbf = - \textbf \times \textbf. \nonumber \]
Let u and v be vectors and consider the parallelogram that the two vectors make.
and the direction of \(\textbf \times \textbf\) is a right angle to the parallelogram that follows the right hand rule.
Note: For\( \hat> \times \hat>\) the magnitude is 1 and the direction is \(\hat>\), hence \(\hat> \times \hat> = \hat>\).
We define the torque (or the moment \(M\) of a force \(F\) about a point \(Q\)) as
\[M = PQ \times F. \nonumber \]
A 20 inch wrench is at an angle of 30 degrees with the ground. A force of 40 pounds that makes and angle of 45 degrees with the wrench turns the wrench. Find the torque.
Solution
We can write the wrench as the vector
and the force as
hence, the torque is the magnitude of their cross product:
To find the volume of the parallelepiped spanned by three vectors u, v, and w, we find the triple product:
\[\text= \textbf \cdot (\textbf \times \textbf). \nonumber \]
This can be found by computing the determinate of the three vectors:
\[\begin u_1 & v_1 & w_1 \\ u_2 & v_2 & w_2 \\ u_3& v_3 & w_3 \end.\nonumber \]
Find the volume of the parallelepiped spanned by the vectors
Solution
\[\begin 1 &0 &2 \\ 0 &2 &3 \\ 0 &1 &3 \end = 3. \nonumber \]
This page titled 1.5: The Dot and Cross Product is shared under a not declared license and was authored, remixed, and/or curated by Larry Green.