Find the distance ##d## to a point in the given problem

In summary, to find the distance ##d## to a point in a given problem, you typically apply the distance formula, which calculates the straight-line distance between two points in a coordinate system. This involves determining the coordinates of the two points and using the formula ##d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}## for two-dimensional space or extending it to three dimensions as needed.
  • #1
chwala
Gold Member
2,760
391
Homework Statement
see attached.
Relevant Equations
distance formula
1726524493981.png


My problem is on how to arrive at ##d=\dfrac{mx-y}{\sqrt{1+m^2}}##

My working steps are as follows;

##d^2=(x_1 - x)^2+ (y_1-y)^2##

##d^2=(\dfrac{y}{m} -x)^2+ (mx-y)^2##

##d^2=\dfrac{(mx-y)^2}{m^2} + (mx-y)^2##

##m^2d^2=(mx-y)^2(1+m^2)##

##d=\dfrac{mx-y\sqrt{1+m^2}}{m}##

...unless they made a mistake!
 
Last edited:
Physics news on Phys.org
  • #2
There's a formula and proof for the perpendicular distance of a point to a line here: https://en.wikipedia.org/wiki/Distance_from_a_point_to_a_line.

I'm having a hard time following your work right from the start. The drawing shows a point (x, y) and another point (x', y'). In your work you have ##x_1## and y. Shouldn't you have ##y_1##?
 
  • Like
Likes Lnewqban
  • #3
Mark44 said:
There's a formula and proof for the perpendicular distance of a point to a line here: https://en.wikipedia.org/wiki/Distance_from_a_point_to_a_line.

I'm having a hard time following your work right from the start. The drawing shows a point (x, y) and another point (x', y'). In your work you have ##x_1## and y. Shouldn't you have ##y_1##?
If there is a formula then that is fine. I will need to look at it.

I used the distance formula,

##d=\sqrt{(x_1-x_2)^2 + (y_1-y_2)^2}## with my points being, ##(\frac{y}{m}, mx)## and ##(x,y)## the rest of the working (check my second line) ought to be clear to you sir.
 
  • #4
I can see my mistake, i failed to take into consideration the intersection points between the line and the external point.

We have to determine the points of intersection between the external point and our line ##y=mx## we shall use the normal equation of the line ##\left[\dfrac{y-y_0}{x-x_0}\right] =\left[ \dfrac{-1}{m}\right]##... that is perpendicular to the straight line ##y=mx## this will eventually lead us to the final equation, ##d=\dfrac{|k+mx_0-y_o|}{\sqrt{1+m^2}}## , our line equation being ##y=mx+0##, the result would be ##d=\dfrac{mx-y}{\sqrt{1+m^2}}## which is as shown on the text.
 
Last edited:
  • Like
Likes Lnewqban
  • #5
So, is it an assumption that the external point shall be perpendicular to the given straight line? supposing the point is not perpendicular to the given line?
 
  • #6
chwala said:
So, is it an assumption that the external point shall be perpendicular to the given straight line? supposing the point is not perpendicular to the given line?
What do you mean, "the external point"? Do you mean the point, P ? It has a label so that we can refer to it by name.

Furthermore, how is it that a point is or is not perpendicular to a line?

To find the distance of a point from a line, you measure the distance along a line which is perpendicular to the given line. Right?

All pretty basic stuff.
 
  • Like
Likes Mark44 and Lnewqban
  • #7
chwala said:
So, is it an assumption that the external point shall be perpendicular to the given straight line? supposing the point is not perpendicular to the given line?
Consider d to be the radius of a circle to which the line is a tangent.
The tangent to the circle is perpendicular to the radius of the circle at the point of contact.

In this case, we have two circles of equal radii d, intersecting at a single point with a line that is tangent to both.
The distance between the centers of those circles is 2d.

aaaaaaa8843669756126748109.jpg


%2C-1-sqrt%282%29%2F2%2C10cm%29%2Clocate%28-.1%2C1.jpg
 
  • Like
Likes chwala
  • #8
There are results to the effect that the Projection onto the line will provide the shortest distance.
 
  • Like
Likes chwala
  • #9
WWGD said:
There are results to the effect that the Projection onto the line will provide the shortest distance.
Thanks @WWGD ,its something that i know, i guess i overthink too much at times. Cheers man.
 
  • Like
Likes WWGD

FAQ: Find the distance ##d## to a point in the given problem

What is the formula to find the distance to a point?

The distance \(d\) to a point can be calculated using the distance formula, which is \(d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}\) for a two-dimensional space, where \((x_1, y_1)\) and \((x_2, y_2)\) are the coordinates of the two points.

How do I find the distance from a point to a line?

The distance from a point to a line can be found using the formula \(d = \frac{|Ax_1 + By_1 + C|}{\sqrt{A^2 + B^2}}\), where \(Ax + By + C = 0\) is the equation of the line and \((x_1, y_1)\) are the coordinates of the point.

What if I need to find the distance in three-dimensional space?

In three-dimensional space, the distance \(d\) to a point can be calculated using the formula \(d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2 + (z_2 - z_1)^2}\) where \((x_1, y_1, z_1)\) and \((x_2, y_2, z_2)\) are the coordinates of the two points.

Can I find the distance between two points using their latitude and longitude?

Yes, the distance between two points given their latitude and longitude can be calculated using the Haversine formula, which accounts for the curvature of the Earth. The formula is \(d = 2r \cdot \arcsin\left(\sqrt{\sin^2\left(\frac{\Delta \text{lat}}{2}\right) + \cos(\text{lat}_1) \cdot \cos(\text{lat}_2) \cdot \sin^2\left(\frac{\Delta \text{long}}{2}\right)}\right)\), where \(r\) is the Earth's radius.

How can I visualize the distance to a point?

To visualize the distance to a point, you can plot the points on a graph or a coordinate system. You can use a ruler to measure the distance directly if it's a 2D plot, or use 3D modeling software for three-dimensional points. Additionally, mapping tools and software can help visualize geographical distances.

Back
Top