What is the distance between two points

  • Thread starter Greg Bernhardt
  • Start date
  • Tags
    Points
In summary, the distance between two points in a plane with coordinates (O, \vec{i}, \vec{j}) can be determined using the formula d=|\vec{AB}|=\sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}. This is based on the Pythagorean theorem and the use of vectors. For finding the distance from the origin (0,0) to a point M(x,y), the formula is d=|\vec{OM}|=\sqrt{x^2+y^2}. This concept can also be applied to non-Euclidean spaces.
  • #1
19,471
10,091
Definition/Summary

In the plane with coordinate system [itex](O, \vec{i}, \vec{j})[/itex] are given the points [itex]A(x_1,y_1)[/itex] and [itex]B(x_2,y_2)[/itex] (see the picture). We want to determine the distance d between the points A and B.

Equations

distance between two points [itex](x_1,y_1)[/itex] and [itex](x_2,y_2)[/itex]:

[tex]d=|\vec{AB}|=\sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}[/tex]

distance from (0,0) to point M(x,y):

[tex]d=|\vec{OM}|=\sqrt{x^2+y^2}[/tex]

Extended explanation

Because of the fact that the distance is equal of the module of [itex]\vec{AB}[/itex],

d=|AB|

we need to find the module of the vector [itex]\vec{AB}=(x,y)[/itex]. Because of the rectangular triangle ACB (see the picture), satisfying the Pythagorean theorem, we have:

[tex]|\vec{AB}|^2=|\vec{AC}|^2+|\vec{CB}|^2 \ \ \ \ (1)[/tex]

Because of:

[tex]|\vec{AC}|=|\vec{A'B'}|=|x_2-x_1|[/tex] and [tex]|\vec{CB}|=|\vec{A''B''}|=|y_2-y_1|,[/tex]

substituting in (1) we have:

[tex]|\vec{AB}|^2 = |x_2-x_1|^2 + |y_2 - y_1|^2 = (x_2 - x_1)^2 + (y_2 - y_1)^2[/tex]

So, for finding the distance d between two points we have the formula:

[tex]d=|\vec{AB}|=\sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}[/tex]

If the distance d, is from the point (0,0) to arbitary point M(x,y), which [itex]d=|\vec{OM}|[/itex], then we have:

[tex]d=|\vec{OM}|=\sqrt{x^2+y^2}[/tex]

* This entry is from our old Library feature. If you know who wrote it, please let us know so we can attribute a writer. Thanks!
 
Mathematics news on Phys.org
  • #2
For a more general view one could do a forum and / or insight search on the keyword "metric". The definition above is basically the theorem of Pythagoras, but distances can also be defined on non Euclidean spaces which is e.g. necessary in cosmology!
 

Related to What is the distance between two points

What is the distance between two points?

The distance between two points is the length of the straight line segment connecting the two points.

How is the distance between two points calculated?

The distance between two points is calculated using the Pythagorean theorem, which states that in a right triangle, the square of the length of the hypotenuse (the side opposite the right angle) is equal to the sum of the squares of the other two sides. In the context of two points, this means finding the square root of the sum of the squared differences between the x-coordinates and the y-coordinates of the two points.

Can the distance between two points be negative?

No, the distance between two points cannot be negative. Distance is a measure of length, which is always positive. If the two points are in different directions, the distance may be considered negative, but this is a matter of direction and not the actual distance between the two points.

What units are used to measure distance between two points?

The units used to measure distance between two points depend on the units used for the coordinates of the points. For example, if the points are given in meters, then the distance between them will also be in meters. If the points are given in feet, then the distance between them will be in feet. It is important to ensure that the units for the coordinates and the distance are the same.

Can the distance between two points change?

Yes, the distance between two points can change if the coordinates of the points change. For example, if the two points move closer together, the distance between them will decrease. Likewise, if the points move further apart, the distance between them will increase.

Similar threads

Replies
3
Views
970
Replies
4
Views
1K
  • General Math
Replies
1
Views
727
  • General Math
Replies
2
Views
10K
Replies
11
Views
1K
  • General Math
Replies
5
Views
2K
  • General Math
Replies
20
Views
1K
Replies
9
Views
4K
Replies
12
Views
2K
  • Advanced Physics Homework Help
Replies
26
Views
4K
Back
Top