December 30, 2022

Distance Between Two Points - Formula, Derivation, Examples

The theory of length is critical in both math and everyday life. From simply measuring the extent of a line to designing the shortest route among two points, comprehending the distance among two points is crucial.


In this article, we will take a look at the formula for distance between two extremities, review a few examples, and discuss realistic utilizations of this formula.

The Formula for Distance Within Two Locations

The length among two points, frequently signified as d, is the extent of the line segment connecting the two extremities.


In math, this could be depicted 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 equal the length, d.


In instance of working out the length within two locations, we can depict the points 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 utilize 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) represents the length along y-axis, forming a right angle. By considering the square root of the sum of their squares, we obtain the distance between the two extremities.


Here is a visual illustration:


Examples of Applications of the Distance Formula

Considering we have the formula for distance, let's look at some instances of how it can be used.

Working out the Distance Among the Two Locations on a Coordinate Plane

Assume we possess two locations on a coordinate plane, A with coordinates (3, 4) and B with coordinates (6, 8). We will use the distance formula to figure out 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 length within points A and B is 5 units.

Calculating the Distance Within Two Locations 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 locations on a map. For example, suppose we have a map of a city along a scale of 1 inch = 10 miles.


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


While we calculate the length among these two locations 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 true length between the airport and the city hall is 20 miles.

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

In addition to finding lengths in two dimensions, we could also use the distance formula to calculate the length within two locations in a three-dimensional space. For instance, assume we possess two points, A and B, in a three-dimensional space, with coordinates (x1, y1, z1) and (x2, y2, z2), individually.


We will employ the distance formula to figure out the distance within these two points as ensuing:

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


Using this formula, we could identify the distance between any two points in three-dimensional space. For instance, if we possess two locations A and B with coordinates (1, 2, 3) and (4, 5, 6), each, we could find the length between 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 distance between locations A and B is just about 3.16 units.

Utilizations of the Distance Formula

Now that we have looked at few instances of utilizing the distance formula, let's examine some of its uses in mathematics and other fields.

Measuring Length in Geometry

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

Solving Problems in Physics

The distance formula is further used in physics to solve questions concerning acceleration, speed and distance. For example, if we recognize the original location and velocity of an object, as well as the time it requires for the object to transport a specific length, we can use the distance formula to calculate the object's ultimate position and speed.

Analyzing Data in Statistics

In statistics, the length formula is usually utilized to workout the length within data points in a dataset. This is beneficial for clustering algorithms, that group data points which 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 an essential concept in math which allows us to figure out the distance within two location on a plane or in a three-dimensional space. By utilizing the Pythagorean theorem, we could extract the distance formula and apply it to a assortments of situations, from measuring distances on a coordinate plane to analyzing data in statistics.


Comprehending the distance formula and its uses are important for anyone fascinated in math and its uses in other areas. If you're struggling with the distance formula or any other mathematical theories, contact Grade Potential tutoring for tailored guidance. Our expert teachers will support you conquer any mathematics topic, from algebra to calculus and furthermore.


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