December 30, 2022

Distance Between Two Points - Formula, Derivation, Examples

The concept of distance is vital in both math and routine life. From simply measuring the extent of a line to calculating the shortest route within two points, comprehending the distance between two points is important.


In this article, we will take a look at the formula for distance within two extremities, go through some examples, and discuss realistic utilizations of this formula.

The Formula for Length Between Two Locations

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


Mathematically, this can be represented by drawing a right triangle and employing the Pythagorean theorem. Per the Pythagorean theorem, the square of the length of the extensive side (the hypotenuse) is equal 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 length, d.


In the circumstance of finding the distance between two points, we can 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 then utilize the Pythagorean theorem to acquire 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) depicts the distance along y-axis, constructing a right angle. By taking the square root of the sum of their squares, we get the distance between the two extremities.


Here is a graphical illustration:


Instances of Utilizations of the Distance Formula

Now that we have the formula for distance, let's check out some instances of how it can be utilized.

Working out the Length Between Two Points on a Coordinate Plane

Imagine we have two points on a coordinate plane, A with coordinates (3, 4) and B with coordinates (6, 8). We will employ the distance formula to calculate 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 Length Among Two Points on a Map

In addition to working out the distances on a coordinate plane, we can also utilize the distance formula to calculate lengths between two points on a map. For instance, assume we posses a map of a city along a scale of 1 inch = 10 miles.


To figure out the distance within two locations on the map, similar to the airport and the city hall, we can easily measure the length between the two locations employing a ruler and change the measurement to miles using the map's scale.


While we measure the length within these two locations on the map, we find it is 2 inches. We change this to miles utilizing the map's scale and find out that the real distance between the airport and the city hall is 20 miles.

Calculating the Length Among Two Points in Three-Dimensional Space

In addition to finding lengths in two dimensions, we could also utilize the distance formula to figure out the length between two points in a three-dimensional space. For instance, assume we have 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 distance within these two locations as ensuing:

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


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


Thus, the distance within points A and B is roughly 3.16 units.

Applications of the Distance Formula

Now that we have observed few instances of using the distance formula, let's study some of its uses in mathematics and other fields.

Measuring Distances in Geometry

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

Solving Problems in Physics

The distance formula is further utilized in physics to solve questions concerning speed, distance and acceleration. For instance, if we perceive the original position and velocity of an object, in addition to the time it takes for the object to move a certain distance, we can utilize the distance formula to figure out the object's final position and speed.

Analyzing Data in Statistics

In statistics, the distance formula is frequently used to figure out the distances within data points in a dataset. This is useful for clustering algorithms, that group data points which are near 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 ac crucial concept in math that allows us to calculate the distance within two location on a plane or in a three-dimensional space. By using the Pythagorean theorem, we can obtain the distance formula and apply it to a variety of situations, from measuring distances on a coordinate plane to analyzing data in statistics.


Understanding the distance formula and its applications are important for everyone interested in mathematics and its applications in other fields. If you're having difficulties with the distance formula or any other math theories, connect with Grade Potential tutoring for customized help. Our professional teachers will assist you master any mathematics topic, from algebra to calculus and beyond.


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