Skip to content

Search topics

Practise for free Sign in

Calculator Coordinate geometry in the (x, y) plane

Perpendicular line calculator

In one sentence

Finds the line perpendicular to a given line through a given point.

Last checked Source: uk-dfe-alevel-maths-subject-content Source: Department for Education, GCE AS and A level subject content for mathematics (topics derived; every example and value computed here), uk-dfe-alevel-maths-subject-content www.gov.uk (opens in a new tab)

Key facts

Perpendicular line calculator

Formula ref
m′ = −1/m
Topic
Coordinate geometry in the (x, y) plane

Inputs

  • m: gradient of the original line
  • (x₁, y₁): the point

Worked input

  • Input m = 2/3, point (6, −1).
  • m′ = −3/2.
  • y + 1 = −(3/2)(x − 6), so y = −(3/2)x + 8.
  • Take gradient 4 and the point (8, 1), asking for the perpendicular line. The perpendicular gradient is −1/4 and the line through (8, 1) has intercept 3, so y = (−1/4)x + (3). Perpendicular gradients multiply to minus one, so flipping and changing the sign of an integer gradient gives a unit fraction, and checking the product is the fastest way to confirm you have not dropped a sign. Check: 4 × (−1/4) = −1, so the two lines meet at a right angle, and the point (8, 1) satisfies y = −x/4 + 3.
  • Take gradient −3/5 and the point (3, −2), where the original gradient is a negative fraction. The perpendicular gradient is 5/3 and the line through (3, −2) has intercept −7, so y = (5/3)x + (−7). A negative fractional gradient turns into a positive one that is the reciprocal, and the sign change is what makes the lines meet at a right angle instead of being mirror images. Check: the product of −3/5 and 5/3 is −1, and the sign flips because perpendicular gradients always have opposite signs.
  • Take gradient 0, a horizontal line, and the point (−2, 5), asking for the perpendicular line. The negative reciprocal of zero does not exist, so the answer is the vertical line x = −2. A horizontal line has gradient zero, and the perpendicular is vertical with an equation of the form x equals a constant, which is why the usual reciprocal rule must be set aside for that case. Check: a vertical line meets every horizontal line at a right angle, and x = −2 passes through the point (−2, 5).

How to use it

  • Enter m and the point.
  • A zero gradient gives a vertical line.
  • Check m × m′ = −1.

Perpendicular line calculator for your study of A-level maths: where it comes from and what it covers.

Related pages include Circle equation builder, Parametric curve point and gradient, Circle centre and radius calculator and Tangent to a circle calculator.

Study brief

  • In coordinate geometry within the (x,y) plane, understanding the relationship between gradients is essential. For two straight lines, specific gradient conditions determine their orientation. If lines are parallel, the gradient m' equals m. For perpendicular lines, the relationship is expressed as m' = -1/m. Students can apply these principles to find the equation of a line through a specific point that is perpendicular to an existing line. Common forms for straight line equations include y – y1 = m(x – x1) and ax + by + c = 0. These mathematical models are useful in various contexts, such as modeling distance against time for constant speed. In mechanics, forces may act in directions that are either parallel or perpendicular to motion. For example, motion in a straight line with constant acceleration involves forces acting in these specific directions. This concept extends to cases where forces are given in i – j form or as column vectors, or when dealing with a particle moving on an inclined plane. Understanding these perpendicular relationships is a key component of the Pearson Edexcel Level 3 Advanced GCE in Mathematics specification, Issue 4, dated February 2020.

Practise for free

Test yourself with exam-style questions and see why each answer is right or wrong.

Start practising
Free practice, no card Start without an account Sources checked Every fact names its official source
Works on any device Phone, tablet or desktop
Contact us Questions or a correction