In view of the coronavirus pandemic, we are making LIVE CLASSES and VIDEO CLASSES completely FREE to prevent interruption in studies
Maths > Introduction to Three Dimensional Geometry > Distance Between Two Points
Introduction to Three Dimensional Geometry

Distance Between Two Points

Distance is a mathematical quantity that is used to find out how far 2 points lie from each other in a 2D space. This parameter is perhaps one of the most important mathematical quantities. It is used to in advanced mathematics and physics to model such quantities as the velocity of a moving body, the magnitude and direction of electrical and gravitational forces, and in signal processing. Let us study the distance between two points in detail.

Suggested Videos

Play
Play
Play
Arrow
Arrow
ArrowArrow
Introduction to 3D geometry
Equation of a Line in 3D
Intersection of Line and Plane
Slider

 

Distance Between Two Points

2D distance is the distance between 2 points in a 2D space. In a 2D space, each point, or location in the space, is qualified by 2 parameters like an x-coordinate, and a y-coordinate. We denote the combination of x-coordinate and y-coordinate in something known as an ordered pair, denoted by (x, y). Therefore, the coordinates of some point P would be represented as P(x,y).

Browse more Topics under Introduction To Three Dimensional Geometry

The 2D distance between two points is measured by the distance formula. Consider points P1 and P2, with coordinates given as P1(x1, y1) and P2(x2,y2). Therefore, the distance between them would be denoted by d, where:

d = √[( y–  y1)² + ( x–  x2)²]

The way to think about distance calculation is in 3 parts:

  • Calculate the difference in y-coordinates, and square the difference, denote as quantity q1
  • Calculate the difference in x-coordinates, and square the difference, denote as quantity q2
  • Take the square root of ( q+ q).

Example 1

Calculate the distance between the points P1(1,2) and P2(4,3)

Distance Between Two Points

Solution: In the given problem, we have: x= 1, y= 2,  x2 = 4, and y = 3. Therefore, we have:
q = (3-2)² = 1
 q2= (4-1)² = 9
distance (d) = √(q+ q2)
∴d = √(1 + 9) = √10 = 3.16227  units.
As you can see in the previous example, we have written the units of distance as ‘units’, and not ‘square units.’

Example 2

Calculate the distance between the points P1(1,2) and P2(4,2)

Distance Between Two Points

Solution: In the given problem, we have: x1 = 1, y1 = 2, x2 = 4, and y2 = 2. Therefore, we have:
q1 = (2-2)² = 0
q2 = (4-1)² = 9
distance (d) = √(q1+q2)
∴d = √(0 + 9) = √9 = 3 units.

Important Points:

  • As you can see, in the above problem, we have y2-y1 = 0. This means that the points are on the same horizontal line.
  • The distance between any two points on the same horizontal line (where y1 = y2) is given by d = |x2 – x1| where | | is used to denote the absolute value of x2 – x1.

Example 3

Calculate the distance between the points P1(1,2) and P2(1,5)

 

Distance Between Two Points

Solution: In the given problem, we have: x= 1, y= 1, x2 = 1, and y = 2. Therefore, we have:
q = (4-1)²= 9
q= (1-1)² = 0
distance (d) = √(q+ q2)
∴d = √(9 + 0) = √9 = 3 units.

Important Points:

  • As you can see, in the above problem, we have x1 –  x2 = 0. This means that the points are on the same vertical line.
  • The distance between any two points on the same vertical line (where x 1  = x2) is given by d = | y –  y| where | | is used to denote the absolute value of  y –  y1

Solved Question for You

Question 1: Can the distance between any two points be negative?

Answer: No, the distance between 2 points cannot be negative. This can be thought of in terms of 3 reasons:

  1. Distance is used to denote a physical quantity, expressing how far two points are from each other, and such a quantity cannot be negative.
  2. Distance is equal to the square root of the sum of two positive numbers. The sum of two positive numbers is always positive, and the square root of a positive number is always positive.
  3. In the exceptional case that the distance between 2 points is zero, it is still a non-negative value, hence the distance cannot be negative.

This concludes our discussion on the topic – distance between two points.

Question 2: How to find Y-intercept?

Answer: We can find the Y-intercept using the equation of the line. Put zero for the x variable and solve for y. Moreover, if the equation is written in the slope-intercept form then put in the slope and the x and y coordinates for a point on the line to solve for y.

Question 3: What is the distance between two points?

Answer: Basically, the distance between two points is the length of the line segment that connects them. Most importantly, the distance between two points is always positive and segments that have equal length are called congruent segments.

Question 4: What is the formula for distance between two points?

Answer: The formula of distance between two points is P(x1, y1) and Q(x2, y2) is given by: d (P, Q) = √ (x2 – x1) + (y2 – y1) 2. While the distance of a point is P(x, y) from the origin is given by d(0, P) = √ x2 + y2.

Question 5: What is the minimum distance?

Answer: Minimum distance refers to the estimation of the statistical methods for fitting a model to data. Moreover, the closest pair of points problem, the algorithmic problems of two points that have the minimum distance among a larger set of points.

Share with friends

Customize your course in 30 seconds

Which class are you in?
5th
6th
7th
8th
9th
10th
11th
12th
Get ready for all-new Live Classes!
Now learn Live with India's best teachers. Join courses with the best schedule and enjoy fun and interactive classes.
tutor
tutor
Ashhar Firdausi
IIT Roorkee
Biology
tutor
tutor
Dr. Nazma Shaik
VTU
Chemistry
tutor
tutor
Gaurav Tiwari
APJAKTU
Physics
Get Started

Leave a Reply

avatar
  Subscribe  
Notify of

Stuck with a

Question Mark?

Have a doubt at 3 am? Our experts are available 24x7. Connect with a tutor instantly and get your concepts cleared in less than 3 steps.
toppr Code

chance to win a

study tour
to ISRO

Download the App

Watch lectures, practise questions and take tests on the go.

Get Question Papers of Last 10 Years

Which class are you in?
No thanks.