Coordinate geometry is the bridge between algebra and geometry. Instead of working with abstract shapes, you work with points on a grid — and every geometric property becomes a calculation using coordinates.
For competitive exams, coordinate geometry is a high-reward topic. The concepts are limited and well-defined: distance between points, midpoint of a segment, slope of a line, equations of lines and circles, and area of triangles using coordinates. Once you have these formulas memorized and can apply them without hesitation, every coordinate geometry question becomes a direct substitution problem.
In SSC CGL, coordinate geometry contributes $2\text{–}4$ questions in Tier 1 and $3\text{–}5$ questions in Tier 2. In CAT, it appears in $1\text{–}2$ questions within geometry sets. In IBPS PO, it appears occasionally in Mains ($1\text{–}2$ questions).
Part 1: The Coordinate System — Foundation Concepts
Axes and Quadrants
The Cartesian plane is divided into four quadrants by the horizontal $x$-axis and vertical $y$-axis intersecting at the origin $O(0, 0)$:
Quadrant | x-sign | y-sign | Example |
|---|---|---|---|
Quadrant I (top right) | $+$ | $+$ | $(3, 4)$ |
Quadrant II (top left) | $-$ | $+$ | $(-3, 4)$ |
Quadrant III (bottom left) | $-$ | $-$ | $(-3, -4)$ |
Quadrant IV (bottom right) | $+$ | $-$ | $(3, -4)$ |
Exam Trap: Any point lying on the $x$-axis has $y = 0$, i.e., $(x, 0)$. Any point lying on the $y$-axis has $x = 0$, i.e., $(0, y)$.
Reflection (Mirror Image) of a Point $(x, y)$
A frequent $10$-second question in SSC CGL asks for the reflection of a point across an axis or line:
Reflection across the $x$-axis: $(x, -y)$ (sign of $y$ changes)
Reflection across the $y$-axis: $(-x, y)$ (sign of $x$ changes)
Reflection across the origin $(0, 0)$: $(-x, -y)$ (both signs change)
Reflection across the line $y = x$: $(y, x)$ (coordinates swap)
Part 2: Distance Formula
Distance Between Two Points
For two points $A(x_1, y_1)$ and $B(x_2, y_2)$:
$$d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}$$
Worked Example 1:
Find the distance between $A(3, 4)$ and $B(7, 1)$.
$$d = \sqrt{(7 - 3)^2 + (1 - 4)^2} = \sqrt{4^2 + (-3)^2} = \sqrt{16 + 9} = \sqrt{25} = 5\text{ units}$$
Worked Example 2:
Find the distance from $P(5, -3)$ to the origin $(0, 0)$.
$$d = \sqrt{5^2 + (-3)^2} = \sqrt{25 + 9} = \sqrt{34}\text{ units}$$
Shortcut — Distance from Origin: $d = \sqrt{x^2 + y^2}$
Checking Geometric Shapes from Coordinates
Condition | Shape Identified |
|---|---|
| All $3$ side distances are equal | Equilateral triangle |
| Exactly $2$ side distances are equal | Isosceles triangle |
| $(\text{Largest side})^2 = \text{sum of squares of other two sides}$ | Right-angled triangle |
| All $4$ sides equal and both diagonals equal | Square |
| All $4$ sides equal, diagonals not equal | Rhombus |
| Opposite sides equal and both diagonals equal | Rectangle |
Worked Example 3:
Check whether $A(0, 0)$, $B(4, 0)$, and $C(4, 3)$ form a right triangle.
$AB = \sqrt{(4 - 0)^2 + (0 - 0)^2} = 4$
$BC = \sqrt{(4 - 4)^2 + (3 - 0)^2} = 3$
$AC = \sqrt{(4 - 0)^2 + (3 - 0)^2} = \sqrt{16 + 9} = 5$
Check Pythagoras theorem: $AC^2 = AB^2 + BC^2 \implies 5^2 = 4^2 + 3^2 \implies 25 = 16 + 9 \;\checkmark$
Conclusion: Right triangle ($3\text{–}4\text{–}5$ Pythagorean triplet).
Part 3: Midpoint and Section Formulas
Midpoint Formula
The midpoint $M$ of the segment joining $A(x_1, y_1)$ and $B(x_2, y_2)$ is:
$$M = \left(\frac{x_1 + x_2}{2},\; \frac{y_1 + y_2}{2}\right)$$
Worked Example 4:
Find the midpoint of $A(2, 6)$ and $B(8, 4)$.
$$M = \left(\frac{2 + 8}{2},\; \frac{6 + 4}{2}\right) = \left(\frac{10}{2},\; \frac{10}{2}\right) = (5, 5)$$
Section Formula — Internal Division
If point $P(x, y)$ divides the segment joining $A(x_1, y_1)$ and $B(x_2, y_2)$ internally in the ratio $m : n$:
$$P = \left(\frac{mx_2 + nx_1}{m + n},\; \frac{my_2 + ny_1}{m + n}\right)$$
Memory Trick: Cross-multiply! The $m$ part multiplies $B$'s coordinates $(x_2, y_2)$, and the $n$ part multiplies $A$'s coordinates $(x_1, y_1)$.
(Note: For external division in ratio $m : n$, simply replace $+$ with $-$: $P = \left(\dfrac{mx_2 - nx_1}{m - n},\; \dfrac{my_2 - ny_1}{m - n}\right)$.)
Worked Example 5:
Point $P$ divides $A(1, 2)$ and $B(7, 8)$ internally in the ratio $2 : 1$. Find the coordinates of $P$.
$$P = \left(\frac{2(7) + 1(1)}{2 + 1},\; \frac{2(8) + 1(2)}{2 + 1}\right) = \left(\frac{15}{3},\; \frac{18}{3}\right) = (5, 6)$$
Worked Example 6 — Finding the Ratio:
In what ratio does $P(4, 5)$ divide the join of $A(2, 3)$ and $B(6, 7)$?
Let the ratio be $k : 1$. Equating the $x$-coordinate:
$$\frac{6k + 2}{k + 1} = 4 \implies 6k + 2 = 4k + 4 \implies 2k = 2 \implies k = 1$$
$$\text{Ratio} = 1 : 1 \quad (\text{i.e., } P \text{ is the midpoint})$$
Part 4: Slope of a Line
The slope ($m$) measures the steepness and direction of a line passing through $(x_1, y_1)$ and $(x_2, y_2)$:
$$m = \frac{y_2 - y_1}{x_2 - x_1} = \tan\theta$$
(where $\theta$ is the angle the line makes with the positive $x$-axis)
Slope Properties
Line Type | Angle (θ) | Slope (m) |
|---|---|---|
Horizontal line (parallel to $x$-axis) | $0^\circ$ | $m = 0$ |
Vertical line (parallel to $y$-axis) | $90^\circ$ | $m = \text{undefined}$ |
Rising left to right | Acute ($0^\circ < \theta < 90^\circ$) | $m > 0$ |
Falling left to right | Obtuse ($90^\circ < \theta < 180^\circ$) | $m < 0$ |
$45^\circ$ inclination | $45^\circ$ | $m = \tan 45^\circ = 1$ |
$135^\circ$ inclination | $135^\circ$ | $m = \tan 135^\circ = -1$ |
Parallel, Perpendicular & Angle Between Two Lines
Parallel Lines: Slopes are equal $\implies m_1 = m_2$
Perpendicular Lines: Product of slopes is $-1 \implies m_1 \times m_2 = -1$ (or $m_2 = -\dfrac{1}{m_1}$)
Acute Angle ($\theta$) Between Two Lines:
$$\tan\theta = \left\vert{}\frac{m_1 - m_2}{1 + m_1 m_2}\right\vert{}$$
Worked Example 7:
Line 1 passes through $(1, 2)$ and $(3, 6)$. Line 2 passes through $(0, 4)$ and $(2, 5)$. What is their relationship?
$$m_1 = \frac{6 - 2}{3 - 1} = \frac{4}{2} = 2, \qquad m_2 = \frac{5 - 4}{2 - 0} = \frac{1}{2}$$
$$\text{Check: } m_1 \neq m_2 \quad \text{and} \quad m_1 \times m_2 = 2 \times \frac{1}{2} = 1 \neq -1 \implies \text{Neither parallel nor perpendicular (intersecting lines)}$$
Worked Example 8:
Find the slope of a line perpendicular to the line passing through $(2, 3)$ and $(5, 9)$.
$$\text{Slope of given line } (m_1) = \frac{9 - 3}{5 - 2} = \frac{6}{3} = 2$$
$$\text{Perpendicular slope } (m_2) = -\frac{1}{m_1} = -\frac{1}{2}$$
Part 5: Equations of Lines
Four Essential Forms
Form 1 — Slope–Intercept Form:
$$y = mx + c \quad (m = \text{slope},\; c = y\text{-intercept})$$
Form 2 — Point–Slope Form:
$$y - y_1 = m(x - x_1)$$
Form 3 — Standard (General) Form:
$$ax + by + c = 0 \quad \left(\text{Slope } m = -\frac{a}{b}\right)$$
Form 4 — Intercept Form:
$$\frac{x}{p} + \frac{y}{q} = 1 \quad (p = x\text{-intercept},\; q = y\text{-intercept})$$
Worked Example 9 — Equation from Two Points:
Find the equation of the line passing through $A(2, 3)$ and $B(5, 9)$.
$$\text{Slope } (m) = \frac{9 - 3}{5 - 2} = 2$$
$$y - 3 = 2(x - 2) \implies y - 3 = 2x - 4 \implies y = 2x - 1$$
Worked Example 10 — Reading Slope from General Form:
Find the slope and $y$-intercept of $3x + 4y - 12 = 0$.
$$4y = -3x + 12 \implies y = -\frac{3}{4}x + 3$$
$$\text{Slope } (m) = -\frac{3}{4}, \qquad y\text{-intercept } (c) = 3$$
Intercepts & Area Formed with Coordinate Axes (SSC CGL Favorite)
For a line $ax + by + c = 0$:
$x$-intercept: $-\dfrac{c}{a}$ (put $y = 0$)
$y$-intercept: $-\dfrac{c}{b}$ (put $x = 0$)
Area of right triangle formed by the line with the $x$- and $y$-axes:
$$\text{Area} = \frac{1}{2} \times \vert{}x\text{-intercept}\vert{} \times \vert{}y\text{-intercept}\vert{} = \frac{c^2}{2\vert{}ab\vert{}}$$
Worked Example 11:
Find the $x$- and $y$-intercepts of $2x + 3y - 6 = 0$ (and the area enclosed with the axes).
$$x\text{-intercept} = \frac{6}{2} = 3, \qquad y\text{-intercept} = \frac{6}{3} = 2$$
$$\text{Area with axes} = \frac{1}{2} \times 3 \times 2 = 3\text{ sq units}$$
Perpendicular Distance from a Point to a Line
The shortest (perpendicular) distance $d$ from point $(x_1, y_1)$ to the line $ax + by + c = 0$ is:
$$d = \frac{\vert{}ax_1 + by_1 + c\vert{}}{\sqrt{a^2 + b^2}}$$
(Note: Distance between two parallel lines $ax + by + c_1 = 0$ and $ax + by + c_2 = 0$ is $d = \dfrac{\vert{}c_1 - c_2\vert{}}{\sqrt{a^2 + b^2}}$.)
Worked Example 12:
Find the perpendicular distance from $(3, 4)$ to the line $3x + 4y - 5 = 0$.
$$d = \frac{\vert{}3(3) + 4(4) - 5\vert{}}{\sqrt{3^2 + 4^2}} = \frac{\vert{}9 + 16 - 5\vert{}}{\sqrt{25}} = \frac{20}{5} = 4\text{ units}$$
Part 6: Area of Triangle Using Coordinates
For a triangle with vertices $A(x_1, y_1)$, $B(x_2, y_2)$, and $C(x_3, y_3)$:
$$\text{Area} = \frac{1}{2} \left\vert{} x_1(y_2 - y_3) + x_2(y_3 - y_1) + x_3(y_1 - y_2) \right\vert{}$$
Worked Example 13:
Find the area of the triangle with vertices $A(1, 2)$, $B(4, 6)$, and $C(7, 2)$.
$$\begin{aligned} \text{Area} &= \frac{1}{2} \left\vert{} 1(6 - 2) + 4(2 - 2) + 7(2 - 6) \right\vert{} \\ &= \frac{1}{2} \left\vert{} 4 + 0 - 28 \right\vert{} \\ &= \frac{1}{2} \times 24 = 12\text{ sq units} \end{aligned}$$
Collinearity Check
Three points $A$, $B$, and $C$ lie on the same straight line (collinear) if and only if the area of $\triangle ABC = 0$ (or equivalently, $\text{Slope of } AB = \text{Slope of } BC$).
Worked Example 14:
Check whether $A(1, 1)$, $B(2, 2)$, and $C(3, 3)$ are collinear.
$$\text{Area} = \frac{1}{2} \left\vert{} 1(2 - 3) + 2(3 - 1) + 3(1 - 2) \right\vert{} = \frac{1}{2} \left\vert{} -1 + 4 - 3 \right\vert{} = 0 \;\checkmark \quad (\text{Collinear})$$
Part 7: Circle Equations
1. Standard (Center–Radius) Form
$$(x - h)^2 + (y - k)^2 = r^2$$
Center $= (h, k)$, $\quad$ Radius $= r$
Center at Origin $(0, 0)$: $x^2 + y^2 = r^2$
2. General Form
$$x^2 + y^2 + 2gx + 2fy + c = 0$$
Center $= (-g, -f)$
Radius $= \sqrt{g^2 + f^2 - c}$
Worked Example 15 — Finding Center and Radius:
Find the center and radius of $x^2 + y^2 - 6x + 4y - 3 = 0$.
Method 1 (Formula): Compare with $x^2 + y^2 + 2gx + 2fy + c = 0$:
$$2g = -6 \implies g = -3, \qquad 2f = 4 \implies f = 2, \qquad c = -3$$
$$\text{Center} = (-g, -f) = (3, -2)$$
$$\text{Radius} = \sqrt{(-3)^2 + 2^2 - (-3)} = \sqrt{9 + 4 + 3} = \sqrt{16} = 4\text{ units}$$
Method 2 (Completing the Square):
$$(x^2 - 6x + 9) + (y^2 + 4y + 4) = 3 + 9 + 4 \implies (x - 3)^2 + (y + 2)^2 = 4^2$$
$$\text{Center} = (3, -2), \quad \text{Radius} = 4\text{ units}$$
Worked Example 16 — Writing a Circle Equation:
Write the equation of a circle with center $(2, -3)$ and radius $5$.
$$(x - 2)^2 + (y + 3)^2 = 5^2$$
$$(x^2 - 4x + 4) + (y^2 + 6y + 9) = 25 \implies x^2 + y^2 - 4x + 6y - 12 = 0$$
Position of a Point Relative to a Circle
Substitute $P(x_1, y_1)$ into $S_1 = x_1^2 + y_1^2 + 2gx_1 + 2fy_1 + c$:
$S_1 < 0 \rightarrow$ Point lies inside the circle
$S_1 = 0 \rightarrow$ Point lies on the circle
$S_1 > 0 \rightarrow$ Point lies outside the circle
Worked Example 17:
Does $(1, 2)$ lie inside, on, or outside $x^2 + y^2 - 4x - 6y + 9 = 0$?
$$S_1 = 1^2 + 2^2 - 4(1) - 6(2) + 9 = 1 + 4 - 4 - 12 + 9 = -2 < 0 \implies \text{Inside the circle}$$
Part 8: Centroid, Circumcenter, Incenter, and Orthocenter
For a triangle with vertices $A(x_1, y_1)$, $B(x_2, y_2)$, and $C(x_3, y_3)$:
1. Centroid ($G$) — Intersection of Medians
$$G = \left(\frac{x_1 + x_2 + x_3}{3},\; \frac{y_1 + y_2 + y_3}{3}\right)$$
Worked Example 18:
Find the centroid of the triangle with vertices $(2, 4)$, $(6, 2)$, and $(4, 6)$.
$$G = \left(\frac{2 + 6 + 4}{3},\; \frac{4 + 2 + 6}{3}\right) = \left(\frac{12}{3},\; \frac{12}{3}\right) = (4, 4)$$
2. Circumcenter ($O$) — Intersection of Perpendicular Bisectors
Equidistant from all three vertices ($OA = OB = OC = R$).
Right-angled triangle shortcut: The circumcenter is always the midpoint of the hypotenuse.
3. Incenter ($I$) — Intersection of Angle Bisectors
$$I = \left(\frac{ax_1 + bx_2 + cx_3}{a + b + c},\; \frac{ay_1 + by_2 + cy_3}{a + b + c}\right)$$
(where $a = BC$, $b = AC$, and $c = AB$ are the side lengths opposite to vertices $A$, $B$, and $C$)
4. Orthocenter ($H$) — Intersection of Altitudes
Right-angled triangle shortcut: The orthocenter is always the vertex containing the $90^\circ$ angle.
Equilateral triangle shortcut: Centroid, Circumcenter, Incenter, and Orthocenter all coincide at the exact same point.
Part 9: Exam Traps and Speed Tips
Common Trap | Correct Approach |
|---|---|
| Setting vertical line slope $= 0$ | Vertical line slope is undefined; Horizontal line slope $= 0$. |
| Reversing the section formula ratio order | In ratio $m : n$, $m$ multiplies the second point $(x_2, y_2)$ and $n$ multiplies the first point $(x_1, y_1)$. |
| Forgetting negative signs in general circle center | For $x^2 + y^2 + 2gx + 2fy + c = 0$, Center $= (-g, -f)$ — always flip the signs of $g$ and $f$. |
| Forgetting absolute value bars in area or distance | Area and distance can never be negative — always take the modulus $\vert{} \cdots \vert{}$. |
Speed Tip — Pythagorean Triplets: Before computing $\sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}$, check if $\vert{}\Delta x\vert{}$ and $\vert{}\Delta y\vert{}$ form a standard triplet:
$$(3, 4, 5), \quad (5, 12, 13), \quad (8, 15, 17), \quad (7, 24, 25), \quad (6, 8, 10), \quad (9, 12, 15)$$
Quick Reference Formula Sheet
Concept | Formula |
|---|---|
Distance between two points | $d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}$ |
Distance from origin $(0, 0)$ | $d = \sqrt{x^2 + y^2}$ |
Midpoint | $M = \left(\dfrac{x_1 + x_2}{2},\; \dfrac{y_1 + y_2}{2}\right)$ |
Section formula (internal $m : n$) | $P = \left(\dfrac{mx_2 + nx_1}{m + n},\; \dfrac{my_2 + ny_1}{m + n}\right)$ |
Slope of a line | $m = \dfrac{y_2 - y_1}{x_2 - x_1}$ |
Parallel lines | $m_1 = m_2$ |
Perpendicular lines | $m_1 \times m_2 = -1$ |
Area of triangle | $\text{Area} = \dfrac{1}{2}\left\vert{}x_1(y_2 - y_3) + x_2(y_3 - y_1) + x_3(y_1 - y_2)\right\vert{}$ |
Centroid of triangle | $G = \left(\dfrac{x_1 + x_2 + x_3}{3},\; \dfrac{y_1 + y_2 + y_3}{3}\right)$ |
Point-to-line distance | $d = \dfrac{\vert{}ax_1 + by_1 + c\vert{}}{\sqrt{a^2 + b^2}}$ |
Circle (standard form) | $(x - h)^2 + (y - k)^2 = r^2$ |
Circle center (general form) | $(-g, -f)$ |
Circle radius (general form) | $r = \sqrt{g^2 + f^2 - c}$ |
Exam-Wise Strategy & Time Budget
Exam | Expected Questions | Common Types | Time Budget |
|---|---|---|---|
SSC CGL Tier 1 | $2\text{–}4$ | Distance, midpoint, slope, intercepts, area | $60\text{–}75\text{ sec each}$ |
SSC CGL Tier 2 | $3\text{–}5$ | All types including section formula & circles | $90\text{ sec each}$ |
CAT | $1\text{–}2$ | Slope, line equations, reflections, circles | $2\text{ min each}$ |
IBPS PO Mains | $1\text{–}2$ | Distance, midpoint, area | $90\text{ sec each}$ |
2-Week Practice Plan
Week | Focus Area | Daily Target |
|---|---|---|
Week 1 | Distance, midpoint, section formula, slope, reflections | $15\text{ questions}$, $20\text{ minutes}$ |
Week 2 | Line equations, intercepts, area, circles, exam-style sets | $15\text{ mixed questions}$, $20\text{ minutes}$ |