Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker.
How to calculate the distance between two points on a Cartesian system?
In order to calculate the distance between two points on a plane, you must have the coordinates of each of the two points. In a two-dimensional landmark, you must know the abscissa and the ordinate. Some generalities:
- The abscissas are generally denoted “x” and refer to the horizontal measurement of the plane.
- The ordinates are often denoted “y” and refer to the vertical measurement of the plane.
Once these elements have been obtained, simply use the calculation formula: distance = √ ((x2-x1) ^ 2 + (y2-y1) ^ 2) Distance in 2 dimensions.
2D Distance Calculation with Steps
You have to now that the formula given above is made from the pythagorean theorem. If we consider the following data:
We have to complete the formula like this: distance = √ ((9-5) ^ 2 + (3-8) ^ 2)
Thus, here are all steps with our example:
- distance = √ ((8-5) ^ 2 + (3-8) ^ 2)
- distance = √ ((4) ^ 2 + (-5) ^ 2)
- distance = √ (16 + 25)
- distance = √ 41
- distance ≈ 6.4031242374328485