Chapter 28
Coordinate Geometry
Geometry with an address for every point. Once you can read (x, y), lines and triangles become simple arithmetic.
In ordinary Geometry we draw a triangle and then reason about it with theorems. Coordinate Geometry takes a different route. We give every point an address, like (3, 4), and after that every question about lengths, midpoints, areas and lines becomes plain calculation. There is no construction to imagine and nothing to guess; you put the numbers in the right formula.
This chapter appears in CGL, CHSL, CPO, Selection Post and Delhi Police papers. Most of its questions are short: the slope of a line, the x-intercept, the centroid of a triangle, the equation of a line through a point, whether two lines are parallel or perpendicular. A few take one step more, such as a perpendicular bisector, the circumcentre of a right triangle, or the area enclosed by two lines and the x-axis. The whole chapter stands on a small set of formulas, and each of them can be understood with one rough drawing.
We will move in this order. First the plane itself (axes, quadrants, reflection), then the distance and section formulas, the centroid and the other centres of a triangle, and the area of a triangle. After that comes the straight line: slope, equations, intercepts, parallel and perpendicular lines, intersection and perpendicular distance. Each type uses what the one before it built.
One habit from the first day: make a rough sketch for every question. Two axes and the points in roughly the right places are enough. The sketch shows you the sign of the slope, the quadrant of the answer and whether a triangle is right-angled, and quite often it rules out two options before you have calculated anything.
The coordinate plane: every point has an address
Take a sheet of graph paper. Draw one horizontal line and one vertical line crossing each other at right angles. The horizontal line is the x-axis, the vertical line is the y-axis, and the point where they cross is the origin O, written (0, 0).
Now any point P on the sheet can be reached from O in two moves: first along the x-axis, then parallel to the y-axis. If you move 3 units to the right and then 4 units up, the address of P is (3, 4).
- The first number is the x-coordinate, also called the abscissa. It tells how far right (+) or left (−) of the y-axis the point is.
- The second number is the y-coordinate, also called the ordinate. It tells how far up (+) or down (−) from the x-axis the point is.
[[fig:0]]
The order is fixed: (x, y), never (y, x). The point (3, 4) and the point (4, 3) are two different places.
Radhika marks her school at S(5, 2) and her home at H(−2, 6) on a city map. The school is 5 units right of the y-axis and 2 units above the x-axis. Her home is 2 units to the left and 6 units up. Just by reading the signs she knows that her home is on the left side of the map and her school on the right.
Two small facts are asked directly:
- The distance of P(x, y) from the x-axis is |y|, and from the y-axis it is |x|. For P(−5, 3) that is 3 units from the x-axis and 5 units from the y-axis. Many students swap these. The distance from the x-axis is measured up and down, so it is the y-value.
- The distance of P(x, y) from the origin is √x2 + y2, which is just Pythagoras. For (6, 8) it is √36 + 64 = 10.
[[fig:1]]
Quadrants and signs: read the location before you calculate
The two axes cut the plane into four parts called quadrants. We count them anticlockwise, starting from the top-right part.
| Quadrant | Position | Sign of x | Sign of y | Example |
|---|---|---|---|---|
| I | top-right | + | + | (4, 1) |
| II | top-left | − | + | (−3, 5) |
| III | bottom-left | − | − | (−2, −6) |
| IV | bottom-right | + | − | (7, −1) |
Points on the axes belong to no quadrant:
- A point on the x-axis has y = 0, so it looks like (a, 0). Example: (−4, 0).
- A point on the y-axis has x = 0, so it looks like (0, b). Example: (0, 9).
- The origin (0, 0) lies on both axes.
[[fig:0]]
Why does this matter? Because the sign pattern is a free check on your answer. If three points all lie in Quadrant I and their centroid comes out as (−1, 3), something has gone wrong. If a line crosses the x-axis, the crossing point must have y = 0, so an option like (0, 4) cannot be an x-intercept.
One note for later. A point can also be described by its distance r from O and the angle θ that OP makes with the positive x-axis. Then x = r cos θ and y = r sin θ. These are called polar coordinates. You will meet cos and sin properly in the Trigonometry chapter; SSC seldom asks this form directly.
[[fig:1]]
An equation is a picture: the idea behind the whole chapter
This is the most important idea of the chapter, so read it slowly. An equation in x and y, like y = 2x + 1, is a rule. Every point (x, y) that obeys the rule is a point of the graph, and every point of the graph obeys the rule.
Put x = 0: y = 1, so (0, 1) is on the graph. Put x = 1: y = 3, so (1, 3) is on it. Put x = 2: y = 5, so (2, 5) is on it. Join these points and you get a straight line. In the same way, an equation ax + by = c (x and y only to the first power, a and b not both 0) always draws a straight line. It is called a linear equation.
Two simple tests come out of this:
- Does a point lie on a line? Put its coordinates in the equation. If both sides become equal, yes; otherwise, no. Is (3, 7) on y = 2x + 1? 2 × 3 + 1 = 7. Yes.
- Where does a line meet something? A point common to two graphs must obey both equations at the same time. The x-axis is the graph of y = 0, so to find where a line meets the x-axis, put y = 0.
[[fig:0]]
You will use these two tests in nearly every type of this chapter: for checking options, for finding intercepts and for points of intersection.
To draw a line quickly you need only two points, and the easiest two are where the line meets the axes. For 3x + 2y = 12, put x = 0 to get y = 6, and put y = 0 to get x = 4. Mark (0, 6) and (4, 0), join them, and the line is ready.
[[fig:1]]
Type 1
Points, axes and reflection: does a point lie on a line?
The first type is pure reading of the plane. Three kinds of questions come here: whether a point lies on a given line, lines parallel to the axes, and the reflection (mirror image) of a point or a line.
1. Does the point lie on the line? As we saw in the foundation, put the coordinates in the equation. Nothing else needs to be drawn or calculated. Take y = 3x − 2. Is (2, 4) on it? 3 × 2 − 2 = 4, so yes. Is (1, 2) on it? 3 × 1 − 2 = 1 ≠ 2, so no. When one option says all of the above, check every point, because quite often all of them are correct.
Formula: Point (h, k) lies on a line ⇔ its coordinates satisfy the equation
[[fig:0]]
2. Lines parallel to the axes. If every point of a line has the same y-value, say y = 3, the line is horizontal: parallel to the x-axis and 3 units above it. If every point has the same x-value, say x = −2, the line is vertical: parallel to the y-axis and 2 units to its left.
- The x-axis itself is the line y = 0, and the y-axis itself is the line x = 0.
- A horizontal line y = b (b ≠ 0) never meets the x-axis. A vertical line x = a (a ≠ 0) never meets the y-axis.
- The lines x = a and y = b always meet at the point (a, b).
Formula: x-axis: y = 0; y-axis: x = 0; line parallel to x-axis: y = b; line parallel to y-axis: x = a
Distance of (x, y) from x-axis = |y|, from y-axis = |x|, from origin = √x2 + y2
[[fig:1]]
3. Reflection (mirror image). Imagine a mirror lying along a line. The image is as far behind the mirror as the point is in front of it.
| Mirror | Image of (x, y) | Example: image of (4, −1) |
|---|---|---|
| x-axis | (x, −y) | (4, 1) |
| y-axis | (−x, y) | (−4, −1) |
| origin | (−x, −y) | (−4, 1) |
| line y = x | (y, x) | (−1, 4) |
| line y = −x | (−y, −x) | (1, −4) |
[[fig:2]]
An easy way to hold the table in your head: in the x-axis mirror the x-coordinate stays and y changes sign; in the y-axis mirror the y-coordinate stays and x changes sign. In the mirror y = x the two coordinates just swap places.
[[fig:3]]
Reflecting a whole line. If the mirror is the x-axis, every point (x, y) of the image comes from the point (x, −y) of the original line. So replace y by −y in the equation. For example, reflect y = 3x − 4 in the x-axis: −y = 3x − 4, that is, y = −3x + 4. In the y-axis mirror, replace x by −x instead, which gives y = −3x − 4.
Formula: Image of (x, y): in x-axis (x, −y); in y-axis (−x, y); in origin (−x, −y); in y = x (y, x); in y = −x (−y, −x)
Reflection of a line in x-axis: replace y by −y; in y-axis: replace x by −x
[[fig:4]]
Type 2
Distance formula, midpoint and section formula
Distance between two points. Take A(x1, y1) and B(x2, y2). Draw a horizontal line from A and a vertical line from B. They meet at a corner and make a right triangle whose horizontal side is x2 − x1, whose vertical side is y2 − y1, and whose hypotenuse is AB. So by Pythagoras,
Formula (Distance formula):
>> AB = √(x2 − x1)2 + (y2 − y1)2
That is the whole distance formula: Pythagoras on graph paper. The order of subtraction does not matter, because each difference is squared.
Radhika's home is at (2, −1) and her coaching centre at (8, 7). The horizontal gap is 6 and the vertical gap is 8, so the distance is √36 + 64 = 10 units. See the triplet 6–8–10 hiding there. Always look for Pythagorean triplets (3–4–5, 5–12–13, 8–15–17, 7–24–25 and their multiples); then you don't need the square root at all.
[[fig:0]]
The exam uses the distance formula in two more ways:
- Is a triangle isosceles, equilateral or right-angled? Find all three sides. Two equal sides mean isosceles; a2 + b2 = c2 means right-angled.
- A point equidistant from two points: if P(x, 0) is equally far from A and B, write PA2 = PB2 and solve. The x2 terms cancel and a simple linear equation remains.
Midpoint. The midpoint of AB is just the average of the coordinates:
Formula (Midpoint formula):
>> M = (x1 + x22, y1 + y22)
The midpoint of (−3, 4) and (9, 10) is (62, 142) = (3, 7). It also works backwards: if M and A are known, the other end is B = (2xM − x1, 2yM − y1).
[[fig:1]]
Section formula. If P divides AB internally in the ratio m : n (AP : PB = m : n), then P is a weighted average in which each end is multiplied by the part of the ratio that is away from it:
Formula (Section formula (internal division)):
>> P = (mx2 + nx1m + n, my2 + ny1m + n)
For example, let P divide A(1, 2) and B(7, 11) in the ratio 1 : 2. Then P = (1 × 7 + 2 × 13, 1 × 11 + 2 × 23) = (3, 5). A quick check: from A to B, x grows by 6, and P is 13 of the way along, so x = 1 + 2 = 3. It fits.
[[fig:2]]
For external division (P outside AB, AP : PB = m : n) the plus sign becomes minus: P = (mx2 − nx1m − n, my2 − ny1m − n).
In what ratio does an axis divide AB? The x-axis meets AB at a point with y = 0, so the ratio is −y1 : y2. In the same way the y-axis divides it in the ratio −x1 : x2. For A(2, −3) and B(5, 6), the x-axis divides AB in the ratio 3 : 6 = 1 : 2.
[[fig:3]]
Naming a figure with the distance formula. Some questions give three or four points and ask what figure they make. Work out the squared lengths first (no square roots are needed until the end) and read them:
- Three points: if the two smaller distances add up to the largest one, the points are collinear. Otherwise check for two equal sides (isosceles), three equal sides (equilateral), or a2 + b2 = c2 (right-angled).
- Four points in order: all four sides equal with equal diagonals is a square; equal sides with unequal diagonals is a rhombus; opposite sides equal with equal diagonals is a rectangle; only opposite sides equal is a parallelogram (its diagonals have the same midpoint).
Radhika tests (0, 0), (3, 1), (4, 4) and (1, 3). Each side squared is 10, and the diagonals squared are 32 and 8, so she has a rhombus that is not a square.
Type 3
Centroid of a triangle: the average of the three vertices
A median of a triangle joins a vertex to the midpoint of the opposite side. Every triangle has three medians, and they always pass through one common point, the centroid G. Physically it is the balancing point of a triangular plate. That is why questions talk about placing a fountain, a scarecrow or a load "at the centroid".
Its formula is the simplest in the chapter. For A(x1, y1), B(x2, y2), C(x3, y3):
Formula (Centroid):
>> G = (x1 + x2 + x33, y1 + y2 + y33)
Add the three x's and divide by 3; add the three y's and divide by 3. It is an average, just as the midpoint was the average of two points.
Radhika's three friends live at (2, 7), (0, 1) and (7, 1). The point that balances all three homes is G = (2 + 0 + 73, 7 + 1 + 13) = (3, 3).
[[fig:0]]
The 2 : 1 property. The centroid divides every median in the ratio 2 : 1 from the vertex. So if AD is a median, AG = 23 AD and GD = 13 AD. In coordinates, G = A + 2D3 (apply it to x and y separately). Two quick reverse results follow:
- If the median AD is 12 cm, then AG = 8 cm and GD = 4 cm.
- If A and G are known, the midpoint D of BC is D = (3xG − xA2, 3yG − yA2).
[[fig:1]]
Third vertex from the centroid. This reverse question comes up again and again. Since x1 + x2 + x3 = 3xG, the missing vertex is
x3 = 3xG − x1 − x2, y3 = 3yG − y1 − y2
Say G = (2, 1) and two vertices are (5, −2) and (−3, 4). The third vertex = (6 − 5 + 3, 3 + 2 − 4) = (4, 1).
[[fig:2]]
Two more facts are worth knowing. The centroid always lies inside the triangle, and the triangle formed by joining the midpoints of the sides has the same centroid as the original triangle.
- A farmer owns a triangular plot of land with coordinates A(2, 3), B(8, 3), and C(5, 9). He wants to place a scarecrow at the centroid of…
- A triangle has vertices at A(0, 0), B(4, 0), and C(2, 6). What is the centroid of the triangle?
- Find the coordinates of the centroid for a triangle with vertices located at the points (2, 1), (5, 4), and (8, 1).
- An architect is dividing a triangular plot of land with vertices at A(0, 0), B(6, 0), and C(3, 6) to place a central fountain. He wants to…
- If a triangle has vertices A(0, 0), B(4, 0), and C(0, 3), what are the coordinates of the centroid?
Type 4
Circumcentre, orthocentre, incentre and the Euler line
Apart from the centroid, a triangle has three more well-known centres. You already know what they mean from Geometry; here we only need their coordinates.
Circumcentre O. This is the point where the perpendicular bisectors of the sides meet. It is equidistant from all three vertices, so it is the centre of the circle passing through A, B and C. Whenever a question says "a point at equal distance from the three corners", it is asking for the circumcentre.
[[fig:0]]
Orthocentre H. This is the point where the three altitudes meet (the perpendiculars dropped from the vertices to the opposite sides).
Incentre I. This is where the angle bisectors meet. It is equidistant from the three sides, and that distance is the inradius r. In other words, the perpendicular distance from the incentre to any side is the inradius. Its coordinates are a weighted average with the side lengths as weights:
Formula (Incentre):
>> I = (ax1 + bx2 + cx3a + b + c, ay1 + by2 + cy3a + b + c), where a = BC, b = CA, c = AB (each side is the one opposite its vertex).
[[fig:1]]
Right-angled triangles make this type easy. In a right-angled triangle:
- the circumcentre is the midpoint of the hypotenuse, and the orthocentre is the right-angled vertex;
- the reason: the hypotenuse is a diameter of the circumcircle, and the two legs are themselves altitudes.
Radhika plots A(0, 0), B(9, 0), C(0, 5). The angle at A is 90°, because AB lies on the x-axis and AC on the y-axis. So the orthocentre is A(0, 0), and the circumcentre is the midpoint of BC, which is (4.5, 2.5).
[[fig:2]]
How do you know a triangle is right-angled? If two sides lie along the axes, the right angle is at the origin. Otherwise look at the slopes: two sides whose slopes multiply to −1 meet at a right angle (slope comes in Type 6). You can also check a2 + b2 = c2 with the distance formula.
Equilateral triangle: all four centres (G, O, H, I) coincide.
The Euler line. In any triangle H, G and O lie on one straight line, and G sits between them with HG : GO = 2 : 1. So:
- G = H + 2O3 (when H and O are known)
- O = 3G − H2 (when G and H are known)
- H = 3G − 2O (when G and O are known)
Take H = (1, 7) and O = (4, 1). Then G = (1 + 83, 7 + 23) = (3, 3). The incentre is generally not on this line.
[[fig:3]]
Type 5
Area of a triangle (and quadrilateral) and collinearity
In Mensuration you needed a base and a height for the area of a triangle. In coordinates you need neither; the three vertices are enough. For A(x1, y1), B(x2, y2), C(x3, y3):
Formula (Area of a triangle):
>> Area = 12 |x1(y2 − y3) + x2(y3 − y1) + x3(y1 − y2)|
Read the pattern once and it stays with you: each x is multiplied by the difference of the other two y's, taken in cyclic order (2–3, 3–1, 1–2). The modulus sign is there because an area can never be negative. If the bracket comes out negative, drop the minus sign.
Radhika's triangle has vertices A(1, 1), B(5, 2), C(3, 6).
Area = 12 |1(2 − 6) + 5(6 − 1) + 3(1 − 2)| = 12 |−4 + 25 − 3| = 12 × 18 = 9 square units.
[[fig:0]]
When one vertex is the origin, the formula shrinks to 12 |x1y2 − x2y1|. And you can always make one vertex the origin by subtracting the coordinates of A from all three points. For the triangle above, B − A = (4, 1) and C − A = (2, 5), so the area = 12 |4 × 5 − 2 × 1| = 12 × 18 = 9. The answer is the same, with fewer steps.
[[fig:1]]
Area of a quadrilateral (or any polygon). Write the vertices in order around the figure (clockwise or anticlockwise, never criss-cross) and repeat the first one at the end. Multiply along the downward diagonals and along the upward diagonals, subtract, and halve:
Formula (Area of a quadrilateral (shoelace)):
>> Area = 12 |(x1y2 + x2y3 + x3y4 + x4y1) − (y1x2 + y2x3 + y3x4 + y4x1)|
This is called the shoelace method. You can also cut the quadrilateral ABCD along the diagonal AC into two triangles and add their areas.
[[fig:2]]
Collinearity. Three points lie on one straight line exactly when the "triangle" they make is flat, that is, its area is 0. An equivalent test: the slope from A to B equals the slope from B to C. Are (1, 4), (3, 8) and (5, 12) collinear? From the first point to the second, x goes up by 2 and y by 4. From the second to the third, x again goes up by 2 and y by 4. The steps are the same, so the points are collinear.
[[fig:3]]
When the area is given and a coordinate is unknown. Write the area formula with the unknown in it, set it equal to the given area, and solve. Because of the modulus sign, |expression| = A gives two equations, expression = 2A and expression = −2A, so there are usually two answers. Keep both unless the question fixes a sign or a range. Collinearity is the special case area = 0, which gives just one equation.
For Radhika's points (0, 0), (4, 0) and (2, k), the area is 12 × 4 × |k| = 2|k|. An area of 6 gives k = 3 or k = −3.
Type 6
Slope of a line: from two points and from the equation
Now we come to the straight line, and the first thing to understand about any line is its slope (also called the gradient). The slope tells you how steep the line is: how much y rises when x increases by 1 unit to the right.
From two points. Go from A(x1, y1) to B(x2, y2). The horizontal change is the run (x2 − x1) and the vertical change is the rise (y2 − y1).
Formula (Slope):
>> m = riserun = y2 − y1x2 − x1
If the line makes an angle θ with the positive x-axis, then m = tan θ. You will study tan in Trigonometry; for now remember tan 45° = 1, tan 60° = √3 and tan 30° = 1√3.
[[fig:0]]
Radhika's cycle path goes from (1, 1) to (6, 4). The rise is 3 and the run is 5, so the slope is 35: for every 5 units forward, the path climbs 3 units.
[[fig:1]]
What the sign tells you:
- m > 0: the line goes up from left to right.
- m < 0: the line goes down from left to right.
- m = 0: a horizontal line (y = b).
- A vertical line (x = a) has run = 0, so its slope is not defined.
[[fig:2]]
From the equation.
- If the line is written as y = mx + c, the slope is simply the coefficient of x (when the coefficient of y is 1). For y = −5x + 2, m = −5.
- If the line is written as ax + by + c = 0 (or ax + by = c), make y alone: y = −abx + … So m = −ab = −coefficient of xcoefficient of y. For 4x − 6y = 7, m = −4−6 = 23.
- If the line cuts the axes at (p, 0) and (0, q), then m = q − 00 − p = −qp.
[[fig:3]]
Angle between two lines. If the slopes are m1 and m2, the acute angle θ between the lines satisfies tan θ = |m1 − m21 + m1m2|. Equal slopes give θ = 0 (parallel lines). If m1m2 = −1, the denominator becomes 0, which means θ = 90°. These two special cases are the subject of Type 9.
[[fig:4]]
Type 7
Equation of a line: slope-intercept, point-slope and two-point forms
A straight line is fixed completely by two pieces of information: either a point and the slope, or two points. Every form of the equation is only a way of writing that information.
1. Slope-intercept form: y = mx + c. Here m is the slope and c is the y-intercept, the y-value where the line cuts the y-axis (put x = 0 and you get y = c). For y = 3x − 4 the slope is 3, and the line cuts the y-axis at (0, −4). If c = 0, the line y = mx passes through the origin.
Formula: Slope-intercept: y = mx + c (c = y-intercept); through origin: y = mx
General form ax + by + c = 0; y-intercept of line through (x1, y1) with slope m: c = y1 − mx1
[[fig:0]]
2. Point-slope form: y − y1 = m(x − x1). Use it when a point (x1, y1) and the slope m are given. Why does it work? For any other point (x, y) on the line, the slope from (x1, y1) to (x, y) must be m, that is, y − y1x − x1 = m. Cross-multiply and you have the form.
Formula: Point-slope: y − y1 = m(x − x1)
Radhika needs the line through (2, −1) with slope 3. She writes y + 1 = 3(x − 2), which gives y = 3x − 7.
[[fig:1]]
3. Two-point form. Given two points, first find the slope m = y2 − y1x2 − x1, then use the point-slope form with either point. Through (1, 4) and (3, 10): m = 62 = 3, and y − 4 = 3(x − 1) gives y = 3x + 1. The other point leads to the same line: y − 10 = 3(x − 3) ⇒ y = 3x + 1.
Formula: Two-point: y − y1 = y2 − y1x2 − x1 (x − x1)
[[fig:2]]
4. General form: ax + by + c = 0. Every line can be written this way. To move from y = 25x + 3 to the general form, multiply by 5: 5y = 2x + 15 ⇒ 2x − 5y + 15 = 0. Options are often written in this form with whole numbers, so be ready to clear fractions and decimals.
Finding an unknown in the equation. If the line y = mx + 5 passes through (2, 11), the point must satisfy it: 11 = 2m + 5 ⇒ m = 3. The same idea finds c, or any other letter.
The y-intercept of a line through two points: find m first, then c = y1 − mx1.
Type 8
Intercepts: where a line cuts the axes, intercept form, length and area with the axes
The x-intercept of a line is the x-value where it cuts the x-axis, and the y-intercept is the y-value where it cuts the y-axis. You already know the method from the foundation:
- On the x-axis y = 0, so for the x-intercept put y = 0.
- On the y-axis x = 0, so for the y-intercept put x = 0.
For ax + by = c this gives x-intercept = ca and y-intercept = cb. For 5x − 4y = 20: put y = 0 ⇒ x = 4; put x = 0 ⇒ y = −5. So the line cuts the axes at (4, 0) and (0, −5).
[[fig:0]]
Read the options carefully. Some questions want the intercept as a number (4), others want the point (4, 0). An x-intercept point always has y = 0, so (0, 4) can never be an x-intercept point.
Intercept form. If a line cuts the x-axis at (a, 0) and the y-axis at (0, b), its equation is
Formula (Intercept form):
>> xa + yb = 1
Check: (a, 0) gives 1 + 0 = 1, and (0, b) gives 0 + 1 = 1. Suppose Radhika's line cuts the axes at 5 and −3. Its equation is x5 + y−3 = 1; multiplying by 15 gives 3x − 5y = 15.
To go the other way, divide by the constant: 4x + 3y = 12 ⇒ x3 + y4 = 1, so the intercepts are 3 and 4.
The triangle the line cuts off with the axes. The line, the x-axis and the y-axis make a right triangle with legs |a| and |b| and the right angle at the origin. So:
- Length of the portion between the axes = √a2 + b2 (it is the hypotenuse).
- Area of the triangle with the axes = 12 |a| × |b|. For a line written as Ax + By + C = 0 this becomes C22|AB|.
For 4x + 3y = 12 the intercepts are 3 and 4, the length between the axes is 5 (the 3–4–5 triplet) and the area is 12 × 3 × 4 = 6.
[[fig:1]]
A related figure. The graph of |x| + |y| = k is a square standing on one corner, with corners (±k, 0) and (0, ±k). Each diagonal is 2k long, and the area is 2k2.
[[fig:2]]
Type 9
Parallel and perpendicular lines (and the perpendicular bisector)
Two lines in a plane can relate in three ways: they are parallel, they cross at a right angle, or they cross at some other angle. The slope decides which.
Parallel lines have equal slopes: m1 = m2. They are equally steep and never meet.
- For a1x + b1y + c1 = 0 and a2x + b2y + c2 = 0, parallel means −a1b1 = −a2b2, that is, a1a2 = b1b2. In plain words, the x and y coefficients are in the same ratio and only the constant changes.
- So a line parallel to ax + by + c = 0 is ax + by + k = 0. Keep the left side, change the constant, and find k from the given point.
Formula: Parallel: m1 = m2 ⇔ a1a2 = b1b2; line parallel to ax + by + c = 0: ax + by + k = 0
For example, the line through (1, 4) parallel to 2x − 5y = 3 is 2x − 5y = k, with k = 2 − 20 = −18. So the line is 2x − 5y = −18.
[[fig:0]]
Perpendicular lines have slopes whose product is −1: m1 × m2 = −1. So m2 = −1m1: turn the slope upside down and change its sign. Slope 3 gives the perpendicular slope −13; slope −25 gives 52.
- A line perpendicular to ax + by + c = 0 is bx − ay + k = 0. Swap the coefficients of x and y, change one sign, and then find k from the point.
- A special case: a horizontal line (slope 0) and a vertical line (slope not defined) are perpendicular, although the product rule cannot be applied to them.
Formula: Perpendicular: m1m2 = −1 ⇔ a1a2 + b1b2 = 0; line perpendicular to ax + by + c = 0: bx − ay + k = 0
Horizontal (y = b) ⊥ vertical (x = a)
Radhika needs the line through (2, 3) perpendicular to 4x + y = 9. Swapping the coefficients and changing one sign gives x − 4y = k, with k = 2 − 12 = −10. So the line is x − 4y = −10. Check: the slopes are −4 and 14, and their product is −1 ✓.
[[fig:1]]
Perpendicular bisector of AB. This is the line through the midpoint of AB that is perpendicular to AB. So there are two steps:
1. Find the midpoint M of AB.
2. Find the slope of AB, then turn it upside down and change its sign.
Then write the point-slope form through M. Every point on the perpendicular bisector is equidistant from A and B, and that is why the circumcentre lies on it.
Formula: Perpendicular bisector of AB: through the midpoint of AB with slope −1mAB
[[fig:2]]
- Which of the following lines passes through the origin and forms a 90° angle with the line whose angle of inclination is 30°?
- Two lines are planned such that the equations representing their paths are: (k−4)x + 2y = 6 and 2x + y = 4. If the lines are to be…
- Find the equation of the line that passes through the point (2.25, 3.5) and is perpendicular to the line that passes through the points…
Type 10
Point of intersection, and how two lines can meet
The point where two lines cross lies on both lines, so its coordinates satisfy both equations at the same time. Finding it is the same work as solving two linear equations in two variables, which you did in the Algebra chapter. Use whichever method is quicker:
- Elimination: add or subtract the equations to remove one variable. For x + 2y = 8 and x − y = 2, subtract: 3y = 6 ⇒ y = 2, then x = 4. The lines meet at (4, 2).
- Substitution or equating: if both are in the form y = …, equate them. For y = 3x − 1 and y = x + 5: 3x − 1 = x + 5 ⇒ x = 3, y = 8.
Formula: Intersection: solve both equations together; y = m1x + c1, y = m2x + c2 ⇒ x = c2 − c1m1 − m2
a1a2 ≠ b1b2: one point; a1a2 = b1b2 ≠ c1c2: parallel; all equal: coincident
In the exam, checking the options is often the fastest way: the correct point must satisfy both equations.
[[fig:0]]
How can two lines meet? For a1x + b1y = c1 and a2x + b2y = c2, compare the ratios:
| Condition | Graph | Number of solutions |
|---|---|---|
| a1a2 ≠ b1b2 | intersecting lines | exactly one |
| a1a2 = b1b2 ≠ c1c2 | parallel lines | none |
| a1a2 = b1b2 = c1c2 | coincident (the same line) | infinitely many |
Take 2x − 3y = 4 and 6x − 9y = 12. The ratios are 26 = −3−9 = 412 = 13, all equal. The second equation is just 3 times the first, so the two lines coincide. Two straight lines can never meet at exactly two points.
[[fig:1]]
Using the intersection. Many questions use the intersection point as a middle step:
- "The intersection of these two lines lies on a third line; find k." Find the point, then put it in the third line. Three lines through one point are called concurrent.
- "Find the area bounded by two lines and the x-axis." The region is a triangle. Its base is the gap between the two x-intercepts and its height is the y-coordinate of the intersection point. In the figure, x + y = 6 and x − 2y = 0 meet at P(4, 2) and cut the x-axis at 6 and 0, so the area = 12 × 6 × 2 = 6.
Formula: Area bounded by two lines and the x-axis = 12 × (gap between x-intercepts) × |y of intersection|
[[fig:2]]
Type 11
Perpendicular distance from a line, and the circle
Distance of a point from a line. There are endless paths from a point P to a line, but the shortest one is the perpendicular, and its length is the distance of P from the line. For P(x1, y1) and the line ax + by + c = 0:
Formula (Distance of a point from a line):
>> d = |ax1 + by1 + c|√a2 + b2
Bring the equation to the form "everything = 0", put the point into the left side, take the absolute value, and divide by √a2 + b2.
For example, the distance of P(5, 4) from 3x + 4y − 12 = 0 is |15 + 16 − 12|√9 + 16 = 195 = 3.8.
[[fig:0]]
From the origin the formula becomes d = |c|√a2 + b2. There is a neat picture behind it. The line cuts the axes at p and q, and with the origin it forms a right triangle. The perpendicular from the origin is the altitude on the hypotenuse, and altitude = product of the legshypotenuse = |pq|√p2 + q2 (take the intercepts without their signs). For 3x + 4y = 60 the intercepts are 20 and 15, the hypotenuse is 25, and the distance from O is 30025 = 12. No formula is needed.
[[fig:1]]
Distance between two parallel lines ax + by + c1 = 0 and ax + by + c2 = 0 (the same a and b): d = |c1 − c2|√a2 + b2.
[[fig:2]]
The circle. A circle is the set of all points at a fixed distance r (the radius) from a fixed point (h, k) (the centre). Write the distance formula for a general point (x, y):
Formula (Circle):
>> (x − h)2 + (y − k)2 = r2
- Centre at the origin: x2 + y2 = r2. So x2 + y2 = 49 is a circle of radius 7.
- Expanded form x2 + y2 + 2gx + 2fy + c = 0: centre (−g, −f), radius √g2 + f2 − c.
Radhika's circle has centre (2, −1) and radius 3: (x − 2)2 + (y + 1)2 = 9, which expands to x2 + y2 − 4x + 2y − 4 = 0.
[[fig:3]]
Circle touching a line. If a line is a tangent to a circle, the radius drawn to the point of contact is perpendicular to the line. So radius = perpendicular distance of the centre from the tangent.
[[fig:4]]
One step further: the sphere. In three dimensions a point has three coordinates (x, y, z), and the same distance idea gives the sphere with centre (a, b, c) and radius r: (x − a)2 + (y − b)2 + (z − c)2 = r2.
Writing the circle from the given conditions. Every circle question ends with the same form (x − h)2 + (y − k)2 = r2; the work is only in finding the centre and the radius.
- Ends of a diameter (x1, y1) and (x2, y2): the centre is their midpoint and r is half the diameter. Faster, the diameter form (x − x1)(x − x2) + (y − y1)(y − y2) = 0 gives the equation in one line.
- Centre and a point on the circle: r is the distance between them.
- Touches the x-axis: r = |k|. Touches the y-axis: r = |h|. Touches both axes: the centre is (±r, ±r), so the equation is (x ∓ r)2 + (y ∓ r)2 = r2; in the first quadrant the centre is (r, r).
[[fig:5]]
For Radhika's diameter from (1, 1) to (5, 5), the diameter form gives (x − 1)(x − 5) + (y − 1)(y − 5) = 0, that is, x2 + y2 − 6x − 6y + 10 = 0, with centre (3, 3) and radius √8.
Type 12
Lines through the intersection of two lines, and concurrent lines
In Type 10 you found the meeting point of two lines and then used it. Many questions want a line through that meeting point with one extra condition: it also passes through some point, or it is parallel or perpendicular to a given line, or it cuts equal intercepts. There are two ways to do this, and both are short.
Formula: Parallel to ax + by = c: ax + by = k; perpendicular: bx − ay = k; equal intercepts: x + y = a
Way 1: find the point first. Solve the two equations, get the point P, and then write the required line through P with the condition. For x + y = 6 and 2x − y = 0, adding gives 3x = 6, so P = (2, 4). The line through P parallel to the x-axis is y = 4.
Way 2: the family L₁ + λL₂ = 0. Write both lines in the form "… = 0": L₁ = x + y − 6 and L₂ = 2x − y. For any number λ, the equation L₁ + λL₂ = 0 is a straight line through the meeting point of L₁ and L₂, because at P both L₁ and L₂ are zero. Changing λ turns the line around P. Use the extra condition to find λ. This saves you from solving the two equations when the condition is "passes through a given point".
Formula: Line through the meeting point of L₁ = 0 and L₂ = 0: L₁ + λL₂ = 0 (find λ from the extra condition)
[[fig:0]]
Concurrent lines. Three lines are concurrent when they all pass through one point. The test is simple: find the meeting point of any two of them and put it in the third. Radhika checks x + y = 6, 2x − y = 0 and 3x − y = 2: the first two meet at (2, 4), and 3 × 2 − 4 = 2, so the third line also passes through it. The same condition in determinant form, for lines aix + biy + ci = 0, is
| a1 b1 c1 | a2 b2 c2 | a3 b3 c3 | = 0.
In the exam the substitution method is quicker.
Formula: Concurrent: the meeting point of two lines satisfies the third; or | a1 b1 c1 | a2 b2 c2 | a3 b3 c3 | = 0
[[fig:1]]
A useful special case. For the family L₁ + λL₂ = 0, the member parallel to the y-axis is the one in which the coefficient of y becomes zero, and the member parallel to the x-axis is the one in which the coefficient of x becomes zero.
Type 13
Rotation, translation and reflection in any line
Type 1 gave you the mirror images in the axes, the origin and the lines y = ±x. This type completes the picture with three more moves: translation, rotation and reflection in any line. In every one of them the shape does not change; only its position does. So lengths, angles and areas stay the same.
Translation. Sliding a point a units to the right and b units up sends (x, y) to (x + a, y + b). Left and down simply make a or b negative. Radhika moves (2, 5) three units left and one unit down and lands at (−1, 4).
Rotation about the origin. Turning through 90° anticlockwise sends (x, y) → (−y, x): the coordinates swap and the new first coordinate changes sign. Through 180° the point goes to (−x, −y), which is the same as reflection in the origin. Through 90° clockwise (or 270° anticlockwise), (x, y) → (y, −x).
Formula: Rotation about O: 90° ACW (−y, x); 180° (−x, −y); 90° CW (y, −x). About (h, k): shift, rotate, shift back
[[fig:0]]
To rotate about some other point (h, k), shift that point to the origin, rotate, and shift back. In symbols, move to (x − h, y − k), apply the rule, then add (h, k) again.
Reflection in x = a and y = b. The mirror x = a is a vertical line. The image is as far on the other side, so the x-coordinate becomes 2a − x and y stays: (x, y) → (2a − x, y). In the mirror y = b, (x, y) → (x, 2b − y). Take P(1, 3) and the mirror x = 3: the image is (6 − 1, 3) = (5, 3).
Formula: Mirror x = a: (2a − x, y); mirror y = b: (x, 2b − y)
[[fig:1]]
Reflection in any line ax + by + c = 0. Put the point in the line and divide by a2 + b2: k = ax1 + by1 + ca2 + b2. Then
- the foot of the perpendicular is (x1 − ka, y1 − kb), and
- the image is (x1 − 2ka, y1 − 2kb), because the foot is the midpoint of the point and its image.
For the origin and the line x + y − 2 = 0, k = −22 = −1, so the foot is (1, 1) and the image is (2, 2).
Formula: Mirror ax + by + c = 0: k = ax1 + by1 + ca2 + b2; foot (x1 − ka, y1 − kb); image (x1 − 2ka, y1 − 2kb)
[[fig:2]]
To reflect a whole line in a mirror, replace each coordinate by the coordinate of its image. For example, in the mirror x = a replace x by 2a − x in the equation.
Formula: Translation by (a, b): (x, y) → (x + a, y + b)