*Monday, July 30th, 2018*

There are all sorts of ways that we can find the measurements of lines and angles. We can use rulers to measure lines and protractors to measure angles. InÂ **coordinate geometry**,Â we can use graphs and coordinates to find measurements and other useful information about geometric figures.

A coordinate graph is a rectangular grid with two number lines calledÂ **axes**. TheÂ ** x-axis**Â is the horizontal number line and theÂ

Now, Let us have a look at some formulas for coordinate geometry. We will use the below picture as a reference for the formulas.

**Important Formulas:**

- Slope of PQ = m =Â
- Equation of PQ is as below:

Â Â or y = mx + c

- The product of the slopes of two perpendicular lines is â€“1.
- The slopes of two parallel lines are always equal. If m1 and m2 are slopes of two parallel lines, then m1=m2.
- The distance between the points (x
_{1}, y_{1}) and (x_{2}, y_{2}) isÂ

- If point P(x, y) divides the segment AB, where AÂ (x
_{1}, y_{1}) and BÂ Â (x_{2}, y_{2}), internally in the ratio m: n, then,

x= (mx_{2}Â + nx_{1})/(m+n)Â andÂ y= (my_{2}Â + ny_{1})/(m+n) - If P is the midpoint then,

- If G (x, y) is the
**centroid**of triangle ABC, AÂ (x_{1}, y_{1}), BÂ Â (x_{2}, y_{2}), CÂ Â (x_{3}, y_{3}), then,

x = (x_{1}Â + x_{2Â }+ x_{3})/3 and y = (y_{1}Â + y_{2}Â + y_{3})/3

- If I (x, y) is the
**in-center**of triangle ABC, AÂ Â (x_{1}, y_{1}), BÂ Â (x_{2}, y_{2}), CÂ Â (x_{3}, y_{3}), then,

where a, b and c are the lengths of the BC, AC and AB respectively.

- The equation of a straight line is y = mx + c, where m is the slope and c is the y-intercept (tanÂ Â = m, whereÂ Â is the angle that the line makes with the positive X-axis).
- If two intersecting lines have slopes m1 and m2 then the angle between two lines Î¸ will be

tan Î¸ = (m1âˆ’m2) / (1+m1m2)

- The length of perpendicular from a point (x1 ,y1 ) on the line AX+BY+C = 0 is

P = (Ax1+By1+C) / (A^{2}+B^{2})

**Equations of a lines:**

â†’ General equation of a line Ax + By = C

â†’ Slope intercept form y = mx + c (c is y intercept)

â†’ Point-slope form y – y1 = m (x – x1 ) (m is the slope of the line)

â†’ Intercept form x / a + y / b = 1 (where a and b are x and y intercepts respectively)

â†’ Two point form:Â (yâˆ’y1) / (y2âˆ’y1) = (xâˆ’x1) / (x2âˆ’x1)

**Knowledge of Quadrants:**

*Quadrant I* => X is Positive Y is Positive

*Quadrant II* => X is Negative Y is Positive

*Quadrant III* => X is Negative Y is Negative

*Quadrant IV* => X is Positive Y is Negative

** Example 1: **What is the distance between the points A (3,8) and B(-2,-7) ?

a.) 5âˆš2

b.) 5

c.) 5âˆš10

d.) 10âˆš2

** Solution**:Â The distance between 2 points (x1, y1) and (x2, y2) is given as

Sqrt ((x2-x1)^{2} + (y2-y1)^{2})

Hence, required distance = sqrt((-2-3)^{2} + (-7-8)^{2})

= 5âˆš10

** Example 2:Â **The points of intersection of three lines 2X + 3Y â€“ 5=0 and 5X â€“ 7Y + 2=0 and 9X â€“ 5Y â€“ 4 = 0

a.) Form a triangle

b.) Are on lines perpendicular to each other

c.) Are on lines parallel to each other

d.) Are coincident

** Solution:Â **To solve the question above, we should remember the properties of the lines for being parallel, perpendicular or intersecting

- Two lines are parallel to each other if their slopes are equal
- Two lines are perpendicular if the product of slopes is -1

- Lines are coincident if they at least have one point which satisfies all the equation.

The three lines can be expressed in the y=mx + c format as:

Y = (5/3) â€“ (2X/3),Â Â Y = (5X/7) + (2/7)Â Â , Y = (9X/5) â€“ (4/5)

Therefore, the slopes of the three lines are -2/3, 5/7, 9/5 and their Y intercepts are 5/3, 2/7 and 4/5 respectively.

We see above that the product of slopes of none of the lines is -1. Thus, lines are not perpendicular to each other.

Also, slopes of the no two lines is same. Thus, lines are not parallel to each other.

Solving the first two equations we get X=1 and Y = 1. If we substitute (1,1) in the third equation Y=(9X/5 â€“ 4/5), we find that it also satisfies the equation. This suggests that the three lines intersect at a common point and hence coincident.

** Example 3: **Â The area of the triangle whose vertices are (a + 1, a + 1), (a, a) and (a+2, a) is

a.) a^{3}

b.) 1

c.) 2a

d.) 2^{1/2}

** Solution: **Â Let a = 0, Thus the three vertices of the triangle becomes (1, 1) (0, 0) and (2, 0)

If we look at the below figure,

Area = Â½ * base * height = Â½ * 2 * 1 = 1

Imp: The main point to note here is that area will be independent of a.

** Example 4: **Consider a triangle drawn on the X â€“ Y plane with its three vertices of (41,0) , (0,41) and (0,0), each vertex being represented by its (X,Y) coordinates. The number of points with integer coordinates inside the triangle (excluding all the points on the boundary) is:

a.) 12

b.) 8

c.) 6

d.) 4

** Solution:Â **Equation of the line will be of the form => x + y = 41.

Now, we know that if the x,y coordinates of a point are integer, the sum will also be an integer

X + y = k (k, a variable)

As per the question we need to exclude all the values lying on the boundary of triangle, k can take all values from 1 to 40 only. K = 0 is rejected as at k =0 will give the point at A which is also not allowed.

With K = 40, x + y = 40; this will be satisfied by points (1, 39), (2, 38), (3, 37)â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦.. (38, 2), (39, 1). That is a total of 39 points

Similarly x + y = 38, will be satisfied by 37 points.

X + Y = 37, will be satisfied by 36 points

X + Y = 3 will be satisfied by 2 points

X + Y = 2 will be satisfied by 1 point

X + Y = 1 will not be satisfied by any point

So, the total number of all such points is

39 + 38 + 37 + 36 + â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦. + 3 + 2 + 1 = n(n+1)/2 points = Â (39*40) / 2 = 780 points

** Example 5: **Two lines P and Q intersect at point (3, 2) in the x-y plane. The slope of line P is 45 degrees and line Q is parallel to the X axis. What is the area (in sq. units) of the triangle formed by P, Q and a line perpendicular to P passing through point (5, 4) ?

a.) 12

b.) 8

c.) 6

d.) 4

** Solution: **Let us look at the image below:

As slope of line P is 45 degree. Therefore, âˆ ABC = 45 degree

In triangle ABC, length of AB = **SQRT** [(5-3)^{2 }+ (4-2)^{2}] = 2**âˆš**2 units

Therefore, length of line AC = 2**âˆš**2 units (Since ABC is an isosceles triangle. Thus AB = AC )

Thus, required area = Â½ * 2**âˆš**2 * 2**âˆš**2 = 4 sq. units

** Example 6: **The line

a.) (5/2)**âˆš**3 units

b.) 3 **âˆš**3 units

c.) 2**âˆš**3 units

d.) 8/**âˆš**3 units

** Solution: **PQ is perpendicular to line Y = X /

Therefore, slope of PQ = -1 / (1/ **âˆš**3) = – **âˆš**3 (Since, product of slopes of line perpendicular to each other is -1)

Therefore, Let equation of the line PQ be y = – **âˆš**3x + c

Now at the point M, when x = **âˆš**3, y = 1

Putting the above values of x and y in the above equation, we get c = 4

The equation of the line becomes, Y = – **âˆš**3x + 4

Thus, by using the above equation, we get:

Coordinates of point P = (0, 4) and coordinates of point Q = (4/**âˆš**3, 0) (Putting x = 0 in above equation, we find value of P and putting Y = 0 in above equation, we find value of Q)

Hence PQ = sqrt [(4/**âˆš**3) ^{2 }+ 4^{2 }] = 8/**âˆš**3 units

** Summary: **For solving problems in coordinate geometry, we need to know concepts of lines, circles, square, rectangle etc. If we know the basic formulas of coordinate geometry, and have a good idea of basic geometry, it will be easy to solve problems. Most of the questions in CAT exam is of the pattern as given above.

**a)** 750+ Videos covering entire CAT syllabus**b)** 2 Live Classes (online) every week for doubt clarification**c)** Study Material & PDFs for practice and understanding**d)** 10 Mock Tests in the latest pattern**e)** Previous Year Questions solved on video

Consider a triangle drawn on the X â€“ Y plane with its three vertices of (41,0) , (0,41) and (0,0), each vertex being represented by its (X,Y) coordinates. The number of points with integer coordinates inside the triangle (excluding all the points on the boundary) is:

a.) 12

b.) 8

c.) 6

d.) 4

I can’t understand this. Can anyone help?