December 30, 2022

Distance Between Two Points - Formula, Derivation, Examples

The idea of distance is critical in both math and everyday life. From simply calculating the length of a line to designing the quickest route within two locations, comprehending the distance between two points is vital.


In this blog article, we will explore the formula for distance within two extremities, go through a few examples, and discuss real-life uses of this formula.

The Formula for Length Within Two Points

The length between two points, often signified as d, is the extent of the line segment linking the two extremities.


Mathematically, this could be portrayed by drawing a right triangle and employing the Pythagorean theorem. Per the Pythagorean theorem, the square of the distance 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. As a result, √c2 will as same as the distance, d.


In the case of finding the distance within two locations, 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 then employ the Pythagorean theorem to extract the following formula for distance:

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


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


Here is a visual depiction:


Instances of Utilizations of the Distance Formula

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

Calculating the Length Within 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 utilize the distance formula to figure out the length between these two locations 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 Between Two Extremities on a Map

In addition to finding length on a coordinate plane, we can also utilize the distance formula to calculate lengths within two points 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 length between two locations on the map, similar to the city hall and the airport, we can easily calculate the distance within the two locations employing a ruler and change the measurement to miles using the map's scale.


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

Determining the Length Among Two Points in Three-Dimensional Space

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


We will use the distance formula to work out the length within these two points as follows:

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


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


Therefore, the length within points A and B is roughly 3.16 units.

Applications of the Distance Formula

Now once we have looked at few examples of utilizing the distance formula, let's examine some of its uses in mathematics and other fields.

Calculating 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 figure out the distances 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 also used in physics to work out problems concerning acceleration, speed and distance. For example, if we recognize the first location and velocity of an object, also the time it requires for the object to move a specific distance, we can use the distance formula to calculate the object's ultimate position and speed.

Analyzing Data in Statistics

In statistics, the distance formula is often utilized to workout the distances between data points in a dataset. This is beneficial for clustering algorithms, which segregate data points which are near 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 an essential idea in math which allows us to figure out the distance between two location on a plane or in a three-dimensional space. By utilizing the Pythagorean theorem, we can obtain the distance formula and apply it to a magnitude of scenarios, from calculating length on a coordinate plane to analyzing data in statistics.


Comprehending the distance formula and its uses are essential for anyone interested in mathematics and its uses in other fields. If you're struggling regarding the distance formula or any other mathematical theories, contact Grade Potential tutoring for customized guidance. Our experienced teachers will support you master any math topic, from algebra to calculus and furthermore.


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