December 30, 2022

Distance Between Two Points - Formula, Derivation, Examples

The theory of length is crucial in both math and daily life. From easily measuring the extent of a line to designing the shortest route within two extremities, comprehending the distance among two points is important.


In this article, we will explore the formula for distance within two locations, review a few examples, and discuss realistic utilizations of this formula.

The Formula for Length Between Two Points

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


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 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. As a consequence, √c2 will as same as the distance, d.


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


We could thereafter use the Pythagorean theorem to derive the ensuing 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) portrays the distance along y-axis, forming a right angle. By considering the square root of the sum of their squares, we obtain the distance among the two points.


Here is a visual representation:


Instances of Using the Distance Formula

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

Working out the Length Among the Two Points on a Coordinate Plane

Assume we possess two extremities on a coordinate plane, A with coordinates (3, 4) and B with coordinates (6, 8). We will employ the distance formula to find the distance between these two points as ensues:


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

d = √(32 + 42)

d = √(9 + 16)

d = √(25)

d = 5


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

Calculating the Length Among Two Points on a Map

In addition to finding distances on a coordinate plane, we can also utilize the distance formula to figure out distances between two locations on a map. For instance, assume we have a map of a city along a scale of 1 inch = 10 miles.


To find the distance between two points on the map, for instance the airport and the city hall, we could simply calculate the distance within the two locations utilizing a ruler and change the measurement to miles using the map's scale.


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

Calculating the Distance Among Two Points in Three-Dimensional Space

In addition to finding distances in two dimensions, we can also utilize the distance formula to figure out the distance within two locations in a three-dimensional space. For example, assume we possess two points, 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 find the distance within these two points as ensuing:

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


Using this formula, we could calculate the length among any two locations in three-dimensional space. For example, if we possess two points A and B with coordinates (1, 2, 3) and (4, 5, 6), each, we can find the distance among 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 distance between locations A and B is approximately 3.16 units.

Applications of the Distance Formula

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

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 calculate the lengths of the sides AB, BC, and AC. These lengths can be utilized to calculate other characteristics of the triangle, such as its area, perimeter and its interior angles.

Solving Problems in Physics

The distance formula is also used in physics to solve questions concerning speed, distance and acceleration. For example, if we know the original location and velocity of an object, as well as the time it takes for the object to move a specific distance, we can utilize the distance formula to figure out the object's final position and speed.

Analyzing Data in Statistics

In statistics, the length formula is often utilized to workout the length between data points in a dataset. This is beneficial 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 allows us to calculate the length between two points on a plane or in a three-dimensional space. By using the Pythagorean theorem, we could extract 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 utilizations are important for anyone fascinated in mathematics and its uses in other areas. If you're struggling regarding the distance formula or any other mathematical concept, connect with Grade Potential tutoring for personalized guidance. Our experienced teachers will assist you master any math topic, from algebra to calculus and furthermore.


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