# Perpendicular

> Mediated Wiki article. Canonical URL: https://mediated.wiki/source/Perpendicular
> Markdown URL: https://mediated.wiki/source/Perpendicular.md
> Source: https://en.wikipedia.org/wiki/Perpendicular
> Source revision: 1355855765
> License: Creative Commons Attribution-ShareAlike 4.0 International (https://creativecommons.org/licenses/by-sa/4.0/)

Relationship between two lines that meet at a right angle

For other uses, see [Perpendicular (disambiguation)](/source/Perpendicular_(disambiguation)).

The segment AB is perpendicular to the segment CD because the two angles it creates (indicated in orange and blue) are each 90 degrees. The segment AB can be called *the perpendicular from A to the segment CD*, using "perpendicular" as a noun. The point *B* is called the *foot of the perpendicular from*A*to segment CD*, or simply, the *foot of*A*on CD*.[1]

Geometry Projecting a sphere to a plane Branches Euclidean Non-Euclidean Elliptic Spherical Hyperbolic Non-Archimedean geometry Projective Affine Synthetic Analytic Algebraic Arithmetic Diophantine Differential Riemannian Symplectic Discrete differential Complex Finite Discrete/Combinatorial Digital Convex Computational Fractal Incidence Noncommutative geometry Noncommutative algebraic geometry Concepts Features Dimension Straightedge and compass constructions Angle Curve Diagonal Orthogonality (Perpendicular) Parallel Vertex Congruence Similarity Symmetry Zero-dimensional Point One-dimensional Line Line segment Ray Curve Length Two-dimensional Surface Plane Area Polygon Triangle Centers Altitude Hypotenuse Pythagorean theorem Circular Hyperbolic Spherical Quadrilateral Parallelogram Square Rectangle Rhombus Rhomboid Trapezoid Kite Circle Radius Diameter Circumference Disk Area Three-dimensional Surface area Volume Polyhedron Platonic Solid Tetrahedron cuboid Cube Octahedron Dodecahedron Icosahedron Pyramid Solid of revolution Sphere Great circle Cylinder Cone Four - other-dimensional 4-polytope Simplex 5-cell Hypercube Tesseract n-sphere Hypersphere Geometers by name Aida Aryabhata Ahmes Alhazen Apollonius Archimedes Atiyah Baudhayana Bolyai Brahmagupta Cartan Chern Coxeter Descartes Euclid Euler Gauss Gromov Hilbert Huygens Jyeṣṭhadeva Kātyāyana Khayyám Klein Lobachevsky Manava Minkowski Minggatu Pascal Pythagoras Parameshvara Poincaré Riemann Sakabe Sijzi al-Tusi Veblen Virasena Yang Hui al-Yasamin Zhang List of geometers by period BCE Ahmes Baudhayana Manava Pythagoras Euclid Archimedes Apollonius 1–1400s Zhang Kātyāyana Aryabhata Brahmagupta Virasena Alhazen Sijzi Khayyám al-Yasamin al-Tusi Yang Hui Parameshvara 1400s–1700s Jyeṣṭhadeva Descartes Pascal Huygens Minggatu Euler Sakabe Aida 1700s–1900s Gauss Lobachevsky Bolyai Riemann Klein Poincaré Hilbert Minkowski Cartan Veblen Coxeter Chern Present day Atiyah Gromov v t e

In [geometry](/source/Geometry), two [geometric objects](/source/Geometric_object) are **perpendicular** if they [intersect](/source/Intersection) at [right angles](/source/Right_angle), i.e. at an [angle](/source/Angle) of 90 degrees or π/2 radians. The condition of **perpendicularity** may be represented graphically using the *[perpendicular symbol](/source/Perpendicular_symbol)*, ⟂. Perpendicular intersections can happen between two lines (or two line segments), between a line and a plane, and between two planes.

*Perpendicular* is also used as a noun: **a perpendicular** is a line which is perpendicular to a given line or plane.

Perpendicularity is one particular instance of the more general mathematical concept of *[orthogonality](/source/Orthogonality)*; perpendicularity is the orthogonality of classical geometric objects. Thus, in advanced mathematics, the word "perpendicular" is sometimes used to describe much more complicated geometric orthogonality conditions, such as that between a surface and its *[normal vector](/source/Normal_(geometry))*.

A line is said to be perpendicular to another line if the two lines intersect at a right angle.[2] Explicitly, a first line is perpendicular to a second line if (1) the two lines meet; and (2) at the point of intersection the [straight angle](/source/Straight_angle) on one side of the first line is cut by the second line into two [congruent](/source/Congruence_(geometry)) [angles](/source/Angle). Perpendicularity can be shown to be [symmetric](/source/Symmetric), meaning if a first line is perpendicular to a second line, then the second line is also perpendicular to the first. For this reason, we may speak of two lines as being perpendicular (to each other) without specifying an order. A great example of perpendicularity can be seen in any compass, note the cardinal points; North, East, South, West (NESW) The line N-S is perpendicular to the line W-E and the angles N-E, E-S, S-W and W-N are all 90° to one another.

Perpendicularity easily extends to [segments](/source/Line_segment) and [rays](/source/Ray_(geometry)). For example, a line segment A B ¯ {\displaystyle {\overline {AB}}} is perpendicular to a line segment C D ¯ {\displaystyle {\overline {CD}}} if, when each is extended in both directions to form an infinite line, these two resulting lines are perpendicular in the sense above. In symbols, A B ¯ ⊥ C D ¯ {\displaystyle {\overline {AB}}\perp {\overline {CD}}} means line segment AB is perpendicular to line segment CD.[3]

A line is said to be perpendicular to a [plane](/source/Plane_(geometry)) if it is perpendicular to every line in the plane that it intersects. This definition depends on the definition of perpendicularity between lines.

Two planes in space are said to be perpendicular if the [dihedral angle](/source/Dihedral_angle) at which they meet is a right angle.

## Foot of a perpendicular

The word **foot** is frequently used in connection with perpendiculars. This usage is exemplified in the top diagram, above, and its caption. The diagram can be in any orientation. The foot is not necessarily at the bottom.

More precisely, let A be a point and m a line. If B is the point of intersection of m and the unique line through A that is perpendicular to m, then B is called the *foot* of this perpendicular through A.

## Construction of the perpendicular

Construction of the perpendicular (blue) to the line AB through the point P

Construction of the perpendicular to the half-line h from the point P (applicable not only at the end point A, M is freely selectable), animation at the end with pause 10 s

To make the perpendicular to the line AB through the point P using [compass-and-straightedge construction](/source/Compass-and-straightedge_construction), proceed as follows (see figure left):

- Step 1 (red): construct a [circle](/source/Circle) with center at P to create points A' and B' on the line AB, which are [equidistant](/source/Equidistant) from P.

- Step 2 (green): construct circles centered at A' and B' having equal radius. Let Q and P be the points of intersection of these two circles.

- Step 3 (blue): connect Q and P to construct the desired perpendicular PQ.

To prove that the PQ is perpendicular to AB, use the [SSS congruence theorem](/source/Congruence_(geometry)#Congruence_of_triangles) for QPA' and QPB' to conclude that angles OPA' and OPB' are equal. Then use the [SAS congruence theorem](/source/Congruence_(geometry)#Congruence_of_triangles) for triangles OPA' and OPB' to conclude that angles POA and POB are equal. See also [Radical axis](/source/Radical_axis).

To make the perpendicular to the line g at or through the point P using [Thales's theorem](/source/Thales's_theorem), see the animation at right.

The [Pythagorean theorem](/source/Pythagorean_theorem) can be used as the basis of methods of constructing right angles. For example, by counting links, three pieces of chain can be made with lengths in the ratio 3:4:5. These can be laid out to form a triangle, which will have a right angle opposite its longest side. This method is useful for laying out gardens and fields, where the dimensions are large, and great accuracy is not needed. The chains can be used repeatedly whenever required.

## In relationship to parallel lines

The arrowhead marks indicate that the lines *a* and *b*, cut by the [transversal line](/source/Transversal_line) *c*, are parallel.

If two lines (*a* and *b*) are both perpendicular to a third line (*c*), all of the angles formed along the third line are right angles. Therefore, in [Euclidean geometry](/source/Euclidean_geometry), any two lines that are both perpendicular to a third line are [parallel](/source/Parallel_(geometry)) to each other, because of the [parallel postulate](/source/Parallel_postulate). Conversely, if one line is perpendicular to a second line, it is also perpendicular to any line parallel to that second line.

In the figure at the right, all of the orange-shaded angles are congruent to each other and all of the green-shaded angles are congruent to each other, because [vertical angles](/source/Vertical_(angles)) are congruent and alternate interior angles formed by a transversal cutting parallel lines are congruent. Therefore, if lines *a* and *b* are parallel, any of the following conclusions leads to all of the others:

- One of the angles in the diagram is a right angle.

- One of the orange-shaded angles is congruent to one of the green-shaded angles.

- Line *c* is perpendicular to line *a*.

- Line *c* is perpendicular to line *b*.

- All four angles are equal.

## In computing distances

This section is an excerpt from [Perpendicular distance](/source/Perpendicular_distance).[[edit](https://en.wikipedia.org/w/index.php?title=Perpendicular_distance&action=edit)]

In [geometry](/source/Geometry), the [perpendicular distance](/source/Perpendicular_distance) between two objects is the [distance](/source/Distance) from one to the other, measured along a [line](/source/Line_(geometry)) that is perpendicular to one or both.

The [distance from a point to a line](/source/Distance_from_a_point_to_a_line) is the distance to the nearest [point](/source/Point_(geometry)) on that line.[4][5] That is the point at which a [segment](/source/Line_segment) from it to the given point is perpendicular to the line.

Likewise, the distance from a point to a [curve](/source/Curve_(geometry)) is measured by a line segment that is perpendicular to a [tangent line](/source/Tangent_line) to the curve at the nearest point on the curve.

The [distance from a point to a plane](/source/Distance_from_a_point_to_a_plane) is measured as the length from the point along a segment that is perpendicular to the plane, meaning that it is perpendicular to all lines in the plane that pass through the nearest point in the plane to the given point.[6]

Other instances include:

- *[Point on plane closest to origin](/source/Point_on_plane_closest_to_origin)*, for the perpendicular distance from the origin to a plane in three-dimensional space

- *[Nearest distance between skew lines](/source/Nearest_distance_between_skew_lines)*, for the perpendicular distance between two non-parallel lines in three-dimensional space[7][8]

[Perpendicular regression](/source/Perpendicular_regression) fits a line to data points by minimizing the sum of squared perpendicular distances from the data points to the line. Other [geometric curve fitting](/source/Geometric_curve_fitting) methods using perpendicular distance to measure the quality of a fit exist, as in [total least squares](/source/Total_least_squares).

The concept of perpendicular distance may be generalized to

- orthogonal distance, between more abstract non-geometric [orthogonal](/source/Orthogonal_(mathematics)) objects, as in [linear algebra](/source/Projection_(linear_algebra)#Finding_projection_with_an_inner_product) (e.g., [principal components analysis](/source/Principal_components_analysis));

- normal distance, involving a [surface normal](/source/Surface_normal), between an arbitrary point and its [foot](/source/Foot_of_a_normal) on the surface. It can be used for [surface fitting](/source/Surface_fitting) and for defining [offset surfaces](/source/Offset_surface).

## Graph of functions

Two perpendicular lines have slopes *m*1 = Δ*y*1/Δ*x*1 and  *m*2 = Δ*y*2/Δ*x*2 satisfying the relationship  *m*1*m*2 = −1.

In the two-dimensional plane, right angles can be formed by two intersected lines if the [product](/source/Product_(mathematics)) of their [slopes](/source/Slopes) equals −1. Thus for two [linear functions](/source/Linear_function) y 1 ( x ) = m 1 x + b 1 {\displaystyle y_{1}(x)=m_{1}x+b_{1}} and y 2 ( x ) = m 2 x + b 2 {\displaystyle y_{2}(x)=m_{2}x+b_{2}} , the graphs of the functions will be perpendicular if m 1 m 2 = − 1. {\displaystyle m_{1}m_{2}=-1.}

The [dot product](/source/Dot_product) of [vectors](/source/Euclidean_vector) can be also used to obtain the same result: First, [shift coordinates](/source/Translation_of_axes) so that the origin is situated where the lines cross. Then define two displacements along each line, r → j {\displaystyle {\vec {r}}_{j}} , for ( j = 1 , 2 ) . {\displaystyle (j=1,2).} Now, use the fact that the inner product vanishes for perpendicular vectors:

- r → 1 = x 1 x ^ + y 1 y ^ = x 1 x ^ + m 1 x 1 y ^ {\displaystyle {\vec {r}}_{1}=x_{1}{\hat {x}}+y_{1}{\hat {y}}=x_{1}{\hat {x}}+m_{1}x_{1}{\hat {y}}}

- r → 2 = x 2 x ^ + y 2 y ^ = x 2 x ^ + m 2 x 2 y ^ {\displaystyle {\vec {r}}_{2}=x_{2}{\hat {x}}+y_{2}{\hat {y}}=x_{2}{\hat {x}}+m_{2}x_{2}{\hat {y}}}

- r → 1 ⋅ r → 2 = ( 1 + m 1 m 2 ) x 1 x 2 = 0 {\displaystyle {\vec {r}}_{1}\cdot {\vec {r}}_{2}=\left(1+m_{1}m_{2}\right)x_{1}x_{2}=0}

- ∴ m 1 m 2 = − 1 {\displaystyle \therefore m_{1}m_{2}=-1} (unless x 1 {\displaystyle x_{1}} or x 2 {\displaystyle x_{2}} vanishes.)

Both proofs are valid for horizontal and vertical lines to the extent that we can let one slope be ε {\displaystyle \varepsilon } , and take the limit that ε → 0. {\displaystyle \varepsilon \rightarrow 0.} If one slope goes to zero, the other goes to infinity.

## In circles and other conics

### Circles

Each [diameter](/source/Diameter) of a [circle](/source/Circle) is perpendicular to the [tangent line](/source/Tangent_line) to that circle at the point where the diameter intersects the circle.

A line segment through a circle's center bisecting a [chord](/source/Chord_(geometry)) is perpendicular to the chord.

If the intersection of any two perpendicular chords divides one chord into lengths *a* and *b* and divides the other chord into lengths *c* and *d*, then *a*2 + *b*2 + *c*2 + *d*2 equals the square of the diameter.[9]

The sum of the squared lengths of any two perpendicular chords intersecting at a given point is the same as that of any other two perpendicular chords intersecting at the same point, and is given by 8*r*2 – 4*p*2 (where *r* is the circle's radius and *p* is the distance from the center point to the point of intersection).[10]

[Thales' theorem](/source/Thales'_theorem) states that two lines both through the same point on a circle but going through opposite endpoints of a diameter are perpendicular. This is equivalent to saying that any diameter of a circle subtends a right angle at any point on the circle, except the two endpoints of the diameter.

### Ellipses

The major and minor [axes](/source/Axis_of_symmetry) of an [ellipse](/source/Ellipse) are perpendicular to each other and to the tangent lines to the ellipse at the points where the axes intersect the ellipse.

The major axis of an ellipse is perpendicular to the [directrix](/source/Directrix_(conic_section)) and to each [latus rectum](/source/Latus_rectum).

### Parabolas

In a [parabola](/source/Parabola), the axis of symmetry is perpendicular to each of the latus rectum, the directrix, and the tangent line at the point where the axis intersects the parabola.

From a point on the tangent line to a parabola's vertex, the [other tangent line to the parabola](/source/Parabola#Intersection_of_a_tangent_and_perpendicular_from_focus) is perpendicular to the line from that point through the parabola's [focus](/source/Focus_(geometry)).

The [orthoptic property](/source/Parabola#Orthoptic_property) of a parabola is that If two tangents to the parabola are perpendicular to each other, then they intersect on the directrix. Conversely, two tangents which intersect on the directrix are perpendicular. This implies that, seen from any point on its directrix, any parabola subtends a right angle.

### Hyperbolas

The [transverse axis](/source/Hyperbola#Equation) of a [hyperbola](/source/Hyperbola) is perpendicular to the conjugate axis and to each directrix.

The product of the perpendicular distances from a point P on a hyperbola or on its conjugate hyperbola to the asymptotes is a constant independent of the location of P.

A [rectangular hyperbola](/source/Hyperbola#Rectangular_hyperbola) has [asymptotes](/source/Asymptote) that are perpendicular to each other. It has an [eccentricity](/source/Eccentricity_(mathematics)) equal to 2 . {\displaystyle {\sqrt {2}}.}

## In polygons

### Triangles

The legs of a [right triangle](/source/Right_triangle) are perpendicular to each other.

The [altitudes](/source/Altitude_(geometry)) of a [triangle](/source/Triangle) are perpendicular to their respective [bases](/source/Base_(geometry)). The [perpendicular bisectors](/source/Perpendicular_bisector) of the sides also play a prominent role in triangle geometry.

The [Euler line](/source/Euler_line) of an [isosceles triangle](/source/Isosceles_triangle) is perpendicular to the triangle's base.

The [Droz-Farny line theorem](/source/Droz-Farny_line_theorem) concerns a property of two perpendicular lines intersecting at a triangle's [orthocenter](/source/Orthocenter).

[Harcourt's theorem](/source/Harcourt's_theorem) concerns the relationship of line segments through a [vertex](/source/Vertex_(geometry)) and perpendicular to any line [tangent](/source/Tangent) to the triangle's [incircle](/source/Incircle).

### Quadrilaterals

In a [square](/source/Square) or other [rectangle](/source/Rectangle), all pairs of adjacent sides are perpendicular. A [right trapezoid](/source/Right_trapezoid) is a [trapezoid](/source/Trapezoid) that has two pairs of adjacent sides that are perpendicular.

Each of the four [maltitudes](/source/Maltitude) of a [quadrilateral](/source/Quadrilateral) is a perpendicular to a side through the [midpoint](/source/Midpoint) of the opposite side.

An [orthodiagonal quadrilateral](/source/Orthodiagonal_quadrilateral) is a quadrilateral whose [diagonals](/source/Diagonal) are perpendicular. These include the [square](/source/Square), the [rhombus](/source/Rhombus), and the [kite](/source/Kite_(geometry)). By [Brahmagupta's theorem](/source/Brahmagupta's_theorem), in an orthodiagonal quadrilateral that is also [cyclic](/source/Cyclic_quadrilateral), a line through the midpoint of one side and through the intersection point of the diagonals is perpendicular to the opposite side.

By [van Aubel's theorem](/source/Van_Aubel's_theorem), if squares are constructed externally on the sides of a quadrilateral, the line segments connecting the centers of opposite squares are perpendicular and equal in length.

## Lines in three dimensions

Up to three lines in [three-dimensional space](/source/Three-dimensional_space) can be pairwise perpendicular, as exemplified by the *x, y*, and *z* axes of a three-dimensional [Cartesian coordinate system](/source/Cartesian_coordinate_system).

## See also

- [Orthogonal projection](/source/Orthogonal_projection)

- [Tangential and normal components](/source/Tangential_and_normal_components)

## Notes

1. **[^](#cite_ref-1)** [Kay (1969](#CITEREFKay1969), p. 114)

1. **[^](#cite_ref-2)** [Kay (1969](#CITEREFKay1969), p. 91)

1. **[^](#cite_ref-3)** [Kay (1969](#CITEREFKay1969), p. 91)

1. **[^](#cite_ref-4)** Ballantine, J. P.; Jerbert, A. R. (April 1952). "Distance from a Line, or Plane, to a Point". *The American Mathematical Monthly*. **59** (4): 242. [doi](/source/Doi_(identifier)):[10.2307/2306514](https://doi.org/10.2307%2F2306514).

1. **[^](#cite_ref-5)** Payne, R. W. (May 1968). "164. The perpendicular distance from (x′, y′) to ax + by + c = 0". *The Mathematical Gazette*. **52** (380): 152–152. [doi](/source/Doi_(identifier)):[10.2307/3612683](https://doi.org/10.2307%2F3612683).

1. **[^](#cite_ref-6)** Bundrick, Charles M.; Sherry, David L. (April 1978). "Distance From a Point to a Line and a Point to a Plane Via Synthetic Methods". *School Science and Mathematics*. **78** (4): 304–306. [doi](/source/Doi_(identifier)):[10.1111/j.1949-8594.1978.tb09363.x](https://doi.org/10.1111%2Fj.1949-8594.1978.tb09363.x).

1. **[^](#cite_ref-7)** Clarke, L. E. (May 1951). "2212. The shortest distance between two skew lines". *The Mathematical Gazette*. **35** (312): 120–121. [doi](/source/Doi_(identifier)):[10.2307/3609345](https://doi.org/10.2307%2F3609345).

1. **[^](#cite_ref-8)** Johar, Syafiq (21 January 2026). "A New Proof for Distance Between Skew Lines". *The College Mathematics Journal*: 1–8. [doi](/source/Doi_(identifier)):[10.1080/07468342.2025.2603159](https://doi.org/10.1080%2F07468342.2025.2603159).

1. **[^](#cite_ref-9)** Posamentier and Salkind, *Challenging Problems in Geometry*, Dover, 2nd edition, 1996: pp. 104–105, #4–23.

1. **[^](#cite_ref-10)** *[College Mathematics Journal](/source/College_Mathematics_Journal)* 29(4), September 1998, p. 331, problem 635.

## References

- [Altshiller-Court, Nathan](/source/Nathan_Altshiller_Court) (1952) [1st ed. 1925], [*College Geometry: An Introduction to the Modern Geometry of the Triangle and the Circle*](https://archive.org/details/collegegeometryi00newy/) (2nd ed.), New York: Barnes & Noble

- Kay, David C. (1969), *College Geometry*, New York: [Holt, Rinehart and Winston](/source/Holt%2C_Rinehart_and_Winston), [LCCN](/source/LCCN_(identifier)) [69-12075](https://lccn.loc.gov/69-12075)

## External links

Look up ***[perpendicular](https://en.wiktionary.org/wiki/Special:Search/perpendicular)*** in Wiktionary, the free dictionary.

- [Definition: perpendicular](http://www.mathopenref.com/perpendicular.html) with interactive animation.

- [How to draw a perpendicular bisector of a line with compass and straight edge](http://www.mathopenref.com/constbisectline.html) (animated demonstration).

- [How to draw a perpendicular at the endpoint of a ray with compass and straight edge](http://www.mathopenref.com/constperpendray.html) (animated demonstration).

---
Adapted from the Wikipedia article [Perpendicular](https://en.wikipedia.org/wiki/Perpendicular) by Wikipedia contributors ([contributor history](https://en.wikipedia.org/wiki/Perpendicular?action=history)). Available under [Creative Commons Attribution-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-sa/4.0/). Changes may have been made.
