Lesson The distance from a point to a straight line in a plane
Algebra
->
Length-and-distance
-> Lesson The distance from a point to a straight line in a plane
Log On
Geometry: Length, distance, coordinates, metric length
Geometry
Solvers
Solvers
Lessons
Lessons
Answers archive
Answers
Source code of 'The distance from a point to a straight line in a plane'
This Lesson (The distance from a point to a straight line in a plane)
was created by by
ikleyn(52781)
:
View Source
,
Show
About ikleyn
:
<H2>The distance from a point to a straight line in a plane</H2> Let you are given a straight line and a point in a plane (<B>Figure 1</B>). What is the distance from the point to the straight line? Let me remind you that the distance between any two different points in a plane is the length of the straight line segment connecting these points (see the lesson <A HREF=http://www.algebra.com/algebra/homework/Points-lines-and-rays/Points-and-Straight-Lines-basics.lesson>Points and Straight Lines basics</A> under the topic <B>Points, lines, angles, perimeter</B> of the section <B>Geometry</B> in this site). The <B>distance from a point in a plane to a straight line</B> in this plane is, by the definition, the <B>length of the perpendicular drawn from the point to the straight line</B>. Why the perpendicular is chosen in this definition? Why it is so remarkable or specific? It is because the <B>perpendicular from the point to the straight line is the shortest segment among all the straight segments connecting the point with the straight line</B>. <H3>Theorem</H3><TABLE> <TR> <TD>The perpendicular from the point to the straight line is the shortest segment among all the straight segments connecting the point with the straight line. <B>Proof</B> The proof of this statement is very straightforward. The <B>Figure 2</B> shows the straight line <B>RQ</B> in a plane, the point <B>P</B> in this plane out of the line, the perpendicular <B>PQ</B> drawn from the point <B>P</B> to the line <B>QR</B>, and some other straight line segment <B>PR</B> connecting the point <B>P</B> with the straight line <B>QR</B> at the point <B>R</B>. Let {{{d}}} be the length of the perpendicular <B>PQ</B> and {{{t}}} be the length of the segment <B>PR</B>. Let us continue the perpendicular <B>PQ</B> in the same length into other half-plane till the point <B>S</B> and connect the points <B>R</B> and <B>S</B> with the straigt line segment <B>RS</B>. Then the segments <B>PQ</B> and <B>QS</B> lie in one straight line <B>PS</B>. The triangles <B>PQR</B> and <B>SQR</B> are congruent as the right triangles with the common leg <B>QR</B> </TD> <TD> {{{drawing( 252, 250, -2.0, 8.1, -4.0, 6.0, grid(1), line (-3.6, -2.8, 8.0, 3.0), circle (2, 5, 0.15), locate (2.1, 5.6, P), locate (3.1, 3.6, d), red(line(2, 5, 4, 1)) )}}} <B>Figure 1</B>. The straight line in a plane, the point <B>P</B> and the distance <B>d</B> from the point <B>P</B> to the straight line </TD> <TD> {{{drawing( 252, 250, -2.0, 8.1, -4.0, 6.0, grid(1), line (-3.6, -2.8, 8.0, 3.0), circle (2, 5, 0.15), locate (2.1, 5.6, P), locate (3.1, 3.6, d), red(line(2, 5, 4, 1)), locate (4.1, 1.75, Q), blue(line (2.0, 5.0, 3.0, 0.5)), locate (2.5, 1.0, R), locate (2.1, 2.6, t), red(line(4, 1, 6, -3)), blue(line (3.0, 0.5, 6, -3)), locate (6.1, -3.0, S) )}}} <B>Figure 2</B>. The straight line <B>QR</B>, the point <B>P</B>, the perpendicular <B>PQ</B> and the straight line segment <B>PR</B> </TD> </TR> </TABLE>and equal legs <B>PQ</B> and <B>SQ</B>. Hence, their hypotenuses <B>PR</B> and <B>SR</B> are of equal length: |<B>PR</B>| = |<B>SR</B>| = {{{t}}}. In the triangle <B>PRS</B> the sum of two sides <B>PR</B> and <B>SR</B> is longer than the third side <B>PS</B>: {{{2*t}}} > {{{2*d}}}. Hence, {{{t}}} > {{{d}}}. This is what has to be proved. <H3>Summary</H3>The perpendicular from the point to the straight line is the shortest segment among all the straight segments connecting the point with the straight line. The distance from a point in a plane to a straight line in this plane is, by the definition, the length of the perpendicular drawn from the point to the straight line. <B>Note</B>. In a coordinate plane, there is an explicit formula to calculate the distance from a point to a straight line. See the lesson <A HREF=http://www.algebra.com/algebra/homework/Vectors/The-distance-from-a-point-to-a-straight-line-in-a-coordinate-plane.lesson>The distance from a point to a straight line in a coordinate plane</A> under the topic <B>Introduction to vectors, addition and scaling</B> of the section <B>Algebra-II</B> in this site.