December 30, 2022

Distance Between Two Points - Formula, Derivation, Examples

The concept of distance is important in both math and daily life. From simply measuring the length of a line to calculating the quickest route between two points, comprehending the length within two points is important.


In this blog, we will explore the formula for distance between two locations, work on some examples, and talk about realistic utilizations of this formula.

The Formula for Length Between Two Points

The length between two locations, usually indicated as d, is the length of the line segment connecting the two points.


Mathematically, this could be depicted by drawing a right triangle and utilizing the Pythagorean theorem. Per 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. Consequently, √c2 will equal the distance, d.


In the circumstance of finding the length within two points, we could portray 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 can further utilize the Pythagorean theorem to acquire the following 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 length along y-axis, creating a right angle. By taking the square root of the sum of their squares, we get the length within the two extremities.


Here is a graphical depiction:


Instances of Using the Distance Formula

Once we possess the formula for distance, let's look at few instances of how it can be utilized.

Finding the Distance Among the 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 calculate 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


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

Calculating the Distance Within Two Points on a Map

In addition to figuring out the distances on a coordinate plane, we could also utilize the distance formula to figure out distances within two points on a map. For instance, assume we posses a map of a city with a scale of 1 inch = 10 miles.


To work out the distance within two locations on the map, for instance the airport and the city hall, we could easily measure the distance between the two points utilizing a ruler and convert the measurement to miles utilizing the map's scale.


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

Determining the Length Between Two Points in Three-Dimensional Space

In addition to calculating lengths in two dimensions, we could further use the distance formula to figure out the length between two locations in a three-dimensional space. For instance, suppose we have two locations, 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 figure out the length within these two points as follows:

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


Using this formula, we could identify the distance among 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), respectively, we could find the length between 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 between points A and B is just about 3.16 units.

Utilizations of the Distance Formula

Now that we have seen some examples of utilizing the distance formula, let's explore some of its Utilizations in mathematics and other fields.

Measuring Distances in Geometry

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

Solving Problems in Physics

The distance formula is additionally utilized in physics to figure out questions comprising speed, distance and acceleration. For example, if we know the first position and velocity of an object, also the time it requires for the object to transport a certain distance, we can use the distance formula to work out the object's final position and speed.

Analyzing Data in Statistics

In statistics, the distance formula is usually used to workout 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, this represent high-dimensional data in a lower-dimensional space.

Go the Distance with Grade Potential

The distance formula is ac crucial idea in mathematics which allows us to work out the distance between two points on a plane or in a three-dimensional space. By using the Pythagorean theorem, we can derive the distance formula and implement it to a assortments of situations, from measuring distances on a coordinate plane to analyzing data in statistics.


Comprehending the distance formula and its uses are essential for anyone fascinated in math and its uses in other areas. If you're having difficulties with the distance formula or any other mathematical concept, reach out to Grade Potential tutoring for tailored assistance. Our expert instructors will help you master any math topic, from algebra to calculus and furthermore.


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