How to calculate a perpendicular line?

Click For Summary
SUMMARY

To calculate a perpendicular line given two points, first determine the slope of the line connecting those points using the formula (y2 - y1) / (x2 - x1). The slope of the perpendicular line is the negative reciprocal of the original slope, expressed as m = -1/m. The general equation for the perpendicular line can be represented as y = -(1/m)x + n, where n can be any real number. This means there are infinitely many perpendicular lines unless a specific intersection point is defined.

PREREQUISITES
  • Understanding of basic algebra and coordinate geometry
  • Familiarity with slope-intercept form of a line (y = mx + b)
  • Ability to calculate slopes between two points
  • Knowledge of negative reciprocals in mathematics
NEXT STEPS
  • Learn how to derive the slope from two points in detail
  • Study the concept of negative reciprocals and their applications
  • Explore the implications of infinite lines in geometry
  • Investigate how to find intersection points of lines
USEFUL FOR

Students, educators, and anyone interested in geometry, particularly those looking to understand the relationship between lines and their slopes.

msn009
Messages
53
Reaction score
6
Hi, i get the math that is involved but if I have only the x,y coordinates for 2 points to connect and if i want to know what will be the perpendicular line to the line connecting these two points, how can I do that?
 
Mathematics news on Phys.org
I presume, given those points, that you can find the equation of the line connecting them and its slope. Given that, you can find the slope of the line perpendicular to that one. But there are many such lines.
 
yes there will be many possible lines.
when i mentioned that i understand the math, the examples given usually has numbers in it like y = 3x+2 but in my case i only have the x and y values, so which formula should i actually use? thanks.
 
msn009 said:
when i mentioned that i understand the math, the examples given usually has numbers in it like y = 3x+2
That's the slope-intercept form of the equation for a line: y = mx + b, where m is slope and b is the y-intercept. (Look it up!)

msn009 said:
but in my case i only have the x and y values, so which formula should i actually use?
Start by finding the slope.
 
msn009 said:
Hi, i get the math that is involved but if I have only the x,y coordinates for 2 points to connect and if i want to know what will be the perpendicular line to the line connecting these two points, how can I do that?

Find the slope connecting those two points (y2-y1/x2-x1). The perpendicular line is the negative inverse.
 
Last edited:
If the equation of your two points are y = mx+b, the perpendicular line to that will be every line that is
y = -(1/m)x+n where n ∈ ℝ
(Since you only care about if they are perpendicular or not and the line streches infinitely)
 
Last edited:
The slope of a line perpendicular to another line is just the negative reciprocal of the slope of the other line.

So, if you have a line where m=2, the slope of a line perpendicular to that line would be m=-1/2.
 
  • Like
Likes   Reactions: YoungPhysicist
msn009 said:
yes there will be many possible lines.
when i mentioned that i understand the math, the examples given usually has numbers in it like y = 3x+2 but in my case i only have the x and y values, so which formula should i actually use? thanks.
If you have the equation of a line it is pretty simple to find a couple of points on that line.
If you have a couple of points on the line, it is pretty simple to find the equation of that line.
So whether you are starting from the equation o f the line or a couple of points on the line, there is only one extra step to the problem.
 
i have a line that connects from point A to point B and I am able to compute this line using its x,y coordinates and so now i need to find the slope of this line so that i can compute the line that will be perpendicular to this line.
 
  • #10
msn009 said:
and so now i need to find the slope of this line
Use the definition of slope, which was given in an earlier post. Or just look it up! https://en.wikipedia.org/wiki/Slope
 
  • #11
i get this part and i have compute the slope of the line from point A to B. what I don't understand now is the intercept value y=mx + b. I can compute the b value since I now have x, y and m values but should I use this same b value to compute the perpendicular line?
 
  • #12
msn009 said:
i get this part and i have compute the slope of the line from point A to B. what I don't understand now is the intercept value y=mx + b. I can compute the b value since I now have x, y and m values but should I use this same b value to compute the perpendicular line?
As explained above, given two points you can find the equation of the line that connects them. But there is an infinite number of lines perpendicular to that one. Do you want that perpendicular line to intersect the first line at some particular point? Up to you!
 

Similar threads

Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
5
Views
2K
  • · Replies 25 ·
Replies
25
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 20 ·
Replies
20
Views
2K