In the previous section,
we saw the details about normal form. In this section, we will see distance of a point from a line. Later in this section we will see distance between two parallel lines also.
•
We can derive an expression for the distance in 9 steps:
1. In fig.10.38 below, equation of line L is Ax + By + C = 0
![]() |
Fig.10.38 |
2. This line intersects the x-axis at Q.
• We know that, the x-intercept will be −CA. So the coordinates of Q will be: (−CA,0)
3. This line intersects the y-axis at R.
• We know that, the y-intercept will be −CB. So the coordinates of R will be (0,−CB)
4. P(x1,y1) is a point on the xy-plane.
• A perpendicular is dropped from P onto the line L
♦ Foot of the perpendicular is M.
♦ The length of the line segment PM is d.
♦ d is called the distance of the point P from line L.
5. It is possible to draw infinite lines from P onto line L.
• But it is possible to draw only one perpendicular.
• The length of that perpendicular line is called the distance of the point from L.
• The other lengths are not eligible to be considered as the distance of the point from L.
6. Our aim is to derive an expression for d
• Consider the triangle PQR. We have the coordinates of all three vertices:
P(x1,y1), Q(−CA,0), R(0,−CB)
• So we can find the area of that triangle. We get:
Area=12|x1(y2−y3) + x2(y3−y1) + x3(y1−y2)|=12|x1(0 − −CB) + −CA×(−CB − y1) + 0×(y1 − 0)|=12|Cx1B + C2AB + Cy1A|=12|CAB(Cx1B×ABC + C2AB×ABC + Cy1A×ABC)|- - - (a)=12|CAB(x11×A1 + C + y11×B1)|=12|CAB(Ax1 + By1 + C)|=12×|CAB|×|(Ax1 + By1 + C)|
◼ Remarks:
Line marked as (a):
In this line, we multiply each term by CAB and ABC.
7. We know that, area of any triangle = 1/2 × Base × Altitude
• In our present case,
♦ Base of triangle PQR is QR
♦ Altitude of triangle PQR is d
• We know the coordinates of both Q and R:
Q(−CA,0), R(0,−CB)
• So the length QR can be obtained as:
QR=√(x2−x1)2 + (y2−y1)2=√(0 − −CA)2 + (−CB−0)2=√C2A2 + C2B2=√C2A2B2(C2A2×A2B2C2 + C2B2×A2B2C2)- - - (a)=√C2A2B2(B2 + A2)=√C2A2B2×√(B2 + A2)=|CAB|×√(A2 + B2)
◼ Remarks:
Line marked as (a):
In this line, we multiply each term by C2A2B2 and A2B2C2.
• Now we can obtain the area of the triangle PQR:
Area=12×Base×Altitude=12×QR×d=12×|CAB|×√(A2 + B2)×d
8. Equating the areas:
♦ In (6), we obtained the area of triangle PQR.
♦ In (7) also, we obtained the area of triangle PQR.
• We can equate the two areas:
12×|CAB|×|(Ax1 + By1 + C)|=12×|CAB|×√(A2 + B2)×d⇒|(Ax1 + By1 + C)|=√(A2 + B2)×d⇒d=|(Ax1 + By1 + C)|√(A2 + B2)
9. Thus we get a formula to find the distance.
d = |Ax1 + By1 + C|√A2 + B2
Distance between two parallel lines
• We have derived a formula for the distance of a point from a line. Using this formula, we can derive another formula for the distance between two parallel lines. It can be derived in 5 steps:
1. In fig.10.39 below,
♦ equation of line L1 is A1x + B1y + C1 = 0
♦ equation of line L2 is A2x + B2y + C2 = 0
![]() |
Fig.10.39 |
2. Line L1 intersects the x-axis at P
• Then the coordinates of P will be (−C1A1,0)
3. A perpendicular line is dropped from P onto the line L2
• Length of this perpendicular line is d
• Then we can write:
The distance between the two parallel lines is d.
4. We can use the formula derived earlier to find d.
• For applying the formula, we take P as the point and L2 as the line. Thus we get:
d=|Ax1 + By1 + C|√A2 + B2=|A2×−C1A1 + B2×0 + C2|√A22 + B22=|A2×−C1A1 + C2|√A22 + B22=|−A2C1 + A1C2A1|√A22 + B22=|A1C2 − A2C1A1|√A22 + B22=|A1C2 − A2C1||A1|√A22 + B22=|A1C2 − A2C1||A1|×√A22 + B22
5. Thus we get a formula to find the distance between two parallel lines.
d = |A1C2 − A2C1||A1|×√A22 + B22
Now we will see two solved examples
Solved example 10.18
Find the distance of the point (3,-5) from the line 3x - 4y - 26 = 0
Solution:
1. The given line is: 3x - 4y - 26 = 0
• So we get: A = 3, B = -4 and C = -26
2. We have: d = |Ax1 + By1 + C|√A2 + B2
• Substituting the known values, we get:
d=|3×3 + −4×−5 + −26|√32 + (−4)2=|9 + 20 + −26|√9 + 16=|3|√25=35 = 0.6 units
3. The actual plot is shown below:
![]() |
Fig.10.40 |
Solved example 10.19
Find the distance between the parallel lines 3x - 4y + 7 = 0 and 3x - 4y + 5 = 0
Solution:
1. Let the line L1 be: 3x - 4y + 7 = 0
• Then we get: A1 = 3, B1 = -4 and C1 = 7
2. Let the line L2 be: 3x - 4y + 5 = 0
• Then we get: A2 = 3, B2 = -4 and C2 = 5
3. We have: d = |A1C2 − A2C1||A1|×√A22 + B22
• Substituting the known values, we get:
d=|3×5 − 3×7||3|×√32 + (−4)2=|15 − 21||3|×√9 + 16=|−6||3|×5=63×5=25 = 0.4 units
4. The actual plot is shown below:
![]() |
Fig.10.41 |
Link to a few more solved examples is given below:
In the next section, we will see some miscellaneous examples.
No comments:
Post a Comment