Perpendicular Line Calculator
Find the equation of a line perpendicular to ax + by + c = 0 that passes through a given point (x0, y0). Free online perpendicular line calculator with slope and intersection point.
About This Calculator
The Perpendicular Line Calculator helps you find the equation of a line that is perpendicular to a given line and passes through a specified point. This tool is essential for students learning coordinate geometry, teachers preparing lesson materials, and professionals in fields such as architecture, engineering, and computer graphics who need to work with orthogonal lines.
The calculator takes the coefficients of a line in standard form (ax + by + c = 0) and the coordinates of a point (x0, y0). Using the relationship that perpendicular lines have slopes that are negative reciprocals of each other, it computes the equation of the perpendicular line. The slope of a perpendicular line m_perp equals -1/m where m is the slope of the original line. In standard form, this gives the perpendicular line as bx - ay + (a y0 - b x0) = 0.
The calculator also finds the exact intersection point of the two lines by solving the system of equations. This point represents where the original line and its perpendicular cross, which is useful for determining distances, creating right angles in designs, and solving geometric problems.
Key Concepts
Two lines are perpendicular if they intersect at a 90-degree angle. The product of their slopes equals -1: m1 x m2 = -1. This relationship is fundamental in coordinate geometry and has practical applications in construction (creating square corners), navigation (orthogonal routes), and computer graphics (normal vectors).
How to Use
Enter the coefficients a, b, and c from your line equation ax + by + c = 0, then enter the coordinates x0 and y0 of the point the perpendicular line should pass through. Click Calculate to see the perpendicular line equation in standard form, its slope, and the coordinates of the intersection point of the two lines.
Example
For the line 2x - y - 2 = 0 (which is y = 2x - 2) and the point (3, 5), the perpendicular line equation is x + 2y - 13 = 0 (which is y = -0.5x + 6.5). The slope of the perpendicular line is -0.5, and the two lines intersect at (3.4, 4.8).
Applications
Perpendicular lines appear throughout geometry and real-world applications: constructing square corners in carpentry and construction, designing orthogonal grid layouts in urban planning, calculating normal vectors in physics and 3D graphics, determining shortest distances from a point to a line, and solving coordinate geometry problems in mathematics competitions.
Frequently Asked Questions
What is a perpendicular line?
Two lines are perpendicular if they intersect at a right angle (90 degrees). In coordinate geometry, two lines with slopes m1 and m2 are perpendicular if the product of their slopes equals -1 (m1 x m2 = -1).
How do you find a line perpendicular to a given line?
To find the equation of a perpendicular line, first find the slope of the given line. The perpendicular slope is the negative reciprocal (-1/m). Then use the point-slope form with the given point to find the intercept. In standard form ax + by + c = 0, the perpendicular line through (x0, y0) has coefficients a' = b, b' = -a, and c' = a x y0 - b x x0.
What is the slope of a perpendicular line?
The slope of a perpendicular line is the negative reciprocal of the original line's slope. If the original line has slope m, the perpendicular slope is -1/m. For a vertical line (undefined slope), the perpendicular is horizontal (slope 0), and vice versa.
How do you find the intersection point of two perpendicular lines?
The intersection point is found by solving the system of equations of the two lines. For lines in standard form (ax + by + c = 0 and bx - ay + d = 0), the intersection coordinates are x = -(ac + bd) / (a^2 + b^2) and y = (ad - bc) / (a^2 + b^2), where d = a x y0 - b x x0.
Can the coefficients a and b both be zero?
No, a and b cannot both be zero in the line equation ax + by + c = 0 because that would not represent a valid line. At least one of a or b must be non-zero to define a straight line. If both are zero, the equation degenerates to c = 0, which has no geometric meaning as a line.
What if the given line is vertical or horizontal?
If the given line is vertical (b = 0), its perpendicular is a horizontal line passing through the given point: y = y0. If the given line is horizontal (a = 0), its perpendicular is a vertical line passing through the given point: x = x0. The calculator handles these special cases automatically.
Is this perpendicular line calculator free to use?
Yes, all calculators on Calculy including this perpendicular line calculator are completely free to use with no registration or subscription required.