{"id":915,"date":"2025-10-14T15:55:22","date_gmt":"2025-10-14T15:55:22","guid":{"rendered":"https:\/\/content.one.lumenlearning.com\/calculus3\/?post_type=chapter&#038;p=915"},"modified":"2025-10-22T14:29:29","modified_gmt":"2025-10-22T14:29:29","slug":"lines-and-planes-in-space-learn-it-2","status":"publish","type":"chapter","link":"https:\/\/content.one.lumenlearning.com\/calculus3\/chapter\/lines-and-planes-in-space-learn-it-2\/","title":{"raw":"Lines and Planes in Space: Learn It 2","rendered":"Lines and Planes in Space: Learn It 2"},"content":{"raw":"<h2 data-type=\"title\">Distance between a Point and a Line<\/h2>\r\n<p class=\"whitespace-normal break-words\">You already know how to calculate the distance between two points in space. Now we expand this to find the distance between a point and an entire line. This calculation has many practical applications. Builders must consider \"setback\" requirements to ensure structures maintain proper distance from property lines. Airlines need to calculate distances between populated areas and proposed flight paths.<\/p>\r\n\r\n<div data-type=\"example\">\r\n<p class=\"whitespace-normal break-words\">The <strong>distance from a point to a line<\/strong> is defined as the length of the shortest possible segment connecting the point to the line. This shortest segment is always perpendicular to the line.<\/p>\r\n<p class=\"whitespace-normal break-words\">Let [latex]L[\/latex] be a line and [latex]M[\/latex] be any point not on the line. The distance [latex]d[\/latex] from [latex]M[\/latex] to [latex]L[\/latex] is the length of line segment [latex]\\overline{MP}[\/latex], where [latex]P[\/latex] is the point on [latex]L[\/latex] such that [latex]\\overline{MP}[\/latex] is perpendicular to [latex]L[\/latex].<\/p>\r\n\r\n<\/div>\r\n<div data-type=\"example\">[caption id=\"attachment_5160\" align=\"aligncenter\" width=\"382\"]<img class=\"size-full wp-image-5160\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5667\/2021\/08\/27212154\/2.64.jpg\" alt=\"This figure has two line segments. The first line is labeled \u201cL\u201d and has point P on the segment. The second line segment is drawn from point P to point M and is perpendicular to line L. The second line segment is labeled \u201cd.\u201d\" width=\"382\" height=\"210\" \/> Figure 2. The distance from point [latex]M[\/latex] to line [latex]L[\/latex] is the length of [latex]\\overline{MP}[\/latex].[\/caption]<\/div>\r\n<div data-type=\"example\"><\/div>\r\n<div data-type=\"example\">\r\n<p class=\"whitespace-normal break-words\">In three dimensions, there's no obvious way to identify which point on the line creates the perpendicular segment. We solve this by selecting an arbitrary point on the line and using vector properties.<\/p>\r\n<p class=\"whitespace-normal break-words\">Let [latex]P[\/latex] be any point on line [latex]L[\/latex] and let [latex]\\textbf{v}[\/latex] be a direction vector for [latex]L[\/latex]. For any point [latex]M[\/latex] not on the line, consider the vectors [latex]\\overrightarrow{PM}[\/latex] and [latex]\\textbf{v}[\/latex].<\/p>\r\n\r\n<\/div>\r\n<div data-type=\"example\"><\/div>\r\n<div data-type=\"example\">[caption id=\"attachment_5162\" align=\"aligncenter\" width=\"438\"]<img class=\"size-full wp-image-5162\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5667\/2021\/08\/27212515\/2.65.jpg\" alt=\"This figure has a line segment labeled \u201cL.\u201d On the line segment L there is point P. There is a vector drawn from point P to another point M. Also, from M there is a line segment drawn to line L. This segment is perpendicular to line L. There is also a vector labeled \u201cv\u201d on line segment L. A parallelogram has been formed with vector v, line segment P M, and two other segments back to line L.\" width=\"438\" height=\"234\" \/> Figure 3. Vectors [latex]\\overrightarrow{PM}[\/latex] and [latex]\\textbf v[\/latex] form two sides of a parallelogram with base [latex]||{\\bf{v}}||[\/latex] and height [latex]d[\/latex], which is the distance between a line and a point in space.[\/caption]<\/div>\r\n<div data-type=\"example\"><\/div>\r\n<div data-type=\"example\">\r\n<p class=\"whitespace-normal break-words\">These vectors form two sides of a parallelogram. From the properties of cross products and geometry:<\/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\">The area of this parallelogram equals [latex]||\\overrightarrow{PM} \\times \\textbf{v}||[\/latex]<\/li>\r\n \t<li class=\"whitespace-normal break-words\">The area also equals base \u00d7 height = [latex]||\\textbf{v}|| \\cdot d[\/latex]<\/li>\r\n<\/ul>\r\n<p class=\"whitespace-pre-wrap break-words\">Setting these equal gives us:<\/p>\r\n<p class=\"whitespace-pre-wrap break-words\" style=\"text-align: center;\">[latex]||\\overrightarrow{PM} \\times \\textbf{v}|| = ||\\textbf{v}|| \\cdot d[\/latex]<\/p>\r\n<p class=\"whitespace-normal break-words\">We can use this formula to find a general formula for the distance between a line in space and any point not on the line.<\/p>\r\n\r\n<section class=\"textbox keyTakeaway\" aria-label=\"Key Takeaway\">\r\n<h3>distance from a point to a line<\/h3>\r\n<p id=\"fs-id1163723987376\">Let [latex]L[\/latex] be a line in space passing through point [latex]P[\/latex] with direction vector [latex]\\textbf v[\/latex]. If [latex]M[\/latex] is any point not on [latex]L[\/latex], then the distance from [latex]M[\/latex] to [latex]L[\/latex] is<\/p>\r\n<p style=\"text-align: center;\">[latex]d=\\frac{||\\overrightarrow{PM}\\times{\\bf{v}}||}{||{\\bf{v}}||}[\/latex].<\/p>\r\n\r\n<\/section><section class=\"textbox connectIt\" aria-label=\"Connect It\"><strong>Why This Works<\/strong>: The cross product [latex]\\overrightarrow{PM} \\times \\textbf{v}[\/latex] gives us the area of a parallelogram. Dividing by the base [latex]||\\textbf{v}||[\/latex] isolates the height, which is exactly the perpendicular distance we want.\r\n\r\n<\/section><section class=\"textbox example\" aria-label=\"Example\">Find the distance between t point [latex]M=(1, 1, 3)[\/latex] and line [latex]\\frac{x-3}4=\\frac{y+1}2=z-3[\/latex].[reveal-answer q=\"483752783\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"483752783\"]\r\n<p id=\"fs-id1163723304185\">From the symmetric equations of the line, we know that vector [latex]{\\bf{v}}\\langle4,2,1\\rangle[\/latex] is a direction vector for the line. Setting the symmetric equations of the line equal to zero, we see that point [latex]P(3, -1 , 3)[\/latex] lies on the line. Then,<\/p>\r\n<p style=\"text-align: center;\">[latex]\\overrightarrow{PM}=\\langle1-3,1-(-1),3-3\\rangle=\\langle-2,2,0\\rangle[\/latex].<\/p>\r\n<p id=\"fs-id1163723203966\">To calculate the distance, we need to find [latex]\\overrightarrow{PM}\\times{\\bf{v}}[\/latex]:<\/p>\r\n<p style=\"text-align: center;\">[latex]\\begin{aligned}\r\n\\overrightarrow{PM}\\times{\\bf{v}}&amp;=\\begin{vmatrix}{\\bf{i}}&amp;{\\bf{j}}&amp;{\\bf{k}} \\\\-2&amp;2&amp;0 \\\\ 4&amp;2&amp;1\\end{vmatrix} \\\\\r\n&amp;=(2-1){\\bf{i}}-(-2-0){\\bf{j}}+(-4-8){\\bf{k}} \\\\\r\n&amp;=2{\\bf{i}}+2{\\bf{j}}-12{\\bf{k}}.\r\n\\end{aligned}[\/latex]<\/p>\r\n<p id=\"fs-id1163724039857\">Therefore, the distance between the point and the line is (Figure 4)<\/p>\r\n<p style=\"text-align: center;\">[latex]\\begin{aligned}\r\nd&amp;=\\frac{||\\overrightarrow{PM}\\times{\\bf{v}}||}{||{\\bf{v}}||} \\\\\r\n&amp;=\\frac{\\sqrt{2^2+2^2+12^2}}{\\sqrt{4^2+2^2+1^2}} \\\\\r\n&amp;=\\frac{s\\sqrt{38}}{\\sqrt{21}}.\r\n\\end{aligned}[\/latex]<\/p>\r\n\r\n[caption id=\"attachment_5164\" align=\"aligncenter\" width=\"357\"]<img class=\"size-full wp-image-5164\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5667\/2021\/08\/27212704\/2.66.jpg\" alt=\"This figure is the first octant of the 3-dimensional coordinate system. There is a 3-dimensional box drawn in the octant. There is a point labeled at (1, 1, 3). There is a line segment labeled \u201cL\u201d inside of the box. Also, there is a perpendicular line segment from the point to line L.\" width=\"357\" height=\"396\" \/> Figure 4. Point [latex](1, 1, 3)[\/latex] is approximately [latex]2.7[\/latex] units from the line with symmetric equations [latex]\\frac{x-3}4=\\frac{y+1}2=z-3[\/latex].[\/caption][\/hidden-answer]<\/section><\/div>","rendered":"<h2 data-type=\"title\">Distance between a Point and a Line<\/h2>\n<p class=\"whitespace-normal break-words\">You already know how to calculate the distance between two points in space. Now we expand this to find the distance between a point and an entire line. This calculation has many practical applications. Builders must consider &#8220;setback&#8221; requirements to ensure structures maintain proper distance from property lines. Airlines need to calculate distances between populated areas and proposed flight paths.<\/p>\n<div data-type=\"example\">\n<p class=\"whitespace-normal break-words\">The <strong>distance from a point to a line<\/strong> is defined as the length of the shortest possible segment connecting the point to the line. This shortest segment is always perpendicular to the line.<\/p>\n<p class=\"whitespace-normal break-words\">Let [latex]L[\/latex] be a line and [latex]M[\/latex] be any point not on the line. The distance [latex]d[\/latex] from [latex]M[\/latex] to [latex]L[\/latex] is the length of line segment [latex]\\overline{MP}[\/latex], where [latex]P[\/latex] is the point on [latex]L[\/latex] such that [latex]\\overline{MP}[\/latex] is perpendicular to [latex]L[\/latex].<\/p>\n<\/div>\n<div data-type=\"example\">\n<figure id=\"attachment_5160\" aria-describedby=\"caption-attachment-5160\" style=\"width: 382px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-5160\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5667\/2021\/08\/27212154\/2.64.jpg\" alt=\"This figure has two line segments. The first line is labeled \u201cL\u201d and has point P on the segment. The second line segment is drawn from point P to point M and is perpendicular to line L. The second line segment is labeled \u201cd.\u201d\" width=\"382\" height=\"210\" \/><figcaption id=\"caption-attachment-5160\" class=\"wp-caption-text\">Figure 2. The distance from point [latex]M[\/latex] to line [latex]L[\/latex] is the length of [latex]\\overline{MP}[\/latex].<\/figcaption><\/figure>\n<\/div>\n<div data-type=\"example\"><\/div>\n<div data-type=\"example\">\n<p class=\"whitespace-normal break-words\">In three dimensions, there&#8217;s no obvious way to identify which point on the line creates the perpendicular segment. We solve this by selecting an arbitrary point on the line and using vector properties.<\/p>\n<p class=\"whitespace-normal break-words\">Let [latex]P[\/latex] be any point on line [latex]L[\/latex] and let [latex]\\textbf{v}[\/latex] be a direction vector for [latex]L[\/latex]. For any point [latex]M[\/latex] not on the line, consider the vectors [latex]\\overrightarrow{PM}[\/latex] and [latex]\\textbf{v}[\/latex].<\/p>\n<\/div>\n<div data-type=\"example\"><\/div>\n<div data-type=\"example\">\n<figure id=\"attachment_5162\" aria-describedby=\"caption-attachment-5162\" style=\"width: 438px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-5162\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5667\/2021\/08\/27212515\/2.65.jpg\" alt=\"This figure has a line segment labeled \u201cL.\u201d On the line segment L there is point P. There is a vector drawn from point P to another point M. Also, from M there is a line segment drawn to line L. This segment is perpendicular to line L. There is also a vector labeled \u201cv\u201d on line segment L. A parallelogram has been formed with vector v, line segment P M, and two other segments back to line L.\" width=\"438\" height=\"234\" \/><figcaption id=\"caption-attachment-5162\" class=\"wp-caption-text\">Figure 3. Vectors [latex]\\overrightarrow{PM}[\/latex] and [latex]\\textbf v[\/latex] form two sides of a parallelogram with base [latex]||{\\bf{v}}||[\/latex] and height [latex]d[\/latex], which is the distance between a line and a point in space.<\/figcaption><\/figure>\n<\/div>\n<div data-type=\"example\"><\/div>\n<div data-type=\"example\">\n<p class=\"whitespace-normal break-words\">These vectors form two sides of a parallelogram. From the properties of cross products and geometry:<\/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\">The area of this parallelogram equals [latex]||\\overrightarrow{PM} \\times \\textbf{v}||[\/latex]<\/li>\n<li class=\"whitespace-normal break-words\">The area also equals base \u00d7 height = [latex]||\\textbf{v}|| \\cdot d[\/latex]<\/li>\n<\/ul>\n<p class=\"whitespace-pre-wrap break-words\">Setting these equal gives us:<\/p>\n<p class=\"whitespace-pre-wrap break-words\" style=\"text-align: center;\">[latex]||\\overrightarrow{PM} \\times \\textbf{v}|| = ||\\textbf{v}|| \\cdot d[\/latex]<\/p>\n<p class=\"whitespace-normal break-words\">We can use this formula to find a general formula for the distance between a line in space and any point not on the line.<\/p>\n<section class=\"textbox keyTakeaway\" aria-label=\"Key Takeaway\">\n<h3>distance from a point to a line<\/h3>\n<p id=\"fs-id1163723987376\">Let [latex]L[\/latex] be a line in space passing through point [latex]P[\/latex] with direction vector [latex]\\textbf v[\/latex]. If [latex]M[\/latex] is any point not on [latex]L[\/latex], then the distance from [latex]M[\/latex] to [latex]L[\/latex] is<\/p>\n<p style=\"text-align: center;\">[latex]d=\\frac{||\\overrightarrow{PM}\\times{\\bf{v}}||}{||{\\bf{v}}||}[\/latex].<\/p>\n<\/section>\n<section class=\"textbox connectIt\" aria-label=\"Connect It\"><strong>Why This Works<\/strong>: The cross product [latex]\\overrightarrow{PM} \\times \\textbf{v}[\/latex] gives us the area of a parallelogram. Dividing by the base [latex]||\\textbf{v}||[\/latex] isolates the height, which is exactly the perpendicular distance we want.<\/p>\n<\/section>\n<section class=\"textbox example\" aria-label=\"Example\">Find the distance between t point [latex]M=(1, 1, 3)[\/latex] and line [latex]\\frac{x-3}4=\\frac{y+1}2=z-3[\/latex].<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q483752783\">Show Solution<\/button><\/p>\n<div id=\"q483752783\" class=\"hidden-answer\" style=\"display: none\">\n<p id=\"fs-id1163723304185\">From the symmetric equations of the line, we know that vector [latex]{\\bf{v}}\\langle4,2,1\\rangle[\/latex] is a direction vector for the line. Setting the symmetric equations of the line equal to zero, we see that point [latex]P(3, -1 , 3)[\/latex] lies on the line. Then,<\/p>\n<p style=\"text-align: center;\">[latex]\\overrightarrow{PM}=\\langle1-3,1-(-1),3-3\\rangle=\\langle-2,2,0\\rangle[\/latex].<\/p>\n<p id=\"fs-id1163723203966\">To calculate the distance, we need to find [latex]\\overrightarrow{PM}\\times{\\bf{v}}[\/latex]:<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{aligned}  \\overrightarrow{PM}\\times{\\bf{v}}&=\\begin{vmatrix}{\\bf{i}}&{\\bf{j}}&{\\bf{k}} \\\\-2&2&0 \\\\ 4&2&1\\end{vmatrix} \\\\  &=(2-1){\\bf{i}}-(-2-0){\\bf{j}}+(-4-8){\\bf{k}} \\\\  &=2{\\bf{i}}+2{\\bf{j}}-12{\\bf{k}}.  \\end{aligned}[\/latex]<\/p>\n<p id=\"fs-id1163724039857\">Therefore, the distance between the point and the line is (Figure 4)<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{aligned}  d&=\\frac{||\\overrightarrow{PM}\\times{\\bf{v}}||}{||{\\bf{v}}||} \\\\  &=\\frac{\\sqrt{2^2+2^2+12^2}}{\\sqrt{4^2+2^2+1^2}} \\\\  &=\\frac{s\\sqrt{38}}{\\sqrt{21}}.  \\end{aligned}[\/latex]<\/p>\n<figure id=\"attachment_5164\" aria-describedby=\"caption-attachment-5164\" style=\"width: 357px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-5164\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5667\/2021\/08\/27212704\/2.66.jpg\" alt=\"This figure is the first octant of the 3-dimensional coordinate system. There is a 3-dimensional box drawn in the octant. There is a point labeled at (1, 1, 3). There is a line segment labeled \u201cL\u201d inside of the box. Also, there is a perpendicular line segment from the point to line L.\" width=\"357\" height=\"396\" \/><figcaption id=\"caption-attachment-5164\" class=\"wp-caption-text\">Figure 4. Point [latex](1, 1, 3)[\/latex] is approximately [latex]2.7[\/latex] units from the line with symmetric equations [latex]\\frac{x-3}4=\\frac{y+1}2=z-3[\/latex].<\/figcaption><\/figure>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n","protected":false},"author":15,"menu_order":12,"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-915","chapter","type-chapter","status-publish","hentry"],"part":422,"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\/915","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":3,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/chapters\/915\/revisions"}],"predecessor-version":[{"id":1672,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/chapters\/915\/revisions\/1672"}],"part":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/parts\/422"}],"metadata":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/chapters\/915\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/wp\/v2\/media?parent=915"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/chapter-type?post=915"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/wp\/v2\/contributor?post=915"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/wp\/v2\/license?post=915"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}