December 30, 2022

Distance Between Two Points - Formula, Derivation, Examples

The concept of distance is critical in both math and routine life. From straightforward calculating the extent of a line to working out the shortest route among two points, understanding the distance within two points is crucial.


In this blog article, we will investigate the formula for distance between two points, go through some examples, and talk about real-life applications of this formula.

The Formula for Distance Within Two Locations

The distance among two points, usually signified as d, is the extent of the line segment linking the two points.


In math, this can be portrayed by drawing a right triangle and utilizing the Pythagorean theorem. According to Pythagorean theorem, the square of the distance of the extensive side (the hypotenuse) is equal 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 as same as the distance, d.


In the circumstance of working out 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 could thereafter employ the Pythagorean theorem to acquire the following formula for distance:

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


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


Here is a visual representation:


Examples of Applications of the Distance Formula

Once we possess the formula for distance, let's check out some instances of how it can be used.

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

Suppose we have two extremities 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 within these two locations as follows:


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

d = √(32 + 42)

d = √(9 + 16)

d = √(25)

d = 5


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

Calculating the Distance Among Two Locations on a Map

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


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


When we calculate the distance between these two locations on the map, we figure out it is 2 inches. We change this to miles using the map's scale and work out that the true length within the airport and the city hall is 20 miles.

Calculating the Length Within Two Points in Three-Dimensional Space

In addition to finding distances in two dimensions, we can further utilize the distance formula to figure out the distance within two points in a three-dimensional space. For example, assume we have two points, A and B, in a three-dimensional space, with coordinates (x1, y1, z1) and (x2, y2, z2), individually.


We will utilize the distance formula to find the distance within these two locations as ensuing:

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


Using this formula, we can identify the length within 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), respectively, we can figure out the distance within 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


Hence, the length between points A and B is just about 3.16 units.

Applications of the Distance Formula

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

Calculating Distances in Geometry

In geometry, the distance formula is utilized to work out 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 lengths of the sides AB, BC, and AC. These lengths could be employed to measure other characteristics of the triangle, for instance its area, perimeter and its interior angles.

Solving Problems in Physics

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

Analyzing Data in Statistics

In statistics, the distance formula is frequently utilized to figure out the length between 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, this portrays high-dimensional data in a lower-dimensional space.

Go the Distance with Grade Potential

The distance formula is an essential concept in mathematics which allows us to work out the between 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 magnitude of scenarios, 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 math and its applications in other fields. If you're struggling regarding the distance formula or any other math theories, connect with Grade Potential tutoring for customized help. Our expert instructors will help you master any mathematics topic, from algebra to calculus and furthermore.


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