Introduction
Chapter 7: Coordinate Geometry
Page 1 of 4: The Distance Formula — Locating Points in Space
Welcome to the fascinating world of Coordinate Geometry! In earlier classes, you've learned how to plot points on a graph and identify their locations using coordinates. But what if we want to go further? What if we want to find the exact distance between two cities on a map, or calculate the shortest path a drone can take between two points?
Coordinate geometry gives us the power to connect algebra and geometry. It allows us to study geometric shapes by representing them as equations and points on a plane. Imagine you're designing a new city park. You need to place a fountain, a bench, and a lamp post. By assigning coordinates to each item, you can precisely calculate the length of the path between the bench and the fountain, or check if all three items lie in a straight line. This chapter equips you with the fundamental tools to solve such real-world problems. We'll start with the most basic yet powerful tool: finding the distance between any two points.
Definitions & Formulas
Before we jump into calculations, let's refresh some key terms and introduce the central formula for this lesson.
{{FORMULA: expr=d = √((x₂ - x₁)² + (y₂ - y₁)²)| symbols=d:distance, (x₁, y₁):coordinates of first point, (x₂, y₂):coordinates of second point}}
| Term / Variable | Meaning |
|---|---|
| Cartesian Plane | A 2D plane formed by the intersection of two perpendicular number lines, the x-axis and y-axis. |
Coordinates (x, y) | An ordered pair of numbers that specifies the unique location of a point on the Cartesian plane. |
Abscissa (x) | The x-coordinate of a point. It represents the perpendicular distance from the y-axis. |
Ordinate (y) | The y-coordinate of a point. It represents the perpendicular distance from the x-axis. |
Origin (0, 0) | The point where the x-axis and y-axis intersect. |
| Distance (d) | The length of the straight-line segment connecting two points. |
Derivation of the Distance Formula
Ever wondered where the Distance Formula comes from? It's not magic! It's a clever application of a theorem you already know and love: the Pythagorean Theorem. Let's derive it step-by-step.
Our goal is to find the distance d between any two points A(x₁, y₁) and B(x₂, y₂).
-
Plot the Points: Imagine plotting points A and B on a Cartesian plane. The distance between them, AB, is the hypotenuse of a right-angled triangle that we can construct.
-
Construct a Right-Angled Triangle: Draw a horizontal line from point A and a vertical line from point B. Let these lines intersect at a point C.
{{VISUAL: diagram: A Cartesian plane showing two points A(x₁, y₁) and B(x₂, y₂). A right-angled triangle ABC is formed by drawing a horizontal line from A and a vertical line from B, intersecting at C(x₂, y₁). The lengths of the base AC (labeled x₂ - x₁) and the height BC (labeled y₂ - y₁) are clearly marked. The hypotenuse AB is labeled 'd'.}}
-
Find the Coordinates of C: Since C lies on the same horizontal line as A, its y-coordinate is
y₁. Since it lies on the same vertical line as B, its x-coordinate isx₂. Therefore, the coordinates of point C are (x₂, y₁). -
Calculate the Lengths of the Sides:
- The length of the base
ACis the horizontal distance between A and C. This is the difference in their x-coordinates.
AC = x₂ - x₁- The length of the height
BCis the vertical distance between B and C. This is the difference in their y-coordinates.
BC = y₂ - y₁ - The length of the base
-
Apply the Pythagorean Theorem: In the right-angled triangle ABC, the theorem states
(Hypotenuse)² = (Base)² + (Height)².AB² = AC² + BC² -
Substitute and Solve for AB: Now, substitute the expressions for AC and BC into the theorem. Let the distance AB be
d.d² = (x₂ - x₁)² + (y₂ - y₁)²To find
d, we take the square root of both sides. Since distance cannot be negative, we only consider the positive root.d = √((x₂ - x₁)² + (y₂ - y₁)² )And there you have it! The Distance Formula.
{{KEY: type=concept | title=The Power of the Pythagorean Theorem | text=The Distance Formula is a direct consequence of the Pythagorean theorem applied to the coordinate plane. Understanding this connection is more important than just memorizing the formula, as it helps in solving complex problems.}}
Solved Examples
Let's put the formula into practice with examples ranging from simple to more challenging.
Example 1: Basic Distance Calculation (Easy)
Given: Two points P(2, 3) and Q(4, 1).
To Find: The distance between P and Q.
Solution:
-
Identify the coordinates. Let P(2, 3) be (x₁, y₁) and Q(4, 1) be (x₂, y₂). So,
x₁ = 2,y₁ = 3,x₂ = 4,y₂ = 1. -
Apply the distance formula:
d = √((x₂ - x₁)² + (y₂ - y₁)² ).PQ = √((4 - 2)² + (1 - 3)²) -
Simplify the terms inside the parentheses.
PQ = √((2)² + (-2)²) -
Calculate the squares. Remember that squaring a negative number results in a positive number.
PQ = √(4 + 4) -
Add the numbers and simplify the square root.
PQ = √8 = √(4 × 2) = 2√2
Final Answer: The distance between points P and Q is 2√2 units.
Example 2: Finding a Point on an Axis (Medium)
Given: Points A(2, -5) and B(-2, 9).
To Find: The point on the x-axis which is equidistant from points A and B.
Solution:
-
Define the point on the x-axis. Any point on the x-axis has its y-coordinate as 0. Let the required point be P(x, 0).
-
The problem states that P is equidistant from A and B. This means the distance PA is equal to the distance PB.
PA = PB -
To avoid dealing with square roots, it's easier to work with the squares of the distances.
PA² = PB² -
Use the distance formula to write expressions for
PA²andPB². ForPA², using P(x, 0) and A(2, -5):PA² = (x - 2)² + (0 - (-5))² = (x - 2)² + (5)²For
PB², using P(x, 0) and B(-2, 9):PB² = (x - (-2))² + (0 - 9)² = (x + 2)² + (-9)² -
Now, set
PA²equal toPB²and solve forx.(x - 2)² + 25 = (x + 2)² + 81 -
Expand the squared terms using the identities
(a - b)² = a² - 2ab + b²and(a + b)² = a² + 2ab + b².(x² - 4x + 4) + 25 = (x² + 4x + 4) + 81 -
Simplify and solve for
x. Notice thatx²and4on both sides cancel out.x² - 4x + 29 = x² + 4x + 85 -4x + 29 = 4x + 85 -4x - 4x = 85 - 29 -8x = 56 x = 56 / -8 x = -7 -
The point on the x-axis is P(x, 0). So, the required point is (-7, 0).
Final Answer: The point on the x-axis equidistant from A and B is (-7, 0).
{{VISUAL: diagram: A coordinate plane showing points A(2, -5) and B(-2, 9). Point P(-7, 0) is marked on the x-axis. Dotted lines of equal length are drawn from P to A and from P to B, with tick marks indicating PA = PB.}}
Example 3: Checking for Collinearity (Hard)
Given: Three points A(1, 5), B(2, 3), and C(-2, -11).
To Find: Determine if these three points are collinear.
Solution:
-
Understand the condition for collinearity. Three points A, B, and C are collinear (lie on the same straight line) if the sum of the distances between two pairs of points is equal to the distance between the third pair. That is, if
AB + BC = AC(orAC + CB = AB, etc.). -
Calculate the distance AB using A(1, 5) and B(2, 3).
AB = √((2 - 1)² + (3 - 5)²) = √(1² + (-2)²) = √(1 + 4) = √5 -
Calculate the distance BC using B(2, 3) and C(-2, -11).
BC = √((-2 - 2)² + (-11 - 3)²) = √((-4)² + (-14)²) = √(16 + 196) = √212 -
Calculate the distance AC using A(1, 5) and C(-2, -11).
AC = √((-2 - 1)² + (-11 - 5)²) = √((-3)² + (-16)²) = √(9 + 256) = √265{{VISUAL: diagram: A sketch showing three points A, B, and C that are not in a straight line, forming a narrow scalene triangle. The calculated lengths √5, √212, and √265 are labeled on the corresponding sides AB, BC, and AC.}}
-
Check if the sum of any two distances equals the third. Is
AB + BC = AC?√5 + √212 ≠ √265(Approximately 2.23 + 14.56 = 16.79, while √265 ≈ 16.27) Since the sum of the lengths of the two smaller segments is not equal to the length of the largest segment, the points do not form a straight line.
Final Answer: The points A(1, 5), B(2, 3), and C(-2, -11) are not collinear.
Example 4: Finding a Relation (Tricky)
Given: A point P(x, y) is equidistant from the points A(7, 1) and B(3, 5).
To Find: The relation between x and y.
Solution:
-
The problem states that the distance PA is equal to the distance PB.
PA = PB -
As in Example 2, we can square both sides to simplify the calculation.
PA² = PB² -
Use the distance formula to write expressions for
PA²andPB². ForPA², using P(x, y) and A(7, 1):PA² = (x - 7)² + (y - 1)²For
PB², using P(x, y) and B(3, 5):PB² = (x - 3)² + (y - 5)² -
Set the two expressions equal to each other.
(x - 7)² + (y - 1)² = (x - 3)² + (y - 5)² -
Expand all the squared binomials.
(x² - 14x + 49) + (y² - 2y + 1) = (x² - 6x + 9) + (y² - 10y + 25) -
Simplify by combining like terms. Notice that
x²andy²appear on both sides and can be cancelled.-14x - 2y + 50 = -6x - 10y + 34 -
Rearrange the equation to bring all variables to one side and constants to the other. Let's move all terms to the left side.
-14x + 6x - 2y + 10y + 50 - 34 = 0 -
Combine the terms to get the final relation.
-8x + 8y + 16 = 0 -
This equation can be simplified by dividing the entire equation by -8 (or +8). Let's divide by -8.
x - y - 2 = 0Alternatively, writing it as
x - y = 2. This is the required linear relation betweenxandy. It represents the perpendicular bisector of the line segment AB.
Final Answer: The relation between x and y is x - y = 2.
Tips & Tricks
Master these shortcuts to solve problems faster and with more confidence.
| Tip | Technique & Explanation |
|---|---|
| Distance from Origin | To find the distance of any point P(x, y) from the origin O(0, 0), the formula simplifies. x₁=0, y₁=0. So, d = √((x - 0)² + (y - 0)²), which is simply d = √(x² + y²). |
| Smart Squaring | When comparing two distances (e.g., PA = PB), always square both sides first (PA² = PB²). This completely removes the need for square roots during the algebraic manipulation, which is a common source of errors. |
| Visualize First | Before starting a complex problem, draw a quick, rough sketch on the coordinate plane. This can help you anticipate the kind of answer you should get (e.g., if a point should have a positive or negative coordinate) and avoid silly mistakes. |
Common Mistakes
Many students lose marks due to small, avoidable errors. Here’s what to watch out for.
| ❌ Wrong Approach | ✅ Right Approach | Why it's a Mistake |
|---|---|---|
(x₂ - x₁)² = x₂² - x₁² | (x₂ - x₁)² = x₂² - 2x₂x₁ + x₁² | You cannot distribute the square over subtraction. The identity (a-b)² = a² - 2ab + b² must be used. |
d = (x₂ - x₁)² + (y₂ - y₁)² | d = √((x₂ - x₁)² + (y₂ - y₁)²) | Forgetting to take the final square root is a very common slip-up. You are calculating d², not d. |
Coordinates: (-4, -5). (-4)² = -16 | Coordinates: (-4, -5). (-4)² = 16 | The square of any real number is non-negative. A negative number squared becomes positive. (-a)² = a². |
| In a collinearity problem, just finding distances AB, BC, AC and stopping there. | Checking if AB + BC = AC (or another combination). | Finding the distances is only the first step. The key is to check if they satisfy the triangle inequality as an equality. |
Brain-Teaser Questions
Test your understanding with these slightly more challenging problems.
- The points A(6, 1), B(8, 2) and C(9, 4) are three vertices of a parallelogram ABCD taken in order. Find the coordinates of the fourth vertex D.
💡 Answer: Let the coordinates of D be (x, y). In a parallelogram, the diagonals bisect each other. This means the midpoint of AC is the same as the midpoint of BD. Midpoint of AC = ((6+9)/2, (1+4)/2) = (15/2, 5/2). Midpoint of BD = ((8+x)/2, (2+y)/2). Equating them: (8+x)/2 = 15/2 → 8+x = 15 → x = 7. And (2+y)/2 = 5/2 → 2+y = 5 → y = 3. So, D = (7, 3).
- Find the coordinates of the center of the circle passing through the points P(6, -6), Q(3, -7), and R(3, 3).
💡 Answer: Let the center of the circle be O(x, y). Since P, Q, and R lie on the circle, the distance from the center O to each point must be equal (this is the radius). So,
OP = OQ = OR, which meansOP² = OQ² = OR². FromOP² = OQ²:(x-6)² + (y+6)² = (x-3)² + (y+7)². This simplifies to6x + 2y = 10or3x + y = 5. FromOQ² = OR²:(x-3)² + (y+7)² = (x-3)² + (y-3)². This simplifies to(y+7)² = (y-3)²→y²+14y+49 = y²-6y+9→20y = -40→y = -2. Substitutey = -2into3x + y = 5:3x - 2 = 5→3x = 7→x = 7/3. The center is (7/3, -2).
- If the distance between the points (4, p) and (1, 0) is 5, what are the possible values of p?
💡 Answer: Use the distance formula:
5 = √((4-1)² + (p-0)²). Square both sides:25 = (3)² + (p)².25 = 9 + p².p² = 25 - 9 = 16. Taking the square root,p = ±√16. So, the possible values of p are4and-4.
Mini Cheatsheet
Screenshot this table for your last-minute revision!
| Concept | Formula / Rule |
|---|---|
| Distance Formula | d = √((x₂ - x₁)² + (y₂ - y₁)²) |
| Distance from Origin | For a point (x, y) from (0, 0), the distance is d = √(x² + y²). |
| Point on x-axis | Any point on the x-axis has coordinates of the form (x, 0). |
| Point on y-axis | Any point on the y-axis has coordinates of the form (0, y). |
| Collinearity Test | Three points A, B, and C are collinear if the sum of the two smaller distances equals the largest distance (e.g., AB + BC = AC). |
Distance Formula — Part 1
Chapter 7: Coordinate Geometry
Page 2 of 4: The Distance Formula — Part 1
{{FORMULA: expr=d = √((x₂ – x₁)² + (y₂ – y₁)²)| symbols=d:Distance, (x₁, y₁):Coordinates of first point, (x₂, y₂):Coordinates of second point}}
Concept Introduction
Imagine you're looking at a city map. Your friend is at a café, and you're at a library. The map tells you the café is 4 kilometers east and 6 kilometers north of your current location. How would you find the shortest straight-line distance between you and your friend? You can't just add 4 and 6, as that would be the distance if you only walked along the grid-like streets. The actual "as the crow flies" distance is the hypotenuse of a right-angled triangle formed by these east and north paths.
This is the core idea of Coordinate Geometry: using a coordinate system (like a map grid) to solve geometric problems with algebra. The most fundamental tool in this toolbox is the Distance Formula, which helps us calculate the straight-line distance between any two points, just like finding the direct path from the library to the café.
Definitions & Formulas
Before we derive the formula, let's define the terms we'll be using.
| Variable/Symbol | Meaning |
|---|---|
| P(x₁, y₁) | The coordinates of the first point P. |
| Q(x₂, y₂) | The coordinates of the second point Q. |
d or PQ | The distance between points P and Q. |
x₁, x₂ | The x-coordinates (abscissae) of the points. |
y₁, y₂ | The y-coordinates (ordinates) of the points. |
The primary formula we will build and use on this page is the Distance Formula:
d = √((x₂ – x₁)² + (y₂ – y₁)² )
Derivation of the Distance Formula
How can we find the distance between any two points P(x₁, y₁) and Q(x₂, y₂) on a plane? The answer lies in the timeless Pythagorean Theorem (a² + b² = c²). Let's build the formula from the ground up.
{{VISUAL: diagram: A Cartesian plane showing two points P(x₁, y₁) and Q(x₂, y₂) with a right-angled triangle PQT drawn between them. The horizontal leg PT has length (x₂ – x₁) and the vertical leg QT has length (y₂ – y₁). The distance PQ is the hypotenuse.}}
-
Plot the Points: Imagine two general points, P with coordinates (x₁, y₁) and Q with coordinates (x₂, y₂), on a Cartesian plane.
-
Construct a Right-Angled Triangle: Draw a horizontal line from P and a vertical line from Q. These lines will intersect at a point, let's call it T. The coordinates of T will be (x₂, y₁). Now, we have a right-angled triangle, ΔPQT, with the right angle at T. The distance PQ is the hypotenuse of this triangle.
-
Find the Length of the Horizontal Side (Base): The length of the side PT is the horizontal distance between P and T. Since P is at
x₁and T is atx₂on the x-axis, the distance is the difference between their x-coordinates.Length of PT = |x₂ – x₁| -
Find the Length of the Vertical Side (Height): Similarly, the length of the side QT is the vertical distance between Q and T. Since Q is at
y₂and T is aty₁on the y-axis, the distance is the difference between their y-coordinates.Length of QT = |y₂ – y₁| -
Apply the Pythagorean Theorem: In the right-angled triangle ΔPQT, the theorem states: (Hypotenuse)² = (Base)² + (Height)².
PQ² = PT² + QT² -
Substitute and Solve: Now, we substitute the lengths we found in steps 3 and 4. Since squaring a number makes it non-negative, we can drop the absolute value signs.
PQ² = (x₂ – x₁)² + (y₂ – y₁)²To find the length of PQ, we take the square root of both sides. As distance must be a positive value, we only consider the positive square root.
PQ = √((x₂ – x₁)² + (y₂ – y₁)² )And there we have it! This is the universal Distance Formula.
{{KEY: type=concept | title=The Logic Behind the Formula | text=The Distance Formula is not a magical rule to be memorized; it is a direct application of the Pythagorean Theorem on the Cartesian coordinate plane. By turning any two points into the vertices of a right-angled triangle, we can use the change in x-coordinates as one side, the change in y-coordinates as the other, and find the distance as the hypotenuse.}}
Solved Examples
Let's apply the formula to solve some problems, from simple to complex.
Example 1: Basic Distance Calculation (Easy)
Given: Two points, A(2, 5) and B(5, 9).
To Find: The distance AB.
Solution:
-
Identify the coordinates:
x₁ = 2,y₁ = 5,x₂ = 5,y₂ = 9. -
Apply the distance formula
d = √((x₂ – x₁)² + (y₂ – y₁)² ).AB = √((5 – 2)² + (9 – 5)²) -
Simplify the terms inside the parentheses.
AB = √(3² + 4²) -
Calculate the squares and add them.
AB = √(9 + 16) = √25 -
Find the final square root.
AB = 5
Final Answer:
The distance between A and B is 5 units.
Example 2: Distance from the Origin (Medium)
Given: A point P(–6, 8).
To Find: The distance of P from the origin O(0, 0).
Solution:
-
Identify the coordinates: The first point is P(–6, 8), so
x₁ = -6,y₁ = 8. The second point is the origin O(0, 0), sox₂ = 0,y₂ = 0. -
Apply the distance formula.
OP = √((0 – (–6))² + (0 – 8)²) -
Simplify the terms inside the parentheses. Be careful with the double negative.
OP = √((0 + 6)² + (–8)²) -
Calculate the squares.
OP = √(6² + (–8)²) = √(36 + 64) -
Add the results and find the square root.
OP = √100 = 10
Final Answer:
The distance of P from the origin is 10 units.
Example 3: Identifying a Triangle Type (Hard)
Given: The vertices of a triangle are P(3, 2), Q(–2, –3), and R(2, 3).
To Find: If these points form a triangle, and if so, what type of triangle it is.
Solution:
-
First, we find the lengths of all three sides using the distance formula to confirm they can form a triangle (the sum of any two sides must be greater than the third).
-
Calculate the distance PQ.
PQ = √((–2 – 3)² + (–3 – 2)²) = √((–5)² + (–5)²) = √(25 + 25) = √50 -
Calculate the distance QR.
QR = √((2 – (–2))² + (3 – (–3))²) = √((2 + 2)² + (3 + 3)²) = √(4² + 6²) = √(16 + 36) = √52 -
Calculate the distance PR.
PR = √((2 – 3)² + (3 – 2)²) = √((–1)² + 1²) = √(1 + 1) = √2 -
Check if they form a triangle. Since √50 ≈ 7.07, √52 ≈ 7.21, and √2 ≈ 1.41. The sum of any two sides is greater than the third (e.g., 7.07 + 1.41 > 7.21). So, a triangle is formed.
-
Now, let's check for properties. We can use the Converse of the Pythagorean Theorem. Let's check if the square of the longest side equals the sum of the squares of the other two sides.
PQ² = 50 QR² = 52 PR² = 2 -
Check the relationship:
PQ² + PR² = 50 + 2 = 52This is exactly equal to
QR². -
Since
PQ² + PR² = QR², the triangle satisfies the Converse of the Pythagorean Theorem. The angle opposite the longest side (QR) is a right angle. Therefore, ∠P = 90°.
Final Answer:
The points form a right-angled triangle.
Example 4: Equidistant Points (Tricky)
Given: A point P(x, y) is equidistant from points A(7, 1) and B(3, 5).
To Find: A relationship between x and y.
Solution:
-
The problem states that the distance AP is equal to the distance BP.
AP = BP -
To avoid dealing with square roots, we can work with the squares of the distances. If the distances are equal, their squares must also be equal.
AP² = BP² -
Using the distance formula (without the final square root), express
AP²andBP².For AP²: (x – 7)² + (y – 1)² For BP²: (x – 3)² + (y – 5)² -
Now, set these two expressions equal to each other.
(x – 7)² + (y – 1)² = (x – 3)² + (y – 5)² -
Expand the squared binomials
(a – b)² = a² – 2ab + b².(x² – 14x + 49) + (y² – 2y + 1) = (x² – 6x + 9) + (y² – 10y + 25) -
The
x²andy²terms appear on both sides, so they cancel out.–14x + 49 – 2y + 1 = –6x + 9 – 10y + 25 -
Combine the constant terms on each side.
–14x – 2y + 50 = –6x – 10y + 34 -
Rearrange the equation to bring all variables to one side and constants to the other. Let's move x and y terms to the left and constants to the right.
–14x + 6x – 2y + 10y = 34 – 50–8x + 8y = –16 -
Simplify the relation by dividing the entire equation by –8.
x – y = 2
Final Answer:
The required relation is x – y = 2.
Tips & Tricks
Use these shortcuts to solve problems faster and more accurately.
| Tip | Explanation | Example |
|---|---|---|
| 1. Distance from Origin | The distance of any point P(x, y) from the origin O(0, 0) simplifies to d = √(x² + y²). No need for subtraction. | For P(3, 4), distance from origin is √(3² + 4²) = √(9+16) = √25 = 5. |
| 2. Order Doesn't Matter | Because the differences are squared, (x₂ – x₁)² is identical to (x₁ – x₂)². Use whichever order is easier to avoid negative signs. | For A(2, 7) and B(5, 3), (5-2)² = 3² = 9 and (2-5)² = (–3)² = 9. Both are same. |
| 3. Quick Collinearity Check | Three points A, B, and C are collinear (on the same straight line) if the sum of two smaller distances equals the largest distance. E.g., AB + BC = AC. | If AB=3, BC=4, AC=7, then A, B, C are collinear. If AC=6, they are not. |
Common Mistakes
Many students understand the concept but make small calculation errors. Here are a few to watch out for.
| ❌ Wrong Approach | ✅ Right Approach | Why it's Wrong |
|---|---|---|
d = (x₂ – x₁)² + (y₂ – y₁)² | d = √((x₂ – x₁)² + (y₂ – y₁)²) | Forgetting to take the final square root. The formula is derived from c², so you need c, not c². |
For points (–2, 5) and (3, 1): (3 – 2)² | For points (–2, 5) and (3, 1): (3 – (–2))² = (3 + 2)² | Incorrectly subtracting a negative coordinate. Remember that subtracting a negative is the same as adding. |
√ (9 + 16) becomes √9 + √16 = 3 + 4 = 7 | √ (9 + 16) becomes √25 = 5 | You cannot distribute a square root over addition or subtraction. You must perform the operation inside the root first. |
Brain-Teaser Questions
Test your understanding with these slightly more challenging problems.
-
Find the value of
aif the distance between the points A(a, –1) and B(8, 7) is 10 units.💡 Answer: Set up the equation:
10 = √((8 – a)² + (7 – (–1))²). Square both sides:100 = (8 – a)² + 8².100 = (8 – a)² + 64.36 = (8 – a)². Take the square root:±6 = 8 – a. Case 1:6 = 8 – a→a = 2. Case 2:–6 = 8 – a→a = 14. So,acan be 2 or 14. -
Find the coordinates of the point on the y-axis which is equidistant from the points A(6, 5) and B(–4, 3).
💡 Answer: A point on the y-axis has coordinates (0, y). Let this point be P(0, y). We are given PA = PB, so PA² = PB². PA² =
(6 – 0)² + (5 – y)² = 36 + (5 – y)². PB² =(–4 – 0)² + (3 – y)² = 16 + (3 – y)². Set them equal:36 + 25 – 10y + y² = 16 + 9 – 6y + y².61 – 10y = 25 – 6y.36 = 4y.y = 9. The point is (0, 9). -
Show that the points A(–1, –1), B(–√3, √3), and C(1, 1) cannot form a triangle.
💡 Answer: Calculate all three distances. AB =
√((–√3 – (–1))² + (√3 – (–1))²) = √((1–√3)² + (1+√3)²) = √(1–2√3+3 + 1+2√3+3) = √8 = 2√2. BC =√((1 – (–√3))² + (1 – √3)²) = √((1+√3)² + (1–√3)²) = √(1+2√3+3 + 1–2√3+3) = √8 = 2√2. AC =√((1 – (–1))² + (1 – (–1))²) = √(2² + 2²) = √(4+4) = √8 = 2√2. Since all three sides are equal, the points form an equilateral triangle. The question states they "cannot form a triangle," which is incorrect; they form a specific type of triangle. The premise is flawed, but the exercise correctly applies the formula. Alternatively, if the points were collinear, they wouldn't form a triangle. Let's check collinearity: AB+BC = 2√2 + 2√2 = 4√2. This is not equal to AC=2√2. Therefore, they are not collinear and do form a triangle. The points indeed form an equilateral triangle.
Mini Cheatsheet
A quick summary of this page for your revision. Screenshot this!
| Concept | Formula / Rule |
|---|---|
| Distance Formula | d = √((x₂ – x₁)² + (y₂ – y₁)²) |
| Distance from Origin | For a point (x, y), d = √(x² + y²) |
| Condition for Collinearity | Points A, B, C are collinear if AB + BC = AC (or any combination). |
| Foundation | Based on the Pythagorean Theorem: c² = a² + b². |
| Key Algebraic Rule | (x₂ – x₁)² is always equal to (x₁ – x₂)². |
Solved NCERT Exercises
{{FORMULA: expr=d = √((x₂ - x₁)² + (y₂ - y₁)²) | symbols=d:distance, (x₁, y₁):coordinates of the first point, (x₂, y₂):coordinates of the second point}}
Concept Introduction
Imagine you're looking at a city map laid out on a grid. Your house is at one point, and your friend's house is at another. You can't just measure the straight-line distance on the map with a ruler because the map has a scale. How do you find the actual straight-line distance, as a bird would fly?
Coordinate geometry gives us the tools to solve this. By representing your house and your friend's house as points with coordinates (like (2, 3) and (7, 8)), we can use a powerful formula to calculate the exact distance between them. This is the Distance Formula. It's not just for maps; it's the foundation for GPS navigation, video game design (calculating distances between characters), and even in fields like astronomy to measure distances between celestial objects on a 2D projection of space. It's a fundamental bridge between algebra and geometry.
Definitions & Formulas
The Distance Formula is derived from the Pythagorean Theorem and is used to find the straight-line distance between any two points in a Cartesian (x-y) plane.
| Variable | Meaning |
|---|---|
P(x₁, y₁) | The coordinates of the first point. |
Q(x₂, y₂) | The coordinates of the second point. |
d | The distance between points P and Q. |
| ` | x₂ - x₁ |
| ` | y₂ - y₁ |
The primary formula is:
d = √((x₂ - x₁)² + (y₂ - y₁)²)
A special, simplified case is finding the distance of a point (x, y) from the origin (0, 0):
d = √(x² + y²)
Derivation of the Distance Formula
The distance formula is essentially the Pythagorean theorem a² + b² = c² applied to the coordinate plane. Let's see how.
-
Consider two points in the Cartesian plane,
P(x₁, y₁)andQ(x₂, y₂). Our goal is to find the length of the segmentPQ.{{VISUAL: diagram: A right-angled triangle on a Cartesian plane with vertices P(x₁, y₁), Q(x₂, y₂), and R(x₂, y₁), showing the hypotenuse PQ.}}
-
Draw a horizontal line from point
Pand a vertical line from pointQ. These lines intersect at a point, let's call itR. The coordinates ofRwill be(x₂, y₁). -
This construction forms a right-angled triangle
PQR, with the right angle atR. The distancePQis the hypotenuse of this triangle. -
Now, let's find the lengths of the other two sides,
PRandQR.- The length of the horizontal side
PRis the difference in the x-coordinates:Length(PR) = |x₂ - x₁| - The length of the vertical side
QRis the difference in the y-coordinates:Length(QR) = |y₂ - y₁|
- The length of the horizontal side
-
According to the Pythagorean theorem, for the right-angled triangle
PQR:(PQ)² = (PR)² + (QR)² -
Substitute the lengths we found into the theorem:
d² = (x₂ - x₁)² + (y₂ - y₁)²Taking the square root of both sides gives us the final Distance Formula. Since distance must be positive, we only consider the positive root.
d = √((x₂ - x₁)² + (y₂ - y₁)²)
{{KEY: type=concept | title=The Core Idea | text=The distance formula is just the Pythagorean theorem in disguise. The change in 'x' is one side of the triangle, the change in 'y' is the other side, and the distance between the two points is the hypotenuse.}}
Solved Examples
Example 1: Basic Distance Calculation (Easy)
Given: Two points, A(2, 5) and B(5, 9).
To Find: The distance between A and B.
Solution:
-
Identify the coordinates. Let
(x₁, y₁) = (2, 5)and(x₂, y₂) = (5, 9). -
Write down the distance formula.
d = √((x₂ - x₁)² + (y₂ - y₁)²) -
Substitute the values into the formula.
d = √((5 - 2)² + (9 - 5)²) -
Calculate the differences inside the parentheses.
d = √(3² + 4²) -
Square the numbers and add them.
d = √(9 + 16) d = √25 -
Calculate the final square root.
d = 5
Final Answer: The distance between points A and B is 5 units.
Example 2: Working with Negative Coordinates (Medium)
Given: Two points, P(-5, 7) and Q(-1, 3).
To Find: The distance between P and Q.
Solution:
-
Identify the coordinates. Let
(x₁, y₁) = (-5, 7)and(x₂, y₂) = (-1, 3). -
Substitute the values into the distance formula. Be careful with the negative signs.
d = √((-1 - (-5))² + (3 - 7)²) -
Simplify the terms inside the parentheses. Remember that subtracting a negative is the same as adding.
d = √((-1 + 5)² + (-4)²) -
Perform the addition and square the results.
d = √(4² + (-4)²) d = √(16 + 16) -
Add the numbers and simplify the radical.
d = √32 d = √(16 × 2) d = 4√2
Final Answer: The distance between points P and Q is 4√2 units.
Example 3: Verifying a Geometric Property (Hard)
Given: Points A(5, -2), B(6, 4), and C(7, -2).
To Find: Check if these points are the vertices of an isosceles triangle.
Solution:
An isosceles triangle has at least two sides of equal length. We need to calculate the lengths of all three sides (AB, BC, and AC) and see if any two are equal.
-
Calculate the distance AB:
A(5, -2)andB(6, 4)AB = √((6 - 5)² + (4 - (-2))²) AB = √(1² + (4 + 2)²) AB = √(1² + 6²) AB = √(1 + 36) AB = √37 -
Calculate the distance BC:
B(6, 4)andC(7, -2)BC = √((7 - 6)² + (-2 - 4)²) BC = √(1² + (-6)²) BC = √(1 + 36) BC = √37 -
Calculate the distance AC:
A(5, -2)andC(7, -2)AC = √((7 - 5)² + (-2 - (-2))²) AC = √(2² + (-2 + 2)²) AC = √(2² + 0²) AC = √4 AC = 2 -
Compare the lengths of the sides. We found that
AB = √37andBC = √37. Since two sides have the same length, the triangle is isosceles.
Final Answer: Yes, the points (5, -2), (6, 4), and (7, -2) are the vertices of an isosceles triangle because sides AB and BC both have a length of √37 units.
Example 4: Finding an Unknown Coordinate (Tricky)
Given: Point P(x, y) is equidistant from A(7, 1) and B(3, 5).
To Find: The relation between x and y.
Solution:
"Equidistant" means the distance PA is equal to the distance PB.
-
Set up the equality
PA = PB. To avoid dealing with square roots, it's easier to work withPA² = PB².PA² = PB² -
Use the distance formula (without the final square root) for
PA²andPB². ForPA²: points areP(x, y)andA(7, 1)(x - 7)² + (y - 1)²For
PB²: points areP(x, y)andB(3, 5)(x - 3)² + (y - 5)² -
Set the two expressions equal to each other.
(x - 7)² + (y - 1)² = (x - 3)² + (y - 5)² -
Expand the squared binomials using the identity
(a - b)² = a² - 2ab + b².(x² - 14x + 49) + (y² - 2y + 1) = (x² - 6x + 9) + (y² - 10y + 25) -
Simplify the equation. Notice that
x²andy²appear on both sides, so they cancel out.-14x - 2y + 50 = -6x - 10y + 34 -
Rearrange the terms to bring all variables to one side and constants to the other.
-14x + 6x - 2y + 10y = 34 - 50 -8x + 8y = -16 -
Simplify the relation by dividing the entire equation by -8.
x - y = 2
Final Answer: The relation between x and y is x - y = 2.
Tips & Tricks
| Trick | Description | Example |
|---|---|---|
| Distance from Origin | To find the distance of P(x, y) from the origin (0, 0), the formula simplifies to d = √(x² + y²). | Distance of (3, 4) from origin is √(3² + 4²) = √(9+16) = √25 = 5. |
| Horizontal Distance | If the y-coordinates are the same (y₁ = y₂), the distance is simply the absolute difference of the x-coordinates: `d = | x₂ - x₁ |
| Vertical Distance | If the x-coordinates are the same (x₁ = x₂), the distance is the absolute difference of the y-coordinates: `d = | y₂ - y₁ |
Common Mistakes
| ❌ Wrong Method | ✅ Right Method | Why it's a Mistake |
|---|---|---|
d = √((x₂ - x₁) + (y₂ - y₁)) | d = √((x₂ - x₁)² + (y₂ - y₁)²) | The formula is based on the Pythagorean theorem, which requires squaring the lengths of the two sides before adding them. |
(-2 - 3)² = -5² = -25 | (-2 - 3)² = (-5)² = 25 | Squaring a negative number always results in a positive number. A common error is applying the square only to the digit, not the sign. |
√((x - 2)² + y²) = (x - 2) + y | √((x - 2)² + y²) = √((x - 2)² + y²) | You cannot distribute a square root over addition or subtraction. √(a² + b²) ≠ a + b. The expression must be simplified inside the radical first. |
For points (1, 2) and (-3, 4), (x₂ - x₁) = -3 - 1 = -4. Then -4² = -16. | For points (1, 2) and (-3, 4), (x₂ - x₁) = -3 - 1 = -4. Then (-4)² = 16. | Forgetting the parentheses around a negative number before squaring it is a very common calculator or mental math error. Always use (-value)². |
Brain-Teaser Questions
-
Find the point on the y-axis which is equidistant from the points A(6, 5) and B(–4, 3).
💡 Answer: A point on the y-axis has coordinates (0, y). We set the distance from (0, y) to A equal to the distance from (0, y) to B. (0 - 6)² + (y - 5)² = (0 - (-4))² + (y - 3)² 36 + y² - 10y + 25 = 16 + y² - 6y + 9 61 - 10y = 25 - 6y 36 = 4y y = 9. The point is (0, 9).
-
The vertices of a triangle are A(1, 1), B(7, 1), and C(1, 5). Find the coordinates of the circumcenter of this triangle. (Hint: The circumcenter is equidistant from all three vertices).
💡 Answer: This is a right-angled triangle (right angle at A). The circumcenter of a right-angled triangle is the midpoint of its hypotenuse. The hypotenuse is BC. Midpoint of BC = ((7+1)/2, (1+5)/2) = (8/2, 6/2) = (4, 3). The circumcenter is (4, 3).
-
The x-coordinate of a point P is twice its y-coordinate. If P is equidistant from Q(2, –5) and R(–3, 6), find the coordinates of P.
💡 Answer: Let the coordinates of P be (2y, y). Given PQ = PR, so PQ² = PR². (2y - 2)² + (y - (-5))² = (2y - (-3))² + (y - 6)² (2y - 2)² + (y + 5)² = (2y + 3)² + (y - 6)² 4y² - 8y + 4 + y² + 10y + 25 = 4y² + 12y + 9 + y² - 12y + 36 5y² + 2y + 29 = 5y² + 45 2y = 16 y = 8. Since x = 2y, x = 16. The point is (16, 8).
Mini Cheatsheet
| Concept | Formula / Rule |
|---|---|
| Distance Formula | d = √((x₂ - x₁)² + (y₂ - y₁)²) |
| Distance from Origin | d = √(x² + y²) |
| Isosceles Triangle | At least two sides are equal in length. (e.g., AB = BC) |
| Equilateral Triangle | All three sides are equal in length. (AB = BC = CA) |
| Right-Angled Triangle | The sum of the squares of two sides equals the square of the third (longest) side. (a² + b² = c²) |
Distance Formula — Part 2
Chapter 7: Coordinate Geometry
Page 3 of 4: The Distance Formula — Part 2: Applications
{{FORMULA: expr=√((x₂ – x₁)² + (y₂ – y₁)²) | symbols=x₁ y₁:coordinates of first point, x₂ y₂:coordinates of second point}}
Concept Introduction
Welcome back! On the last page, we derived the Distance Formula, a powerful tool for finding the length of a line segment between any two points on a coordinate plane. Now, we move from simply finding distances to using them. Think of a digital architect designing a building on a computer. They place vertices (corners) as coordinates. How do they verify if a wall is perfectly rectangular, not just a parallelogram? They use the distance formula to check if the diagonals are equal. How does a GPS system determine if three locations lie on the same straight road? It calculates the distances between them. In this section, we will use the distance formula as a verifier of geometric properties, allowing us to classify shapes and check alignments with mathematical certainty.
Definitions & Formulas
The core tool for this entire section remains the Distance Formula.
| Variable / Point | Meaning |
|---|---|
P(x₁, y₁) | The coordinates of the first point. |
Q(x₂, y₂) | The coordinates of the second point. |
PQ | The distance between points P and Q. |
| Formula | PQ = √((x₂ – x₁)² + (y₂ – y₁)²) |
The Logic Behind the Formula
How does this formula work? It's a direct and elegant application of the Pythagoras Theorem. Let's quickly revisit the logic.
-
Imagine any two points,
P(x₁, y₁)andQ(x₂, y₂), on a coordinate plane. -
To find the distance
PQ, we can form a right-angled triangle withPQas the hypotenuse. -
We draw a horizontal line from
Pand a vertical line fromQ. Let them meet at a pointT. The coordinates ofTwill be(x₂, y₁). -
The length of the horizontal side
PTis the difference in the x-coordinates:|x₂ – x₁|. -
The length of the vertical side
QTis the difference in the y-coordinates:|y₂ – y₁|. -
By Pythagoras Theorem (
hypotenuse² = base² + perpendicular²), we get:PQ² = PT² + QT²PQ² = (x₂ – x₁)² + (y₂ – y₁)²Taking the square root gives us the final formula. Since distance is always positive, we only consider the positive root.
{{VISUAL: diagram: A coordinate plane showing two points P(x₁, y₁) and Q(x₂, y₂). A right-angled triangle PTQ is formed with T at (x₂, y₁). The horizontal side PT is labeled |x₂ – x₁| and the vertical side QT is labeled |y₂ – y₁|. The hypotenuse PQ is the distance to be found.}}
Solved Examples
Here we apply the formula to solve problems, moving from simple shape identification to more abstract relations.
Example 1: Identifying a Triangle (Easy)
Given: Three points P(3, 2), Q(–2, –3), and R(2, 3).
To Find: Do these points form a triangle? If yes, what type of triangle is it?
Solution:
-
First, we find the lengths of the three sides PQ, QR, and PR using the distance formula. For side PQ, with P(3, 2) and Q(–2, –3):
PQ = √((-2 – 3)² + (-3 – 2)²) = √((-5)² + (-5)²)PQ = √(25 + 25) = √50 = 5√2 ≈ 7.07 units -
Next, we find the length of side QR, with Q(–2, –3) and R(2, 3):
QR = √((2 – (-2))² + (3 – (-3))²) = √((4)² + (6)²)QR = √(16 + 36) = √52 = 2√13 ≈ 7.21 units -
Finally, we find the length of side PR, with P(3, 2) and R(2, 3):
PR = √((2 – 3)² + (3 – 2)²) = √((-1)² + (1)²)PR = √(1 + 1) = √2 ≈ 1.41 units -
To check if they form a triangle, we use the triangle inequality theorem: the sum of any two sides must be greater than the third side.
PQ + PR = 7.07 + 1.41 = 8.48 > 7.21 (QR)PQ + QR = 7.07 + 7.21 = 14.28 > 1.41 (PR)QR + PR = 7.21 + 1.41 = 8.62 > 7.07 (PQ)Since the condition holds, the points form a triangle.
-
Now, we check the type of triangle. Let's test the converse of the Pythagoras Theorem. We check if the square of the longest side equals the sum of the squares of the other two sides. The longest side is QR.
PQ² + PR² = (√50)² + (√2)² = 50 + 2 = 52QR² = (√52)² = 52 -
Since
PQ² + PR² = QR², the triangle is a right-angled triangle, with the right angle at vertex P.
Final Answer:
Yes, the points form a right-angled triangle.
Example 2: Verifying a Square (Medium)
Given: Four points A(1, 7), B(4, 2), C(–1, –1), and D(–4, 4).
To Find: Show that these points are the vertices of a square.
Solution:
-
To prove a quadrilateral is a square, we must prove two properties:
- All four sides are equal in length (
AB = BC = CD = DA). - Both diagonals are equal in length (
AC = BD). Let's calculate the lengths of the four sides.
- All four sides are equal in length (
-
Calculate side AB:
AB = √((4 – 1)² + (2 – 7)²) = √(3² + (–5)²) = √(9 + 25) = √34 units -
Calculate side BC:
BC = √((-1 – 4)² + (-1 – 2)²) = √((-5)² + (–3)²) = √(25 + 9) = √34 units -
Calculate side CD:
CD = √((-4 – (-1))² + (4 – (-1))²) = √((-3)² + 5²) = √(9 + 25) = √34 units -
Calculate side DA:
DA = √((1 – (-4))² + (7 – 4)²) = √(5² + 3²) = √(25 + 9) = √34 unitsSince
AB = BC = CD = DA = √34, all four sides are equal. This proves the figure is at least a rhombus. -
Now, we must check the diagonals AC and BD to distinguish it from a rhombus.
{{VISUAL: diagram: A coordinate plane with points A(1,7), B(4,2), C(-1,-1), D(-4,4) forming a square. All four sides are labeled with length √34. The diagonals AC and BD are drawn as dashed lines and labeled with their lengths.}}
-
Calculate diagonal AC:
AC = √((-1 – 1)² + (-1 – 7)²) = √((-2)² + (–8)²) = √(4 + 64) = √68 units -
Calculate diagonal BD:
BD = √((-4 – 4)² + (4 – 2)²) = √((-8)² + 2²) = √(64 + 4) = √68 units -
Since
AC = BD = √68, the diagonals are also equal. A quadrilateral with four equal sides and equal diagonals must be a square.
Final Answer:
Since AB = BC = CD = DA and AC = BD, the points A, B, C, and D are the vertices of a square.
Example 3: Checking for Collinearity (Hard)
Given: Three students are seated at points A(3, 1), B(6, 4), and C(8, 6).
To Find: Are the students seated in a straight line?
Solution:
- Three points A, B, and C are collinear (lie on the same straight line) if the sum of the lengths of any two smaller line segments equals the length of the longest line segment. Here, we must check if
AB + BC = AC.
{{VISUAL: diagram: A coordinate plane showing the arrangement of desks. Points A(3,1), B(6,4), and C(8,6) are plotted and connected by a straight line, illustrating collinearity. The lengths AB, BC, and AC are labeled.}}
-
First, calculate the distance AB:
AB = √((6 – 3)² + (4 – 1)²) = √(3² + 3²) = √(9 + 9) = √18AB = 3√2 units -
Next, calculate the distance BC:
BC = √((8 – 6)² + (6 – 4)²) = √(2² + 2²) = √(4 + 4) = √8BC = 2√2 units -
Finally, calculate the distance AC:
AC = √((8 – 3)² + (6 – 1)²) = √(5² + 5²) = √(25 + 25) = √50AC = 5√2 units -
Now, we check the condition for collinearity. We add the two shorter distances,
ABandBC.AB + BC = 3√2 + 2√2 = (3 + 2)√2 = 5√2 -
Compare this sum to the longest distance,
AC. We see thatAB + BC = 5√2andAC = 5√2. -
Since
AB + BC = AC, the points lie on the same straight line.
{{KEY: type=concept | title=Condition for Collinearity | text=Three points A, B, and C are collinear if the sum of the distances between two pairs of points is equal to the distance between the third pair. In other words, if AB + BC = AC, they form a straight line.}}
Final Answer:
Yes, they are seated in a line because the sum of distances AB and BC is equal to the distance AC.
Example 4: Finding an Equidistant Point (Tricky)
Given: A point P(x, y) is equidistant from points A(7, 1) and B(3, 5).
