Try it yourself · Class 11 Mathematics · Straight Lines

Straight lines: drag a point and read its distance from a line, then draw the two angle bisectors

The perpendicular distance of a point from a line comes from putting the point into the line’s equation and dividing by . The simulation draws the line, the point, the perpendicular and its foot, and with a second line the two angle bisectors: every point on them is equally far from both lines.

The blue line is , the black line . The red dashed segment is the perpendicular from and the red dot its foot. The green and gold dashed lines are the two angle bisectors. Drag the red point ; it snaps to steps of 0.5.

The simulation needs JavaScript; everything it shows is explained below.

What to change

  • Coefficients , (−12 to 12) and (−20 to 20) of the line .
  • The point : drag it on the grid, or use its and sliders (−8 to 8 in steps of 0.5).
  • Tabs: one line only, or a second line : , or .

What to watch

  • At the start, and : the distance is and the foot of the perpendicular is .
  • Set , , and move to : the distance is . Move to and it is 0: the point is on the line.
  • Move across the line and the side changes from to : the sign of tells you which side the point is on.
  • Set to (, , ) and pick : the bisectors are and , at right angles to each other. Drag onto either one and the two distances become equal.

The formula

is the perpendicular distance of from . The second equation gives the two angle bisectors of and , one for each sign; they are the points at equal distance from both lines.

Try these questions

Work each one out with the simulation, tap to see the answer, then try the chapter quiz.

  1. CBSE

    Find the distance of the point from the line .
    Show the answer
  2. Our question

    What is the perpendicular distance of the point from the line ?
    1. units
    2. units
    3. units
    4. units
    Show the answer
    (A) units
  3. JEE Main 2026

    Let the line intersect the lines and at the points A and B, respectively. Let the bisector of the obtuse angle between the lines and intersect the line at the point C. Then is equal to:
    Show the answer
    (A)

More to try in Straight Lines

Every simulation in the Lab