December 30, 2022

Distance Between Two Points - Formula, Derivation, Examples

The concept of distance is vital in both math and everyday life. From straightforward calculating the extent of a line to figuring out the quickest route between two points, comprehending the length within two points is crucial.


In this blog, we will explore the formula for distance within two extremities, go through a few examples, and discuss real-life applications of this formula.

The Formula for Length Between Two Locations

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


Mathematically, this can be represented by drawing a right triangle and using 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 distances of the two other sides.


The formula for the Pythagorean theorem is a2 + b2 = c2. As a result, √c2 will as same as the distance, d.


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


We can thereafter use the Pythagorean theorem to derive 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) depicts the length along y-axis, creating a right angle. By considering the square root of the sum of their squares, we get the distance among the two extremities.


Here is a graphical depiction:


Instances of Utilizations of the Distance Formula

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

Finding the Length Among the 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 utilize the distance formula to calculate the length between these two points as ensues:


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

d = √(32 + 42)

d = √(9 + 16)

d = √(25)

d = 5


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

Calculating the Length Between Two Points on a Map

In addition to finding distances on a coordinate plane, we can also use the distance formula to calculate distances between two locations on a map. For example, suppose we posses a map of a city along a scale of 1 inch = 10 miles.


To find the length among two points on the map, such as the airport and the city hall, we could easily measure the distance among the two points using a ruler and convert the measurement to miles utilizing the map's scale.


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

Calculating the Distance Between Two Locations in Three-Dimensional Space

In addition to finding lengths in two dimensions, we can also use the distance formula to figure out the distance among two points in a three-dimensional space. For instance, suppose we possess two locations, 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 work out the length within these two locations as follows:

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


Utilizing this formula, we could calculate the distance within any two points in three-dimensional space. For instance, if we have two locations A and B with coordinates (1, 2, 3) and (4, 5, 6), each, we could work out 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


Therefore, the length within locations A and B is just about 3.16 units.

Applications of the Distance Formula

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

Calculating Length 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 use the distance formula to figure out the distances of the sides AB, BC, and AC. These lengths could 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 additionally utilized in physics to solve questions concerning distance, speed, and acceleration. For example, if we recognize the initial location and velocity of an object, also the time it takes for the object to transport a certain distance, we can utilize the distance formula to calculate the object's concluding location and speed.

Analyzing Data in Statistics

In statistics, the distance formula is frequently used to workout the distances within data points in a dataset. This is useful for clustering algorithms, which segregate data points that are close to each other, and for dimensionality reduction techniques, this depicts high-dimensional data in a lower-dimensional space.

Go the Distance with Grade Potential

The distance formula is ac crucial theory in math that allows us to figure out the distance between two points on a plane or in a three-dimensional space. By utilizing the Pythagorean theorem, we could derive the distance formula and implement it to a assortments of situations, from measuring distances on a coordinate plane to analyzing data in statistics.


Understanding the distance formula and its uses are important for everyone interested in mathematics and its uses in other areas. If you're having difficulties regarding the distance formula or any other math theories, reach out to Grade Potential tutoring for tailored help. Our experienced teachers will help you master any math topic, from algebra to calculus and furthermore.


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