December 30, 2022

Distance Between Two Points - Formula, Derivation, Examples

The idea of length is vital in both math and routine life. From simply measuring the extent of a line to designing the shortest route among two locations, comprehending the length among two points is crucial.


In this article, we will inspect the formula for distance between two locations, work on a few examples, and talk about real-life uses of this formula.

The Formula for Distance Between Two Points

The length among two points, often denoted as d, is the length of the line segment linking the two points.


In math, this could be represented by drawing a right triangle and utilizing the Pythagorean theorem. As stated in the Pythagorean theorem, the square of the distance of the longest side (the hypotenuse) is equal to the sum of the squares of the distances of the two other sides.


The formula for the Pythagorean theorem is a2 + b2 = c2. As a consequence, √c2 will as same as the distance, d.


In the circumstance of finding the length between two locations, we could portray the extremities as coordinates on a coordinate plane. Let's assume we possess point A with coordinates (x1, y1) and point B at (x2, y2).


We can further utilize 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, forming a right angle. By considering the square root of the sum of their squares, we obtain the distance between the two points.


Here is a visual depiction:


Instances of Utilizations of the Distance Formula

Once we possess the formula for distance, let's check out some examples of how it can be used.

Calculating the Distance Between Two Locations on a Coordinate Plane

Imagine we possess two points on a coordinate plane, A with coordinates (3, 4) and B with coordinates (6, 8). We will employ the distance formula to figure out 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


Consequently, the length between points A and B is 5 units.

Calculating the Length Within Two Locations on a Map

In addition to finding distances on a coordinate plane, we can further utilize the distance formula to figure out distances within two locations on a map. For instance, suppose we posses a map of a city with a scale of 1 inch = 10 miles.


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


Once we measure the length among these two locations on the map, we find it is 2 inches. We convert this to miles using the map's scale and find out that the actual length among the airport and the city hall is 20 miles.

Calculating the Length Within Two Locations in Three-Dimensional Space

In addition to calculating distances in two dimensions, we can further use the distance formula to calculate the length between two locations in a three-dimensional space. For example, assume we possess two locations, A and B, in a three-dimensional space, with coordinates (x1, y1, z1) and (x2, y2, z2), individually.


We will utilize the distance formula to figure out the distance between these two locations as follows:

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


Utilizing this formula, we can calculate the length between any two locations in three-dimensional space. For instance, if we possess two locations A and B with coordinates (1, 2, 3) and (4, 5, 6), each, we can figure out the length 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


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

Uses of the Distance Formula

Now once we have seen some examples of utilizing the distance formula, let's examine few of its Utilizations in math and other fields.

Measuring Length in Geometry

In geometry, the distance formula is utilized to work out the distance of line segments and the sides of triangles. For instance, in a triangle with vertices at points A, B, and C, we utilize the distance formula to find the lengths of the sides AB, BC, and AC. These distances can be utilized to calculate other properties of the triangle, such as its interior angles, area, perimeter.

Solving Problems in Physics

The distance formula is further utilized in physics to work out questions involving speed, distance and acceleration. For instance, if we perceive the initial location and velocity of an object, also the time it requires for the object to move a certain distance, we could use the distance formula to calculate the object's final location and speed.

Analyzing Data in Statistics

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

Go the Distance with Grade Potential

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


Comprehending the distance formula and its applications are important for anyone interested in mathematics and its applications in other areas. If you're having difficulties regarding the distance formula or any other mathematical concept, reach out to Grade Potential tutoring for tailored guidance. Our professional instructors will assist you conquer any math topic, from algebra to calculus and beyond.


Call us right now to know more and schedule your first tutoring session.