You are on page 1of 65

Mathematics

Cartesian Coordinate Geometry


And
Straight Lines
Session
1. Cartesian Coordinate system and
Quadrants
2. Distance formula
3. Area of a triangle
4. Collinearity of three points
5. Section formula
6. Special points in a triangle
7. Locus and equation to a locus
8. Translation of axes - shift of
origin
9. Translation of axes - rotation of
axes
Session Objectives
Ren Descartes
Coordinates
X X
Y
Y
O
Origin
1 2 3 4
+ve direction
-1 -2 -3 -4
-ve direction
-1
-2
-3
-
v
e

d
i
r
e
c
t
i
o
n


1
2
3
+
v
e

d
i
r
e
c
t
i
o
n


X-axis : XOX
Y-axis : YOY
Coordinates
X X
Y
Y
O
1 2 3 4 -1 -2 -3 -4
-1
-2
-3
1
2
3
(2,1)
(-3,-2)
Ordinate
Abcissa
(?,?)
Coordinates
X X
Y
Y
O
1 2 3 4 -1 -2 -3 -4
-1
-2
-3
1
2
3
(2,1)
(-3,-2)
Ordinate
Abcissa
(4,?)
Coordinates
X X
Y
Y
O
1 2 3 4 -1 -2 -3 -4
-1
-2
-3
1
2
3
(2,1)
(-3,-2)
Ordinate
Abcissa
(4,-2.5)
Quadrants
X X O
Y
Y
I II
III IV
(+,+) (-,+)
(-,-) (+,-)
Quadrants
X X O
Y
Y
I II
III IV
(+,+) (-,+)
(-,-) (+,-)
Q : (1,0) lies in which Quadrant?
Ist? IInd?
A : None. Points which lie on the axes do not lie in any
quadrant.
Distance Formula
x
1
X

X

Y

O

Y

x
2
y
1

y
2

N
PQN is a right angled A.
PQ
2
= PN
2
+ QN
2


( ) ( )
2 2
2 1 2 1
PQ x x y y = +
y
2
-
y
1

(x
2
-x
1
)
PQ
2
= (x
2
-x
1
)
2
+(y
2
-y
1
)
2

Distance From Origin
Distance of P(x, y) from the
origin is
( ) ( )
2 2
x 0 y 0 = +
2 2
x y = +
Applications of Distance Formula
Parallelogram
Applications of Distance Formula
Rhombus
Applications of Distance Formula
Rectangle
Applications of Distance Formula
Square
Area of a Triangle
X

X

Y

O

Y

A(x
1
, y
1
)
C(x
3
, y
3
)
B
(
x
2
,

y
2
)

M L N
Area of A ABC =
Area of trapezium ABML

+ Area of trapezium ALNC
- Area of trapezium BMNC
Area of a Triangle
X

X

Y

O

Y

A(x
1
, y
1
)
C(x
3
, y
3
)
B
(
x
2
,

y
2
)

M L N
Area of trapezium ABML + Area of trapezium ALNC
- Area of trapezium BMNC
( ) ( ) ( ) ( ) ( ) ( )
1 1 1
BM AL ML AL CN LN BM CN MN
2 2 2
= + + + +
( ) ( ) ( ) ( ) ( ) ( )
2 1 1 2 1 3 3 1 2 3 3 2
1 1 1
y y x x y y x x y y x x
2 2 2
= + + + +
1 1
2 2
3 3
x y 1
1
x y 1
2
x y 1
=
Sign of Area : Points anticlockwise +ve
Points clockwise -ve
Area of Polygons
Area of polygon with points A
i
(x
i
, y
i
)
where i = 1 to n
2 2 1 1 n 1 n 1 n n
3 3 2 2 n n 1 1
x y x y x y x y
1
. . .
x y x y x y x y 2



= + + + +
`

)
Can be used to calculate
area of Quadrilateral,
Pentagon, Hexagon etc.
Collinearity of Three Points
Method I :
Use Distance Formula
a
b
c
Show that a+b = c
Collinearity of Three Points
Method II :
Use Area of Triangle
A (x
1
, y
1
)
B (x
2
, y
2
)
C (x
3
, y
3
)
Show that
1 1
2 2
3 3
x y 1
x y 1 0
x y 1
=
Section Formula Internal Division
X

X

Y

O

Y

L N M
H
K
Clearly AAHP ~ APKB
AP AH PH
BP PK BK
= =
1 1
2 2
x x y y m
n x x y y

= =

2 1 2 1
mx nx my ny
P ,
m n m n
+ + | |

|
+ +
\ .
Midpoint
Midpoint of A(x
1
, y
1
) and B(x
2
,y
2
)
m:n 1:1
1 2 1 2
x x y y
P ,
2 2
+ + | |

|
\ .
Section Formula External Division
X

X

Y

O

Y

L N M
H
K
Clearly APAH ~ APBK
AP AH PH
BP BK PK
= =
1 1
2 2
x x y y m
n x x y y

= =

2 1 2 1
mx nx my ny
P ,
m n m n
| |

|

\ .
P divides AB externally in ratio m:n
Centroid
Intersection of medians of a
triangle is called the centroid.
A(x
1
, y
1
)
B(x
2
, y
2
) C(x
3
, y
3
) D
E F
G
2 3 2 3
x x y y
D ,
2 2
+ + | |

|
\ .
1 3 1 3
x x y y
E ,
2 2
+ + | |

|
\ .
1 2 1 2
x x y y
F ,
2 2
+ + | |

|
\ .
Centroid is
always denoted
by G.

Centroid
A(x
1
, y
1
)
B(x
2
, y
2
) C(x
3
, y
3
) D
E F
G
2 3 2 3
x x y y
D ,
2 2
+ + | |

|
\ .
1 3 1 3
x x y y
E ,
2 2
+ + | |

|
\ .
1 2 1 2
x x y y
F ,
2 2
+ + | |

|
\ .
Consider points L, M, N dividing AD, BE
and CF respectively in the ratio 2:1
2 3 2 3
1 1
x x y y
x 2 y 2
2 2
L ,
1 2 1 2
+ + | |
+ +
|

|
+ +
|
|
\ .
Centroid
A(x
1
, y
1
)
B(x
2
, y
2
) C(x
3
, y
3
) D
E F
G
2 3 2 3
x x y y
D ,
2 2
+ + | |

|
\ .
1 3 1 3
x x y y
E ,
2 2
+ + | |

|
\ .
1 2 1 2
x x y y
F ,
2 2
+ + | |

|
\ .
Consider points L, M, N dividing AD, BE
and CF respectively in the ratio 2:1
1 3 1 3
2 2
x x y y
x 2 y 2
2 2
M ,
1 2 1 2
+ + | |
+ +
|

|
+ +
|
|
\ .
Centroid
A(x
1
, y
1
)
B(x
2
, y
2
) C(x
3
, y
3
) D
E F
G
2 3 2 3
x x y y
D ,
2 2
+ + | |

|
\ .
1 3 1 3
x x y y
E ,
2 2
+ + | |

|
\ .
1 2 1 2
x x y y
F ,
2 2
+ + | |

|
\ .
Consider points L, M, N dividing AD, BE
and CF respectively in the ratio 2:1
1 2 1 2
3 3
x x y y
x 2 y 2
2 2
N ,
1 2 1 2
+ + | |
+ +
|

|
+ +
|
|
\ .
Centroid
A(x
1
, y
1
)
B(x
2
, y
2
) C(x
3
, y
3
) D
E F
G
2 3 2 3
x x y y
D ,
2 2
+ + | |

|
\ .
1 3 1 3
x x y y
E ,
2 2
+ + | |

|
\ .
1 2 1 2
x x y y
F ,
2 2
+ + | |

|
\ .
1 2 3 1 2 3
x x x y y y
L ,
3 3
+ + + + | |

|
\ .
1 2 3 1 2 3
x x x y y y
M ,
3 3
+ + + + | |

|
\ .
1 2 3 1 2 3
x x x y y y
N ,
3 3
+ + + + | |

|
\ .
We see that L M N G
Medians are
concurrent at the
centroid, centroid
divides medians in
ratio 2:1
Centroid
A(x
1
, y
1
)
B(x
2
, y
2
) C(x
3
, y
3
) D
E F
G
2 3 2 3
x x y y
D ,
2 2
+ + | |

|
\ .
1 3 1 3
x x y y
E ,
2 2
+ + | |

|
\ .
1 2 1 2
x x y y
F ,
2 2
+ + | |

|
\ .
1 2 3 1 2 3
x x x y y y
L ,
3 3
+ + + + | |

|
\ .
1 2 3 1 2 3
x x x y y y
M ,
3 3
+ + + + | |

|
\ .
1 2 3 1 2 3
x x x y y y
N ,
3 3
+ + + + | |

|
\ .
We see that L M N G
Centroid
1 2 3 1 2 3
x x x y y y
G ,
3 3
+ + + +
| |

|
\ .
Incentre
Intersection of angle bisectors of a
triangle is called the incentre
A(x
1
, y
1
)
B(x
2
, y
2
) C(x
3
, y
3
) D
E F
I
Incentre is
the centre of
the incircle

Let BC = a, AC = b, AB = c
AD, BE and CF are the angle
bisectors of A, B and C
respectively.

BD AB b
DC AC c
= =
2 3 2 3
bx cx by cy
D ,
b c b c
+ + | |

|
+ +
\ .
Incentre
A(x
1
, y
1
)
B(x
2
, y
2
) C(x
3
, y
3
) D
E F
I
BD AB b
DC AC c
= =
2 3 2 3
bx cx by cy
D ,
b c b c
+ + | |

|
+ +
\ .
AI AB AC AB AC c b
Now,
ID BD DC BD DC a
+ +
= = = =
+
( )
( )
( )
( )
2 3 2 3
1 1
bx cx by cy
ax b c ay b c
b c b c
I ,
a b c a b c
+ + | |
+ + + +
|
+ +

|
+ + + +
|
|
\ .
1 2 3
ax bx cx
I
a b c
+ + | |

|
+ +
\ .
Similarly I can be derived
using E and F also
Incentre
A(x
1
, y
1
)
B(x
2
, y
2
) C(x
3
, y
3
) D
E F
I
BD AB b
DC AC c
= =
2 3 2 3
bx cx by cy
D ,
b c b c
+ + | |

|
+ +
\ .
AI AB AC AB AC c b
Now,
ID BD DC BD DC a
+ +
= = = =
+
( )
( )
( )
( )
2 3 2 3
1 1
bx cx by cy
ax b c ay b c
b c b c
I ,
a b c a b c
+ + | |
+ + + +
|
+ +

|
+ + + +
|
|
\ .
1 2 3
ax bx cx
I
a b c
+ + | |

|
+ +
\ .
Angle bisectors are
concurrent at the incentre
Excentre
Intersection of external angle
bisectors of a triangle is called
the excentre
A(x
1
, y
1
)
B(x
2
, y
2
) C(x
3
, y
3
) D
E F
E
Excentre is
the centre of
the excircle

E
A
= Excentre opposite A
1 2 3 1 2 3
A
ax bx cx ay by cy
E ,
a b c a b c
+ + + + | |

|
+ + + +
\ .
Excentre
Intersection of external angle
bisectors of a triangle is called
the excentre
A(x
1
, y
1
)
B(x
2
, y
2
) C(x
3
, y
3
) D
E F
E
Excentre is
the centre of
the excircle

E
B
= Excentre opposite B
1 2 3 1 2 3
B
ax bx cx ay by cy
E ,
a b c a b c
+ + | |

|
+ +
\ .
Excentre
Intersection of external angle
bisectors of a triangle is called
the excentre
A(x
1
, y
1
)
B(x
2
, y
2
) C(x
3
, y
3
) D
E F
E
Excentre is
the centre of
the excircle

E
C
= Excentre opposite C
1 2 3 1 2 3
C
ax bx cx ay by cy
E ,
a b c a b c
+ + | |

|
+ +
\ .
Cirumcentre
Intersection of perpendicular
bisectors of the sides of a triangle
is called the circumcentre.
OA = OB = OC
= circumradius

A
B
C
O
The above relation gives two
simultaneous linear equations. Their
solution gives the coordinates of O.
Orthocentre
Intersection of altitudes of a triangle
is called the orthocentre.
A
B C
H
Orthocentre
is always
denoted by H

We will learn to find
coordinates of Orthocentre
after we learn straight lines
and their equations
Cirumcentre, Centroid and
Orthocentre
The circumcentre O, Centroid G and
Orthocentre H of a triangle are
collinear.
O
H
G
G divides OH in the
ratio 1:2
Locus a Definition
The curve described by a point
which moves under a given condition
or conditions is called its locus
e.g. locus of a point having a
constant distance from a fixed point
:
Circle!!
Locus a Definition
The curve described by a point
which moves under a given condition
or conditions is called its locus
e.g. locus of a point equidistant from
two fixed points :
Perpendicular bisector!!
Equation to a Locus
The equation to the locus of a point
is that relation which is satisfied by
the coordinates of every point on the
locus of that point
Important :
A Locus is NOT an
equation. But it is
associated with an
equation
Equation to a Locus
Algorithm to find the equation to a
locus :
Step I : Assume the coordinates
of the point whose locus is to be
found to be (h,k)
Step II : Write the given conditions in mathematical
form using h, k
Step III : Eliminate the variables, if any
Step IV : Replace h by x and k by y in Step III. The
equation thus obtained is the required equation to locus
Illustrative Example
Find the equation to the locus of
the point equidistant from
A(1, 3) and B(-2, 1)
Let the point be P(h,k)
PA = PB (given)
PA
2
= PB
2
(h-1)
2
+(k-3)
2
= (h+2)
2
+(k-1)
2
6h+4k = 5
equation of locus of (h,k) is 6x+4y = 5
Solution :
Illustrative Example
A rod of length l slides with its
ends on perpendicular lines. Find
the locus of its midpoint.
Let the point be P(h,k)
Let the lines be the axes
Let the rod meet the axes at
A(a,0) and B(0,b)
h = a/2, k = b/2
Also, a
2
+b
2
= l
2
4h
2
+4k
2
= l
2
equation of locus of (h,k) is 4x
2
+4y
2
= l
2

B(0,b)
A(a,0) O
P(h,k)
Solution :
Shift of Origin
X

X

Y

O

Y

O(h,k)
P(x,y)
x
y
X
Y
Consider a point P(x, y)
Let the origin be shifted to
O with coordinates (h, k)
relative to old axes
Let new P (X, Y)
x = X + h, y = Y + k
X = x - h, Y = y - k
O (-h, -k) with reference to new axes
Illustrative Problem
Show that the distance between two
points is invariant under
translation of the axes
Let the points have vertices
A(x
1
, y
1
), B(x
2
, y
2
)
Let the origin be shifted to (h, k)
new coordinates : A(x
1
-h, y
1
-k), B(x
2
-h, y
2
-k)
2 2
1 2 1 2
Old dist. (x x ) (y y ) = +
2 2
1 2 1 2
& New dist. (x h x h) (y h y h) = + + +
= Old dist.
Solution :
Rotation of Axes
X

X

Y

O

Y

P(x,y)
x
y
Consider a point P(x, y)
Let the axes be rotated
through an angle u.
Let new P (X, Y) make
an angle o with the new
x-axis
u
o
( )
x
cos ,
R
u + o =
( )
y
sin ,
R
u + o =
Y
sin ,
R
o =
X
cos
R
o =
Rotation of Axes
( )
x
cos ,
R
u + o =
( )
y
sin ,
R
u + o =
Y
sin ,
R
o =
X
cos
R
o =
x
cos cos sin sin
R
u o u o =
y
sin cos cos sin
R
u o + u o =
X Y x
cos sin
R R R
u u =
X Y y
sin cos
R R R
u + u =
x Xcos Y sin
y Xsin Y cos
= u u
= u + u
X x cos y sin
Y y cos x sin
= u + u
= u u
Class Exercise
Class Exercise - 1
If the segments joining the points
A(a,b) and B(c,d) subtend an angle u
at the origin, prove that

( ) ( )
2 2 2 2
ac bd
cos
a b c d
+
u =
+ +
Solution
On simplifying,

( ) ( )
2 2 2 2
ac bd
cos
a b c d
+
u =
+ +
Let O be the origin.
OA
2
= a
2
+b
2
, OB
2
= c
2
+d
2
, AB
2
= (c-a)
2
+(d-b)
2

Using Cosine formula in AOAB, we have
AB
2
= OA
2
+OB
2
-2OA.OBcosu

( ) ( ) ( ) ( )
2 2
2 2 2 2 2 2 2 2
c a d b a b c d 2 a b c d cos + = + + + + + u
Class Exercise - 2
Four points A(6,3), B(-3,5), C(4,-2)
and D(x,3x) are given such that
Find x.

DBC 1
ABC 2
A
=
A
Given that AABC = 2ADBC
6 3 1 x 3x 1
3 5 1 2 3 5 1
4 2 1 4 2 1
=

( ) ( ) ( ) ( ) ( ) ( )
6 5 2 3 4 3 1 6 20 2 x 5 2 3x 4 3 1 6 20 ( + + + + = + + + +

2 28x 14 49 =
49
28x 14
2
=
11 3
x or x
8 8
= =
Solution :
Class Exercise - 3
If a = b = c, prove that (a,a
2
), (b,b
2
)
and (c,c
2
) can never be collinear.

Let, if possible, the three points be
collinear.
2
2
2
a a 1
1
b b 1 0
2
c c 1
=
R
2
R
2
-R
1
, R
3
R
3
- R
2
2
2 2
2 2
a a 1
b a b a 0 0
c b c b 0
=

( ) ( )
2
a a 1
b a c b 1 b a 0 0
1 c b 0
+ =
+
Solution :
Solution Cont.
R
2
R
2
-R
3
( ) ( )
2
a a 1
b a c b 0 a c 0 0
1 c b 0
=
+
( ) ( ) ( )
b a c b c a 0 =
This is possible only if a = b or b = c or c = a.
But a = b = c. Thus the points can never be collinear.
Q.E.D.
Class Exercise - 4
Three vertices of a parallelogram
taken in order are (a+b,a-b),
(2a+b,2a-b) and (a-b,a+b). Find the
fourth vertex.

Let the fourth vertex be (x,y).
Diagonals bisect each other.
a b a b 2a b x a b a b 2a b y
and
2 2 2 2
+ + + + + + +
= =
the required vertex is (-b,b)
Solution :
Class Exercise - 5
If G be the centroid of AABC and P
be any point in the plane, prove that
PA
2
+PB
2
+PC
2
=GA
2
+GB
2
+GC
2
+3GP
2
.

Let A (x
1
,y
1
), B (x
2
,y
2
), C (x
3
,y
3
), P (p,0)
LHS = (x
1
-p)
2
+y
1
2
+(x
2
-p)
2
+y
2
2
+(x
3
-p)
2
+y
3
2
= (x
1
2
+y
1
2
)+(x
2
2
+y
2
2
)+(x
3
2
+y
3
2
)+3p
2
-2p(x
1
+x
2
+x
3
)
=GA
2
+GB
2
+GC
2
+3GP
2
=RHS
Choose a coordinate system such that G is
the origin and P lies along the X-axis.
Q.E.D.
Solution :
Class Exercise - 6
The locus of the midpoint of the portion
intercepted between the axes by the
line xcoso+ysino = p, where p is a
constant, is
2 2 2
2 2 2
2 2
2 2 2 2
1 1 4
(a)x y 4p (b)
x y p
4 1 1 2
(c)x y (d)
p x y p
+ = + =
+ = + =
Solution
Let the line intercept at the
axes at A and B. Let R(h,k) be
the midpoint of AB.
( )
p p
R h,k ,
2cos 2sin
| |

|
o o
\ .
p p
sin , cos
2k 2h
o = o =
2 2
2 2
p p
1
4k 4h
+ =
2 2 2
1 1 4
Locus
x y p
+ =
Ans : (b)
Class Exercise - 7
A point moves so that the ratio of its
distance from (-a,0) to (a,0) is 2:3.
Find the equation of its locus.
Let the point be P(h,k). Given that
( )
( )
2
2
2
2
h a k
2
3
h a k
+ +
=
+
( )
( )
2
2
2
2
h a k
4
9
h a k
+ +
=
+
2 2 2
2 2 2
h 2ah a k 4
9 h 2ah a k
+ + +
=
+ +
2 2 2
5h 26ah 5k 5a 0 + + + =
2 2 2
the required locus is
5x 26ax 5y 5a 0

+ + + =
Solution :
Class Exercise - 8
Find the locus of the point such that
the line segments having end points
(2,0) and (-2,0) subtend a right angle
at that point.
Let A (2,0), B (-2,0)
Let the point be P(h,k). Given that
2 2 2
PA PB AB + =
( ) ( ) ( )
2 2 2
2 2
h 2 k h 2 k 2 2 + + + + = +
2 2
2h 2k 8 16 + + =
2 2
the required locus is
x y 4

+ =
Solution :
Class Exercise - 9
Find the coordinates of a point where the
origin should be shifted so that the equation
x
2
+y
2
-6x+8y-9 = 0 will not contain terms in
x and y. Find the transformed equation.
Let the origin be shifted to (h,k). The given equation becomes
(X+h)
2
+(Y+k)
2
-6(X+h)+8(Y+k)-9 = 0
Or, X
2
+Y
2
+(2h-6)X+(2k+8)Y+(h
2
+k
2
-6h+8k-9) = 0
2h-6 = 0; 2k+8 = 0 h = 3, k = -4.
Thus the origin is shifted to (3,-4).
Transformed equation is X
2
+Y
2
+(9+16-18-32-9) = 0
Or, X
2
+Y
2
= 34
Solution :
Class Exercise - 10
Through what angle should the axes
be rotated so that the equation
11x
2
+4xy+14y
2
= 5 will not have
terms in xy?
Let the axes be rotated through an
angle u. Thus equation becomes
( ) ( ) ( )
( )
2
2
11 Xcos Y sin 4 Xcos Y sin Xsin Y cos
14 Xsin Y cos 5
u u + u u u + u
+ u + u =
Solution :
Solution Cont.
Therefore, the required angle is
( ) ( )
cos 2sin 2cos sin 0 u + u u u =
1
tan or tan 2
2
u = u =
1 1
1
tan or tan 2
2

( )
( )
( )
2 2
2 2
2 2
Or, 11cos 4sin cos 14sin X
4cos 6sin cos 4sin XY
11sin 4sin cos 14cos 5
u + u u + u
+ u + u u u
+ u u u + u =
2 2
2cos 3sin cos 2sin 0 u + u u u =
Thank you

You might also like