Perpendicular Bisector Calculator
Use this calculator to find the midpoint, the slope of the segment, the slope of the perpendicular bisector, and the equation of the perpendicular bisector for a line segment defined by two points (x1, y1) and (x2, y2).
Point 1 Coordinates
Point 2 Coordinates
Understanding the Perpendicular Bisector
A perpendicular bisector is a fundamental concept in geometry. For any given line segment, its perpendicular bisector is a line that satisfies two crucial conditions:
- It passes through the midpoint of the line segment.
- It is perpendicular to the line segment.
This means the perpendicular bisector forms a 90-degree angle with the original segment and divides the segment into two equal halves. Every point on the perpendicular bisector is equidistant from the two endpoints of the original line segment.
How to Calculate a Perpendicular Bisector
To find the perpendicular bisector of a line segment defined by two points, P1(x1, y1) and P2(x2, y2), we follow a series of steps:
Step 1: Find the Midpoint (M)
The midpoint of a line segment is the average of its coordinates. If the endpoints are (x1, y1) and (x2, y2), the midpoint (Mx, My) is calculated as:
Mx = (x1 + x2) / 2
My = (y1 + y2) / 2
Step 2: Find the Slope of the Line Segment (m_segment)
The slope of the line segment tells us its steepness. It's calculated as the change in y divided by the change in x:
m_segment = (y2 - y1) / (x2 - x1)
Special cases:
- If
x1 = x2(a vertical line segment), the slope is undefined. - If
y1 = y2(a horizontal line segment), the slope is 0.
Step 3: Find the Slope of the Perpendicular Bisector (m_bisector)
Two lines are perpendicular if the product of their slopes is -1. Therefore, the slope of the perpendicular bisector is the negative reciprocal of the segment's slope:
m_bisector = -1 / m_segment
Special cases:
- If
m_segmentis undefined (vertical segment), thenm_bisectoris 0 (a horizontal line). - If
m_segmentis 0 (horizontal segment), thenm_bisectoris undefined (a vertical line).
Step 4: Find the Equation of the Perpendicular Bisector
Using the point-slope form of a linear equation, y - y_point = m * (x - x_point), we can find the equation. We use the midpoint (Mx, My) as our point and m_bisector as our slope:
y - My = m_bisector * (x - Mx)
This can be rearranged into the slope-intercept form (y = mx + b) or standard form (Ax + By = C).
Special cases:
- If
m_bisectoris undefined (vertical line), the equation isx = Mx. - If
m_bisectoris 0 (horizontal line), the equation isy = My.
Example Calculation
Let's find the perpendicular bisector for a segment with endpoints P1(1, 2) and P2(5, 6).
- Midpoint:
- Mx = (1 + 5) / 2 = 3
- My = (2 + 6) / 2 = 4
- Midpoint = (3, 4)
- Slope of Segment:
- m_segment = (6 – 2) / (5 – 1) = 4 / 4 = 1
- Slope of Perpendicular Bisector:
- m_bisector = -1 / 1 = -1
- Equation of Perpendicular Bisector:
- Using point-slope form: y – 4 = -1 * (x – 3)
- y – 4 = -x + 3
- y = -x + 7
The perpendicular bisector for the segment P1(1, 2) to P2(5, 6) is y = -x + 7.