December 30, 2022

Distance Between Two Points - Formula, Derivation, Examples

The idea of length is important in both math and everyday life. From straightforward calculating the extent of a line to figuring out the quickest route among two locations, understanding the distance within two points is vital.


In this blog article, we will inspect the formula for distance between two locations, work on some examples, and discuss realistic utilizations of this formula.

The Formula for Length Between Two Locations

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


Mathematically, this could be portrayed by drawing a right triangle and using the Pythagorean theorem. As stated in the Pythagorean theorem, the square of the distance 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. Consequently, √c2 will equal the length, d.


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


We could further employ the Pythagorean theorem to derive the ensuing formula for distance:

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


In this formula, (x2 - x1) portrays the distance on the x-axis, and (y2 - y1) portrays the length along y-axis, creating a right angle. By taking the square root of the sum of their squares, we get the distance among the two extremities.


Here is a graphical representation:


Instances of Using the Distance Formula

Now that we have the formula for distance, let's look at some examples of how it can be utilized.

Finding the Length Within Two Locations on a Coordinate Plane

Imagine we have 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 length between these two locations as ensues:


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

d = √(32 + 42)

d = √(9 + 16)

d = √(25)

d = 5


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

Calculating the Length Within Two Extremities on a Map

In addition to finding length on a coordinate plane, we could also use the distance formula to work out lengths between two locations on a map. For instance, suppose we have a map of a city with a scale of 1 inch = 10 miles.


To work out the distance between two locations on the map, such as the airport and the city hall, we can easily work out the distance among the two locations utilizing a ruler and convert the measurement to miles utilizing the map's scale.


While we measure the distance 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 find out that the real distance within the airport and the city hall is 20 miles.

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

In addition to calculating lengths in two dimensions, we can further utilize the distance formula to work out the distance among two points in a three-dimensional space. For example, assume we have two locations, A and B, in a three-dimensional space, with coordinates (x1, y1, z1) and (x2, y2, z2), respectively.


We will utilize the distance formula to find the length within these two locations as follows:

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


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


Hence, the distance within points A and B is roughly 3.16 units.

Utilizations of the Distance Formula

Now that we have looked at some instances of utilizing the distance formula, let's examine some of its applications in math and other areas.

Calculating Length 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 utilize the distance formula to figure out the lengths of the sides AB, BC, and AC. These lengths can be used to measure other properties of the triangle, such as its perimeter, area, and interior angles.

Solving Problems in Physics

The distance formula is also utilized in physics to solve questions concerning speed, distance and acceleration. For example, if we perceive the initial position and velocity of an object, also the time it takes for the object to transport a certain length, we could use the distance formula to calculate the object's concluding position and speed.

Analyzing Data in Statistics

In statistics, the distance formula is frequently used to calculate the distances within data points in a dataset. This is useful for clustering algorithms, which segregate data points which 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 an essential theory in math which 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 obtain the distance formula and implement it to a magnitude of scenarios, from calculating length on a coordinate plane to analyzing data in statistics.


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


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