December 30, 2022

Distance Between Two Points - Formula, Derivation, Examples

The idea of length is important in both math and daily life. From easily calculating the length of a line to calculating the shortest route among two locations, comprehending the distance among two points is vital.


In this blog article, we will take a look at the formula for distance between two points, go through a few examples, and talk about realistic utilizations of this formula.

The Formula for Distance Within Two Locations

The distance among two points, frequently signified as d, is the extent of the line segment linking the two locations.


Mathematically, this can be depicted by drawing a right triangle and employing the Pythagorean theorem. As stated in the Pythagorean theorem, the square of the length of the longest side (the hypotenuse) is equivalent to the total of the squares of the distances of the two other sides.


The formula for the Pythagorean theorem is a2 + b2 = c2. Consequently, √c2 will equal the distance, d.


In the circumstance of finding the distance between two points, we can depict the points as coordinates on a coordinate plane. Let's say we possess point A with coordinates (x1, y1) and point B at (x2, y2).


We could further employ the Pythagorean theorem to derive the ensuing formula for distance:

d = √((x2 - x1)2 + (y2 - y1)2)


In this formula, (x2 - x1) depicts the distance on the x-axis, and (y2 - y1) represents the distance along y-axis, constructing a right angle. By taking the square root of the sum of their squares, we obtain the length between the two points.


Here is a visual depiction:


Instances of Using the Distance Formula

Considering we possess the formula for distance, let's check out few instances of how it can be used.

Working out the Length Among the Two Locations on a Coordinate Plane

Suppose we possess two locations on a coordinate plane, A with coordinates (3, 4) and B with coordinates (6, 8). We will use the distance formula to find the distance between these two points as follows:


d = √((6 - 3)2+ (8 - 4)2)

d = √(32 + 42)

d = √(9 + 16)

d = √(25)

d = 5


Therefore, the distance between points A and B is 5 units.

Calculating the Distance Between Two Locations on a Map

In addition to finding length on a coordinate plane, we can further utilize the distance formula to calculate distances between two locations on a map. For example, assume we have a map of a city with a scale of 1 inch = 10 miles.


To work out the distance among two points on the map, similar to the airport and the city hall, we can easily measure the length between the two locations utilizing a ruler and convert the measurement to miles using the map's scale.


Once we calculate the distance within these two points on the map, we find it is 2 inches. We change this to miles utilizing the map's scale and work out that the real distance among the city hall and the airport is 20 miles.

Determining the Distance Among Two Locations in Three-Dimensional Space

In addition to calculating lengths in two dimensions, we could further utilize the distance formula to calculate the length between two locations in a three-dimensional space. For instance, assume we possess two locations, A and B, in a three-dimensional space, with coordinates (x1, y1, z1) and (x2, y2, z2), respectively.


We will use the distance formula to work out the length within these two locations as ensuing:

d = √((x2 - x1)2 + (y2 - y1)2 + (z2 - z1)2)


Utilizing this formula, we can determine the length within any two points in three-dimensional space. For instance, if we have two locations A and B with coordinates (1, 2, 3) and (4, 5, 6), each, we could work out the distance within them as ensues:


d = √((4 - 1)2 + (5 - 2)2 + (6 - 3)2)

d = √(32 + 32 + 32)

d = √(9 + 9 + 9)

d = √(27)

d = 3.16227766


Hence, the distance between locations A and B is roughly 3.16 units.

Uses of the Distance Formula

Now that we have looked at few instances of utilizing the distance formula, let's explore some of its Utilizations in mathematics and other areas.

Calculating Distances in Geometry

In geometry, the distance formula is utilized to calculate the length of line segments and the sides of triangles. For example, in a triangle with vertices at points A, B, and C, we use the distance formula to calculate the distances of the sides AB, BC, and AC. These distances could be used to measure other properties of the triangle, for instance its area, perimeter and its interior angles.

Solving Problems in Physics

The distance formula is additionally used in physics to solve problems involving acceleration, speed and distance. For instance, if we perceive the original location and velocity of an object, in addition to the time it requires for the object to transport a certain distance, we can utilize the distance formula to calculate the object's ultimate position and speed.

Analyzing Data in Statistics

In statistics, the length formula is usually utilized to calculate the distances within data points in a dataset. This is beneficial for clustering algorithms, that segregate data points which are close to each other, and for dimensionality reduction techniques, this portrays high-dimensional data in a lower-dimensional space.

Go the Distance with Grade Potential

The distance formula is ac crucial theory in mathematics which enables us to figure out the distance within two points on a plane or in a three-dimensional space. By using the Pythagorean theorem, we could obtain the distance formula and implement it to a assortments of scenarios, from calculating distances on a coordinate plane to analyzing data in statistics.


Comprehending the distance formula and its applications are crucial for everyone fascinated in mathematics and its applications in other areas. If you're struggling with the distance formula or any other mathematical theories, reach out to Grade Potential tutoring for personalized help. Our professional instructors will help you master any math topic, from algebra to calculus and furthermore.


Connect with us right now to learn more and schedule your first tutoring session.