Chapter 07 Coordinate Geometry
7.1 Introduction
In Class IX, you have studied that to locate the position of a point on a plane, we require a pair of coordinate axes. The distance of a point from the $y$-axis is called its $\boldsymbol{{}x}$-coordinate, or abscissa. The distance of a point from the $x$-axis is called its $y$-coordinate, or ordinate. The coordinates of a point on the $x$-axis are of the form $(x, 0)$, and of a point on the $y$-axis are of the form $(0, y)$.
Here is a play for you. Draw a set of a pair of perpendicular axes on a graph paper. Now plot the following points and join them as directed: Join the point $A(4,8)$ to $B(3,9)$ to $C(3,8)$ to $D(1,6)$ to $E(1,5)$ to $F(3,3)$ to $G(6,3)$ to $H(8,5)$ to $I(8,6)$ to $J(6,8)$ to $K(6,9)$ to $L(5,8)$ to $A$. Then join the points $P(3.5,7), Q(3,6)$ and $R(4,6)$ to form a triangle. Also join the points $X(5.5,7), Y(5,6)$ and $Z(6,6)$ to form a triangle. Now join $S(4,5), T(4.5,4)$ and $U(5,5)$ to form a triangle. Lastly join $S$ to the points $(0,5)$ and $(0,6)$ and join $U$ to the points $(9,5)$ and $(9,6)$. What picture have you got?
Also, you have seen that a linear equation in two variables of the form $a x+b y+c=0,(a, b$ are not simultaneously zero), when represented graphically, gives a straight line. Further, in Chapter 2, you have seen the graph of $y=a x^{2}+b x+c(a \neq 0)$, is a parabola. In fact, coordinate geometry has been developed as an algebraic tool for studying geometry of figures. It helps us to study geometry using algebra, and understand algebra with the help of geometry. Because of this, coordinate geometry is widely applied in various fields such as physics, engineering, navigation, seismology and art!
In this chapter, you will learn how to find the distance between the two points whose coordinates are given, and to find the area of the triangle formed by three given points. You will also study how to find the coordinates of the point which divides a line segment joining two given points in a given ratio.
7.2 Distance Formula
Let us consider the following situation:
A town B is located $36 km$ east and 15 $km$ north of the town A. How would you find the distance from town A to town B without actually measuring it. Let us see. This situation can be represented graphically as shown in Fig. 7.1. You may use the Pythagoras Theorem to calculate this distance.
Fig. 7.1
Now, suppose two points lie on the $x$-axis. Can we find the distance between them? For instance, consider two points $A(4,0)$ and $B(6,0)$ in Fig. 7.2. The points A and B lie on the $x$-axis.
From the figure you can see that $OA=4$ units and $OB=6$ units.
Therefore, the distance of $B$ from $A$, i.e., $AB=OB-OA=6-4=2$ units.
So, if two points lie on the $x$-axis, we can easily find the distance between them.
Now, suppose we take two points lying on the $y$-axis. Can you find the distance between them. If the points $C(0,3)$ and $D(0,8)$ lie on the $y$-axis, similarly we find that $CD=8-3=5$ units (see Fig. 7.2).
Fig. 7.2
Next, can you find the distance of A from C (in Fig. 7.2)? Since OA $=4$ units and $OC=3$ units, the distance of $A$ from $C$, i.e., $AC=\sqrt{3^{2}+4^{2}}=5$ units. Similarly, you can find the distance of $B$ from $D=BD=10$ units.
Now, if we consider two points not lying on coordinate axis, can we find the distance between them? Yes! We shall use Pythagoras theorem to do so. Let us see an example.
In Fig. 7.3, the points $P(4,6)$ and $Q(6,8)$ lie in the first quadrant. How do we use Pythagoras theorem to find the distance between them? Let us draw PR and QS perpendicular to the $x$-axis from $P$ and $Q$ respectively. Also, draw a perpendicular from $P$ on $QS$ to meet $QS$ at $T$. Then the coordinates of $R$ and $S$ are $(4,0)$ and $(6,0)$, respectively. So, $RS=2$ units. Also, $QS=8$ units and $TS=PR=6$ units.
Fig. 7.3
Therefore, $QT=2$ units and $PT=RS=2$ units. have
Now, using the Pythagoras theorem, we
$ \begin{aligned} PQ^{2} & =PT^{2}+QT^{2} \\ & =2^{2}+2^{2}=8 \end{aligned} $
So, $P Q=2 \sqrt{2} \text{ units }$
How will we find the distance between two points in two different quadrants?
Consider the points $P(6,4)$ and $Q(-5,-3)$ (see Fig. 7.4). Draw QS perpendicular to the $x$-axis. Also draw a perpendicular PT from the point $P$ on QS (extended) to meet $y$-axis at the point R.
Fig. 7.4
Then $\mathrm{PT}=11$ units and $\mathrm{QT}=7$ units. (Why?)
Using the Pythagoras Theorem to the right triangle PTQ, we get $PQ=\sqrt{11^{2}+7^{2}}=\sqrt{170}$ units.
Let us now find the distance between any two points $P(x_1, y_1)$ and $Q(x_2, y_2)$. Draw $PR$ and QS perpendicular to the $x$-axis. A perpendicular from the point $P$ on $QS$ is drawn to meet it at the point $T$ (see Fig. 7.5).
Fig. 7.5
Then, $\quad OR=x_1, OS=x_2$. So, $RS=x_2-x_1=PT$.
Also, $\quad SQ=y_2, \quad ST=PR=y_1 . \quad$ So, $\quad QT=y_2-y_1$.
Now, applying the Pythagoras theorem in $\triangle PTQ$, we get
$ \begin{aligned} PQ^{2} & =PT^{2}+QT^{2} \\ & =(x_2-x_1)^{2}+(y_2-y_1)^{2} \end{aligned} $
Therefore, $P Q=\sqrt{(x_2-x_1)^{2}+(y_2-y_1)^{2}}$
Note that since distance is always non-negative, we take only the positive square root. So, the distance between the points $P(x_1, y_1)$ and $Q(x_2, y_2)$ is
$ PQ=\sqrt{(x_2-x_1)^{2}+(y_2-y_1)^{2}}, $
which is called the distance formula.
Remarks :
1. In particular, the distance of a point $P(x, y)$ from the origin $O(0,0)$ is given by
$ OP=\sqrt{x^{2}+y^{2}} . $
2. We can also write, $PQ=\sqrt{(x_1-x_2)^{2}+(y_1-y_2)^{2}}$. (Why?)
Example 1 : Do the points $(3,2),(-2,-3)$ and $(2,3)$ form a triangle? If so, name the type of triangle formed.
Solution : Let us apply the distance formula to find the distances PQ, QR and PR, where $P(3,2), Q(-2,-3)$ and $R(2,3)$ are the given points. We have
$ \begin{aligned} & PQ=\sqrt{(3+2)^{2}+(2+3)^{2}}=\sqrt{5^{2}+5^{2}}=\sqrt{50}=7.07 \text{ (approx.) } \\ & QR=\sqrt{(-2-2)^{2}+(-3-3)^{2}}=\sqrt{(-4)^{2}+(-6)^{2}}=\sqrt{52}=7.21 \text{ (approx.) } \\ & PR=\sqrt{(3-2)^{2}+(2-3)^{2}}=\sqrt{1^{2}+(-1)^{2}}=\sqrt{2}=1.41 \text{ (approx.) } \end{aligned} $
Since the sum of any two of these distances is greater than the third distance, therefore, the points $P, Q$ and $R$ form a triangle.
Also, $PQ^{2}+PR^{2}=QR^{2}$, by the converse of Pythagoras theorem, we have $\angle P=90^{\circ}$. Therefore, $PQR$ is a right triangle.
Example 2 : Show that the points $(1,7),(4,2),(-1,-1)$ and $(-4,4)$ are the vertices of a square.
Solution : Let A $(1,7), B(4,2), C(-1,-1)$ and $D(-4,4)$ be the given points. One way of showing that $A B C D$ is a square is to use the property that all its sides should be equal and both its digonals should also be equal. Now,
$ \begin{aligned} & AB=\sqrt{(1-4)^{2}+(7-2)^{2}}=\sqrt{9+25}=\sqrt{34} \\ & BC=\sqrt{(4+1)^{2}+(2+1)^{2}}=\sqrt{25+9}=\sqrt{34} \\ & CD=\sqrt{(-1+4)^{2}+(-1-4)^{2}}=\sqrt{9+25}=\sqrt{34} \\ & DA=\sqrt{(1+4)^{2}+(7-4)^{2}}=\sqrt{25+9}=\sqrt{34} \\ & AC=\sqrt{(1+1)^{2}+(7+1)^{2}}=\sqrt{4+64}=\sqrt{68} \\ & BD=\sqrt{(4+4)^{2}+(2-4)^{2}}=\sqrt{64+4}=\sqrt{68} \end{aligned} $
Since, $A B=B C=C D=D A$ and $A C=B D$, all the four sides of the quadrilateral $ABCD$ are equal and its diagonals $AC$ and $BD$ are also equal. Thereore, $ABCD$ is a square.
Alternative Solution : We find the four sides and one diagonal, say, $AC$ as above. Here $AD^{2}+DC^{2}=$ $34+34=68=$ AC $^{2}$. Therefore, by the converse of Pythagoras theorem, $\angle D=90^{\circ}$. A quadrilateral with all four sides equal and one angle $90^{\circ}$ is a square. So, ABCD is a square.
Example 3 : 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.
Fig. 7.6
Solution : Using the distance formula, we have
$ \begin{aligned} & AB=\sqrt{(6-3)^{2}+(4-1)^{2}}=\sqrt{9+9}=\sqrt{18}=3 \sqrt{2} \\ & BC=\sqrt{(8-6)^{2}+(6-4)^{2}}=\sqrt{4+4}=\sqrt{8}=2 \sqrt{2} \\ & AC=\sqrt{(8-3)^{2}+(6-1)^{2}}=\sqrt{25+25}=\sqrt{50}=5 \sqrt{2} \end{aligned} $
Since, $A B+B C=3 \sqrt{2}+2 \sqrt{2}=5 \sqrt{2}=A C$, we can say that the points $A, B$ and $C$ are collinear. Therefore, they are seated in a line.
Example 4 : Find a relation between $x$ and $y$ such that the point $(x, y)$ is equidistant from the points $(7,1)$ and $(3,5)$.
Solution : Let $P(x, y)$ be equidistant from the points $A(7,1)$ and $B(3,5)$.
We are given that $AP=BP$. So, $AP^{2}=BP^{2}$
i.e., $\quad (x-7)^{2}+(y-1)^{2}=(x-3)^{2}+(y-5)^{2}$
i.e., $\quad x^{2}-14 x+49+y^{2}-2 y+1=x^{2}-6 x+9+y^{2}-10 y+25$
i.e., $\quad x-y=2$
which is the required relation.
Remark : Note that the graph of the equation $x-y=2$ is a line. From your earlier studies, you know that a point which is equidistant from A and B lies on the perpendicular bisector of $A B$. Therefore, the graph of $x-y=2$ is the perpendicular bisector of $AB$ (see Fig. 7.7).
Fig. 7.7
Example 5 : Find a point on the $y$-axis which is equidistant from the points $A(6,5)$ and $B(-4,3)$.
Solution : We know that a point on the $y$-axis is of the form $(0, y)$. So, let the point $P(0, y)$ be equidistant from $A$ and $B$. Then
$$ (6-0)^{2}+(5-y)^{2}=(-4-0)^{2}+(3-y)^{2} $$
i.e., $\quad 36+25+y^{2}-10 y=16+9+y^{2}-6 y$
i.e., $\quad 4 y=36$
i.e., $\quad y=9$
So, the required point is $(0,9)$.
Let us check our solution : $AP=\sqrt{(6-0)^{2}+(5-9)^{2}}=\sqrt{36+16}=\sqrt{52}$
$$ BP=\sqrt{(-4-0)^{2}+(3-9)^{2}}=\sqrt{16+36}=\sqrt{52} $$
Note : Using the remark above, we see that $(0,9)$ is the intersection of the $y$-axis and the perpendicular bisector of AB.
EXERCISE 7.1
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)$
Show Answer
Solution
(i) Distance between the two points is given by
$ \sqrt{(x_1-x_2)^{2}+(y_1-y_2)^{2}} $
Therefore, distance between $(2,3)$ and $(4,1)$ is given by
$ \begin{aligned} l=\sqrt{(2-4)^{2}+(3-1)^{2}} & =\sqrt{(-2)^{2}+(2)^{2}} \\ & =\sqrt{4+4}=\sqrt{8}=2 \sqrt{2} \end{aligned} $
(ii) Distance between $(-5,7)$ and $(-1,3)$ is given by
$ \begin{aligned} l & =\sqrt{(-5-(-1))^{2}+(7-3)^{2}}=\sqrt{(-4)^{2}+(4)^{2}} \\ & =\sqrt{16+16}=\sqrt{32}=4 \sqrt{2} \end{aligned} $
(iii) Distance between $(a, b)$ and $(-a,-b)$ is given by
$ \begin{aligned} & l=\sqrt{(a-(-a))^{2}+(b-(-b))^{2}} \\ & =\sqrt{(2 a)^{2}+(2 b)^{2}}=\sqrt{4 a^{2}+4 b^{2}}=2 \sqrt{a^{2}+b^{2}} \end{aligned} $
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.
Show Answer
Solution
Distance between points $(0,0)$ and $(36,15)$
$ \begin{aligned} & =\sqrt{(36-0)^{2}+(15-0)^{2}}=\sqrt{36^{2}+15^{2}} \\ & =\sqrt{1296+225}=\sqrt{1521}=39 \end{aligned} $
Yes, we can find the distance between the given towns A and B.
Assume town $A$ at origin point $(0,0)$.
Therefore, town B will be at point $(36,15)$ with respect to town A.
And hence, as calculated above, the distance between town $A$ and $B$ will be $39 km$.
3. Determine if the points $(1,5),(2,3)$ and $(-2,-11)$ are collinear.
Show Answer
Solution
Let the points $(1,5),(2,3)$, and $(-2,-11)$ be representing the vertices $A, B$, and $C$ of the given triangle respectively.
Let $A=(1,5), B=(2,3), C=(-2,-11)$
$\therefore AB=\sqrt{(1-2)^{2}+(5-3)^{2}}=\sqrt{5}$
$BC=\sqrt{(2-(-2))^{2}+(3-(-11))^{2}}=\sqrt{4^{2}+14^{2}}=\sqrt{16+196}=\sqrt{212}$
$CA=\sqrt{(1-(-2))^{2}+(5-(-11))^{2}}=\sqrt{3^{2}+16^{2}}=\sqrt{9+256}=\sqrt{265}$
Since $AB+BC \neq CA$,
Therefore, the points $(1,5),(2,3)$, and ( - 2, - 11) are not collinear.
4. Check whether $(5,-2),(6,4)$ and $(7,-2)$ are the vertices of an isosceles triangle.
Show Answer
Solution
Let the points $(5,-2),(6,4)$, and $(7,-2)$ are representing the vertices $A, B$, and $C$ of the given triangle respectively.
$ \begin{aligned} & AB=\sqrt{(5-6)^{2}+(-2-4)^{2}}=\sqrt{(-1)^{2}+(-6)^{2}}=\sqrt{1+36}=\sqrt{37} \\ & BC=\sqrt{(6-7)^{2}+(4-(-2))^{2}}=\sqrt{(-1)^{2}+(6)^{2}}=\sqrt{1+36}=\sqrt{37} \\ & CA=\sqrt{(5-7)^{2}+(-2-(-2))^{2}}=\sqrt{(-2)^{2}+0^{2}}=2 \end{aligned} $
Therefore, $AB=BC$
As two sides are equal in length, therefore, $ABC$ is an isosceles triangle.
5. 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.
Fig. 7.8
Show Answer
Solution
It can be observed that $A(3,4), B(6,7), C(9,4)$, and $D(6,1)$ are the positions of these 4 friends.
$AB=\sqrt{(3-6)^{2}+(4-7)^{2}}=\sqrt{(-3)^{2}+(-3)^{2}}=\sqrt{9+9}=\sqrt{18}=3 \sqrt{2}$
$BC=\sqrt{(6-9)^{2}+(7-4)^{2}}=\sqrt{(-3)^{2}+(3)^{2}}=\sqrt{9+9}=\sqrt{18}=3 \sqrt{2}$
$CB=\sqrt{(9-6)^{2}+(4-1)^{2}}=\sqrt{(3)^{2}+(3)^{2}}=\sqrt{9+9}=\sqrt{18}=3 \sqrt{2}$
$AD=\sqrt{(3-6)^{2}+(4-1)^{2}}=\sqrt{(-3)^{2}+(3)^{2}}=\sqrt{9+9}=\sqrt{18}=3 \sqrt{2}$
Diagonal $AC=\sqrt{(3-9)^{2}+(4-4)^{2}}=\sqrt{(-6)^{2}+0^{2}}=6$
Diagonal $BD=\sqrt{(6-6)^{2}+(7-1)^{2}}=\sqrt{0^{2}+(6)^{2}}=6$
It can be observed that all sides of this quadrilateral $A B C D$ are of the same length and also the diagonals are of the same length.
Therefore, $A B C D$ is a square and hence, Champa was correct
6. 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)$
Show Answer
Solution
(i) Let the points $(-1,-2),(1,0),(-1,2)$, and $(-3,0)$ be representing the vertices $A, B, C$, and $D$ of the given quadrilateral respectively.
$\therefore AB=\sqrt{(-1-1)^{2}+(-2-0)^{2}}=\sqrt{(-2)^{2}+(-2)^{2}}=\sqrt{4+4}=\sqrt{8}=2 \sqrt{2}$
$BC=\sqrt{(1-(-1))^{2}+(0-2)^{2}}=\sqrt{(2)^{2}+(-2)^{2}}=\sqrt{4+4}=\sqrt{8}=2 \sqrt{2}$
$CD=\sqrt{(-1-(-3))^{2}+(2-0)^{2}}=\sqrt{(2)^{2}+(2)^{2}}=\sqrt{4+4}=\sqrt{8}=2 \sqrt{2}$
$AD=\sqrt{(-1-(-3))^{2}+(-2-0)^{2}}=\sqrt{(2)^{2}+(-2)^{2}}=\sqrt{4+4}=\sqrt{8}=2 \sqrt{2}$
Diagonal $AC=\sqrt{(-1-(-1))^{2}+(-2-2)^{2}}=\sqrt{0^{2}+(-4)^{2}}=\sqrt{16}=4$
Diagonal $BD=\sqrt{(1-(-3))^{2}+(0-0)^{2}}=\sqrt{(4)^{2}+0^{2}}=\sqrt{16}=4$
It can be observed that all sides of this quadrilateral are of the same length and also, the diagonals are of the same length. Therefore, the given points are the vertices of a square.
(ii)Let the points $(-3,5),(3,1),(0,3)$, and $(-1,-4)$ be representing the vertices $A, B, C$, and $D$ of the given quadrilateral respectively.
$ \begin{aligned} & AB=\sqrt{(-3-3)^{2}+(5-1)^{2}}=\sqrt{(-6)^{2}+(4)^{2}}=\sqrt{36+16}=\sqrt{52}=2 \sqrt{13} \\ & BC=\sqrt{(3-0)^{2}+(1-3)^{2}}=\sqrt{(3)^{2}+(-2)^{2}}=\sqrt{9+4}=\sqrt{13} \\ & CD=\sqrt{(0-(-1))^{2}+(3-(-4))^{2}}=\sqrt{(1)^{2}+(7)^{2}}=\sqrt{1+49}=\sqrt{50}=5 \sqrt{2} \\ & AD=\sqrt{(-3-(-1))^{2}+(5-(-4))^{2}}=\sqrt{(-2)^{2}+(9)^{2}}=\sqrt{4+81}=\sqrt{85} \end{aligned} $
It can be observed that all sides of this quadrilateral are of different lengths. Therefore, it can be said that it is only a general quadrilateral, and not specific such as square, rectangle, etc.
(iii)Let the points $(4,5),(7,6),(4,3)$, and $(1,2)$ be representing the vertices $A, B, C$, and $D$ of the given quadrilateral respectively.
$ \begin{aligned} & AB=\sqrt{(4-7)^{2}+(5-6)^{2}}=\sqrt{(-3)^{2}+(-1)^{2}}=\sqrt{9+1}=\sqrt{10} \\ & BC=\sqrt{(7-4)^{2}+(6-3)^{2}}=\sqrt{(3)^{2}+(3)^{2}}=\sqrt{9+9}=\sqrt{18} \\ & CD=\sqrt{(4-1)^{2}+(3-2)^{2}}=\sqrt{(3)^{2}+(1)^{2}}=\sqrt{9+1}=\sqrt{10} \\ & AD=\sqrt{(4-1)^{2}+(5-2)^{2}}=\sqrt{(3)^{2}+(3)^{2}}=\sqrt{9+9}=\sqrt{18} \end{aligned} $
Diagonal $AC=\sqrt{(4-4)^{2}+(5-3)^{2}}=\sqrt{(0)^{2}+(2)^{2}}=\sqrt{0+4}=2$
Diagonal $CD=\sqrt{(7-1)^{2}+(6-2)^{2}}=\sqrt{(6)^{2}+(4)^{2}}=\sqrt{36+16}=\sqrt{52}=13 \sqrt{2}$
It can be observed that opposite sides of this quadrilateral are of the same length. However, the diagonals are of different lengths. Therefore, the given points are the vertices of a parallelogram.
7. Find the point on the $x$-axis which is equidistant from $(2,-5)$ and $(-2,9)$.
Show Answer
Solution
We have to find a point on $x$-axis. Therefore, its $y$-coordinate will be 0 .
Let the point on $x$-axis be $(x, 0)$.
Distance between $(x, 0)$ and $(2,-5)=\sqrt{(x-2)^{2}+(0-(-5))^{2}}=\sqrt{(x-2)^{2}+(5)^{2}}$
Distance between $(x, 0)$ and $(-2,9)=\sqrt{(x-(-2))^{2}+(0-(-9))^{2}}=\sqrt{(x+2)^{2}+(9)^{2}}$
By the given condition, these distances are equal in measure. $\sqrt{(x-2)^{2}+(5)^{2}}=\sqrt{(x+2)^{2}+(9)^{2}}$
$(x-2)^{2}+25=(x+2)^{2}+81$
$x^{2}+4-4 x+25=x^{2}+4+4 x+81$
$8 x=25-81$
$8 x=-56$
$x=-7$
Therefore, the point is $(-7,0)$.
8. Find the values of $y$ for which the distance between the points $P(2,-3)$ and $Q(10, y)$ is 10 units.
Show Answer
Solution
It is given that the distance between $(2,-3)$ and $(10, y)$ is 10 .
Therefore, $\sqrt{(2-10)^{2}+(-3-y)^{2}}=10$
$\sqrt{(-8)^{2}+(3+y)^{2}}=10$
$64+(y+3)^{2}=100$
$(y+3)^{2}=36$
$y+3= \pm 6$
$y+3=6$ or $y+3=-6$
Therefore, $y=3$ or -9
9. 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.
Show Answer
Solution
$PQ=QR$
$\sqrt{(5-0)^{2}+(-3-1)^{2}}=\sqrt{(0-x)^{2}+(1-6)^{2}}$
$\sqrt{(5)^{2}+(-4)^{2}}=\sqrt{(-x)^{2}+(-5)^{2}}$
$\sqrt{25+16}=\sqrt{x^{2}+25}$
$41=x^{2}+25$
$16=x^{2}$
$x= \pm 4$
Therefore, point $R$ is $(4,6)$ or $(-4,6)$.
When point $R$ is $(4,6)$,
$ \begin{aligned} & PR=\sqrt{(5-4)^{2}+(-3-6)^{2}}=\sqrt{1^{2}+(-9)^{2}}=\sqrt{1+81}=\sqrt{82} \\ & QR=\sqrt{(0-4)^{2}+(1-6)^{2}}=\sqrt{(-4)^{2}+(-5)^{2}}=\sqrt{16+25}=\sqrt{41} \end{aligned} $
When point $R$ is $(-4,6)$,
$ \begin{aligned} & PR=\sqrt{(5-(-4))^{2}+(-3-6)^{2}}=\sqrt{(9)^{2}+(-9)^{2}}=\sqrt{81+81}=9 \sqrt{2} \\ & QR=\sqrt{(0-(-4))^{2}+(1-6)^{2}}=\sqrt{(4)^{2}+(-5)^{2}}=\sqrt{16+25}=\sqrt{41} \end{aligned} $
10. Find a relation between $x$ and $y$ such that the point $(x, y)$ is equidistant from the point $(3,6)$ and $(-3,4)$.
Show Answer
Solution
Point $(x, y)$ is equidistant from $(3,6)$ and $(-3,4)$.
$ \begin{aligned} & \therefore \sqrt{(x-3)^{2}+(y-6)^{2}}=\sqrt{(x-(-3))^{2}+(y-4)^{2}} \\ & \sqrt{(x-3)^{2}+(y-6)^{2}}=\sqrt{(x+3)^{2}+(y-4)^{2}} \\ & (x-3)^{2}+(y-6)^{2}=(x+3)^{2}+(y-4)^{2} \\ & x^{2}+9-6 x+y^{2}+36-12 y=x^{2}+9+6 x+y^{2}+16-8 y \\ & 36-16=6 x+6 x+12 y-8 y \\ & 20=12 x+4 y \\ & 3 x+y=5 \\ & 3 x+y-5=0 \end{aligned} $
7.3 Section Formula
Let us recall the situation in Section 7.2. Suppose a telephone company wants to position a relay tower at $P$ between $A$ and $B$ is such a way that the distance of the tower from $B$ is twice its distance from $A$. If $P$ lies on $AB$, it will divide $AB$ in the ratio $1: 2$ (see Fig. 7.9). If we take $A$ as the origin $O$, and $1 km$ as one unit on both the axis, the coordinates of B will be $(36,15)$. In order to know the position of the tower, we must know the coordinates of P. How do we find these coordinates?
Fig. 7.9
Let the coordinates of $P$ be $(x, y)$. Draw perpendiculars from $P$ and $B$ to the $x$-axis, meeting it in $D$ and $E$, respectively. Draw PC perpendicular to BE. Then, by the AA similarity criterion, studied in Chapter $6, \triangle$ POD and $\triangle$ BPC are similar.
Therefore , $\dfrac{OD}{PC}=\dfrac{OP}{PB}=\dfrac{1}{2}$, and $\dfrac{PD}{BC}=\dfrac{OP}{PB}=\dfrac{1}{2}$
So, $\dfrac{x}{36-x}=\dfrac{1}{2}$ and $\dfrac{y}{15-y}=\dfrac{1}{2}$.
These equations give $x=12$ and $y=5$.
You can check that $P(12,5)$ meets the condition that $OP: PB=1: 2$.
Now let us use the understanding that you may have developed through this example to obtain the general formula.
Consider any two points $A(x_1, y_1)$ and $B(x_2, y_2)$ and assume that $P(x, y)$ divides $AB$ internally in the ratio $m_1: m_2$, i.e., $\dfrac{PA}{PB}=\dfrac{m_1}{m_2}$ (see Fig. 7.10).
Fig. 7.10
Draw AR, PS and BT perpendicular to the $x$-axis. Draw AQ and PC parallel to the $x$-axis. Then, by the AA similarity criterion,
$ \Delta PAQ \sim \Delta BPC $
Therefore, $\dfrac{PA}{BP}=\dfrac{AQ}{PC}=\dfrac{PQ}{BC} \tag{1}$
$ \begin{aligned} \text{Now,}\\ & AQ=RS=OS-OR=x-x_1 \\ & PC=ST=OT-OS=x_2-x \\ & PQ=PS-QS=PS-AR=y-y_1 \\ & BC=BT-CT=BT-PS=y_2-y \end{aligned} $
Substituting these values in (1), we get
$ \dfrac{m_1}{m_2}=\dfrac{x-x_1}{x_2-x}=\dfrac{y-y_1}{y_2-y} $
$ \text{Taking} \quad \quad \dfrac{m_1}{m_2}=\dfrac{x-x_1}{x_2-x} \text{, we get } x=\dfrac{m_1 x_2+m_2 x_1}{m_1+m_2} $
$$ \text{Similarly, taking} \quad \quad \dfrac{m_1}{m_2}=\dfrac{y-y_1}{y_2-y}, \text{ we get } y=\dfrac{m_1 y_2+m_2 y_1}{m_1+m_2} $$
So, the coordinates of the point $P(x, y)$ which divides the line segment joining the points $A(x_1, y_1)$ and $B(x_2, y_2)$, internally, in the ratio $m_1: m_2$ are
$$ (\dfrac{m_1 x_2+m_2 x_1}{m_1+m_2}, \dfrac{m_1 y_2+m_2 y_1}{m_1+m_2}) \tag{2} $$
This is known as the section formula.
This can also be derived by drawing perpendiculars from A, P and B on the $y$-axis and proceeding as above.
If the ratio in which $P$ divides $AB$ is $k: 1$, then the coordinates of the point $P$ will be
$ (\dfrac{k x_2+x_1}{k+1}, \dfrac{k y_2+y_1}{k+1}) $
Special Case : The mid-point of a line segment divides the line segment in the ratio $1: 1$. Therefore, the coordinates of the mid-point $P$ of the join of the points $A(x_1, y_1)$ and $B(x_2, y_2)$ is
$$ (\dfrac{1 \cdot x_1+1 \cdot x_2}{1+1}, \dfrac{1 \cdot y_1+1 \cdot y_2}{1+1})=(\dfrac{x_1+x_2}{2}, \dfrac{y_1+y_2}{2}) \text{. } $$
Let us solve a few examples based on the section formula.
Example 6 : 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.
Solution : Let $P(x, y)$ be the required point. Using the section formula, we get
$ x=\dfrac{3(8)+1(4)}{3+1}=7, \quad y=\dfrac{3(5)+1(-3)}{3+1}=3 $
Therefore, $(7,3)$ is the required point.
Example 7 : In what ratio does the point $(-4,6)$ divide the line segment joining the points $A(-6,10)$ and $B(3,-8)$ ?
Solution : Let $(-4,6)$ divide $A B$ internally in the ratio $m_1: m_2$. Using the section formula, we get
$$ (-4,6)=(\dfrac{3 m_1-6 m_2}{m_1+m_2}, \dfrac{-8 m_1+10 m_2}{m_1+m_2}) \tag{1} $$
Recall that if $(x, y)=(a, b)$ then $x=a$ and $y=b$.
So, $-4=\dfrac{3 m_1-6 m_2}{m_1+m_2} \text{ and } 6=\dfrac{-8 m_1+10 m_2}{m_1+m_2}$
$$\text{Now, }\quad-4=\dfrac{3 m_1-6 m_2}{m_1+m_2} \quad \text{gives us}$$
$ -4 m_1-4 m_2=3 m_1-6 m_2 $
i.e.,$7 m_1=2 m_2$
i.e.,$m_1: m_2=2: 7$
You should verify that the ratio satisfies the $y$-coordinate also.
Now, $\begin{aligned} \quad \dfrac{-8 m_1+10 m_2}{m_1+m_2} & =\dfrac{-8 \dfrac{m_1}{m_2}+10}{\dfrac{m_1}{m_2}+1} \quad (\text{ Dividing throughout by } m_2 )\end{aligned}$
$\begin{aligned} \quad =\dfrac{-8 \times \dfrac{2}{7}+10}{\dfrac{2}{7}+1}=6\end{aligned}$
Therefore, the point $(-4,6)$ divides the line segment joining the points $A(-6,10)$ and $B(3,-8)$ in the ratio $2: 7$.
Alternatively : The ratio $m_1: m_2$ can also be written as $\dfrac{m_1}{m_2}: 1$, or $k: 1$. Let $(-4,6)$ divide $A B$ internally in the ratio $k: 1$. Using the section formula, we get
$ \begin{align*} (-4,6) & =(\dfrac{3 k-6}{k+1}, \dfrac{-8 k+10}{k+1}) \tag{2} \end{align*} $
$ \begin{aligned} \text{So, } \quad \quad & -4 =\dfrac{3 k-6}{k+1} \\ \text{i.e., } \quad \quad & -4 k-4 =3 k-6 \\ \text{i.e., } \quad \quad & 7 k =2 \\ \text{i.e., } \quad \quad & k: 1 =2: 7 \end{aligned} $
You can check for the $y$-coordinate also.
So, the point $(-4,6)$ divides the line segment joining the points $A(-6,10)$ and $B(3,-8)$ in the ratio $2: 7$.
Note : You can also find this ratio by calculating the distances PA and PB and taking their ratios provided you know that $A, P$ and $B$ are collinear.
Example 8 : 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)$.
Solution : Let $P$ and $Q$ be the points of trisection of $AB$ i.e., $AP=PQ=QB$ (see Fig. 7.11).
Fig. 7.11
Therefore, $P$ divides $AB$ internally in the ratio $1: 2$. Therefore, the coordinates of $P$, by applying the section formula, are
$ (\dfrac{1(-7)+2(2)}{1+2}, \dfrac{1(4)+2(-2)}{1+2}) \text{, i.e., }(-1,0) $
Now, $Q$ also divides $AB$ internally in the ratio 2 : 1 . So, the coordinates of $Q$ are
$ (\dfrac{2(-7)+1(2)}{2+1}, \dfrac{2(4)+1(-2)}{2+1}) \text{, i.e., }(-4,2) $
Therefore, the coordinates of the points of trisection of the line segment joining A and B are $(-1,0)$ and $(-4,2)$.
Note : We could also have obtained Q by noting that it is the mid-point of PB. So, we could have obtained its coordinates using the mid-point formula.
Example 9 : 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.
Solution : Let the ratio be $k: 1$. Then by the section formula, the coordinates of the point which divides $AB$ in the ratio $k: 1$ are $(\dfrac{-k+5}{k+1}, \dfrac{-4 k-6}{k+1})$.
This point lies on the $y$-axis, and we know that on the $y$-axis the abscissa is 0 .
Therefore, $\dfrac{-k+5}{k+1}=0$
So, $k=5$
That is, the ratio is $5: 1$. Putting the value of $k=5$, we get the point of intersection as $(0, \dfrac{-13}{3})$.
Example 10 : 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$.
Solution : We know that diagonals of a parallelogram bisect each other.
So, the coordinates of the mid-point of $AC=$ coordinates of the mid-point of $BD$
$\text{i.e.,}\quad \quad(\dfrac{6+9}{2}, \dfrac{1+4}{2})=(\dfrac{8+p}{2}, \dfrac{2+3}{2})$
$\text{i.e.,}\quad \quad(\dfrac{15}{2}, \dfrac{5}{2})=(\dfrac{8+p}{2}, \dfrac{5}{2})$
$\text{so, }\quad \quad \dfrac{15}{2}=\dfrac{8+p}{2} $
$\text{i.e.,}\quad \quad p=7$
EXERCISE 7.2
1. Find the coordinates of the point which divides the join of $(-1,7)$ and $(4,-3)$ in the ratio $2: 3$.
Show Answer
Solution
Let $P(x, y)$ be the required point. Using the section formula, we obtain
$ \begin{aligned} & x=\dfrac{2 \times 4+3 \times(-1)}{2+3}=\dfrac{8-3}{5}=\dfrac{5}{5}=1 \\ & y=\dfrac{2 \times(-3)+3 \times 7}{2+3}=\dfrac{-6+21}{5}=\dfrac{15}{5}=3 \end{aligned} $
Therefore, the point is $(1,3)$.
2. Find the coordinates of the points of trisection of the line segment joining $(4,-1)$ and $(-2,-3)$.
Show Answer
Solution
Let $P(x_1, y_1)$ and $Q(x_2, y_2)$ are the points of trisection of the line segment joining the given points i.e., $AP=PQ=QB$ Therefore, point $P$ divides $A B$ internally in the ratio 1:2.
$x_1=\dfrac{1 \times(-2)+2 \times 4}{1+2}, \quad y_1=\dfrac{1 \times(-3)+2 \times(-1)}{1+2}$
$x_1=\dfrac{-2+8}{3}=\dfrac{6}{3}=2, \quad y_1=\dfrac{-3-2}{3}=\dfrac{-5}{3}$
Therefore, $P(x_1, y_1)=(2,-\dfrac{5}{3})$
Point $Q$ divides $AB$ internally in the ratio 2:1.
$x_2=\dfrac{2 \times(-2)+1 \times 4}{2+1}, y_2=\dfrac{2 \times(-3)+1 \times(-1)}{2+1}$
$x_2=\dfrac{-4+4}{3}=0, \quad y_2=\dfrac{-6-1}{3}=\dfrac{-7}{3}$
$Q(x_2, y_2)=(0,-\dfrac{7}{3})$
3. 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 $\dfrac{1}{4}$ th the distance $AD$ on the 2nd line and posts a green flag. Preet runs $\dfrac{1}{5}$ 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?
Fig. 7.12
Show Answer
Solution
It can be observed that Niharika posted the green flag at $\dfrac{1}{4}$ of the distance AD i.e., $(\dfrac{1}{4} \times 100) m=25 m$ from the starting point of $2^{\text{nd }}$ line. Therefore, the coordinates of this point $G$ is $(2,25)$.
Similarly, Preet posted red flag at $\dfrac{1}{5}$ of the distance AD i.e., $(\dfrac{1}{5} \times 100) m=20 m$ from the starting point of $8^{\text{th }}$ line. Therefore, the coordinates of this point $R$ are $(8,20)$.
Distance between these flags by using distance formula $=GR$
$=\sqrt{(8-2)^{2}+(25-20)^{2}}=\sqrt{36+25}=\sqrt{61} m$
The point at which Rashmi should post her blue flag is the mid-point of the line joining these points. Let this point be $A(x, y)$.
$x=\dfrac{2+8}{2}, y=\dfrac{25+20}{2}$
$x=\dfrac{10}{2}=5, y=\dfrac{45}{2}=22.5$
Hence, $A(x, y)=(5,22.5)$
Therefore, Rashmi should post her blue flag at $22.5 m$ on $5^{\text{th }}$ line.
4. Find the ratio in which the line segment joining the points $(-3,10)$ and $(6,-8)$ is divided by $(-1,6)$.
Show Answer
Solution
Let the ratio in which the line segment joining $(-3,10)$ and $(6,-8)$ is divided by point $(-1,6)$ be $k: 1$.
Therefore, $-1=\dfrac{6 k-3}{k+1}$
$-k-1=6 k-3$
$7 k=2$
$k=\dfrac{2}{7}$
Therefore, the required ratio is $2: 7$.
5. 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.
Show Answer
Solution
Let the ratio in which the line segment joining $A(1,-5)$ and $B(-4,5)$ is divided by $x$-axisbe $k: 1$.
Therefore, the coordinates of the point of division is $(\dfrac{-4 k+1}{k+1}, \dfrac{5 k-5}{k+1})$.
We know that $y$-coordinate of any point on $x$-axis is 0 .
$\therefore \dfrac{5 k-5}{k+1}=0$
$k=1$
Therefore, $x$-axis divides it in the ratio 1:1.
Division point $=(\dfrac{-4(1)+1}{1+1}, \dfrac{5(1)-5}{1+1})=(\dfrac{-4+1}{2}, \dfrac{5-5}{2})=(\dfrac{-3}{2}, 0)$
6. If $(1,2),(4, y),(x, 6)$ and $(3,5)$ are the vertices of a parallelogram taken in order, find $x$ and $y$.
Show Answer
Solution
Let $(1,2),(4, y),(x, 6)$, and $(3,5)$ are the coordinates of A, B, C, D vertices of a parallelogram ABCD. Intersection point $O$ of diagonal $AC$ and $BD$ also divides these diagonals.
Therefore, $O$ is the mid-point of $AC$ and $BD$.
If $O$ is the mid-point of $AC$, then the coordinates of $O$ are
$(\dfrac{1+x}{2}, \dfrac{2+6}{2}) \Rightarrow(\dfrac{x+1}{2}, 4)$
If $O$ is the mid-point of $B D$, then the coordinates of $O$ are
$(\dfrac{4+3}{2}, \dfrac{5+y}{2}) \Rightarrow(\dfrac{7}{2}, \dfrac{5+y}{2})$
Since both the coordinates are of the same point $O$,
$\therefore \dfrac{x+1}{2}=\dfrac{7}{2}$ and $4=\dfrac{5+y}{2}$
$\Rightarrow x+1=7$ and $5+y=8$
$\Rightarrow x=6$ and $y=3$
7. Find the coordinates of a point $A$, where $A B$ is the diameter of a circle whose centre is $(2,-3)$ and $B$ is $(1,4)$.
Show Answer
Solution
Let the coordinates of point $A$ be $(x, y)$.
Mid-point of $A B$ is $(2,-3)$, which is the center of the circle.
$\therefore(2,-3)=(\dfrac{x+1}{2}, \dfrac{y+4}{2})$
$\Rightarrow \dfrac{x+1}{2}=2$ and $\dfrac{y+4}{2}=-3$
$\Rightarrow x+1=4$ and $y+4=-6$
$\Rightarrow x=3$ and $y=-10$
Therefore, the coordinates of A are $(3,-10)$.
8. If $A$ and $B$ are $(-2,-2)$ and $(2,-4)$, respectively, find the coordinates of $P$ such that $AP=\dfrac{3}{7} AB$ and $P$ lies on the line segment $AB$.
Show Answer
Solution
The coordinates of point $A$ and $B$ are $(-2,-2)$ and $(2,-4)$ respectively.
Since $AP=\dfrac{3}{7} AB$,
Therefore, AP: PB = 3:4
Point $P$ divides the line segment $A B$ in the ratio 3:4.
$ \text{ Coordinates of } \begin{aligned} P & =(\dfrac{3 \times 2+4 \times(-2)}{3+4}, \dfrac{3 \times(-4)+4 \times(-2)}{3+4}) \\ & =(\dfrac{6-8}{7}, \dfrac{-12-8}{7}) \\ & =(-\dfrac{2}{7},-\dfrac{20}{7}) \end{aligned} $
9. Find the coordinates of the points which divide the line segment joining $A(-2,2)$ and $B(2,8)$ into four equal parts.
Show Answer
Solution
From the figure, it can be observed that points P, Q, R are dividing the line segment in a ratio 1:3, 1:1, 3:1 respectively.
$ \begin{aligned} \text{ Coordinates of } P & =(\dfrac{1 \times 2+3 \times(-2)}{1+3}, \dfrac{1 \times 8+3 \times 2}{1+3}) \\ & =(-1, \dfrac{7}{2}) \end{aligned} $
Coordinates of $Q=(\dfrac{2+(-2)}{2}, \dfrac{2+8}{2})$
$ =(0,5) $
Coordinates of $R=(\dfrac{3 \times 2+1 \times(-2)}{3+1}, \dfrac{3 \times 8+1 \times 2}{3+1})$
$ =(1, \dfrac{13}{2}) $
10. 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 $=\dfrac{1}{2}$ (product of its diagonals)]
Show Answer
Solution
Let $(3,0),(4,5),(-1,4)$ and $(-2,-1)$ are the vertices $A, B, C, D$ of a rhombus ABCD.
Length of diagonal $AC=\sqrt{[3-(-1)]^{2}+(0-4)^{2}}$
$ =\sqrt{16+16}=4 \sqrt{2} $
Length of diagonal $BD=\sqrt{[4-(-2)]^{2}+[5-(-1)]^{2}}$
$ =\sqrt{36+36}=6 \sqrt{2} $
Therefore, area of rhombus $ABCD=\dfrac{1}{2} \times 4 \sqrt{2} \times 6 \sqrt{2}$
$ =24 \text{ square units } $
7.4 Summary
In this chapter, you have studied the following points :
1. 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}}$.
2. The distance of a point $P(x, y)$ from the origin is $\sqrt{x^{2}+y^{2}}$.
3. The coordinates of the point $P(x, y)$ which divides the line segment joining the points $A(x_1, y_1)$ and $B(x_2, y_2)$ internally in the ratio $m_1: m_2$ are $(\dfrac{m_1 x_2+m_2 x_1}{m_1+m_2}, \dfrac{m_1 y_2+m_2 y_1}{m_1+m_2})$.
4. The mid-point of the line segment joining the points $P(x_1, y_1)$ and $Q(x_2, y_2)$ is $(\dfrac{x_1+x_2}{2}, \dfrac{y_1+y_2}{2})$.
A NOTE TO THE READER
Section 7.3 discusses the Section Formula for the coordinates $(x, y)$ of a point $P$ which divides internally the line segment joining the points $A(x_1, y_1)$ and $B(x_2, y_2)$ in the ratio $m_1: m_2$ as follows :
$$ x=\dfrac{m_1 x_2+m_2 x_1}{m_1+m_2}, \quad y=\dfrac{m_1 y_2+m_2 y_1}{m_1+m_2} $$
Note that, here, $PA: PB=m_1: m_2$.
However, if $P$ does not lie between $A$ and $B$ but lies on the line $AB$, outside the line segment $A B$, and $P A: P B=m_1: m_2$, we say that $P$ divides externally the line segment joining the points A and B. You will study Section Formula for such case in higher classes.