Angle Between Lines and Distance of a Point | NIMCET
Learn the angle between two lines, the distance of a point from a line, the distance between parallel lines, the concurrency condition and families of lines through an intersection, for NIMCET.
Quick answer: The acute angle θ between lines with slopes m1 and m2 satisfies tanθ=1+m1m2m1−m2. The perpendicular distance from (x1,y1) to ax+by+c=0 is a2+b2∣ax1+by1+c∣, and the distance between parallel lines ax+by+c1=0 and ax+by+c2=0 is a2+b2∣c1−c2∣. Every line through the intersection of L1=0 and L2=0 can be written L1+λL2=0.
Solve the two equations together. For a1x+b1y+c1=0 and a2x+b2y+c2=0:
Condition
Lines are
a2a1=b2b1
Intersecting (one point)
a2a1=b2b1=c2c1
Parallel (no point)
a2a1=b2b1=c2c1
Coincident
Angle between two lines
tanθ=1+m1m2m1−m2
For lines in general form, tanθ=a1a2+b1b2a1b2−a2b1.
If 1+m1m2=0, the lines are perpendicular.
If m1=m2, they are parallel.
Distance formulas
Distance
Formula
Point (x1,y1) to ax+by+c=0
a2+b2∣ax1+by1+c∣
Origin to ax+by+c=0
a2+b2∣c∣
Between ax+by+c1=0 and ax+by+c2=0
a2+b2∣c1−c2∣
Before using the parallel-lines formula, make the coefficients of x and y identical in both equations.
Foot of the perpendicular and image
The foot (h,k) of the perpendicular from (x1,y1) to ax+by+c=0 satisfies
ah−x1=bk−y1=−a2+b2ax1+by1+c
For the image (reflection), replace the right side with −2a2+b2ax1+by1+c.
Position of a point relative to a line
Points (x1,y1) and (x2,y2) are on the same side of ax+by+c=0 if ax1+by1+c and ax2+by2+c have the same sign, and on opposite sides if the signs differ.
Concurrency and family of lines
Three lines aix+biy+ci=0 are concurrent if
a1a2a3b1b2b3c1c2c3=0
(and no two are parallel). Every line through the intersection of L1=0 and L2=0 has the form L1+λL2=0.
Worked examples
Example 1: angle
Find the acute angle between y=2x+1 and y=−3x+4.
tanθ=1+2(−3)2−(−3)=−55=1
So θ=45∘.
Example 2: distance of a point
Find the distance from (3,−2) to 4x−3y+2=0.
5∣12+6+2∣=4
Example 3: parallel lines
Find the distance between 3x+4y=5 and 6x+8y+15=0.
Step 1: Rewrite the second as 3x+4y+7.5=0; the first is 3x+4y−5=0.
Step 2: Distance =5∣−5−7.5∣=2.5.
Example 4: line through an intersection
Find the line through the intersection of x+y=4 and x−y=2 that passes through (1,0).
Step 1:(x+y−4)+λ(x−y−2)=0.
Step 2: At (1,0): −3+λ(−1)=0, so λ=−3.
Step 3:x+y−4−3x+3y+6=0, so −2x+4y+2=0, or x−2y−1=0.
Check: the intersection is (3,1), and 3−2−1=0 ✓.
Summary table
Result
Formula
Angle
tanθ=1+m1m2m1−m2
Point to line
a2+b2∣ax1+by1+c∣
Parallel lines
a2+b2∣c1−c2∣
Concurrency
Coefficient determinant =0
Family through intersection
L1+λL2=0
Exam tips
Equalise coefficients before using the parallel-lines distance formula.
Use L1+λL2=0 to avoid finding the intersection point.
For images and feet of perpendiculars, the ratio formula is much faster than solving equations.