If we have two vectors, \( \vec{u}\) and \( \vec{v} \), the angle \(\theta \) between them can be determined from this equation. \[ \cos(\theta) = \frac{\vec{u} \cdot \vec{v}}{ \norm{\vec{u}} \norm{\vec{v}} } \] (The derivation of this equation, using the Law of Cosines, is shown below.)
Recommended Books on Amazon (affiliate links) | ||
---|---|---|
orthogonal |
---|
Perpendicular, orthogonal and normal all essentially mean the same thing - meeting at right angles (90 degrees, \(\pi/2\) radians). But in mathematics we say that two vectors are orthogonal, two lines or planes are perpendicular and a vector is normal to a line or plane. |
We can use this equation as an alternate way to calculate the dot product by solving for the dot product term.
\[ \vec{u} \cdot \vec{v} = \norm{\vec{u}} \norm{\vec{v}} \cos (\theta) \]
Now, let's stop and think for a moment.
What is the dot product when the vectors are orthogonal?
Think about it for a minute and then click here for the answer
Okay, so let's look at how we get the equation of the angle between two vectors.
Theorem: Angle Between Two Vectors |
---|
If \(\theta\) is the angle between two nonzero vectors \(\vec{u}\) and \(\vec{v}\), then \[ \cos\theta = \frac{\vec{u} \cdot \vec{v}}{\norm{\vec{u}} \norm{\vec{v}} }\] |
Proof Overview - - We will use the triangle shown here and the Law of Cosines to prove this theorem.
The Law of Cosines tells us
\( \norm{\vec{a}}^2 = \norm{\vec{b}}^2 + \norm{\vec{c}}^2 - 2\norm{\vec{b}} \norm{\vec{c}} \cos(\theta)
\). In terms of these vectors, our goal equation is
\[ \cos(\theta) = \frac{\vec{b} \cdot \vec{c}}{\norm{\vec{b}} \norm{\vec{c}}}
\]
Since our goal equation does not have \( \norm{\vec{a}} \) in it, let's look at the triangle to see if we can find a relationship between the vector \(\vec{a}\) and the other two vectors.
From basic vector addition, we see from the triangle that \( \vec{c} + \vec{a} = \vec{b} \). Solving for vector \(\vec{a}\), we have \( \vec{a} = \vec{b} - \vec{c} \). We can take the norm and square both sides (1) to get \( \norm{\vec{a}}^2 = \norm{\vec{b} - \vec{c}}^2 \). Let's look closer at the right side of this equation.
\(
\begin{array}{rcl}
\norm{\vec{b} - \vec{c}}^2 & = & \left( \vec{b} - \vec{c} \right) \cdot \left( \vec{b} - \vec{c} \right) \\
& = & \vec{b} \cdot \left( \vec{b} - \vec{c} \right) - \vec{c} \cdot \left( \vec{b} - \vec{c} \right) \\
& = & \vec{b} \cdot \vec{b} - \vec{b} \cdot \vec{c} - \vec{c} \cdot \vec{b} + \vec{c} \cdot \vec{c} \\
& = & \norm{\vec{b}}^2 - 2\vec{b} \cdot \vec{c} + \norm{\vec{c}}^2
\end{array}
\)
Since this expression is equal to \( \norm{\vec{a}}^2 \), we can substitute this result for \( \norm{\vec{a}}^2 \) in the Law of Cosines equation above.
\(
\begin{array}{rcl}
\norm{\vec{b}}^2 - 2\vec{b} \cdot \vec{c} + \norm{\vec{c}}^2
& = & \norm{\vec{b}}^2 + \norm{\vec{c}}^2 - 2\norm{\vec{b}} \norm{\vec{c}} \cos(\theta) \\
- 2\vec{b} \cdot \vec{c} & = & - 2\norm{\vec{b}} \norm{\vec{c}} \cos(\theta) \\
\cos(\theta) & = & \displaystyle{ \frac{\vec{b} \cdot \vec{c} }{\norm{\vec{b}} \norm{\vec{c}}} } \text{ [qed](2) }
\end{array}
\)
Notes
(1) Be very careful when you square both sides of an equation. It is strictly true only when both sides are guaranteed to be positive. If one side could be negative, we have lost that information if we need to go back to it later. Since the norm is always positive, we can safely do it here with no fear of losing information.
(2) The letters qed are placed at the end of proofs to indicate that we have proven what we set out to prove. It is from the Greek for quod erat demonstrandum [from wikipedia Q.E.D.].
Here is a video proof that will help you understand this better.
video by Larson Calculus |
---|
Time for some practice problems involving angles between vectors and orthogonal vectors.
Practice
Unless otherwise instructed, find the angle between the given vectors. Give you answers in exact form.
\( \vec{v} = 2\vec{i} + 3\vec{j} + 1\vec{k} \), \( \vec{w} = 4\vec{i} + 1\vec{j} + 2\vec{k} \)
Problem Statement |
---|
Calculate the angle between the vectors \( \vec{v} = 2\vec{i} + 3\vec{j} + 1\vec{k} \) and \( \vec{w} = 4\vec{i} + 1\vec{j} + 2\vec{k} \).
Final Answer |
---|
The angle between the vectors \( \vec{v}=2\vec{i}+3\vec{j}+1\vec{k} \) and \(\vec{w}=4\vec{i}+1\vec{j}+2\vec{k}\) is \(\displaystyle{ \arccos\left(\frac{13}{7\sqrt{6}} \right) \approx 0.710}\) radians.
Problem Statement
Calculate the angle between the vectors \( \vec{v} = 2\vec{i} + 3\vec{j} + 1\vec{k} \) and \( \vec{w} = 4\vec{i} + 1\vec{j} + 2\vec{k} \).
Solution
To calculate the angle between the two vectors, we use the equation \(\displaystyle{ \cos(\theta ) = \frac{\vec{v} \cdot \vec{w}}{\| \vec{v} \| \| \vec{w} \|} }\).
First, let's find the dot product.
\( \vec{v} \cdot \vec{w} = \left( 2\vec{i} + 3\vec{j} + 1\vec{k} \right) \cdot \left( 4\vec{i} + 1\vec{j} + 2\vec{k} \right) = 2(4) + 3(1) + 1(2) = 13\)
Now we need to find the norm (magnitude) of each of the vectors.
\( \| \vec{v} \| = \sqrt{ 2^2 + 3^2 + 1^2} = \sqrt{4+9+1} = \sqrt{14} \)
\( \| \vec{w} \| = \sqrt({ 4^2 + 1^2 + 2^2} = \sqrt{16+1+4} = \sqrt{21} \)
So now we have \(\displaystyle{ \cos(\theta) = \frac{13}{\sqrt{14}\sqrt{21}} = \frac{13}{\sqrt{2(7)}\sqrt{3(7)}} = \frac{13}{7\sqrt{6}} }\)
Solving for \(\theta\) we get \(\displaystyle{ \theta = \arccos\left(\frac{13}{7\sqrt{6}} \right) \approx 0.710286 }\)
Final Answer
The angle between the vectors \( \vec{v}=2\vec{i}+3\vec{j}+1\vec{k} \) and \(\vec{w}=4\vec{i}+1\vec{j}+2\vec{k}\) is \(\displaystyle{ \arccos\left(\frac{13}{7\sqrt{6}} \right) \approx 0.710}\) radians.
Log in to rate this practice problem and to see it's current rating. |
---|
\( \vec{a} = 6\hat{i} - 2\hat{j} - 3\hat{k} \), \( \vec{b} = \hat{i} + \hat{j} + \hat{k} \).
Problem Statement
Find the angle between the vectors \( \vec{a} = 6\hat{i} - 2\hat{j} - 3\hat{k} \) and \( \vec{b} = \hat{i} + \hat{j} + \hat{k} \).
Solution
video by PatrickJMT |
---|
Log in to rate this practice problem and to see it's current rating. |
---|
\( \vec{A} = 2\hat{i} + 3\hat{j} + 4\hat{k} \), \( \vec{B} = \hat{i} + 3\hat{k} \).
Problem Statement |
---|
Calculate the angle between \( \vec{A} = 2\hat{i} + 3\hat{j} + 4\hat{k} \) and \( \vec{B} = \hat{i} + 3\hat{k} \).
Final Answer |
---|
The angle between \(\vec{A}=2\hat{i}+3\hat{j}+4\hat{k}\) and \(\vec{B}=\hat{i}+3\hat{k}\) is \(\displaystyle{\arccos\left( \frac{14}{\sqrt{290}} \right) \approx 0.606 }\) radians.
Problem Statement
Calculate the angle between \( \vec{A} = 2\hat{i} + 3\hat{j} + 4\hat{k} \) and \( \vec{B} = \hat{i} + 3\hat{k} \).
Solution
From a previous practice problem, we know that that dot product of these vectors is \(14\). In order to find the angle between the vectors, we can use the formula \(\vec{A} \cdot \vec{B} = \|\vec{A}\| \|\vec{B}\|\cos(\theta)\) where \(\theta\) is the angle between the two vectors.
Let's find the magnitudes of the two vectors.
\(\|\vec{A}\| = \sqrt{2^2 + 3^2 + 4^2} = \sqrt{4+9+16} = \sqrt{29}\)
\(\|\vec{B}\| = \sqrt{1^2+0^2+3^2} = \sqrt{1+9} = \sqrt{10}\)
So now we have
\(\displaystyle{ \cos(\theta) = \frac{\vec{A}\cdot\vec{B}}{\|\vec{A}\| \|\vec{B}\|} }\) |
\(\displaystyle{ \cos(\theta) = \frac{14}{(\sqrt{29})(\sqrt{10})} }\) |
\(\displaystyle{ \theta = \arccos\left( \frac{14}{\sqrt{290}} \right) \approx 0.606 }\) |
Final Answer
The angle between \(\vec{A}=2\hat{i}+3\hat{j}+4\hat{k}\) and \(\vec{B}=\hat{i}+3\hat{k}\) is \(\displaystyle{\arccos\left( \frac{14}{\sqrt{290}} \right) \approx 0.606 }\) radians.
Log in to rate this practice problem and to see it's current rating. |
---|
\( \vec{a} = \langle 1,2,3 \rangle \), \( \vec{b} = \langle -3,-1,4 \rangle \).
Problem Statement
Find the angle between the vectors \( \vec{a} = \langle 1,2,3 \rangle \) and \( \vec{b} = \langle -3,-1,4 \rangle \).
Solution
video by PatrickJMT |
---|
Log in to rate this practice problem and to see it's current rating. |
---|
Are the vectors \(\vec{a}=\langle2,4\rangle\) and \(\vec{b}=\langle4,-2\rangle\) orthogonal?
Problem Statement
Are the vectors \(\vec{a}=\langle2,4\rangle\) and \(\vec{b}=\langle4,-2\rangle\) orthogonal?
Solution
video by PatrickJMT |
---|
Log in to rate this practice problem and to see it's current rating. |
---|
\( \langle 5,2 \rangle \), \( \langle 3,4 \rangle \).
Problem Statement
Find the angle between the vectors \( \langle 5,2 \rangle \) and \( \langle 3,4 \rangle \).
Solution
video by Larson Calculus |
---|
Log in to rate this practice problem and to see it's current rating. |
---|
\( \vec{a} = \langle 2,3,5 \rangle \), \( \vec{b} = \langle 1,6,-4 \rangle \).
Problem Statement
Find the angle between the vectors \( \vec{a} = \langle 2,3,5 \rangle \) and \( \vec{b} = \langle 1,6,-4 \rangle \).
Solution
video by PatrickJMT |
---|
Log in to rate this practice problem and to see it's current rating. |
---|
\(\langle4,6\rangle\), \(\langle3,-2\rangle\).
Problem Statement |
---|
Find the angle between the vectors \(\langle4,6\rangle\) and \(\langle3,-2\rangle\).
Final Answer |
---|
\(\pi/2\) radians
Problem Statement
Find the angle between the vectors \(\langle4,6\rangle\) and \(\langle3,-2\rangle\).
Solution
In the video, he gives his answer in degrees. However, in calculus we usually use radians.
video by Larson Calculus |
---|
Final Answer
\(\pi/2\) radians
Log in to rate this practice problem and to see it's current rating. |
---|
The curves \( \vec{r}_1(t) = \langle 5t+2, \ln(t), \sqrt{4-2t-t^2} \rangle \) and \( \vec{r}_2(s) = \langle 7, \sqrt{2} s^{3/2}-4, e^{s^2-2s} \rangle \) intersect at a point. Find \(\cos \theta\) where \(\theta\) is the angle of intersection (the angle between their respective tangent lines).
Problem Statement
The curves \( \vec{r}_1(t) = \langle 5t+2, \ln(t), \sqrt{4-2t-t^2} \rangle \) and \( \vec{r}_2(s) = \langle 7, \sqrt{2} s^{3/2}-4, e^{s^2-2s} \rangle \) intersect at a point. Find \(\cos \theta\) where \(\theta\) is the angle of intersection (the angle between their respective tangent lines).
Solution
video by Steve Butler |
---|
Log in to rate this practice problem and to see it's current rating. |
---|
Really UNDERSTAND Calculus
Log in to rate this page and to see it's current rating.
external links you may find helpful |
---|
To bookmark this page and practice problems, log in to your account or set up a free account.
Do you have a practice problem number but do not know on which page it is found? If so, enter the number below and click 'page' to go to the page on which it is found or click 'practice' to be taken to the practice problem.
| |
free ideas to save on books |
---|
I recently started a Patreon account to help defray the expenses associated with this site. To keep this site free, please consider supporting me. |
---|
Support 17Calculus on Patreon |