For example, the square of 2 is 4, the same as the square of –2. Let the coordinates of P = (7, 3) = (x1, y1), Let the coordinates of Q = (8, 9) = (x2, y2). Solution: The first step is to draw the diagram for a clear understanding of the problem. By using the distance formula we can find the shortest distance i.e drawing a straight line between points. See your article appearing on the GeeksforGeeks main page and help other Geeks. Example 1: Find the distance between the two points A(1, 2) and B(-2, 2). Therefore, the distance between the given points is 13 sq units. But we know y coordinate of point M. So we will draw a horizontal at y = 2. In the above diagram as you can see the initial and final points are A and C respectively. Coordinate Geometry Formula (1) Distance Formula: To Calculate Distance Between Two Points: Let the two points be A and B, having coordinates to be (x_1,y_1) and (x_2,y_2) respectively. If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. Then the speed is equal to the ratio of distance covered and time taken. Now draw a vertical line from point N and name point C where both lines meet. Distance formula. Experience. To find the distance between any two points in a plane, we make the use of Pythagoras theorem here. These points are usually crafted on an x-y coordinate plane. Equation of the y-axis is x=0 5. In the coordinate plane, you can use the Pythagorean Theorem to find the distance between any two points. When you work in geometry, you sometimes work with graphs, which means you’re working with coordinate geometry. Solution: Let P(1, 7), Q(4, 2), R(–1, –1) and S(– 4, 4) are the coordinates of four points in an XY plane. Learn how to derive distance formula in geometric method to find distance between any two points in a two dimensional Cartesian coordinate system. The formula is, AB=√[(x2-x1)²+(y2-y1)²] Let us take a look at how the formula was derived. The parallel line through P will meet the perpendicular drawn to the x-axis from Q at T. PT = Base, QT = Perpendicular and PQ = Hypotenuse, Hence, the distance between two points (x1, y1) and (x2, y2) is √[(x2 – x1)2 + (y2 – y1)2]. We join P and Q and make a right triangle PQR as shown in the figure below. Similarly, the distance of a point P(x, y) from the origin O(0, 0) in the Cartesian plane is given by the formula: Let us solve some problems based on the distance formula. The distance is given between points A, B is 4 m and between points B, C is 3 m. To find the shortest distance which is nothing but AC we will use the Pythagorean theorem. Equation of the x-axis is y=0 4. d = (x 2 − x 1) 2 + (y 2 − y 1) 2 It is a distance formula and used to find the distance between any two points in a two dimensional Cartesian coordinate system. => BC = (y2 – y1) = (2 – 7) = -5     [As distance can’t be negative, we have to only consider numerical value], As you see in the above diagram, now the problem is turned into basic Pythagoras theorem. Now it looks like a right triangle ACB where side AC is the perpendicular, CB is the base, and AB is the hypotenuse. Let P(x1, y1) and Q(x2, y2) be the coordinates of two points on the coordinate plane. From the figure, we have PR = (x2-x1) and QR = (y2-y1). here below. / geometry / coordinate plane / distance formula. The distance of a point from the y-axis is called its x-coordinate, or abscissa. Here also we do the same thing but before that, we have to find the coordinates of the triangle. The distance formula, in coordinate geometry or Euclidean geometry, is used to find the distance between the two points in an XY plane. Note that in the final expression, we removed the modulus signs, since the terms got squared – so it doesn’t matter whether the original terms are negative or positive. 3. Becoming familiar with the formulas and principles of geometric graphs makes sense, and you can use the following formulas and concepts as you graph: About the Book Author … For example: To find the distance between A(1,1) and B(3,4), we form a right angled triangle with A̅B̅ as the hypotenuse. The distance formula is one of the important concepts in coordinate geometry which is used widely. Distance of a point P(x;y) from the originisgiven by d(0;P)= p x2+y2. Distance between two points P(x 1;y 1)andQ(x 2;y 2)isgivenby: d(P;Q)= p (x 2−x 1)2+(y 2−y 1)2 fDistance formulag 2. Your email address will not be published. As we have to find the distance between points A and B, so first join those points then from point A draw a vertical line and from point B draw a horizontal line and let the point where both extended lines meet be C. Now to find the coordinates of point C, we should keenly observe that point C is at the same level as point B i.e the Y coordinate will be the same, and similarly point A and point C will have the same X coordinate. Draw two lines parallel to both x-axis and y-axis (as shown in the figure) through P and Q. Now we need to find the distance between points A and C. Now by seeing the diagram, the distance between them will be the difference between their y coordinate. Now draw horizontal lines from points A and B, and they both meet at point C. Now the coordinates of point C will become C (x1, y2). Let the coordinates of M = (x, 10) = (x1, y1), Let the coordinates of N = (1, 5) = (x2, y2), Here we can 2 values of x, they are 13 and -11. These coordinates could lie in x-axis or y-axis or both. The distance formula, in coordinate geometry or Euclidean geometry, is used to find the distance between the two points in an XY plane. The distance between the two points (x 1,y 1) and (x 2,y 2) is . Construct a figure to derive distance formula Please write to us at contribute@geeksforgeeks.org to report any issue with the above content. Problem 1: The coordinates of point A are (-4, 0) and the coordinates of point B are (0, 3). Now, learn how to derive the distance formula in geometry. Suppose, there are two points, say P and Q in an XY plane. In coordinate geometry, the distance formula is √[(x2 – x1)^2 + (y2 – y1)^2]. The distance of a point from a line will be the shortest line segment’s length from the point to the line. Problem 3: If the distance between the points (x, 10) and (1, 5) is 13 cm then find the value of x. Required fields are marked *. The coordinates of point P are (x1,y1) and of Q are (x2,y2). Both are completely two different topics. CBSE Previous Year Question Papers Class 10, CBSE Previous Year Question Papers Class 12, NCERT Solutions Class 11 Business Studies, NCERT Solutions Class 12 Business Studies, NCERT Solutions Class 12 Accountancy Part 1, NCERT Solutions Class 12 Accountancy Part 2, NCERT Solutions For Class 6 Social Science, NCERT Solutions for Class 7 Social Science, NCERT Solutions for Class 8 Social Science, NCERT Solutions For Class 9 Social Science, NCERT Solutions For Class 9 Maths Chapter 1, NCERT Solutions For Class 9 Maths Chapter 2, NCERT Solutions For Class 9 Maths Chapter 3, NCERT Solutions For Class 9 Maths Chapter 4, NCERT Solutions For Class 9 Maths Chapter 5, NCERT Solutions For Class 9 Maths Chapter 6, NCERT Solutions For Class 9 Maths Chapter 7, NCERT Solutions For Class 9 Maths Chapter 8, NCERT Solutions For Class 9 Maths Chapter 9, NCERT Solutions For Class 9 Maths Chapter 10, NCERT Solutions For Class 9 Maths Chapter 11, NCERT Solutions For Class 9 Maths Chapter 12, NCERT Solutions For Class 9 Maths Chapter 13, NCERT Solutions For Class 9 Maths Chapter 14, NCERT Solutions For Class 9 Maths Chapter 15, NCERT Solutions for Class 9 Science Chapter 1, NCERT Solutions for Class 9 Science Chapter 2, NCERT Solutions for Class 9 Science Chapter 3, NCERT Solutions for Class 9 Science Chapter 4, NCERT Solutions for Class 9 Science Chapter 5, NCERT Solutions for Class 9 Science Chapter 6, NCERT Solutions for Class 9 Science Chapter 7, NCERT Solutions for Class 9 Science Chapter 8, NCERT Solutions for Class 9 Science Chapter 9, NCERT Solutions for Class 9 Science Chapter 10, NCERT Solutions for Class 9 Science Chapter 12, NCERT Solutions for Class 9 Science Chapter 11, NCERT Solutions for Class 9 Science Chapter 13, NCERT Solutions for Class 9 Science Chapter 14, NCERT Solutions for Class 9 Science Chapter 15, NCERT Solutions for Class 10 Social Science, NCERT Solutions for Class 10 Maths Chapter 1, NCERT Solutions for Class 10 Maths Chapter 2, NCERT Solutions for Class 10 Maths Chapter 3, NCERT Solutions for Class 10 Maths Chapter 4, NCERT Solutions for Class 10 Maths Chapter 5, NCERT Solutions for Class 10 Maths Chapter 6, NCERT Solutions for Class 10 Maths Chapter 7, NCERT Solutions for Class 10 Maths Chapter 8, NCERT Solutions for Class 10 Maths Chapter 9, NCERT Solutions for Class 10 Maths Chapter 10, NCERT Solutions for Class 10 Maths Chapter 11, NCERT Solutions for Class 10 Maths Chapter 12, NCERT Solutions for Class 10 Maths Chapter 13, NCERT Solutions for Class 10 Maths Chapter 14, NCERT Solutions for Class 10 Maths Chapter 15, NCERT Solutions for Class 10 Science Chapter 1, NCERT Solutions for Class 10 Science Chapter 2, NCERT Solutions for Class 10 Science Chapter 3, NCERT Solutions for Class 10 Science Chapter 4, NCERT Solutions for Class 10 Science Chapter 5, NCERT Solutions for Class 10 Science Chapter 6, NCERT Solutions for Class 10 Science Chapter 7, NCERT Solutions for Class 10 Science Chapter 8, NCERT Solutions for Class 10 Science Chapter 9, NCERT Solutions for Class 10 Science Chapter 10, NCERT Solutions for Class 10 Science Chapter 11, NCERT Solutions for Class 10 Science Chapter 12, NCERT Solutions for Class 10 Science Chapter 13, NCERT Solutions for Class 10 Science Chapter 14, NCERT Solutions for Class 10 Science Chapter 15, NCERT Solutions for Class 10 Science Chapter 16, Important Questions Class 9 Maths Chapter 3 Coordinate Geometry, Important Questions Class 10 Maths Chapter 7 Coordinate Geometry, Important Questions Class 9 Maths Chapter 15 Probability, Coordinates Of A Point In Three Dimensions, CBSE Previous Year Question Papers Class 12 Maths, CBSE Previous Year Question Papers Class 10 Maths, ICSE Previous Year Question Papers Class 10, ISC Previous Year Question Papers Class 12 Maths.