Coordinate Geometry
The distance formula and the section formula, with their applications. Every solved example and every exercise question from the book, with a step-by-step solution.
Key Concepts
Distance formula: the distance between \(P(x_1,y_1)\) and \(Q(x_2,y_2)\) is \(PQ\) \(=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}\).
Distance of \(P(x,y)\) from the origin \(=\sqrt{x^2+y^2}\).
Section formula: the point dividing the join of \(A(x_1,y_1)\) and \(B(x_2,y_2)\) internally in the ratio \(m_1:m_2\) is \[ \left(\frac{m_1x_2+m_2x_1}{m_1+m_2},\ \frac{m_1y_2+m_2y_1}{m_1+m_2}\right) \]
Mid-point (ratio 1 : 1): \(\left(\dfrac{x_1+x_2}{2},\ \dfrac{y_1+y_2}{2}\right)\).
Useful checks: three points are collinear if the sum of two distances equals the third. In a parallelogram the diagonals bisect each other (same mid-point). Square: four equal sides and equal diagonals. Rhombus: four equal sides. Rectangle: opposite sides equal and equal diagonals.
Solved Examples (from the textbook)
Do the points (3, 2), (−2, −3) and (2, 3) form a triangle? If so, name the type of triangle formed.
- Let A(3, 2), B(−2, −3), C(2, 3). \(AB\) \(=\sqrt{5^2+5^2}\) \(=\sqrt{50}\approx7.07\), \(BC\) \(=\sqrt{4^2+6^2}\) \(=\sqrt{52}\approx7.21\), \(CA\) \(=\sqrt{1^2+1^2}\) \(=\sqrt2\approx1.41\).
- The sum of any two of these is greater than the third, so the points are not collinear and form a triangle.
- \(AB^2+CA^2\) \(=50+2\) \(=52\) \(=BC^2\), so by the converse of Pythagoras theorem ∠ A = 90°.
Show that the points (1, 7), (4, 2), (−1, −1) and (−4, 4) are the vertices of a square.
- A(1, 7), B(4, 2), C(−1, −1), D(−4, 4).
- \(AB\) \(=\sqrt{9+25}\) \(=\sqrt{34}\), \(BC\) \(=\sqrt{25+9}\) \(=\sqrt{34}\), \(CD\) \(=\sqrt{9+25}\) \(=\sqrt{34}\), \(DA\) \(=\sqrt{25+9}\) \(=\sqrt{34}\).
- Diagonals: \(AC\) \(=\sqrt{4+64}\) \(=\sqrt{68}\), \(BD\) \(=\sqrt{64+4}\) \(=\sqrt{68}\).
Fig. 7.6 shows the arrangement of desks in a classroom. Ashima, Bharti and Camella are seated at A(3, 1), B(6, 4) and C(8, 6) respectively. Do you think they are seated in a line? Give reasons for your answer.
- \(AB=\sqrt{9+9}=3\sqrt2\), \(BC=\sqrt{4+4}=2\sqrt2\), \(AC\) \(=\sqrt{25+25}\) \(=5\sqrt2\).
- \(AB+BC\) \(=3\sqrt2+2\sqrt2\) \(=5\sqrt2\) \(=AC\).
Find a relation between \(x\) and \(y\) such that the point \((x, y)\) is equidistant from the points (7, 1) and (3, 5).
- \((x-7)^2+(y-1)^2\) \(=(x-3)^2+(y-5)^2\).
- \(-14x+49-2y+1\) \(=-6x+9-10y+25\) \(\Rightarrow -8x+8y+16\) \(=0\).
Find a point on the y-axis which is equidistant from the points A(6, 5) and B(−4, 3).
- A point on the y-axis is \((0,y)\). \(6^2+(5-y)^2\) \(=(-4)^2+(3-y)^2\).
- \(36+25-10y+y^2\) \(=16+9-6y+y^2\) \(\Rightarrow 61-10y\) \(=25-6y\) \(\Rightarrow 4y\) \(=36\) \(\Rightarrow y\) \(=9\).
- Check: \(AP\) \(=\sqrt{36+16}\) \(=\sqrt{52}\) \(=BP\) \(=\sqrt{16+36}\).
Find the coordinates of the point which divides the line segment joining the points (4, −3) and (8, 5) in the ratio 3 : 1 internally.
- \(m_1=3,\ m_2=1\). \(x\) \(=\dfrac{3(8)+1(4)}{4}\) \(=7\), \(y\) \(=\dfrac{3(5)+1(-3)}{4}\) \(=3\).
In what ratio does the point (−4, 6) divide the line segment joining the points A(−6, 10) and B(3, −8)?
- Let the ratio be \(k:1\). \(x\): \(\dfrac{3k-6}{k+1}\) \(=-4\) \(\Rightarrow 3k-6\) \(=-4k-4\) \(\Rightarrow k\) \(=\dfrac27\).
- Check \(y\): \(\dfrac{-8k+10}{k+1}\) \(=\dfrac{-\frac{16}{7}+10}{\frac97}\) \(=\dfrac{54}{9}\) \(=6\) ✔
Find the coordinates of the points of trisection (i.e., points dividing in three equal parts) of the line segment joining the points A(2, −2) and B(−7, 4).
- P divides AB in 1 : 2: \(\left(\dfrac{1(-7)+2(2)}{3},\ \dfrac{1(4)+2(-2)}{3}\right)\) \(=(-1,\ 0)\).
- Q divides AB in 2 : 1: \(\left(\dfrac{2(-7)+1(2)}{3},\ \dfrac{2(4)+1(-2)}{3}\right)\) \(=(-4,\ 2)\).
Find the ratio in which the y-axis divides the line segment joining the points (5, −6) and (−1, −4). Also find the point of intersection.
- Let the ratio be \(k:1\). On the y-axis \(x=0\): \(\dfrac{-k+5}{k+1}\) \(=0\) \(\Rightarrow k\) \(=5\).
- \(y\) \(=\dfrac{5(-4)+1(-6)}{6}\) \(=-\dfrac{26}{6}\) \(=-\dfrac{13}{3}\).
If the points A(6, 1), B(8, 2), C(9, 4) and D(p, 3) are the vertices of a parallelogram, taken in order, find the value of \(p\).
- Diagonals of a parallelogram bisect each other, so mid-point of AC = mid-point of BD.
- \(\left(\dfrac{15}{2},\ \dfrac52\right)\) \(=\left(\dfrac{8+p}{2},\ \dfrac52\right)\) \(\Rightarrow 8+p\) \(=15\).
Exercise 7.1
Find the distance between the following pairs of points: (i) (2, 3), (4, 1) (ii) (−5, 7), (−1, 3) (iii) \((a, b), (-a, -b)\)
(i)
- \(\sqrt{(4-2)^2+(1-3)^2}\) \(=\sqrt{4+4}\) \(=\sqrt8\).
(ii)
- \(\sqrt{(-1+5)^2+(3-7)^2}\) \(=\sqrt{16+16}\) \(=\sqrt{32}\).
(iii)
- \(\sqrt{(-a-a)^2+(-b-b)^2}\) \(=\sqrt{4a^2+4b^2}\).
Find the distance between the points (0, 0) and (36, 15). Can you now find the distance between the two towns A and B discussed in Section 7.2?
- \(\sqrt{36^2+15^2}\) \(=\sqrt{1296+225}\) \(=\sqrt{1521}\) \(=39\).
- Town A is at the origin and town B is at (36, 15) (36 km east, 15 km north).
Determine if the points (1, 5), (2, 3) and (−2, −11) are collinear.
- A(1, 5), B(2, 3), C(−2, −11). \(AB\) \(=\sqrt{1+4}\) \(=\sqrt5\approx2.24\), \(BC\) \(=\sqrt{16+196}\) \(=\sqrt{212}\approx14.56\), \(AC\) \(=\sqrt{9+256}\) \(=\sqrt{265}\approx16.28\).
- \(AB+BC\approx16.80\neq AC\); no sum of two distances equals the third.
Check whether (5, −2), (6, 4) and (7, −2) are the vertices of an isosceles triangle.
- A(5, −2), B(6, 4), C(7, −2). \(AB\) \(=\sqrt{1+36}\) \(=\sqrt{37}\), \(BC\) \(=\sqrt{1+36}\) \(=\sqrt{37}\), \(AC=\sqrt{4+0}=2\).
In a classroom, 4 friends are seated at the points A, B, C and D as shown in Fig. 7.8. Champa and Chameli walk into the class and after observing for a few minutes Champa asks Chameli, “Don’t you think ABCD is a square?” Chameli disagrees. Using distance formula, find which of them is correct.
- From the figure: A(3, 4), B(6, 7), C(9, 4), D(6, 1).
- \(AB\) \(=BC\) \(=CD\) \(=DA\) \(=\sqrt{9+9}\) \(=3\sqrt2\).
- \(AC=\sqrt{36+0}=6\), \(BD=\sqrt{0+36}=6\): diagonals are equal.
Name the type of quadrilateral formed, if any, by the following points, and give reasons for your answer:
(i) (−1, −2), (1, 0), (−1, 2), (−3, 0) (ii) (−3, 5), (3, 1), (0, 3), (−1, −4) (iii) (4, 5), (7, 6), (4, 3), (1, 2)
(i)
- \(AB\) \(=BC\) \(=CD\) \(=DA\) \(=\sqrt{4+4}\) \(=2\sqrt2\); diagonals \(AC=\sqrt{0+16}=4\), \(BD=\sqrt{16+0}=4\).
(ii)
- A(−3, 5), B(3, 1), C(0, 3): \(AC\) \(=\sqrt{9+4}\) \(=\sqrt{13}\), \(CB\) \(=\sqrt{9+4}\) \(=\sqrt{13}\), \(AB\) \(=\sqrt{36+16}\) \(=\sqrt{52}\) \(=2\sqrt{13}\).
- \(AC+CB=AB\), so A, C, B are collinear.
(iii)
- \(AB\) \(=\sqrt{9+1}\) \(=\sqrt{10}\), \(BC\) \(=\sqrt{9+9}\) \(=\sqrt{18}\), \(CD\) \(=\sqrt{9+1}\) \(=\sqrt{10}\), \(DA\) \(=\sqrt{9+9}\) \(=\sqrt{18}\).
- Diagonals \(AC=\sqrt{0+4}=2\), \(BD\) \(=\sqrt{36+16}\) \(=\sqrt{52}\) — not equal.
Find the point on the x-axis which is equidistant from (2, −5) and (−2, 9).
- Point \((x,0)\): \((x-2)^2+25=(x+2)^2+81\).
- \(-4x+4+25\) \(=4x+4+81\) \(\Rightarrow -8x\) \(=56\) \(\Rightarrow x\) \(=-7\).
Find the values of \(y\) for which the distance between the points P(2, −3) and Q(10, y) is 10 units.
- \((10-2)^2+(y+3)^2\) \(=100\) \(\Rightarrow (y+3)^2\) \(=36\) \(\Rightarrow y+3\) \(=\pm6\).
If Q(0, 1) is equidistant from P(5, −3) and R(x, 6), find the values of x. Also find the distances QR and PR.
- \(QP^2=25+16=41\); \(QR^2=x^2+25\). \(x^2+25\) \(=41\) \(\Rightarrow x\) \(=\pm4\).
- \(QR=\sqrt{41}\).
- For R(4, 6): \(PR\) \(=\sqrt{1+81}\) \(=\sqrt{82}\). For R(−4, 6): \(PR\) \(=\sqrt{81+81}\) \(=9\sqrt2\).
Find a relation between \(x\) and \(y\) such that the point \((x, y)\) is equidistant from the point (3, 6) and (−3, 4).
- \((x-3)^2+(y-6)^2\) \(=(x+3)^2+(y-4)^2\).
- \(-6x+9-12y+36\) \(=6x+9-8y+16\) \(\Rightarrow -12x-4y+20\) \(=0\).
Exercise 7.2
Find the coordinates of the point which divides the join of (−1, 7) and (4, −3) in the ratio 2 : 3.
- \(x\) \(=\dfrac{2(4)+3(-1)}{5}\) \(=1\), \(y\) \(=\dfrac{2(-3)+3(7)}{5}\) \(=3\).
Find the coordinates of the points of trisection of the line segment joining (4, −1) and (−2, −3).
- 1 : 2 → \(\left(\dfrac{-2+8}{3},\ \dfrac{-3-2}{3}\right)\) \(=\left(2,\ -\dfrac53\right)\).
- 2 : 1 → \(\left(\dfrac{-4+4}{3},\ \dfrac{-6-1}{3}\right)\) \(=\left(0,\ -\dfrac73\right)\).
To conduct Sports Day activities, in your rectangular shaped school ground ABCD, lines have been drawn with chalk powder at a distance of 1 m each. 100 flower pots have been placed at a distance of 1 m from each other along AD, as shown in Fig. 7.12. Niharika runs \(\frac14\) th the distance AD on the 2nd line and posts a green flag. Preet runs \(\frac15\) th the distance AD on the eighth line and posts a red flag. What is the distance between both the flags? If Rashmi has to post a blue flag exactly halfway between the line segment joining the two flags, where should she post her flag?
- Take A as origin, lines along the x-axis direction and AD along the y-axis. AD = 100 m.
- Green flag: 2nd line, \(\frac14\times100=25\) m → (2, 25). Red flag: 8th line, \(\frac15\times100=20\) m → (8, 20).
- Distance \(=\sqrt{(8-2)^2+(20-25)^2}\) \(=\sqrt{36+25}\) \(=\sqrt{61}\) m.
- Blue flag at the mid-point: \(\left(\dfrac{2+8}{2},\ \dfrac{25+20}{2}\right)\) \(=(5,\ 22.5)\).
Find the ratio in which the line segment joining the points (−3, 10) and (6, −8) is divided by (−1, 6).
- Ratio \(k:1\): \(\dfrac{6k-3}{k+1}\) \(=-1\) \(\Rightarrow 6k-3\) \(=-k-1\) \(\Rightarrow k\) \(=\dfrac27\).
- Check \(y\): \(\dfrac{-8k+10}{k+1}\) \(=\dfrac{-\frac{16}{7}+10}{\frac97}\) \(=6\) ✔
Find the ratio in which the line segment joining A(1, −5) and B(−4, 5) is divided by the x-axis. Also find the coordinates of the point of division.
- Ratio \(k:1\); on the x-axis \(y=0\): \(\dfrac{5k-5}{k+1}\) \(=0\) \(\Rightarrow k\) \(=1\).
- Point \(=\left(\dfrac{-4+1}{2},\ 0\right)\) \(=\left(-\dfrac32,\ 0\right)\).
If (1, 2), (4, y), (x, 6) and (3, 5) are the vertices of a parallelogram taken in order, find x and y.
- Mid-point of AC = mid-point of BD: \(\left(\dfrac{1+x}{2},\ 4\right)\) \(=\left(\dfrac72,\ \dfrac{y+5}{2}\right)\).
- \(1+x=7 \Rightarrow x=6\); \(y+5=8 \Rightarrow y=3\).
Find the coordinates of a point A, where AB is the diameter of a circle whose centre is (2, −3) and B is (1, 4).
- The centre is the mid-point of AB. Let A be \((x,y)\): \(\dfrac{x+1}{2}\) \(=2,\ \dfrac{y+4}{2}\) \(=-3\).
If A and B are (−2, −2) and (2, −4), respectively, find the coordinates of P such that \(AP=\frac37AB\) and P lies on the line segment AB.
- \(AP\) \(=\frac37AB\) \(\Rightarrow PB\) \(=\frac47AB\), so AP : PB = 3 : 4.
- \(P\) \(=\left(\dfrac{3(2)+4(-2)}{7},\ \dfrac{3(-4)+4(-2)}{7}\right)\) \(=\left(-\dfrac27,\ -\dfrac{20}{7}\right)\).
Find the coordinates of the points which divide the line segment joining A(−2, 2) and B(2, 8) into four equal parts.
- The points divide AB in the ratios 1 : 3, 1 : 1 and 3 : 1.
- 1 : 3 → \(\left(\dfrac{2-6}{4},\ \dfrac{8+6}{4}\right)\) \(=\left(-1,\ \dfrac72\right)\); 1 : 1 → (0, 5); 3 : 1 → \(\left(\dfrac{6-2}{4},\ \dfrac{24+2}{4}\right)\) \(=\left(1,\ \dfrac{13}{2}\right)\).
Find the area of a rhombus if its vertices are (3, 0), (4, 5), (−1, 4) and (−2, −1) taken in order. [Hint: Area of a rhombus = ½ (product of its diagonals)]
- Diagonal AC: \(\sqrt{(3+1)^2+(0-4)^2}\) \(=\sqrt{32}\) \(=4\sqrt2\). Diagonal BD: \(\sqrt{(4+2)^2+(5+1)^2}\) \(=\sqrt{72}\) \(=6\sqrt2\).
- Area \(=\frac12\times4\sqrt2\times6\sqrt2\) \(=24\).
Summary (Book p. 112)
- The distance between \(P(x_1,y_1)\) and \(Q(x_2,y_2)\) is \(\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}\).
- The distance of a point \(P(x,y)\) from the origin is \(\sqrt{x^2+y^2}\).
- The point dividing the join of \(A(x_1,y_1)\) and \(B(x_2,y_2)\) internally in the ratio \(m_1:m_2\) is \(\left(\dfrac{m_1x_2+m_2x_1}{m_1+m_2},\dfrac{m_1y_2+m_2y_1}{m_1+m_2}\right)\).
- The mid-point of the line segment joining \(P(x_1,y_1)\) and \(Q(x_2,y_2)\) is \(\left(\dfrac{x_1+x_2}{2},\dfrac{y_1+y_2}{2}\right)\).