December 30, 2022

Distance Between Two Points - Formula, Derivation, Examples

The concept of length is important in both math and routine life. From easily measuring the length of a line to calculating the quickest route between two points, comprehending the distance between two points is crucial.


In this blog article, we will inspect the formula for distance between two points, go through a few examples, and discuss real-life utilizations of this formula.

The Formula for Distance Within Two Locations

The length between two locations, often indicated as d, is the extent of the line segment linking the two locations.


In math, this can be depicted by drawing a right triangle and employing the Pythagorean theorem. Per the Pythagorean theorem, the square of the length of the extensive side (the hypotenuse) is equivalent 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 finding the distance within two locations, we could represent 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 can then utilize the Pythagorean theorem to extract the ensuing 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) portrays the distance along y-axis, constructing 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 possess the formula for distance, let's check out some examples of how it can be utilized.

Calculating the Distance Within Two Points 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 length within these two locations as follows:


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

d = √(32 + 42)

d = √(9 + 16)

d = √(25)

d = 5


Therefore, the length within points A and B is 5 units.

Calculating the Length Among Two Extremities on a Map

In addition to working out the distances on a coordinate plane, we can also utilize the distance formula to work out distances between two locations on a map. For instance, suppose we posses a map of a city along a scale of 1 inch = 10 miles.


To figure out the distance among two locations on the map, similar to the airport and the city hall, we could simply work out the distance among the two points utilizing a ruler and change the measurement to miles utilizing the map's scale.


Once we calculate the length within these two points on the map, we find it is 2 inches. We convert this to miles using the map's scale and find that the true length among the airport and the city hall is 20 miles.

Calculating the Length Among Two Locations in Three-Dimensional Space

In addition to finding distances in two dimensions, we can also use the distance formula to work out the length within two locations in a three-dimensional space. For instance, suppose we possess 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)


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 can find 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


Therefore, the length between points A and B is approximately 3.16 units.

Uses of the Distance Formula

Now that we have seen few instances of utilizing the distance formula, let's examine some of its uses in math 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 instance, in a triangle with vertices at points A, B, and C, we use the distance formula to calculate the lengths of the sides AB, BC, and AC. These lengths could be employed to measure other characteristics of the triangle, such as its perimeter, area, and interior angles.

Solving Problems in Physics

The distance formula is additionally utilized in physics to figure out problems involving acceleration, speed and distance. For instance, if we recognize the original position and velocity of an object, also the time it requires for the object to move a specific distance, we could use the distance formula to figure out the object's final position and speed.

Analyzing Data in Statistics

In statistics, the distance formula is usually utilized to figure out the length between data points in a dataset. This is beneficial for clustering algorithms, that segregate data points that are near to each other, and for dimensionality reduction techniques, which portrays high-dimensional data in a lower-dimensional space.

Go the Distance with Grade Potential

The distance formula is an essential theory in mathematics that allows us to work out the between two points on a plane or in a three-dimensional space. By utilizing the Pythagorean theorem, we can derive the distance formula and implement it to a magnitude of situations, from measuring distances on a coordinate plane to analyzing data in statistics.


Understanding the distance formula and its utilizations are important for anyone fascinated in math and its applications in other areas. If you're having difficulties regarding the distance formula or any other math theories, contact Grade Potential tutoring for personalized guidance. Our experienced instructors will help you master any math topic, from algebra to calculus and furthermore.


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