December 30, 2022

Distance Between Two Points - Formula, Derivation, Examples

The theory of length is important in both math and routine life. From straightforward measuring the length of a line to figuring out the quickest route within two points, comprehending the distance within two points is crucial.


In this blog article, we will take a look at the formula for distance between two extremities, go through a few examples, and talk about real-life uses of this formula.

The Formula for Distance Between Two Locations

The distance among two points, frequently indicated as d, is the extent of the line segment connecting the two locations.


Mathematically, this can be portrayed by drawing a right triangle and utilizing the Pythagorean theorem. As stated in the Pythagorean theorem, the square of the length of the longest 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 the circumstance of working out the distance within two locations, we can represent 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 then use the Pythagorean theorem to extract the following formula for distance:

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


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


Here is a visual representation:


Examples of Utilizations of the Distance Formula

Now that we have the formula for distance, let's check out few examples of how it can be used.

Finding the Distance Among the Two Locations 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 figure out the length within these two points as follows:


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

d = √(32 + 42)

d = √(9 + 16)

d = √(25)

d = 5


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

Calculating the Distance Between Two Points on a Map

In addition to finding length on a coordinate plane, we could also utilize the distance formula to work out distances within two locations on a map. For example, assume we posses a map of a city with a scale of 1 inch = 10 miles.


To find the length within two points on the map, for instance the airport and the city hall, we can easily work out the length among the two locations employing a ruler and convert the measurement to miles utilizing the map's scale.


Once we measure the length within 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 actual distance within the city hall and the airport is 20 miles.

Working out the Distance Among Two Locations in Three-Dimensional Space

In addition to calculating lengths in two dimensions, we can further use the distance formula to work out the distance within two points 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 utilize the distance formula to find the distance between these two points as ensuing:

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


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


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

Utilizations of the Distance Formula

Now that we have observed some instances of using the distance formula, let's examine few of its uses in math and other areas.

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 instance, in a triangle with vertices at points A, B, and C, we use the distance formula to figure out the distances of the sides AB, BC, and AC. These distances can be utilized to measure other properties of the triangle, for example its perimeter, area, and interior angles.

Solving Problems in Physics

The distance formula is additionally used in physics to solve problems comprising acceleration, speed and distance. For example, if we know the first location and velocity of an object, as well as the time it requires for the object to move a specific distance, we can use the distance formula to calculate the object's final position and speed.

Analyzing Data in Statistics

In statistics, the distance formula is usually utilized to figure out the distances within data points in a dataset. This is beneficial 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 essential idea in math that allows us to figure out 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 implement it to a magnitude of situations, from measuring length on a coordinate plane to analyzing data in statistics.


Comprehending the distance formula and its utilizations 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 concept, Grade Potential tutoring for tailored help. Our expert tutors will help you master any mathematics topic, from algebra to calculus and furthermore.


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