December 30, 2022

Distance Between Two Points - Formula, Derivation, Examples

The concept of length is crucial in both math and routine life. From simply calculating the extent of a line to working out the quickest route among two extremities, comprehending the distance between two points is important.


In this blog, we will take a look at the formula for distance within two locations, go through a few examples, and talk about realistic utilizations of this formula.

The Formula for Length Within Two Points

The distance among two locations, often denoted as d, is the length of the line segment connecting the two points.


In math, this could be portrayed by drawing a right triangle and employing the Pythagorean theorem. According to Pythagorean theorem, the square of the length 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. As a consequence, √c2 will as same as the length, d.


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


We could then utilize the Pythagorean theorem to acquire the ensuing formula for distance:

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


In this formula, (x2 - x1) represents the length on the x-axis, and (y2 - y1) portrays the length along y-axis, forming 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 graphical 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 utilized.

Working out the Length Between Two Locations on a Coordinate Plane

Assume we have two extremities on a coordinate plane, A with coordinates (3, 4) and B with coordinates (6, 8). We will use the distance formula to calculate the distance between these two locations as follows:


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

d = √(32 + 42)

d = √(9 + 16)

d = √(25)

d = 5


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

Calculating the Length Between Two Extremities on a Map

In addition to figuring out the 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 posses a map of a city with a scale of 1 inch = 10 miles.


To figure out the distance within two points on the map, similar to the airport and the city hall, we can simply calculate the distance among the two locations utilizing a ruler and convert the measurement to miles using the map's scale.


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

Working out the Distance Between Two Points in Three-Dimensional Space

In addition to calculating lengths in two dimensions, we can also use the distance formula to calculate 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), individually.


We will utilize the distance formula to figure out the distance between these two locations as follows:

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


Utilizing this formula, we can calculate the distance among any two points 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 could find the length within 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 length within locations A and B is just about 3.16 units.

Uses of the Distance Formula

Now once we have seen some instances of utilizing the distance formula, let's study few of its Utilizations in math and other fields.

Measuring Distances in Geometry

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

Solving Problems in Physics

The distance formula is additionally employed in physics to solve questions involving acceleration, speed and distance. For instance, if we know the original position and velocity of an object, also the time it takes for the object to move a certain length, we could utilize the distance formula to calculate the object's concluding location and speed.

Analyzing Data in Statistics

In statistics, the length formula is usually utilized to figure out the distances between data points in a dataset. This is useful for clustering algorithms, which 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 theory in mathematics that allows us to figure out the distance between two location 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 magnitude of situations, from measuring distances on a coordinate plane to analyzing data in statistics.


Comprehending the distance formula and its utilizations are crucial for everyone interested in math and its applications in other areas. If you're struggling with the distance formula or any other math concept, Grade Potential tutoring for personalized help. Our expert instructors will support you master any math topic, from algebra to calculus and furthermore.


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