December 30, 2022

Distance Between Two Points - Formula, Derivation, Examples

The concept of length is critical in both math and daily life. From simply measuring the length of a line to figuring out the quickest route between two locations, comprehending the length among two points is important.


In this blog, we will take a look at the formula for distance within two locations, review some examples, and discuss realistic uses of this formula.

The Formula for Length Between Two Locations

The distance within two locations, frequently signified as d, is the length of the line segment connecting the two extremities.


In math, this could be represented by drawing a right triangle and utilizing the Pythagorean theorem. Per the Pythagorean theorem, the square of the length of the longest 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 result, √c2 will equal the length, d.


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


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


Here is a visual depiction:


Instances of Using the Distance Formula

Once we possess the formula for distance, let's check out few examples of how it can be utilized.

Working out the Distance Between Two Locations on a Coordinate Plane

Assume we have two locations 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 distance between points A and B is 5 units.

Calculating the Length Between Two Points on a Map

In addition to working out the length on a coordinate plane, we could further utilize the distance formula to work out lengths within two points on a map. For instance, assume we have a map of a city with a scale of 1 inch = 10 miles.


To work out the length within two locations on the map, similar to the city hall and the airport, we could easily calculate the distance among the two points using a ruler and convert the measurement to miles using the map's scale.


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

Calculating the Length Among Two Points in Three-Dimensional Space

In addition to finding distances in two dimensions, we could also utilize the distance formula to work out the distance between two points in a three-dimensional space. For example, 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 find the length between these two points as ensuing:

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


Using this formula, we can determine the length between any two locations in three-dimensional space. For example, if we have two locations A and B with coordinates (1, 2, 3) and (4, 5, 6), individually, we could work out the length between 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 between points A and B is just about 3.16 units.

Utilizations of the Distance Formula

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

Measuring Distances in Geometry

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

Solving Problems in Physics

The distance formula is further utilized in physics to solve questions concerning acceleration, speed and distance. For example, if we perceive the initial position and velocity of an object, in addition to the time it requires for the object to transport a specific distance, we can use the distance formula to work out the object's ultimate location and speed.

Analyzing Data in Statistics

In statistics, the length formula is frequently used to workout the distances between data points in a dataset. This is beneficial for clustering algorithms, which group data points that are near 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 idea in mathematics that allows us to work out the length between two location on a plane or in a three-dimensional space. By using the Pythagorean theorem, we can extract the distance formula and apply it to a assortments of scenarios, from measuring distances on a coordinate plane to analyzing data in statistics.


Understanding the distance formula and its utilizations are important for everyone fascinated in mathematics and its applications in other fields. If you're struggling regarding the distance formula or any other math theories, Grade Potential tutoring for personalized assistance. Our experienced teachers will help you conquer any math topic, from algebra to calculus and furthermore.


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