December 30, 2022

Distance Between Two Points - Formula, Derivation, Examples

The theory of length is vital in both math and daily life. From easily measuring the length of a line to calculating the shortest route within two extremities, understanding the distance between two points is crucial.


In this blog, we will explore the formula for distance within two extremities, work on a few examples, and discuss realistic uses of this formula.

The Formula for Distance Within Two Locations

The length between two points, often denoted as d, is the length of the line segment connecting the two points.


In math, this can be portrayed by drawing a right triangle and utilizing the Pythagorean theorem. As stated in the Pythagorean theorem, the square of the length of the extensive side (the hypotenuse) is equivalent to the total of the squares of the lengths of the two other sides.


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


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


We can further utilize the Pythagorean theorem to extract the following formula for distance:

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


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


Here is a visual illustration:


Instances of Utilizations of the Distance Formula

Considering we have the formula for distance, let's look at few examples of how it can be used.

Finding the Length Among the Two Points on a Coordinate Plane

Assume we have two locations 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 locations as ensues:


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

d = √(32 + 42)

d = √(9 + 16)

d = √(25)

d = 5


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

Calculating the Distance Among Two Locations on a Map

In addition to figuring out the length on a coordinate plane, we could also utilize the distance formula to calculate lengths between two points on a map. For example, suppose we posses a map of a city with a scale of 1 inch = 10 miles.


To find the distance within two points on the map, such as the city hall and the airport, we can simply work out the distance among the two locations using a ruler and change the measurement to miles utilizing the map's scale.


When we calculate the length within these two points on the map, we figure out it is 2 inches. We convert this to miles using the map's scale and find out that the actual distance within the airport and the city hall is 20 miles.

Determining the Distance Between Two Points in Three-Dimensional Space

In addition to calculating lengths in two dimensions, we could further utilize the distance formula to calculate the length among two points in a three-dimensional space. For instance, assume we have two points, 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 find the distance within these two locations as ensuing:

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


Using this formula, we can determine the length between any two points in three-dimensional space. For instance, if we possess two points A and B with coordinates (1, 2, 3) and (4, 5, 6), individually, we could figure out the distance within them as follows:


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 length within locations A and B is roughly 3.16 units.

Utilizations of the Distance Formula

Now once we have looked at few examples of utilizing the distance formula, let's examine few of its Utilizations in math and other areas.

Measuring Length in Geometry

In geometry, the distance formula is used 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 utilize the distance formula to calculate the lengths of the sides AB, BC, and AC. These lengths can be used to calculate other properties of the triangle, for instance its perimeter, area, and interior angles.

Solving Problems in Physics

The distance formula is further utilized in physics to figure out questions involving speed, distance and acceleration. For example, if we perceive the original location and velocity of an object, as well as the time it requires for the object to transport a certain distance, we can use the distance formula to calculate the object's final position and speed.

Analyzing Data in Statistics

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

Go the Distance with Grade Potential

The distance formula is an essential theory in math that allows us to work out the distance between two location on a plane or in a three-dimensional space. By utilizing the Pythagorean theorem, we can derive the distance formula and implement it to a magnitude of scenarios, from calculating distances on a coordinate plane to analyzing data in statistics.


Understanding the distance formula and its applications are essential for anyone fascinated in mathematics and its applications in other areas. If you're struggling with the distance formula or any other mathematical theories, contact Grade Potential tutoring for tailored help. Our experienced teachers will assist you conquer any math topic, from algebra to calculus and beyond.


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