The Mahendra Highway has a road boundary 25 m from its center line on either side: nothing may be built inside it (the Public Roads Act, 2031 BS), and the road office gives notice to remove whatever is. On one stretch a surveyor puts the center line through A(0, 0) and B(80, 60), in meters, and finds two corners of a shop at F(20, 40) and G(10, 45).
So here is this unit’s question: is the shop inside the road boundary? The distance that counts is the shortest one, straight across to the line, and this unit finds it from the line’s equation in one step. The answer comes at the end of 11.2.
The 25 m boundary: Road Division Office Mahendranagar’s notice, May 2026.
11.1 Length of perpendicular from a point to a line
What you need
The slope of ax + by + c = 0 is ; perpendicular lines have slopes whose product is −1; and the angle between two lines, (Grade 9 Optional Math, 3.1.4; Grade 10 Optional Math, 8.2). The normal form x cos α + y sin α = p already gave the distance from the origin, p.
The shortest way to a line
From a point P to a line there are endless straight paths, one to every point of the line. Drop the perpendicular PN, meeting the line at its foot N. For any other point Q of the line, △PNQ has a right angle at N, so PQ, its hypotenuse, is longer than PN. The distance from a point to a line means the length of the perpendicular, the shortest path.
Derivation. Let the line be ax + by + c = 0 (a, b not both 0) and the point P(x₁, y₁).
- The line has slope , so PN has slope (product −1): moving along PN, y changes by b for every a that x changes. So N = (x₁ + ta, y₁ + tb) for some number t. (This holds when a or b is 0 too: then PN is level or upright.)
- N is on the line, so a(x₁ + ta) + b(y₁ + tb) + c = 0, which gives .
- , by the distance formula. Put in t:
Put the point into the left side of the equation, take its size, divide by . For the origin, (x₁, y₁) = (0, 0) gives , the p of the normal form.
Which side?
ax + by + c is 0 on the line, and its sign tells the two sides apart: it is positive on one side and negative on the other, since it can change sign only by passing through 0, on the line. So two points are on the same side of a line when ax₁ + by₁ + c has the same sign at both, and on opposite sides when the signs differ. The origin gives c: a point is on the origin’s side when its value has the sign of c.
Parallel lines
Two parallel lines can be written with the same a and b: ax + by + c₁ = 0 and ax + by + c₂ = 0. Every point of the first is the same distance from the second. Take the point of the first where ax + by = −c₁: its distance from the second is . So the distance between parallel lines is
First make the coefficients of x and y the same in both.
The distance of the line 5x − 12y + 26 = 0 from the origin is:
Pick an answer to see why.
The points (1, 1) and (3, 1) lie, with respect to the line 2x + 3y − 6 = 0:
Pick an answer to see why.
11.2 Bisectors of the angles between two lines
Equally far from both
Two lines that cross make two pairs of opposite angles, so they have two bisectors, one for each pair. A point P on the bisector of an angle is equally far from its two arms: drop perpendiculars PM and PN to the arms, which meet at V; the right triangles VPM and VPN share the hypotenuse VP and have equal angles at V, so they are congruent and PM = PN. Turning it round, a point equally far from both lines is on a bisector. So the bisectors are all the points equally distant from the two lines.
Derivation. Let the lines be a₁x + b₁y + c₁ = 0 and a₂x + b₂y + c₂ = 0, and P(x, y) a point on a bisector.
- Its distances from the lines are equal (above): .
- Two numbers have equal sizes when they are equal or one is minus the other:
3. Each sign gives a first-degree equation, a line: the + and − signs give the two bisectors.
The two bisectors are perpendicular: they bisect angles that add up to 180°, so the angle between them is half of 180°. (In symbols: write r₁, r₂ for the two roots; the bisectors’ coefficients are and , and , the condition A₁A₂ + B₁B₂ = 0 for perpendicular lines.)
Which bisector is which?
The one containing the origin. Write both equations with c₁ > 0 and c₂ > 0 (multiply one by −1 if needed). In the angle that contains the origin, every point is on the origin’s side of both lines, so both left sides are positive there, as at O; the bisector of that angle is the + sign.
The acute one. Find the angle θ between one bisector and one of the lines: if tan θ < 1, that angle is under 45°, so the bisector halves the acute angle; the other bisector halves the obtuse one.
The bisectors of the angles between 3x − 4y = 0 and 4x − 3y = 0 are:
Pick an answer to see why.
The points on the X-axis equally far from 3x + 4y = 12 and 4x + 3y = 12 are:
Pick an answer to see why.
Back to the highway
The center line passes through A(0, 0) and B(80, 60): slope , so it is , or 3x − 4y = 0, with .
Corner F(20, 40): m. Corner G(10, 45): m. Both values are negative, so the corners are on the same side.
So F is 5 m inside the boundary and G is 5 m outside: the boundary line passes through the shop, and its front part stands on the road’s land. The boundary on that side is the parallel line 25 m away, 3x − 4y + 125 = 0 (), which the road office marks on the ground.
For the engineering entrance
Beyond NEB’s Grade 11 exam: the centers of a triangle, which IOE’s BE syllabus names, and two tools its straight-line questions can use.
Exercise
Choose the correct option
The length of the perpendicular from (x₁, y₁) to ax + by + c = 0 is:
Pick an answer to see why.
The two bisectors of the angles between two intersecting lines are:
Pick an answer to see why.
The length of the perpendicular from (−1, 2) to 12x − 5y + 9 = 0 is:
Pick an answer to see why.
The distance between the lines 3x + 4y − 5 = 0 and 6x + 8y + 5 = 0 is:
Pick an answer to see why.
If p is the length of the perpendicular from the origin to , then:
Pick an answer to see why.
The bisectors of the angles between x + y − 1 = 0 and x − y − 1 = 0 are:
Pick an answer to see why.
The points equally far from the parallel lines 2x − y + 3 = 0 and 2x − y − 7 = 0 lie on:
Pick an answer to see why.
The point (1, k) is 2 units from 3x − 4y + 1 = 0. Then k is:
Pick an answer to see why.
In △ABC, A(5, 12), B(5, 0), C(0, 12). The altitude from A is:
Pick an answer to see why.
Two sides of a square lie on 3x + 4y = 6 and 3x + 4y = −4. Its area is:
Pick an answer to see why.
The line y = 2x + c is equally far from (0, 0) and (2, 0). Then c is:
Pick an answer to see why.
Short questions
- a.Find the length of the perpendicular from (2, −3) to 5x − 12y + 6 = 0. (2 marks)
- b.Find the distance between 5x − 12y + 6 = 0 and 10x − 24y − 13 = 0. (3 marks)
Answer
Find the equations of the lines parallel to 3x − 4y + 5 = 0 whose distance from (1, 1) is 2 units. (5 marks)
Hint
Answer
Find the equations of the bisectors of the angles between 4x + 3y − 7 = 0 and 24x + 7y − 31 = 0, and say which one bisects the acute angle and which the angle containing the origin. (5 marks)
Answer
Show that the product of the perpendiculars from and to the line is (a > b > 0). (5 marks)
Hint
Answer
Long questions
A triangle has its sides on x = 0, y = 0 and 12x + 5y = 120.
- a.Find the length of the perpendicular from the origin to the third side. (2 marks)
- b.Find the bisector of the angle of the triangle at A(10, 0). (3 marks)
- c.Show that the bisectors of its three angles meet at one point, and find that point and its distance from each side. (3 marks)
Hint
Answer
Project work
For the engineering entrance
Practice for the engineering entrance, on 11.2’s entrance section.
Printable PDFs
- Study notes 2 pages
- Worksheet 5 pages Answer key
- Harder practice questions 1 page Answer key
Practice every question in the book, and keep track of the ones you miss →
Where these facts come from
- The road boundary of 25 m on either side of a highway’s center line, under the Public Roads Act, 2031 (the opening): Ratopati, “Road Division Office Mahendranagar issues 15-day ultimatum to remove encroachments on Mahendra Highway”, 13 May 2026. The surveyor’s points are ours.
- The median line between the territorial seas of states with opposite or adjacent coasts (11.2): United Nations Convention on the Law of the Sea (1982), Part II, Article 15, read November 2026.
- The unit’s items and project work: CDC, Secondary Education Curriculum 2078, Mathematics, Grades 11–12, 3.1 and sample projects 7 and 9; the marks and the model paper’s questions: CDC, Specification Grid 2078, Mathematics, Grade 11; IOE, BE/BArch Entrance Syllabus 2083, Mathematics 3.3 and 4.1.
Found a mistake? Please tell us.
