Given a point P(x1,y1) and a line described by the equation ax+by+c=0, we explore three significant geometric concepts:
The perpendicular distance from point P to the line is the shortest distance between the point and any point on the line. It is measured along the line perpendicular to the given line passing through P.
The foot of the perpendicular from P to the line is the point of intersection of the line and the perpendicular drawn from P. This point is significant as it is the closest point on the line to P.
The image of point P in the line is the point P′ such that P and P′ are symmetric with respect to the line. The line segment connecting P and P′ is bisected by the line, and this segment is perpendicular to the line.
Let P(x1,y1) be a point in the plane and let ax+by+c=0 be the equation of a non-vertical line. The perpendicular distance d from the point P to the line is given by the formula:
d=a2+b2∣ax1+by1+c∣
Coordinates of foot of perpendicular dropped from a point to a line§
The coordinates (xf,yf) of the foot of a perpendicular dropped from a point (x1,y1) to the line ax+by+c=0 are given by the following relations:
axf−x1=byf−y1=−a2+b2ax1+by1+c
Proof:
Draw a perpendicular from P(x1,y1) to the line ax+by+c=0 having foot at F(xf,yf).
Slope of the given line is −ba. Then the slope of PF is ab. If PF makes an angle θ with the positive x-axis, then tanθ=ab. This implies that sinθ=a2+b2b and cosθ=a2+b2a.
We write the symmetric form of PF as cosθx−x1=sinθy−y1=r.
Thus coordinates of F are xf=x1+rfcosθ and yf=y1+rfsinθ for some r=rf.
Distance of a point from a line measured along another line§
The distance d of a point P(x1,y1) from the line ax+by+c=0 measured along another line which makes an angle θ with the positive x-axis is given by:
d=∣acosθ+bsinθ∣∣ax1+by1+c∣
Proof:
To prove the distance of a point P(x1,y1) from a line ax+by+c=0 measured along another line making an angle θ with the positive x-axis:
Draw a line PN parallel to the line which makes an angle of θ with the positive x-axis. The equation of PN in symmetric form is cosθx−x1=sinθy−y1=r. Thus, the coordinates of N can be written as x=x1+rcosθ and y=y1+rsinθ for some r in R.
Since N lies on the line ax+by+c=0, substituting the coordinates of N we get a(x1+rcosθ)+b(y1+rsinθ)+c=0. Solving for r gives r=−acosθ+bsinθax1+by1+c.
Thus, PN=∣r∣=−acosθ+bsinθax1+by1+c.
This results in the formula for the distance of a point from a line along a given direction:
d=acosθ+bsinθax1+by1+c
Ratio in which a line divides the line segment joining two points§
The ratio in which the line ax+by+c=0 divides the line segment joining points A(x1,y1) and B(x2,y2) is given by:
Ratio=λ=−ax2+by2+cax1+by1+c
Proof:
Let the line ax+by+c=0 divide the line joining A(x1,y1) and B(x2,y2) in the ratio λ:1. Let it cut AB at P.
Relative Position of two points with respect to a line§
Given a line L(x,y):ax+by+c=0 and two points A(x1,y1) and B(x2,y2):
The points A and B are on the same side of the line L if the expression (ax1+by1+c)(ax2+by2+c)>0. As a short notation, we can write as L(x1,y1)×L(x2,y2)>0.
The points A and B are on opposite sides of the line L if the expression (ax1+by1+c)(ax2+by2+c)<0. As a short notation, we can write as L(x1,y1)×L(x2,y2)<0.
This theorem is used to determine the relative position of two points with respect to a given line without proving their actual positions.
Proof:
To prove the relative positions of two points A(x1,y1) and B(x2,y2) with respect to the line L:ax+by+c=0, we utilize the concept that if two points are on the same side of the line, then the line L divides the line segment AB externally, and the ratio λ=−(ax2+by2+c)(ax1+by1+c) is negative. This is to say that −(ax2+by2+c)(ax1+by1+c)<0 implies (ax2+by2+c)(ax1+by1+c)>0, which leads to (ax1+by1+c)(ax2+by2+c)>0.
If they are on opposite sides, then the line L divides AB internally and thus the ratio λ=−(ax2+by2+c)(ax1+by1+c)>0 implies (ax1+by1+c)(ax2+by2+c)<0. This shows that the products of their algebraic distances from the line have opposite signs, confirming that the points lie on opposite sides of the line. ■
Consider a triangle △ABC where vertices A are given as (x1,y1), B as (x2,y2), and C as (x3,y3). We want to determine if P(α,β) lies inside the triangle. We can do this plotting all points. But, it is not necessary to plot all points. Instead, this can be determined algebraically by finding the line equations for each of the triangle's sides, denoted as L1, L2, and L3.
These equations represent the sides BC, CA, and AB respectively. To establish if P is within △ABC, it should lie on the same side of each line as the opposite vertex of the triangle. Specifically:
P and A must be on the same side of L1 (line BC).
P and B must be on the same side of L2 (line CA).
P and C must be on the same side of L3 (line AB).
This is confirmed algebraically by checking the sign of the expressions:
L1(α,β)×L1(x1,y1)>0
L2(α,β)×L2(x2,y2)>0
L3(α,β)×L3(x3,y3)>0
If all these conditions are satisfied, then P(α,β) lies inside △ABC.
Alternative Method using area of triangles
To determine whether a point P(α,β) lies inside a triangle formed by the vertices A(x1,y1), B(x2,y2), and C(x3,y3), we can use the area method. This method involves calculating the areas of the sub-triangles formed by the point P and the vertices of the triangle.
Calculate the Area of the Triangle ΔABC
The area of the triangle ΔABC can be found using the determinant formula:
Similarly, the area of the triangle ΔPBC is given by:
AreaPBC=21∣α(y2−y3)+x2(y3−β)+x3(β−y2)∣
Calculate the Area of the Triangle ΔPCA
The area of the triangle ΔPCA is:
AreaPCA=21∣x1(β−y3)+α(y3−y1)+x3(y1−β)∣
Calculate the Area of the Triangle ΔPAB
The area of the triangle ΔPAB is:
AreaPAB=21∣x1(y2−β)+x2(β−y1)+α(y1−y2)∣
Sum of the Areas of Sub-Triangles
Calculate the sum of the areas of the sub-triangles ΔPBC, ΔPCA, and ΔPAB:
Sum of Sub-Triangle Areas=AreaPBC+AreaPCA+AreaPAB
Compare with the Area of ΔABC
If the sum of the areas of the sub-triangles is equal to the area of the main triangle ΔABC, then the point P lies inside the triangle. Mathematically:
AreaABC=AreaPBC+AreaPCA+AreaPAB
Section 3 of 8 · Straight Lines
Mark this section complete when you have worked through its proofs.
Type any topic, theorem, or concept to jump directly to the section.