December 30, 2022

Distance Between Two Points - Formula, Derivation, Examples

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


In this blog article, we will take a look at the formula for distance between two points, work on some examples, and discuss real-life utilizations of this formula.

The Formula for Distance Within Two Points

The length within two locations, often denoted as d, is the extent of the line segment connecting the two extremities.


In math, this could be portrayed by drawing a right triangle and using the Pythagorean theorem. Per 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. As a result, √c2 will as same as the length, d.


In the case of working out the length within two points, we could 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 can thereafter utilize the Pythagorean theorem to derive the following formula for distance:

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


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


Here is a graphical depiction:


Instances of Utilizations of the Distance Formula

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

Finding the Distance Among the Two Locations on a Coordinate Plane

Imagine we have two extremities on a coordinate plane, A with coordinates (3, 4) and B with coordinates (6, 8). We will utilize the distance formula to find the distance within these two locations as ensues:


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

d = √(32 + 42)

d = √(9 + 16)

d = √(25)

d = 5


Hence, the distance within points A and B is 5 units.

Calculating the Length Within Two Points on a Map

In addition to finding distances on a coordinate plane, we could further use the distance formula to figure out distances between two points on a map. For example, assume we posses a map of a city with a scale of 1 inch = 10 miles.


To figure out the distance among two points on the map, such as the airport and the city hall, we could simply calculate the length within the two points employing a ruler and change the measurement to miles using the map's scale.


When we measure the distance among these two points on the map, we figure out it is 2 inches. We convert this to miles using the map's scale and work out that the real distance between the city hall and the airport is 20 miles.

Calculating the Length Among Two Locations in Three-Dimensional Space

In addition to finding lengths in two dimensions, we could also utilize the distance formula to figure out the distance within 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), respectively.


We will employ the distance formula to work out the length within these two locations as follows:

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


Utilizing this formula, we can identify the length between any two points in three-dimensional space. For example, if we possess two points A and B with coordinates (1, 2, 3) and (4, 5, 6), individually, we could work out the distance between 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 length within points A and B is just about 3.16 units.

Uses of the Distance Formula

Now that we have observed few examples of using the distance formula, let's study few of its applications in math and other fields.

Calculating Distances in Geometry

In geometry, the distance formula is utilized to work out 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 can be utilized to calculate other characteristics of the triangle, for example its interior angles, area, perimeter.

Solving Problems in Physics

The distance formula is further utilized in physics to solve questions involving speed, distance and acceleration. For example, if we know the initial location and velocity of an object, as well as the time it requires for the object to transport a certain distance, we can utilize the distance formula to work out the object's final location and speed.

Analyzing Data in Statistics

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

Go the Distance with Grade Potential

The distance formula is an important concept in mathematics that enables us to calculate the within 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 distances on a coordinate plane to analyzing data in statistics.


Comprehending the distance formula and its utilizations are important for anyone interested in math and its uses in other areas. If you're having difficulties with the distance formula or any other mathematical theories, contact Grade Potential tutoring for tailored help. Our expert instructors will assist you master any mathematics topic, from algebra to calculus and beyond.


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