Calculate Perpendicular Bisector

Welcome to our interactive tool for calculating the perpendicular bisector of a line segment. This calculator will help you quickly find the equation of the line that is perpendicular to a given segment and passes through its midpoint. Simply enter the coordinates of two points, and let our tool do the math for you!

Perpendicular Bisector Calculator

Enter two points to calculate their perpendicular bisector.

Understanding the Perpendicular Bisector

In geometry, a perpendicular bisector of a line segment is a line that meets two conditions:

  1. It is perpendicular to the line segment.
  2. It passes through the midpoint of the line segment.

This concept is fundamental in various areas of mathematics, including coordinate geometry, Euclidean geometry, and even in real-world applications like computer graphics and engineering.

Why is it important?

The perpendicular bisector holds a special significance: every point on the perpendicular bisector of a segment is equidistant from the endpoints of that segment. This property makes it incredibly useful for tasks such as finding the center of a circle that passes through two given points (the center must lie on the perpendicular bisector of the chord connecting the two points).

How to Calculate the Perpendicular Bisector

Let's consider two points, P1(x1, y1) and P2(x2, y2). Here are the steps to find the equation of their perpendicular bisector:

Step 1: Find the Midpoint (M)

The midpoint of a line segment is the average of the coordinates of its endpoints. The formula for the midpoint M(xm, ym) is:

  • xm = (x1 + x2) / 2
  • ym = (y1 + y2) / 2

Step 2: Calculate the Slope of the Segment (m1)

The slope of the line segment connecting P1 and P2 is given by the formula:

  • m1 = (y2 - y1) / (x2 - x1)

Special Cases for Slope m1:

  • If x1 = x2 (vertical line segment), the slope m1 is undefined.
  • If y1 = y2 (horizontal line segment), the slope m1 is 0.

Step 3: Determine the Slope of the Perpendicular Bisector (m2)

For two lines to be perpendicular, the product of their slopes must be -1. Therefore, the slope of the perpendicular bisector (m2) is the negative reciprocal of the segment's slope (m1):

  • m2 = -1 / m1

Special Cases for Slope m2:

  • If m1 was undefined (vertical segment), then the perpendicular bisector is a horizontal line, and its slope m2 = 0.
  • If m1 was 0 (horizontal segment), then the perpendicular bisector is a vertical line, and its slope m2 is undefined.

Step 4: Write the Equation of the Perpendicular Bisector

Using the point-slope form of a linear equation (y - ym = m2(x - xm)), we can write the equation of the perpendicular bisector. Substitute the midpoint (xm, ym) and the perpendicular slope (m2) into this formula:

  • y - ym = m2(x - xm)

This can then be rearranged into the slope-intercept form (y = mx + b) or the standard form (Ax + By = C).

Special Cases for Equation:

  • If m2 = 0 (horizontal bisector), the equation is y = ym.
  • If m2 is undefined (vertical bisector), the equation is x = xm.

Example Walkthrough

Let's find the perpendicular bisector for points P1(1, 1) and P2(5, 5).

  1. Midpoint:
    xm = (1 + 5) / 2 = 3
    ym = (1 + 5) / 2 = 3
    Midpoint M = (3, 3)
  2. Slope of Segment P1P2:
    m1 = (5 - 1) / (5 - 1) = 4 / 4 = 1
  3. Slope of Perpendicular Bisector:
    m2 = -1 / m1 = -1 / 1 = -1
  4. Equation of Perpendicular Bisector:
    Using point-slope form: y - ym = m2(x - xm)
    y - 3 = -1(x - 3)
    y - 3 = -x + 3
    y = -x + 6

So, the perpendicular bisector of the segment connecting (1,1) and (5,5) is y = -x + 6.

Use the calculator above to verify your own calculations or to quickly find the bisector for any two points!