{"id":877,"date":"2025-10-14T15:27:07","date_gmt":"2025-10-14T15:27:07","guid":{"rendered":"https:\/\/content.one.lumenlearning.com\/calculus3\/?post_type=chapter&#038;p=877"},"modified":"2026-08-25T15:53:57","modified_gmt":"2026-08-25T15:53:57","slug":"vector-operations-in-space-learn-it-2","status":"publish","type":"chapter","link":"https:\/\/content.one.lumenlearning.com\/calculus3\/chapter\/vector-operations-in-space-learn-it-2\/","title":{"raw":"Vector Operations in Space: Learn It 2","rendered":"Vector Operations in Space: Learn It 2"},"content":{"raw":"<h2 data-type=\"title\">Using the Dot Product to Find the Angle between Two Vectors<\/h2>\r\n<p id=\"fs-id1163723246791\">When you place two nonzero vectors in standard position (starting from the origin), they form an angle between them. The dot product provides a powerful way to find this angle.<\/p>\r\n\r\n[caption id=\"attachment_5071\" align=\"aligncenter\" width=\"277\"]<img class=\"size-full wp-image-5071\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5667\/2021\/08\/26211719\/Figure-2.44.jpg\" alt=\"This figure is two vectors with the same initial point. The first vector is labeled \u201cu,\u201d and the second vector is labeled \u201cv.\u201d The angle between the two vectors is labeled \u201ctheta.\u201d\" width=\"277\" height=\"157\" \/> Figure 1. Let [latex]\u03b8[\/latex] be the angle between two nonzero vectors [latex]{\\bf{u}}[\/latex] and [latex]{\\bf{v}}[\/latex] such that [latex]0\u2264\u03b8\u2264\u03c0[\/latex].[\/caption]The dot product has both algebraic and geometric interpretations. We've seen the algebraic version (multiply components and add). The geometric version connects the dot product to angles.\r\n\r\n<section class=\"textbox keyTakeaway\" aria-label=\"Key Takeaway\">\r\n<h3>geometric dot product formula<\/h3>\r\n<p id=\"fs-id1163724054271\">The dot product of two vectors is the product of the magnitude of each vector and the cosine of the angle between them:<\/p>\r\n\r\n<center>[latex]\\mathbf{u} \\cdot \\mathbf{v} = ||\\mathbf{u} ||\\;||\\mathbf{v} ||\\cos{\\theta}[\/latex].<\/center><\/section><section class=\"textbox connectIt\">\r\n<p style=\"text-align: center;\"><strong>Proof<\/strong><\/p>\r\n\r\n\r\n<hr \/>\r\n\r\nPlace vectors [latex]\\mathbf{u}[\/latex] and [latex]\\mathbf{v}[\/latex] in standard position and consider the vector [latex]\\mathbf{v} - \\mathbf{u}[\/latex] (Figure 2). These three vectors form a triangle with side lengths [latex]||\\mathbf{u}||[\/latex],\u00a0[latex]||\\mathbf{v}||[\/latex], and\u00a0[latex]||\\mathbf{v} - \\mathbf{u}||[\/latex].\r\n\r\n[caption id=\"attachment_5073\" align=\"aligncenter\" width=\"277\"]<img class=\"size-full wp-image-5073\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5667\/2021\/08\/26212632\/Figure-2.45.jpg\" alt=\"This figure is two vectors with the same initial point. The first vector is labeled \u201cu,\u201d and the second vector is labeled \u201cv.\u201d The angle between the two vectors is labeled \u201ctheta.\u201d There is also a third vector from the terminal point of vector u to the terminal point of vector v. It is labeled \u201cv \u2013 u.\u201d\" width=\"277\" height=\"158\" \/> Figure 2. The lengths of the sides of the triangle are given by the magnitudes of the vectors that form the triangle.[\/caption]\r\n<p id=\"fs-id1163724054158\">The law of cosines describes the relationship among the side lengths of the triangle and the angle [latex]\\theta[\/latex]. Applying the law of cosines here gives<\/p>\r\n\r\n<center>[latex]||\\mathbf{v} - \\mathbf{u}||^2 = ||\\mathbf{u}||^2 + ||\\mathbf{v}||^2 - 2||\\mathbf{u}||\\;||\\mathbf{v}||\\cos{\\theta}[\/latex].<\/center>\r\n<p id=\"fs-id1163724085758\">The dot product provides a way to rewrite the left side of this equation:<\/p>\r\n\r\n<center>\r\n[latex]\r\n\\begin{align*}\r\n||\\mathbf{v} - \\mathbf{u}||^2 &amp;= (\\mathbf{v} - \\mathbf{u}) \\cdot (\\mathbf{v} - \\mathbf{u})\\\\\r\n&amp;= (\\mathbf{v} - \\mathbf{u}) \\cdot \\mathbf{v}-(\\mathbf{v} - \\mathbf{u}) \\cdot \\mathbf{u}\\\\\r\n&amp;= \\mathbf{v} \\cdot \\mathbf{v} - \\mathbf{u} \\cdot \\mathbf{v} - \\mathbf{v} \\cdot \\mathbf{u}+\\mathbf{u} \\cdot \\mathbf{u}\\\\\r\n&amp;= \\mathbf{v} \\cdot \\mathbf{v} - \\mathbf{u} \\cdot \\mathbf{v} - \\mathbf{u} \\cdot \\mathbf{v}+\\mathbf{u} \\cdot \\mathbf{u}\\\\\r\n&amp;= ||\\mathbf{v}||^2 - 2 \\mathbf{u} \\cdot \\mathbf{v} + ||\\mathbf{u}||^2.\\\\\r\n\\end{align*}\r\n[\/latex]<\/center>\r\n<p id=\"fs-id1163724104874\">Substituting into the law of cosines yields<\/p>\r\n\r\n<center>[latex]\r\n\\begin{align*}\r\n||\\mathbf{v} - \\mathbf{u}||^2 &amp;= ||\\mathbf{u}||^2 + ||\\mathbf{v}||^2 - 2||\\mathbf{u}||\\;||\\mathbf{v}||\\cos{\\theta}\\\\\r\n||\\mathbf{v}||^2 - 2 \\mathbf{u} \\cdot \\mathbf{v} + ||\\mathbf{u}||^2 &amp;= ||\\mathbf{u}||^2 + ||\\mathbf{v}||^2 - 2||\\mathbf{u}||\\;||\\mathbf{v}||\\cos{\\theta}\\\\\r\n- 2 \\mathbf{u} \\cdot \\mathbf{v} &amp;= - 2||\\mathbf{u}||\\;||\\mathbf{v}||\\cos{\\theta}\\\\\r\n\\mathbf{u} \\cdot \\mathbf{v} &amp;= ||\\mathbf{u}||\\;||\\mathbf{v}||\\cos{\\theta}.\\\\\r\n\\end{align*}\r\n[\/latex]<\/center>[latex]_\\blacksquare[\/latex]\r\n\r\n<\/section>\r\n<h3 class=\"text-xl font-bold text-text-100 mt-1 -mb-0.5\">Finding Angles Between Vectors<\/h3>\r\n<p class=\"whitespace-normal break-words\">We can rearrange the geometric formula to solve for the angle:<\/p>\r\n<p class=\"whitespace-normal break-words\" style=\"text-align: center;\">[latex]\\cos \\theta = \\frac{\\mathbf{u} \\cdot \\mathbf{v}}{||\\mathbf{u}|| , ||\\mathbf{v}||}[\/latex]<\/p>\r\n<p class=\"whitespace-normal break-words\">Since we measure the smallest angle between vectors, we have [latex]0\u00b0 \\leq \\theta \\leq 180\u00b0[\/latex] (or [latex]0 \\leq \\theta \\leq \\pi[\/latex] radians). The inverse cosine function is unique over this range, so we can determine [latex]\\theta[\/latex] precisely.<\/p>\r\n\r\n<section class=\"textbox example\" aria-label=\"Example\">\r\n<p id=\"fs-id1163724080398\">Find the measure of the angle between each pair of vectors.<\/p>\r\n\r\n<ol id=\"fs-id1163724080401\" type=\"a\">\r\n \t<li>[latex]\\mathbf{i} + \\mathbf{j} + \\mathbf{k}[\/latex] and\u00a0[latex]2\\mathbf{i} - \\mathbf{j} - 3\\mathbf{k}[\/latex]<\/li>\r\n \t<li>[latex]\\langle 2,5,6 \\rangle [\/latex] and\u00a0[latex]\\langle -2,-4,4 \\rangle [\/latex]<\/li>\r\n<\/ol>\r\n[reveal-answer q=\"723893215\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"723893215\"]\r\n<ol id=\"fs-id1163724080485\" type=\"a\">\r\n \t<li>To find the cosine of the angle formed by the two vectors, substitute the components of the vectors into\u00a0the rearranged Dot Product:<center>\r\n[latex]\r\n\\begin{align*}\r\n\\cos{\\theta} &amp;= \\frac{(\\mathbf{i} + \\mathbf{j} + \\mathbf{k}) \\cdot (2\\mathbf{i} - \\mathbf{j} - 3\\mathbf{k})}{||\\mathbf{i} + \\mathbf{j} + \\mathbf{k}|| \\cdot ||2\\mathbf{i} - \\mathbf{j} - 3\\mathbf{k}||}\\\\\r\n&amp;= \\frac{1(2)+(1)(-1)+(1)(-3)}{\\sqrt{1^2+1^2+1^2}\\sqrt{2^2+(-1)^2+(-3)^2}}\\\\\r\n&amp;= \\frac{-2}{\\sqrt{3}\\sqrt{14}} = \\frac{-2}{\\sqrt{42}}.\\\\\\end{align*}\r\n[\/latex]<\/center>\r\nTherefore, [latex]{\\theta} = \\arccos{\\frac{-2}{\\sqrt{42}}}[\/latex] rad.<\/li>\r\n \t<li>Start by finding the value of the cosine of the angle between the vectors:<span data-type=\"newline\">\r\n<\/span><center>\r\n[latex]\r\n\\begin{align*}\r\n\\cos{\\theta} &amp;= \\frac{\\langle 2,5,6 \\rangle \\cdot \\langle -2,-4,4 \\rangle}{||\\langle 2,5,6 \\rangle|| \\cdot ||\\langle -2,-4,4 \\rangle||}\\\\\r\n&amp;= \\frac{2(-2)+(5)(-4)+(6)(4)}{\\sqrt{2^2+5^2+6^2}\\sqrt{(-2)^2+(-4)^2+4^2}}\\\\\r\n&amp;= \\frac{0}{\\sqrt{65}\\sqrt{36}} = 0.\\\\\\end{align*}\r\n[\/latex]<\/center>\r\nNow,[latex]\\cos{\\theta} = 0[\/latex] and\u00a0[latex]0 \\leq \\theta \\leq \\pi[\/latex], so\u00a0[latex]\\theta = \\frac{\\pi}{2}[\/latex].<\/li>\r\n<\/ol>\r\n[\/hidden-answer]\r\n\r\n<\/section>\r\n<h3 class=\"text-xl font-bold text-text-100 mt-1 -mb-0.5\">Interpreting Different Angles<\/h3>\r\n<p class=\"whitespace-normal break-words\">The value of [latex]\\cos \\theta[\/latex] tells us about the relationship between the vectors:<\/p>\r\n\r\n<ul class=\"[&amp;:not(:last-child)_ul]:pb-1 [&amp;:not(:last-child)_ol]:pb-1 list-disc space-y-2.5 pl-7\">\r\n \t<li class=\"whitespace-normal break-words\"><strong>Acute angle<\/strong> [latex](0 &lt; \\theta &lt; 90\u00b0)[\/latex]: [latex]\\cos \\theta &gt; 0[\/latex] (vectors point in \"similar\" directions)<\/li>\r\n \t<li class=\"whitespace-normal break-words\"><strong>Right angle<\/strong> [latex](\\theta = 90\u00b0)[\/latex]: [latex]\\cos \\theta = 0[\/latex] (vectors are perpendicular)<\/li>\r\n \t<li class=\"whitespace-normal break-words\"><strong>Obtuse angle<\/strong> [latex](90\u00b0 &lt; \\theta &lt; 180\u00b0)[\/latex]: [latex]\\cos \\theta &lt; 0[\/latex] (vectors point in \"opposite\" directions)<\/li>\r\n \t<li class=\"whitespace-normal break-words\"><strong>Same direction<\/strong> [latex](\\theta = 0\u00b0)[\/latex]: [latex]\\cos \\theta = 1[\/latex]<\/li>\r\n \t<li class=\"whitespace-normal break-words\"><strong>Opposite directions<\/strong> [latex](\\theta = 180\u00b0)[\/latex]: [latex]\\cos \\theta = -1[\/latex]<\/li>\r\n<\/ul>\r\nIf [latex]\\cos{\\theta} = 0[\/latex], then the vectors, when placed in standard position, form a right angle.\r\n\r\n[caption id=\"attachment_5075\" align=\"aligncenter\" width=\"671\"]<img class=\"size-full wp-image-5075\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5667\/2021\/08\/26215505\/Figure-2.46.jpg\" alt=\"This figure has 5 images. The first image has two vectors u and v. The angle between these two vectors is theta. Theta is an acute angle. The second image is has two vectors u and v. The angle between these vectors is theta. Theta is an obtuse angle. The third image is vectors u and v in opposite directions. The angle between u and v is a straight angle. The fourth image is u and v in the same direction. The fifth image is u and v with angle theta between them as a right angle.\" width=\"671\" height=\"524\" \/> Figure 3. (a) An acute angle has [latex]0&lt; \\cos{\\theta}&lt;1[\/latex]. (b) An obtuse angle has [latex]\u22121&lt;\\cos\\theta&lt;0[\/latex]. (c) A straight line has [latex]\\cos\\theta=\u22121[\/latex]. (d) If the vectors have the same direction, [latex]\\cos\\theta=1[\/latex]. (e) If the vectors are orthogonal (perpendicular), [latex]\\cos\\theta=0[\/latex][\/caption]\r\n<h3 class=\"text-xl font-bold text-text-100 mt-1 -mb-0.5\">Orthogonal Vectors<\/h3>\r\nThe right angle case is so important that it has special terminology and a simple test. Nonzero vectors [latex]\\mathbf{u}[\/latex] and [latex]\\mathbf{v}[\/latex] are <strong>orthogonal<\/strong> (perpendicular) if and only if [latex]\\mathbf{u} \\cdot \\mathbf{v} = 0[\/latex].\r\n\r\n<section class=\"textbox keyTakeaway\" aria-label=\"Key Takeaway\">\r\n<h3>orthogonal vectors<\/h3>\r\nThe nonzero vectors [latex]\\mathbf{u}[\/latex] and [latex]\\mathbf{v}[\/latex] are\u00a0<strong>orthogonal vectors<\/strong> if and only if [latex]\\mathbf{u} \\cdot \\mathbf{v} = 0[\/latex].\r\n\r\n<\/section><section class=\"textbox connectIt\">\r\n<p style=\"text-align: center;\"><strong>Proof<\/strong><\/p>\r\n\r\n\r\n<hr \/>\r\n<p id=\"fs-id1163723295937\">Let [latex]\\mathbf{u}[\/latex] and [latex]\\mathbf{v}[\/latex] be nonzero vectors, and let [latex]\\theta[\/latex] denote the angle between them. First, assume [latex]\\mathbf{u} \\cdot \\mathbf{v} = 0[\/latex]. Then<\/p>\r\n\r\n<center>[latex]||\\mathbf{u}||\\;||\\mathbf{v}||\\cos{\\theta} = 0[\/latex].<\/center>\r\n<p id=\"fs-id1163723296024\">However, [latex]||\\mathbf{u}|| \\neq 0[\/latex] and [latex]||\\mathbf{v}|| \\neq 0[\/latex], so we must have [latex]\\cos{\\theta} = 0[\/latex]. Hence, [latex]\\theta = 90^\\circ[\/latex], and the vectors are orthogonal.<\/p>\r\n<p id=\"fs-id1163723193058\">Now assume [latex]\\mathbf{u}[\/latex] and [latex]\\mathbf{v}[\/latex] are orthogonal. Then [latex]\\theta = 90^\\circ[\/latex] and we have<\/p>\r\n\r\n<center>[latex]\\mathbf{u} \\cdot \\mathbf{v} = ||\\mathbf{u}||\\;||\\mathbf{v}||\\cos{\\theta} = ||\\mathbf{u}||\\;||\\mathbf{v}||\\cos{90^\\circ} = ||\\mathbf{u}||\\;||\\mathbf{v}||(0) = 0[\/latex].<\/center>[latex]_\\blacksquare[\/latex]\r\n\r\n<\/section><section class=\"textbox proTip\" aria-label=\"Pro Tip\"><strong>Terminology:<\/strong>\u00a0We say vectors are <strong>orthogonal<\/strong>, lines are <strong>perpendicular<\/strong>, and surfaces have <strong>normal<\/strong> vectors. All three terms indicate 90\u00b0 angles, but context determines which to use.<\/section><section class=\"textbox example\" aria-label=\"Example\">Determine whether [latex]\\mathbf{p} = \\langle 1,0,5 \\rangle[\/latex] and [latex]\\mathbf{q} = \\langle 10,3,-2 \\rangle[\/latex] are orthogonal vectors.[reveal-answer q=\"934625143\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"934625143\"]\r\n<p id=\"fs-id1163723140417\">Using the definition, we need only check the dot product of the vectors:<\/p>\r\n\r\n<center>[latex]\\mathbf{p} \\cdot \\mathbf{q} = 1(10) +(0)(3) + (5)(-2) = 10+0-10 = 0[\/latex].<\/center>\r\n<p id=\"fs-id1163723140524\">Because [latex]\\mathbf{p} \\cdot \\mathbf{q} = 0[\/latex], the vectors are orthogonal (Figure 4).<\/p>\r\n\r\n[caption id=\"attachment_5076\" align=\"aligncenter\" width=\"500\"]<img class=\"size-full wp-image-5076\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5667\/2021\/08\/26215826\/Figure-2.47.jpg\" alt=\"This figure is the 3-dimensional coordinate system. There are two vectors in standard position. The vectors are labeled \u201cp\u201d and \u201cq.\u201d The angle between the vectors is a right angle.\" width=\"500\" height=\"465\" \/> Figure 4. Vectors [latex]{\\bf{p}}[\/latex] and [latex]{\\bf{q}}[\/latex] form a right angle when their initial points are aligned.[\/caption][\/hidden-answer]<\/section><section aria-label=\"Example\"><section class=\"textbox tryIt\" aria-label=\"Try It\">[ohm_question hide_question_numbers=1]328433[\/ohm_question]<\/section><\/section><section class=\"textbox example\" aria-label=\"Example\">\r\n<p id=\"fs-id1163723093514\">Let [latex]\\mathbf{v} = \\langle 2,3,3 \\rangle[\/latex]. Find the measures of the angles formed by the following vectors.<\/p>\r\n\r\n<ol id=\"fs-id1163723093549\" type=\"a\">\r\n \t<li>[latex]\\mathbf{v}[\/latex] and\u00a0[latex]\\mathbf{i}[\/latex]<\/li>\r\n \t<li>[latex]\\mathbf{v}[\/latex] and\u00a0[latex]\\mathbf{j}[\/latex]<\/li>\r\n \t<li>[latex]\\mathbf{v}[\/latex] and\u00a0[latex]\\mathbf{k}[\/latex]<\/li>\r\n<\/ol>\r\n[reveal-answer q=\"834690919\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"834690919\"]\r\n<ol id=\"fs-id1163723080236\" type=\"a\">\r\n \t<li>Let [latex]\\alpha[\/latex] be the angle formed by [latex]\\mathbf{v}[\/latex] and\u00a0[latex]\\mathbf{i}[\/latex]:\r\n<center>\r\n[latex]\r\n\\begin{align*}\r\n\\cos{\\alpha} &amp;= \\frac{\\mathbf{v} \\cdot \\mathbf{i} }{||\\mathbf{v}|| \\cdot ||\\mathbf{i}||}\\\\\r\n&amp;= \\frac{\\langle 2,3,3 \\rangle \\cdot \\langle 1,0,0 \\rangle}{\\sqrt{2^2+3^2+3^2}\\sqrt{1}}\\\\\r\n&amp;= \\frac{2}{\\sqrt{22}} \\end{align*}\r\n[\/latex]&nbsp;\r\n\r\n<\/center><center>\r\n[latex]\\alpha = \\arccos{\\frac{2}{\\sqrt{22}}} \\approx 1.130[\/latex] rad.<\/center><\/li>\r\n \t<li>Let [latex]\\beta[\/latex] represent the angle formed by [latex]\\mathbf{v}[\/latex] and\u00a0[latex]\\mathbf{j}[\/latex]:\r\n<center>\r\n[latex]\r\n\\begin{align*}\r\n\\cos{\\beta} &amp;= \\frac{\\mathbf{v} \\cdot \\mathbf{j} }{||\\mathbf{v}|| \\cdot ||\\mathbf{j}||}\\\\\r\n&amp;= \\frac{\\langle 2,3,3 \\rangle \\cdot \\langle 0,1,0 \\rangle}{\\sqrt{2^2+3^2+3^2}\\sqrt{1}}\\\\\r\n&amp;= \\frac{3}{\\sqrt{22}} =.\\\\\\end{align*}\r\n[\/latex]&nbsp;\r\n\r\n<\/center><center>\r\n[latex]\\beta = \\arccos{\\frac{3}{\\sqrt{22}}} \\approx 0.877[\/latex] rad.<\/center><\/li>\r\n \t<li>Let [latex]\\gamma[\/latex] represent the angle formed by [latex]\\mathbf{v}[\/latex] and\u00a0[latex]\\mathbf{k}[\/latex]:<center>\r\n[latex]\r\n\\begin{align*}\r\n\\cos{\\gamma} &amp;= \\frac{\\mathbf{v} \\cdot \\mathbf{k} }{||\\mathbf{v}|| \\cdot ||\\mathbf{k}||}\\\\\r\n&amp;= \\frac{\\langle 2,3,3 \\rangle \\cdot \\langle 0,0,1\\rangle}{\\sqrt{2^2+3^2+3^2}\\sqrt{1}}\\\\\r\n&amp;= \\frac{3}{\\sqrt{22}} .\\\\\\end{align*}\r\n[\/latex]&nbsp;\r\n\r\n<\/center><center>\r\n[latex]\\gamma = \\arccos{\\frac{3}{\\sqrt{22}}} \\approx 0.877[\/latex] rad.<\/center><\/li>\r\n<\/ol>\r\n[\/hidden-answer]\r\n\r\n<\/section>\r\n<h3 class=\"text-xl font-bold text-text-100 mt-1 -mb-0.5\">Direction Angles and Direction Cosines<\/h3>\r\n<p class=\"whitespace-normal break-words\">The angles a vector makes with the coordinate axes are called <strong>direction angles<\/strong>. These are crucial in applications like engineering, where precise angular measurements matter\u2014a small error in a rocket's launch angle can cause it to miss its target by hundreds of miles.<\/p>\r\nDirection angles are often calculated by using the dot product and the cosines of the angles, called the direction cosines. Therefore, we define both these angles and their cosines.\r\n\r\n<section class=\"textbox keyTakeaway\" aria-label=\"Key Takeaway\">\r\n<h3>direction angles<\/h3>\r\nThe <strong>direction angles<\/strong> of a vector are the angles it makes with the positive [latex]x[\/latex]-, [latex]y[\/latex]-, and [latex]z[\/latex]-axes. The <strong>direction cosines<\/strong> are the cosines of these angles.\r\n\r\n<\/section>[caption id=\"attachment_5118\" align=\"aligncenter\" width=\"373\"]<img class=\"size-full wp-image-5118\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5667\/2021\/08\/27152927\/Figure-2.48.jpg\" alt=\"This figure is the first octant of the 3-dimensional coordinate system. It has the standard unit vectors drawn on axes x, y, and z. There is also a vector drawn in the first octant labeled \u201cv.\u201d The angle between the x-axis and v is labeled \u201calpha.\u201d The angle between the y-axis and vector v is labeled \u201cbeta.\u201d The angle between the z-axis and vector v is labeled \u201cgamma.\u201d\" width=\"373\" height=\"340\" \/> Figure 5. Angle [latex]\\alpha[\/latex] is formed by vector [latex]{\\bf{v}}[\/latex] and unit vector [latex]{\\bf{i}}[\/latex]. Angle [latex]\\beta[\/latex] is formed by vector [latex]{\\bf{v}}[\/latex] and unit vector [latex]{\\bf{j}}[\/latex]. Angle [latex]\\gamma[\/latex] is formed by vector [latex]{\\bf{v}}[\/latex] and unit vector [latex]{\\bf{k}}[\/latex].[\/caption]&nbsp;\r\n\r\n<section class=\"textbox example\" aria-label=\"Example\">For vector [latex]\\mathbf{v} = \\langle 2,3,3 \\rangle[\/latex], the direction cosines are [latex]\\cos \\alpha = \\frac{2}{\\sqrt{22}}[\/latex], [latex]\\cos \\beta = \\frac{3}{\\sqrt{22}}[\/latex], and [latex]\\cos \\gamma = \\frac{3}{\\sqrt{22}}[\/latex], giving direction angles [latex]\\alpha = 1.130[\/latex] rad, [latex]\\beta = 0.877[\/latex] rad, and [latex]\\gamma = 0.877[\/latex] rad.<\/section>","rendered":"<h2 data-type=\"title\">Using the Dot Product to Find the Angle between Two Vectors<\/h2>\n<p id=\"fs-id1163723246791\">When you place two nonzero vectors in standard position (starting from the origin), they form an angle between them. The dot product provides a powerful way to find this angle.<\/p>\n<figure id=\"attachment_5071\" aria-describedby=\"caption-attachment-5071\" style=\"width: 277px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-5071\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5667\/2021\/08\/26211719\/Figure-2.44.jpg\" alt=\"This figure is two vectors with the same initial point. The first vector is labeled \u201cu,\u201d and the second vector is labeled \u201cv.\u201d The angle between the two vectors is labeled \u201ctheta.\u201d\" width=\"277\" height=\"157\" \/><figcaption id=\"caption-attachment-5071\" class=\"wp-caption-text\">Figure 1. Let [latex]\u03b8[\/latex] be the angle between two nonzero vectors [latex]{\\bf{u}}[\/latex] and [latex]{\\bf{v}}[\/latex] such that [latex]0\u2264\u03b8\u2264\u03c0[\/latex].<\/figcaption><\/figure>\n<p>The dot product has both algebraic and geometric interpretations. We&#8217;ve seen the algebraic version (multiply components and add). The geometric version connects the dot product to angles.<\/p>\n<section class=\"textbox keyTakeaway\" aria-label=\"Key Takeaway\">\n<h3>geometric dot product formula<\/h3>\n<p id=\"fs-id1163724054271\">The dot product of two vectors is the product of the magnitude of each vector and the cosine of the angle between them:<\/p>\n<div style=\"text-align: center;\">[latex]\\mathbf{u} \\cdot \\mathbf{v} = ||\\mathbf{u} ||\\;||\\mathbf{v} ||\\cos{\\theta}[\/latex].<\/div>\n<\/section>\n<section class=\"textbox connectIt\">\n<p style=\"text-align: center;\"><strong>Proof<\/strong><\/p>\n<hr \/>\n<p>Place vectors [latex]\\mathbf{u}[\/latex] and [latex]\\mathbf{v}[\/latex] in standard position and consider the vector [latex]\\mathbf{v} - \\mathbf{u}[\/latex] (Figure 2). These three vectors form a triangle with side lengths [latex]||\\mathbf{u}||[\/latex],\u00a0[latex]||\\mathbf{v}||[\/latex], and\u00a0[latex]||\\mathbf{v} - \\mathbf{u}||[\/latex].<\/p>\n<figure id=\"attachment_5073\" aria-describedby=\"caption-attachment-5073\" style=\"width: 277px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-5073\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5667\/2021\/08\/26212632\/Figure-2.45.jpg\" alt=\"This figure is two vectors with the same initial point. The first vector is labeled \u201cu,\u201d and the second vector is labeled \u201cv.\u201d The angle between the two vectors is labeled \u201ctheta.\u201d There is also a third vector from the terminal point of vector u to the terminal point of vector v. It is labeled \u201cv \u2013 u.\u201d\" width=\"277\" height=\"158\" \/><figcaption id=\"caption-attachment-5073\" class=\"wp-caption-text\">Figure 2. The lengths of the sides of the triangle are given by the magnitudes of the vectors that form the triangle.<\/figcaption><\/figure>\n<p id=\"fs-id1163724054158\">The law of cosines describes the relationship among the side lengths of the triangle and the angle [latex]\\theta[\/latex]. Applying the law of cosines here gives<\/p>\n<div style=\"text-align: center;\">[latex]||\\mathbf{v} - \\mathbf{u}||^2 = ||\\mathbf{u}||^2 + ||\\mathbf{v}||^2 - 2||\\mathbf{u}||\\;||\\mathbf{v}||\\cos{\\theta}[\/latex].<\/div>\n<p id=\"fs-id1163724085758\">The dot product provides a way to rewrite the left side of this equation:<\/p>\n<div style=\"text-align: center;\">\n[latex]\\begin{align*}  ||\\mathbf{v} - \\mathbf{u}||^2 &= (\\mathbf{v} - \\mathbf{u}) \\cdot (\\mathbf{v} - \\mathbf{u})\\\\  &= (\\mathbf{v} - \\mathbf{u}) \\cdot \\mathbf{v}-(\\mathbf{v} - \\mathbf{u}) \\cdot \\mathbf{u}\\\\  &= \\mathbf{v} \\cdot \\mathbf{v} - \\mathbf{u} \\cdot \\mathbf{v} - \\mathbf{v} \\cdot \\mathbf{u}+\\mathbf{u} \\cdot \\mathbf{u}\\\\  &= \\mathbf{v} \\cdot \\mathbf{v} - \\mathbf{u} \\cdot \\mathbf{v} - \\mathbf{u} \\cdot \\mathbf{v}+\\mathbf{u} \\cdot \\mathbf{u}\\\\  &= ||\\mathbf{v}||^2 - 2 \\mathbf{u} \\cdot \\mathbf{v} + ||\\mathbf{u}||^2.\\\\  \\end{align*}[\/latex]<\/div>\n<p id=\"fs-id1163724104874\">Substituting into the law of cosines yields<\/p>\n<div style=\"text-align: center;\">[latex]\\begin{align*}  ||\\mathbf{v} - \\mathbf{u}||^2 &= ||\\mathbf{u}||^2 + ||\\mathbf{v}||^2 - 2||\\mathbf{u}||\\;||\\mathbf{v}||\\cos{\\theta}\\\\  ||\\mathbf{v}||^2 - 2 \\mathbf{u} \\cdot \\mathbf{v} + ||\\mathbf{u}||^2 &= ||\\mathbf{u}||^2 + ||\\mathbf{v}||^2 - 2||\\mathbf{u}||\\;||\\mathbf{v}||\\cos{\\theta}\\\\  - 2 \\mathbf{u} \\cdot \\mathbf{v} &= - 2||\\mathbf{u}||\\;||\\mathbf{v}||\\cos{\\theta}\\\\  \\mathbf{u} \\cdot \\mathbf{v} &= ||\\mathbf{u}||\\;||\\mathbf{v}||\\cos{\\theta}.\\\\  \\end{align*}[\/latex]<\/div>\n<p>[latex]_\\blacksquare[\/latex]<\/p>\n<\/section>\n<h3 class=\"text-xl font-bold text-text-100 mt-1 -mb-0.5\">Finding Angles Between Vectors<\/h3>\n<p class=\"whitespace-normal break-words\">We can rearrange the geometric formula to solve for the angle:<\/p>\n<p class=\"whitespace-normal break-words\" style=\"text-align: center;\">[latex]\\cos \\theta = \\frac{\\mathbf{u} \\cdot \\mathbf{v}}{||\\mathbf{u}|| , ||\\mathbf{v}||}[\/latex]<\/p>\n<p class=\"whitespace-normal break-words\">Since we measure the smallest angle between vectors, we have [latex]0\u00b0 \\leq \\theta \\leq 180\u00b0[\/latex] (or [latex]0 \\leq \\theta \\leq \\pi[\/latex] radians). The inverse cosine function is unique over this range, so we can determine [latex]\\theta[\/latex] precisely.<\/p>\n<section class=\"textbox example\" aria-label=\"Example\">\n<p id=\"fs-id1163724080398\">Find the measure of the angle between each pair of vectors.<\/p>\n<ol id=\"fs-id1163724080401\" type=\"a\">\n<li>[latex]\\mathbf{i} + \\mathbf{j} + \\mathbf{k}[\/latex] and\u00a0[latex]2\\mathbf{i} - \\mathbf{j} - 3\\mathbf{k}[\/latex]<\/li>\n<li>[latex]\\langle 2,5,6 \\rangle[\/latex] and\u00a0[latex]\\langle -2,-4,4 \\rangle[\/latex]<\/li>\n<\/ol>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q723893215\">Show Solution<\/button><\/p>\n<div id=\"q723893215\" class=\"hidden-answer\" style=\"display: none\">\n<ol id=\"fs-id1163724080485\" type=\"a\">\n<li>To find the cosine of the angle formed by the two vectors, substitute the components of the vectors into\u00a0the rearranged Dot Product:\n<div style=\"text-align: center;\">\n[latex]\\begin{align*}  \\cos{\\theta} &= \\frac{(\\mathbf{i} + \\mathbf{j} + \\mathbf{k}) \\cdot (2\\mathbf{i} - \\mathbf{j} - 3\\mathbf{k})}{||\\mathbf{i} + \\mathbf{j} + \\mathbf{k}|| \\cdot ||2\\mathbf{i} - \\mathbf{j} - 3\\mathbf{k}||}\\\\  &= \\frac{1(2)+(1)(-1)+(1)(-3)}{\\sqrt{1^2+1^2+1^2}\\sqrt{2^2+(-1)^2+(-3)^2}}\\\\  &= \\frac{-2}{\\sqrt{3}\\sqrt{14}} = \\frac{-2}{\\sqrt{42}}.\\\\\\end{align*}[\/latex]<\/div>\n<p>Therefore, [latex]{\\theta} = \\arccos{\\frac{-2}{\\sqrt{42}}}[\/latex] rad.<\/li>\n<li>Start by finding the value of the cosine of the angle between the vectors:<span data-type=\"newline\"><br \/>\n<\/span><\/p>\n<div style=\"text-align: center;\">\n[latex]\\begin{align*}  \\cos{\\theta} &= \\frac{\\langle 2,5,6 \\rangle \\cdot \\langle -2,-4,4 \\rangle}{||\\langle 2,5,6 \\rangle|| \\cdot ||\\langle -2,-4,4 \\rangle||}\\\\  &= \\frac{2(-2)+(5)(-4)+(6)(4)}{\\sqrt{2^2+5^2+6^2}\\sqrt{(-2)^2+(-4)^2+4^2}}\\\\  &= \\frac{0}{\\sqrt{65}\\sqrt{36}} = 0.\\\\\\end{align*}[\/latex]<\/div>\n<p>Now,[latex]\\cos{\\theta} = 0[\/latex] and\u00a0[latex]0 \\leq \\theta \\leq \\pi[\/latex], so\u00a0[latex]\\theta = \\frac{\\pi}{2}[\/latex].<\/li>\n<\/ol>\n<\/div>\n<\/div>\n<\/section>\n<h3 class=\"text-xl font-bold text-text-100 mt-1 -mb-0.5\">Interpreting Different Angles<\/h3>\n<p class=\"whitespace-normal break-words\">The value of [latex]\\cos \\theta[\/latex] tells us about the relationship between the vectors:<\/p>\n<ul class=\"[&amp;:not(:last-child)_ul]:pb-1 [&amp;:not(:last-child)_ol]:pb-1 list-disc space-y-2.5 pl-7\">\n<li class=\"whitespace-normal break-words\"><strong>Acute angle<\/strong> [latex](0 < \\theta < 90\u00b0)[\/latex]: [latex]\\cos \\theta > 0[\/latex] (vectors point in &#8220;similar&#8221; directions)<\/li>\n<li class=\"whitespace-normal break-words\"><strong>Right angle<\/strong> [latex](\\theta = 90\u00b0)[\/latex]: [latex]\\cos \\theta = 0[\/latex] (vectors are perpendicular)<\/li>\n<li class=\"whitespace-normal break-words\"><strong>Obtuse angle<\/strong> [latex](90\u00b0 < \\theta < 180\u00b0)[\/latex]: [latex]\\cos \\theta < 0[\/latex] (vectors point in &#8220;opposite&#8221; directions)<\/li>\n<li class=\"whitespace-normal break-words\"><strong>Same direction<\/strong> [latex](\\theta = 0\u00b0)[\/latex]: [latex]\\cos \\theta = 1[\/latex]<\/li>\n<li class=\"whitespace-normal break-words\"><strong>Opposite directions<\/strong> [latex](\\theta = 180\u00b0)[\/latex]: [latex]\\cos \\theta = -1[\/latex]<\/li>\n<\/ul>\n<p>If [latex]\\cos{\\theta} = 0[\/latex], then the vectors, when placed in standard position, form a right angle.<\/p>\n<figure id=\"attachment_5075\" aria-describedby=\"caption-attachment-5075\" style=\"width: 671px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-5075\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5667\/2021\/08\/26215505\/Figure-2.46.jpg\" alt=\"This figure has 5 images. The first image has two vectors u and v. The angle between these two vectors is theta. Theta is an acute angle. The second image is has two vectors u and v. The angle between these vectors is theta. Theta is an obtuse angle. The third image is vectors u and v in opposite directions. The angle between u and v is a straight angle. The fourth image is u and v in the same direction. The fifth image is u and v with angle theta between them as a right angle.\" width=\"671\" height=\"524\" \/><figcaption id=\"caption-attachment-5075\" class=\"wp-caption-text\">Figure 3. (a) An acute angle has [latex]0&lt; \\cos{\\theta}&lt;1[\/latex]. (b) An obtuse angle has [latex]\u22121&lt;\\cos\\theta&lt;0[\/latex]. (c) A straight line has [latex]\\cos\\theta=\u22121[\/latex]. (d) If the vectors have the same direction, [latex]\\cos\\theta=1[\/latex]. (e) If the vectors are orthogonal (perpendicular), [latex]\\cos\\theta=0[\/latex]<\/figcaption><\/figure>\n<h3 class=\"text-xl font-bold text-text-100 mt-1 -mb-0.5\">Orthogonal Vectors<\/h3>\n<p>The right angle case is so important that it has special terminology and a simple test. Nonzero vectors [latex]\\mathbf{u}[\/latex] and [latex]\\mathbf{v}[\/latex] are <strong>orthogonal<\/strong> (perpendicular) if and only if [latex]\\mathbf{u} \\cdot \\mathbf{v} = 0[\/latex].<\/p>\n<section class=\"textbox keyTakeaway\" aria-label=\"Key Takeaway\">\n<h3>orthogonal vectors<\/h3>\n<p>The nonzero vectors [latex]\\mathbf{u}[\/latex] and [latex]\\mathbf{v}[\/latex] are\u00a0<strong>orthogonal vectors<\/strong> if and only if [latex]\\mathbf{u} \\cdot \\mathbf{v} = 0[\/latex].<\/p>\n<\/section>\n<section class=\"textbox connectIt\">\n<p style=\"text-align: center;\"><strong>Proof<\/strong><\/p>\n<hr \/>\n<p id=\"fs-id1163723295937\">Let [latex]\\mathbf{u}[\/latex] and [latex]\\mathbf{v}[\/latex] be nonzero vectors, and let [latex]\\theta[\/latex] denote the angle between them. First, assume [latex]\\mathbf{u} \\cdot \\mathbf{v} = 0[\/latex]. Then<\/p>\n<div style=\"text-align: center;\">[latex]||\\mathbf{u}||\\;||\\mathbf{v}||\\cos{\\theta} = 0[\/latex].<\/div>\n<p id=\"fs-id1163723296024\">However, [latex]||\\mathbf{u}|| \\neq 0[\/latex] and [latex]||\\mathbf{v}|| \\neq 0[\/latex], so we must have [latex]\\cos{\\theta} = 0[\/latex]. Hence, [latex]\\theta = 90^\\circ[\/latex], and the vectors are orthogonal.<\/p>\n<p id=\"fs-id1163723193058\">Now assume [latex]\\mathbf{u}[\/latex] and [latex]\\mathbf{v}[\/latex] are orthogonal. Then [latex]\\theta = 90^\\circ[\/latex] and we have<\/p>\n<div style=\"text-align: center;\">[latex]\\mathbf{u} \\cdot \\mathbf{v} = ||\\mathbf{u}||\\;||\\mathbf{v}||\\cos{\\theta} = ||\\mathbf{u}||\\;||\\mathbf{v}||\\cos{90^\\circ} = ||\\mathbf{u}||\\;||\\mathbf{v}||(0) = 0[\/latex].<\/div>\n<p>[latex]_\\blacksquare[\/latex]<\/p>\n<\/section>\n<section class=\"textbox proTip\" aria-label=\"Pro Tip\"><strong>Terminology:<\/strong>\u00a0We say vectors are <strong>orthogonal<\/strong>, lines are <strong>perpendicular<\/strong>, and surfaces have <strong>normal<\/strong> vectors. All three terms indicate 90\u00b0 angles, but context determines which to use.<\/section>\n<section class=\"textbox example\" aria-label=\"Example\">Determine whether [latex]\\mathbf{p} = \\langle 1,0,5 \\rangle[\/latex] and [latex]\\mathbf{q} = \\langle 10,3,-2 \\rangle[\/latex] are orthogonal vectors.<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q934625143\">Show Solution<\/button><\/p>\n<div id=\"q934625143\" class=\"hidden-answer\" style=\"display: none\">\n<p id=\"fs-id1163723140417\">Using the definition, we need only check the dot product of the vectors:<\/p>\n<div style=\"text-align: center;\">[latex]\\mathbf{p} \\cdot \\mathbf{q} = 1(10) +(0)(3) + (5)(-2) = 10+0-10 = 0[\/latex].<\/div>\n<p id=\"fs-id1163723140524\">Because [latex]\\mathbf{p} \\cdot \\mathbf{q} = 0[\/latex], the vectors are orthogonal (Figure 4).<\/p>\n<figure id=\"attachment_5076\" aria-describedby=\"caption-attachment-5076\" style=\"width: 500px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-5076\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5667\/2021\/08\/26215826\/Figure-2.47.jpg\" alt=\"This figure is the 3-dimensional coordinate system. There are two vectors in standard position. The vectors are labeled \u201cp\u201d and \u201cq.\u201d The angle between the vectors is a right angle.\" width=\"500\" height=\"465\" \/><figcaption id=\"caption-attachment-5076\" class=\"wp-caption-text\">Figure 4. Vectors [latex]{\\bf{p}}[\/latex] and [latex]{\\bf{q}}[\/latex] form a right angle when their initial points are aligned.<\/figcaption><\/figure>\n<\/div>\n<\/div>\n<\/section>\n<section aria-label=\"Example\">\n<section class=\"textbox tryIt\" aria-label=\"Try It\"><iframe loading=\"lazy\" id=\"ohm328433\" class=\"resizable\" src=\"https:\/\/ohm.lumenlearning.com\/multiembedq.php?id=328433&theme=lumen&iframe_resize_id=ohm328433&source=tnh\" width=\"100%\" height=\"150\"><\/iframe><\/section>\n<\/section>\n<section class=\"textbox example\" aria-label=\"Example\">\n<p id=\"fs-id1163723093514\">Let [latex]\\mathbf{v} = \\langle 2,3,3 \\rangle[\/latex]. Find the measures of the angles formed by the following vectors.<\/p>\n<ol id=\"fs-id1163723093549\" type=\"a\">\n<li>[latex]\\mathbf{v}[\/latex] and\u00a0[latex]\\mathbf{i}[\/latex]<\/li>\n<li>[latex]\\mathbf{v}[\/latex] and\u00a0[latex]\\mathbf{j}[\/latex]<\/li>\n<li>[latex]\\mathbf{v}[\/latex] and\u00a0[latex]\\mathbf{k}[\/latex]<\/li>\n<\/ol>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q834690919\">Show Solution<\/button><\/p>\n<div id=\"q834690919\" class=\"hidden-answer\" style=\"display: none\">\n<ol id=\"fs-id1163723080236\" type=\"a\">\n<li>Let [latex]\\alpha[\/latex] be the angle formed by [latex]\\mathbf{v}[\/latex] and\u00a0[latex]\\mathbf{i}[\/latex]:\n<div style=\"text-align: center;\">\n[latex]\\begin{align*}  \\cos{\\alpha} &= \\frac{\\mathbf{v} \\cdot \\mathbf{i} }{||\\mathbf{v}|| \\cdot ||\\mathbf{i}||}\\\\  &= \\frac{\\langle 2,3,3 \\rangle \\cdot \\langle 1,0,0 \\rangle}{\\sqrt{2^2+3^2+3^2}\\sqrt{1}}\\\\  &= \\frac{2}{\\sqrt{22}} \\end{align*}[\/latex]&nbsp;<\/p>\n<\/div>\n<div style=\"text-align: center;\">\n[latex]\\alpha = \\arccos{\\frac{2}{\\sqrt{22}}} \\approx 1.130[\/latex] rad.<\/div>\n<\/li>\n<li>Let [latex]\\beta[\/latex] represent the angle formed by [latex]\\mathbf{v}[\/latex] and\u00a0[latex]\\mathbf{j}[\/latex]:\n<div style=\"text-align: center;\">\n[latex]\\begin{align*}  \\cos{\\beta} &= \\frac{\\mathbf{v} \\cdot \\mathbf{j} }{||\\mathbf{v}|| \\cdot ||\\mathbf{j}||}\\\\  &= \\frac{\\langle 2,3,3 \\rangle \\cdot \\langle 0,1,0 \\rangle}{\\sqrt{2^2+3^2+3^2}\\sqrt{1}}\\\\  &= \\frac{3}{\\sqrt{22}} =.\\\\\\end{align*}[\/latex]&nbsp;<\/p>\n<\/div>\n<div style=\"text-align: center;\">\n[latex]\\beta = \\arccos{\\frac{3}{\\sqrt{22}}} \\approx 0.877[\/latex] rad.<\/div>\n<\/li>\n<li>Let [latex]\\gamma[\/latex] represent the angle formed by [latex]\\mathbf{v}[\/latex] and\u00a0[latex]\\mathbf{k}[\/latex]:\n<div style=\"text-align: center;\">\n[latex]\\begin{align*}  \\cos{\\gamma} &= \\frac{\\mathbf{v} \\cdot \\mathbf{k} }{||\\mathbf{v}|| \\cdot ||\\mathbf{k}||}\\\\  &= \\frac{\\langle 2,3,3 \\rangle \\cdot \\langle 0,0,1\\rangle}{\\sqrt{2^2+3^2+3^2}\\sqrt{1}}\\\\  &= \\frac{3}{\\sqrt{22}} .\\\\\\end{align*}[\/latex]&nbsp;<\/p>\n<\/div>\n<div style=\"text-align: center;\">\n[latex]\\gamma = \\arccos{\\frac{3}{\\sqrt{22}}} \\approx 0.877[\/latex] rad.<\/div>\n<\/li>\n<\/ol>\n<\/div>\n<\/div>\n<\/section>\n<h3 class=\"text-xl font-bold text-text-100 mt-1 -mb-0.5\">Direction Angles and Direction Cosines<\/h3>\n<p class=\"whitespace-normal break-words\">The angles a vector makes with the coordinate axes are called <strong>direction angles<\/strong>. These are crucial in applications like engineering, where precise angular measurements matter\u2014a small error in a rocket&#8217;s launch angle can cause it to miss its target by hundreds of miles.<\/p>\n<p>Direction angles are often calculated by using the dot product and the cosines of the angles, called the direction cosines. Therefore, we define both these angles and their cosines.<\/p>\n<section class=\"textbox keyTakeaway\" aria-label=\"Key Takeaway\">\n<h3>direction angles<\/h3>\n<p>The <strong>direction angles<\/strong> of a vector are the angles it makes with the positive [latex]x[\/latex]-, [latex]y[\/latex]-, and [latex]z[\/latex]-axes. The <strong>direction cosines<\/strong> are the cosines of these angles.<\/p>\n<\/section>\n<figure id=\"attachment_5118\" aria-describedby=\"caption-attachment-5118\" style=\"width: 373px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-5118\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5667\/2021\/08\/27152927\/Figure-2.48.jpg\" alt=\"This figure is the first octant of the 3-dimensional coordinate system. It has the standard unit vectors drawn on axes x, y, and z. There is also a vector drawn in the first octant labeled \u201cv.\u201d The angle between the x-axis and v is labeled \u201calpha.\u201d The angle between the y-axis and vector v is labeled \u201cbeta.\u201d The angle between the z-axis and vector v is labeled \u201cgamma.\u201d\" width=\"373\" height=\"340\" \/><figcaption id=\"caption-attachment-5118\" class=\"wp-caption-text\">Figure 5. Angle [latex]\\alpha[\/latex] is formed by vector [latex]{\\bf{v}}[\/latex] and unit vector [latex]{\\bf{i}}[\/latex]. Angle [latex]\\beta[\/latex] is formed by vector [latex]{\\bf{v}}[\/latex] and unit vector [latex]{\\bf{j}}[\/latex]. Angle [latex]\\gamma[\/latex] is formed by vector [latex]{\\bf{v}}[\/latex] and unit vector [latex]{\\bf{k}}[\/latex].<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<section class=\"textbox example\" aria-label=\"Example\">For vector [latex]\\mathbf{v} = \\langle 2,3,3 \\rangle[\/latex], the direction cosines are [latex]\\cos \\alpha = \\frac{2}{\\sqrt{22}}[\/latex], [latex]\\cos \\beta = \\frac{3}{\\sqrt{22}}[\/latex], and [latex]\\cos \\gamma = \\frac{3}{\\sqrt{22}}[\/latex], giving direction angles [latex]\\alpha = 1.130[\/latex] rad, [latex]\\beta = 0.877[\/latex] rad, and [latex]\\gamma = 0.877[\/latex] rad.<\/section>\n","protected":false},"author":15,"menu_order":17,"template":"","meta":{"_candela_citation":"[]","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-877","chapter","type-chapter","status-publish","hentry"],"part":420,"module-header":"- Select Header -","content_attributions":[],"internal_book_links":[],"video_content":null,"cc_video_embed_content":{"cc_scripts":"","media_targets":[]},"try_it_collection":null,"_links":{"self":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/chapters\/877","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/wp\/v2\/users\/15"}],"version-history":[{"count":6,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/chapters\/877\/revisions"}],"predecessor-version":[{"id":2908,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/chapters\/877\/revisions\/2908"}],"part":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/parts\/420"}],"metadata":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/chapters\/877\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/wp\/v2\/media?parent=877"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/chapter-type?post=877"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/wp\/v2\/contributor?post=877"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/wp\/v2\/license?post=877"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}