← Maths

Coordinate Geometry: Straight Lines

Competitive Mathematics · SSC CGL

5 Part33 worked examples161 practice questions

In the previous chapter we worked with points. Now we write a whole straight line as one equation. The equation is a rule: every point of the line satisfies it and no point outside the line does. For example the rule fits , and , and they are in one line. With this rule the meeting of two lines, the angle between lines and the distance from a point all come out.

◭ Diagram
xy−2−11234567−3−2−112345678O(0, −1)(1, 1)(2, 3)(3, 5)2x − y = 12(3) − 5 = 1 ✓
The line : the coordinates of every point on it make the rule true (for : ).
QuestionMethod
How steep is the line?Slope
What is the equation of the line?Forms: , point-slope, two-point, intercept
What area does it enclose with the axes?The intercept triangle
Where do two lines meet?Intersection
Parallel, perpendicular, the angle between?Comparing slopes
How far is a point from a line?Perpendicular distance formula
RememberThe formulas of the previous chapter (distance, midpoint, section, area) are used here too — keep them at hand. In every line question write two things clearly: the equation of the line and the points on it.
1

Slope and equation

Steepness · · intercepts

The slope of a line, the forms of its equation and the triangle it makes with the axes.

To pin down a line you need two things: how steep it is (slope) and where it passes. That is how the equation is made.

The slope (gradient)

The steepness of a line: from two points, from the angle and from the equation.

The idea

The steepness of a staircase is how far you climb for each step forward. A line is the same: divide how far you went up (or down) between two points by how far you went sideways. This quotient is the slope . On a straight line it is the same for every pair of points, which is why the line is straight. The slope also tells the angle the line makes with the positive X-axis: , with measured anticlockwise.

◭ Diagram
xy−112345678−1123456Oθrun 4rise 3ABm = 3/4 = tan θ
From to : run 4 (green), rise 3 (rose), so the slope is ; and of the angle is the same.
∑ Formula
Slope of the line through and
the slope
coordinates of the first point
coordinates of the second point
angle from the positive X-axis, anticlockwise
∑ Formula
Slope from the equation
coefficients of and
the constant term
◭ Diagram
xy−6−5−4−3−2−1123456−5−4−3−2−112345Om > 0m < 0m = 0m undefined
Four cases: (climbing, green), (falling, rose), (flat, blue) and a vertical line (violet) whose slope is undefined because the run is zero.
Angle
Slope undefined
Spot itRecognise it: “slope”, “inclination”, “angle with the X-axis”, “slope of ”, “line through two points”. If three points give equal slopes they are collinear. Trap: a vertical line () has no slope, and a horizontal line () has slope .

Steps

  1. Write the two points, or change the equation to .
  2. Take both differences in the same order: and .
  3. Divide; if the difference is zero the line is vertical.
  4. For the angle match with the table; for a negative slope use the acute angle.

Solved examples

Example 1 · Basic
Find the slope and the angle of inclination of the line through and .
Solution, step by step
  1. 1The rise: (it goes 6 down).
  2. 2The run: .
  3. 3.
  4. 4 is negative, so is obtuse. , so .
Answer ,
A negative slope always means an angle over .
Example 2 · Standard
The line through and has slope . Find , and also on the same line at .
Solution, step by step
  1. 1Slope formula: , i.e. .
  2. 2Cross-multiply: , so and .
  3. 3On the line the slope is everywhere. From to the run is , so the rise is .
  4. 4. Check: the slope between and is ✓.
Answer , and
A slope of says “every 3 forward, 4 up” — reach any point on the line with it.
Example 3 · Advanced
Find the angle the line through and makes with the X-axis. Then give the inclination of a second line through at to the first.
Solution, step by step
  1. 1The run is and the rise is .
  2. 2. The table has , so .
  3. 3The second line is turned from the first, so its inclination is (anticlockwise from the positive X-axis).
  4. 4Check: and the first slope is ; the product is — the signature of perpendicular lines (seen later).
Answer ; the second line
When appears in a slope, think or .

Try it yourself

BasicTry it yourself first
Find the slope of the line through and .
BasicTry it yourself first
Find the slope of the line through and .
BasicTry it yourself first
A line has slope . What is its angle of inclination (measured anticlockwise from the positive X-axis)?
StandardTry it yourself first
A line has slope . What is its angle of inclination (measured anticlockwise from the positive X-axis)?
StandardTry it yourself first
A line makes an angle of with the positive X-axis. Find its slope.
StandardTry it yourself first
The line through and has slope . Find .
StandardTry it yourself first
Find the slope of the line .
StandardTry it yourself first
A road runs straight between and (each square is 1 m). Find its slope.
AdvancedTry it yourself first
A line has slope . What is its angle of inclination (measured anticlockwise from the positive X-axis)?
AdvancedTry it yourself first
Find the slope of the line .

Forms of the equation of a line

· point-slope · two-point · intercept

Building the equation from what is given (slope, points, intercepts) and reading slope and intercepts from an equation.

The idea

The equation of a line is the rule linking the and of each of its points. Because the slope is the same everywhere on the line, the slope between any point of the line and one known point must equal : . This is the point-slope form, and all the other forms come from it. Which form to use depends on what the question gives.

◭ Diagram
xy−3−2−11234567−2−1123456Oc = 1run 3rise 2y = (2/3)x + 1
The line : slope (up 2 over 3 across) and Y-intercept (violet).
GivenFormEquation
slope and Y-intercept slope-intercept
slope and a point point-slope
two pointstwo-point
cuts , on the axesintercept
general formgeneral
parallel to an axis (vertical), (horizontal)

Here = slope, = the Y-intercept, and = points on the line, and = the cuts on the X- and Y-axes.

◭ Diagram
xy−2−11234567−5−4−3−2−1123Oa = 4b = −3x/4 + y/(−3) = 1
Intercept form: the line cuts the X-axis at and the Y-axis at , so , i.e. .
∑ Formula
Reading everything from the general form
coefficients of and
the constant on the right
the slope
Spot itRecognise it: “find the equation”, “line through …”, “equal intercepts”, “sum of intercepts”. Every time put the given point back into the equation as a check. Use the intercept form when the cuts on the axes are given; a line through the origin has no intercept form ().

Steps

  1. See what is given and choose the form from the table above.
  2. With two points find the slope first, then use point-slope.
  3. Clear fractions by multiplying and write the result as .
  4. Check by putting the given points in.

Solved examples

Example 4 · Basic
Write the equation of the line with slope and Y-intercept in the form .
Solution, step by step
  1. 1Slope-intercept form: with , : .
  2. 2Multiply by 4 to clear the denominator: .
  3. 3Bring to the left: .
  4. 4Check: Y-cut: at , , ✓; slope ✓.
Answer
In , is directly the Y-cut.
Example 5 · Standard
Find the equation of the line through and and both of its intercepts.
Solution, step by step
  1. 1Slope: .
  2. 2Point-slope from the first point: .
  3. 3Multiply by 3: , i.e. .
  4. 4Check with the second point: ✓.
  5. 5Intercepts: at , ; at , .
Answer ; X-cut , Y-cut
Checking with the second point also catches mistakes made with the first.
Example 6 · Advanced
Find the lines through whose intercepts on the two axes add up to 14.
Solution, step by step
  1. 1Intercept form: with the condition , so .
  2. 2 is on the line: . Clearing denominators: .
  3. 3Expand: , i.e. , which factorises as . So or .
  4. 4For , : , i.e. . For , : , i.e. .
  5. 5Check: ✓ and ✓.
Answer and
For “equal intercepts” take , giving (or the line may pass through the origin).

Try it yourself

BasicTry it yourself first
Find the equation of the line through with slope .
StandardTry it yourself first
Find the equation of the line through with slope .
BasicTry it yourself first
Find the equation of the line through and .
StandardTry it yourself first
Find the equation of the line through and .
StandardTry it yourself first
A line cuts the X-axis at and the Y-axis at . Find its equation.
StandardTry it yourself first
A line cuts the X-axis at and the Y-axis at . Find its equation.
StandardTry it yourself first
Find the Y-intercept of the line .
StandardTry it yourself first
Find the X-intercept of the line .
AdvancedTry it yourself first
Find the slope of the line .
AdvancedTry it yourself first
The point lies on the line . Find .
AdvancedTry it yourself first
Find the equation of the line through and .

The triangle a line makes with the axes

Area

The intercepts of , the triangle with the axes, and the trapezium between two parallel lines.

The idea

The line cuts the axes at on the X-axis and on the Y-axis. The axes are perpendicular, so the line and the axes enclose a right triangle whose legs are these two cuts. Its area is therefore . This is the quickest shortcut in the chapter: straight from the equation, , with no drawing.

◭ Diagram
xy−1123456789101112−112345678O(10, 0)(0, 6)106½ × 10 × 6 = 303x + 5y = 30
The line : cuts and , so the area is ; shortcut .
∑ Formula
Area of the triangle enclosed by the line and the two axes
coefficients of and
the constant on the right ()
absolute value

In the intercept form the area is simply (here are the cuts). The trapezium of two parallel lines and with the axes is the bigger triangle minus the smaller: . The hypotenuse (the part of the line between the axes) is , where are the cuts.

◭ Diagram
xy−11234567891011121314−1123456789O126841248 − 12 = 36
The parallel lines (green) and (blue): triangles 12 and 48; the trapezium between them is .
Spot itRecognise it: “area enclosed by the line and the axes”, “both coordinate axes and the line”, “product of intercepts”, “trapezium formed by two lines and the axes”. Care: if the line passes through the origin and no triangle forms.

Steps

  1. Write the line as with on the right.
  2. Find the area from (or take the cuts , and use their product).
  3. With two parallel lines find both triangles and subtract.
  4. If the area is given, solve backwards for ; remember the .

Solved examples

Example 7 · Basic
Find the area of the triangle formed by the line and the two coordinate axes.
Solution, step by step
  1. 1X-cut: putting gives , . Y-cut: putting gives , .
  2. 2The axes are perpendicular, so the cuts are the legs of a right triangle.
  3. 3Area sq. units.
  4. 4Shortcut check: ✓.
Answer 40 sq. units
Writing as shows the cuts directly.
Example 8 · Standard
Find the area of the trapezium enclosed by the lines , and the two axes.
Solution, step by step
  1. 1Both lines have the same , , so they are parallel and make two triangles with the axes.
  2. 2Smaller triangle (): .
  3. 3Bigger triangle (): .
  4. 4The part between them is sq. units, which is the trapezium.
Answer 60 sq. units
The smaller triangle sits inside the bigger one; so subtract, do not add.
Example 9 · Advanced
Find the line through that makes a triangle of area 12 sq. units with the axes in the first quadrant.
Solution, step by step
  1. 1Take the intercept form (). The area , so .
  2. 2 is on the line: . Multiplying by gives .
  3. 3Put : . Multiplying by : , i.e. , i.e. .
  4. 4 and . The line is , i.e. .
  5. 5Check: ✓; area ✓.
Answer (the only such line)
Getting a perfect square shows that 12 is the smallest possible area for lines through this point.

Try it yourself

BasicTry it yourself first
Find the area (sq. units) of the triangle enclosed by the line and the two coordinate axes.
BasicTry it yourself first
Find the area (sq. units) of the triangle enclosed by the line and the two coordinate axes.
StandardTry it yourself first
Find the area (sq. units) of the triangle enclosed by the line and the two coordinate axes.
StandardTry it yourself first
Find the area of the trapezium enclosed by the lines , and the two axes.
StandardTry it yourself first
Find the perimeter of the triangle enclosed by the line and the two axes.
StandardTry it yourself first
The line and the two axes enclose a triangle of area 12 sq. units (). Find .
StandardTry it yourself first
Find the area (sq. units) of the triangle enclosed by the line and the two coordinate axes.
AdvancedTry it yourself first
Find the area of the trapezium enclosed by the lines , and the two axes.
AdvancedTry it yourself first
Find the perimeter of the triangle enclosed by the line and the two axes.
2

Two lines, and a line with a point

Meeting · parallel · perpendicular · distance · image

How two lines relate (meeting, parallel, perpendicular, angle) and how a point relates to a line (distance, foot, image).

With slope and equation in hand we now look at relations between two things: line and line, and point and line.

Where two lines meet

Solve · parallel or same · concurrent · triangle

The point where two lines meet, the conditions for meeting, concurrency of three lines and the triangle they make.

The idea

The common point of two lines is the point whose makes both equations true together. So we find it by solving both equations simultaneously. There are three possibilities: the lines meet at one point (one solution), they are parallel (no solution), or they are the same line (infinitely many solutions). Which one it is shows from the ratios of their , , before solving.

◭ Diagram
xy−2−112345678−2−11234567OP(3, 2)3x + y = 11x − y = 1fits both ✓
The lines (blue) and (green) meet at : ✓ and ✓. The common point is the one that fits both equations.
CaseCondition (lines , )Result
meet at one pointone solution
parallel and distinctno solution
the same lineinfinitely many solutions
∑ Formula
Meeting point of and
coefficients of and in the -th line
the constant of the -th line
the determinant (zero means parallel)

Three lines are concurrent (through one point) if the meeting point of the first two also satisfies the third. The triangle of three lines: find the meeting point of each pair; these are the three vertices; then use the area formula of the previous chapter. With two lines and an axis, the cuts of the two lines on the axis give the base and the distance of their meeting point from the axis is the height.

◭ Diagram
xy−3−2−11234567891011−112345678O(−1, 1)(9, 1)(4, 6)y = x + 2x + y = 10y = 1½ × 10 × 5 = 25
The three lines , and meet in pairs at , , . Base 10, height 5, area 25.
Spot itRecognise it: “point of intersection”, “where do they meet”, “crossing”, “concurrent”, “through one point”, “enclosed by three lines”, “no solution / infinitely many”. After solving, check in both equations.

Steps

  1. Write both equations as and look at the ratios , (are they parallel?).
  2. Remove one variable (multiply and subtract) and find the other.
  3. Check by putting the values in both equations.
  4. With three lines find each pair’s meeting point and then the area.

Solved examples

Example 10 · Basic
Find the point where the lines and meet.
Solution, step by step
  1. 1Compare ratios: and — not equal, so the lines meet at one point.
  2. 2To remove multiply the first by 2: . Subtract the second: .
  3. 3. Put it in the first equation: , so .
  4. 4Check: in the second, ✓.
Answer
Simplify the equations before eliminating.
Example 11 · Standard
For what value of do the lines and have no common point? Can they be the same line for any ?
Solution, step by step
  1. 1No common point = parallel and distinct: .
  2. 2From , .
  3. 3Check the third ratio: , different from ✓. So at the lines are parallel and distinct, with no solution.
  4. 4To be the same line all three ratios must be equal: never holds, so for no are they one line.
Answer ; never the same line
For there is exactly one meeting point.
Example 12 · Advanced
Find the vertices and the area of the triangle enclosed by the lines , and .
Solution, step by step
  1. 1First two lines: adding gives , , and . Vertex .
  2. 2First and : , so . Vertex .
  3. 3Second and : , so . Vertex .
  4. 4The two vertices and have the same ordinate, so this horizontal side is the base: . The height to the third vertex is .
  5. 5Area . By the formula too: ✓.
Answer Vertices , , ; area 25 sq. units
A quick sketch shows the horizontal side at once.

Try it yourself

BasicTry it yourself first
Find the point of intersection of the lines and .
BasicTry it yourself first
Find the point of intersection of the lines and .
StandardTry it yourself first
Two straight roads on a map are the lines and . Find the coordinates of the crossing where they meet.
StandardTry it yourself first
For what value of do the lines and have no common point?
StandardTry it yourself first
The lines , and pass through one point (are concurrent). Find .
StandardTry it yourself first
Find the area of the triangle enclosed by the lines , and .
StandardTry it yourself first
Find the area of the triangle enclosed by the lines , and the X-axis.
AdvancedTry it yourself first
Find the area of the triangle enclosed by the lines , and .
AdvancedTry it yourself first
Find the area of the triangle enclosed by the lines , and the Y-axis.

Parallel, perpendicular and the angle between lines

· ·

Parallel and perpendicular lines by comparing slopes, building their equations, and the angle between two lines.

The idea

The relation of two lines is decided by their slopes. Parallel lines lean equally the same way: equal slopes (). Perpendicular lines: turning one through gives the other: the step , so the slope , i.e. the reciprocal with a minus sign: . The angle between any two lines comes from the difference of their slopes.

◭ Diagram
xy−2−112345678−2−112345678OP(3, 3)2x + y = 92x + y = 4x − 2y = −3
The line (black); through the parallel (green) and the perpendicular (rose), which meets the black line at right angles at .
RelationSlopesCoefficients ( and )
Parallel
Perpendicular
Angle

Here are the slopes of the two lines () and is the acute angle between them. Rule for building lines: a parallel to is and a perpendicular is ; each time the new constant comes from putting in the given point.

◭ Diagram
xy−112345678−1123456789O45°y = 2x − 1y = x/3 + 4tan θ = |(2 − ⅓)/(1 + 2/3)| = 1
The lines and meet at ; slopes and , so , i.e. .
Spot itRecognise it: “parallel”, “perpendicular”, “cut at right angles”, “angle between”, “value of for which …”. Trap: for perpendicular the product is , not ; and if one line is vertical () the perpendicular is horizontal () — the slope formula will not work. In the angle formula the denominator has (a sign).

Steps

  1. Find the slopes of both lines ().
  2. Equal means parallel; product means perpendicular; otherwise the angle formula.
  3. To build a parallel or perpendicular line, use the rule from and find from the point.
  4. Check that both the point and the slope fit.

Solved examples

Example 13 · Basic
Find the equation of the line through parallel to the line .
Solution, step by step
  1. 1The parallel keeps the coefficients of and : .
  2. 2The point lies on it: .
  3. 3The line is . Check: slope , same as before ✓.
Answer
The parallel has in place of — only the constant changed.
Example 14 · Standard
Find the equation of the line through perpendicular to the line .
Solution, step by step
  1. 1The slope of the given line is . The perpendicular has the reciprocal with a minus sign: .
  2. 2Point-slope: . Multiply by 2: .
  3. 3So .
  4. 4Check: ✓ and the point: ✓.
Answer
By the rule directly: , the same line.
Example 15 · Advanced
Find the acute angle between the lines and .
Solution, step by step
  1. 1Slopes: for the first ; for the second .
  2. 2.
  3. 3The numerator and the denominator . So .
  4. 4 gives .
  5. 5Check: the inclinations are and ; their difference is ✓.
Answer
If the denominator is () then is undefined and the angle is .

Try it yourself

BasicTry it yourself first
Find the equation of the line through parallel to the line .
StandardTry it yourself first
Find the equation of the line through parallel to the line .
BasicTry it yourself first
Find the equation of the line through perpendicular to the line .
StandardTry it yourself first
Find the equation of the line through perpendicular to the line .
StandardTry it yourself first
For what value of are the lines and perpendicular?
StandardTry it yourself first
For what value of are the lines and parallel?
StandardTry it yourself first
Find for the acute angle between the lines and .
AdvancedTry it yourself first
Find the equation of the line through perpendicular to the line .
AdvancedTry it yourself first
Find for the acute angle between the lines and .
AdvancedTry it yourself first
For what value of are the lines and perpendicular?

Distance from a point to a line

The perpendicular distance of a point from a line, the distance between parallel lines, and which side of a line a point is on.

The idea

The distance of a point from a line is the shortest distance, the length of the perpendicular dropped on the line. To find it put the point into the equation of the line: . This number says how far the point is “off” the line, but mixed with the size of the coefficients. Dividing by gives the true length. The sign of the number says which side of the line the point is on.

◭ Diagram
xy−2−112345678−2−112345678OP(5, 5)F(2, 1)d = 53x + 4y = 103x + 4y = 35
The distance of from the line : ; the step to the foot is of length 5. Through runs the parallel (green).
∑ Formula
Distance of the point from the line
perpendicular distance
coefficients of the line (constant on the left)
coordinates of the point
∑ Formula
Distance between two parallel lines, and from the origin
the constants of the two lines (after making equal)
distance of the line from the origin
Spot itRecognise it: “distance of a point from a line”, “perpendicular distance”, “between parallel lines”, “radius of a circle touching the line”, “height”. Traps: (1) make the equation “” first; (2) for parallel lines equalise (turn into ); (3) simplify the root in the denominator.

Steps

  1. Write the line as .
  2. Put in the point and find the numerator .
  3. Find the denominator and divide.
  4. For parallel lines first equalise the coefficients, then use .

Solved examples

Example 16 · Basic
Find the distance of the point from the line .
Solution, step by step
  1. 1Make it “”: , i.e. , , .
  2. 2Numerator: .
  3. 3Denominator: .
  4. 4 units.
Answer 3 units
The numerator is positive, so the point is on the side where .
Example 17 · Standard
Find the distance between the parallel lines and .
Solution, step by step
  1. 1The formula needs equal coefficients of and . Divide the second line by 2: .
  2. 2Now and (in “” form). .
  3. 3.
  4. 4 unit.
Answer unit
Using without equalising the coefficients is wrong.
Example 18 · Advanced
The distance of the point from the line is 3 units. Find all values of .
Solution, step by step
  1. 1The line is . Distance formula: .
  2. 2The denominator is 5, so .
  3. 3Two cases: ⟹ ; or ⟹ .
  4. 4Check: : ✓; : ✓.
Answer or
The two points lie 3 units away on either side of the line.

Try it yourself

BasicTry it yourself first
Find the perpendicular distance of the point from the line .
BasicTry it yourself first
Find the perpendicular distance of the point from the line .
StandardTry it yourself first
Find the perpendicular distance of the point from the line .
StandardTry it yourself first
Find the distance between the parallel lines and .
StandardTry it yourself first
Find the distance between the parallel lines and .
StandardTry it yourself first
The distance of the point from the line is 6 units. Find all values of .
StandardTry it yourself first
Do the points and lie together on one side of the line ?
AdvancedTry it yourself first
Find the perpendicular distance of the point from the line .
AdvancedTry it yourself first
The distance of the point from the line is 5 units. Find all values of .

Foot and image

·

The foot of the perpendicular from a point to a line, the image in the line, and the mirror from a point and its image.

The idea

The perpendicular from to the line has direction (the normal direction of the line). So to reach the foot walk from in this direction as far as it takes to reach the line: , where . The image is as far again: , because is the midpoint of and .

◭ Diagram
xy−3−2−11234567−4−3−2−11234567OP(5, 5)F(2, 1)P′(−1, −3)553x + 4y = 10
From to : the foot is and the image : , and is perpendicular to the line.
∑ Formula
Point , line
the multiplier that takes to the line
the foot of the perpendicular
the image
coefficients of the line

The reverse question: given and its image , the mirror is the perpendicular bisector of : it passes through the midpoint and is perpendicular to . The same method gives the line of all points equidistant from two points (a locus).

Spot itRecognise it: “foot”, “foot of the perpendicular”, “image”, “reflection”, “equation of the mirror”, “a ray of light striking and bouncing”. Two checks: (1) the foot satisfies the equation of the line; (2) and , , are collinear.

Steps

  1. Write the line as and find .
  2. Foot: .
  3. Image: (or with ).
  4. Check: the foot is on the line and the midpoint of is the foot.

Solved examples

Example 19 · Basic
Find the foot of the perpendicular from the point to the line .
Solution, step by step
  1. 1The line has , , . Putting in the point gives and .
  2. 2.
  3. 3Foot .
  4. 4Check: ✓ and the direction of is , proportional to (perpendicular) ✓.
Answer
came out negative because the point is on the side where .
Example 20 · Standard
Find the image of the point in the line .
Solution, step by step
  1. 1, , . and , so .
  2. 2Foot . Check: ✓.
  3. 3Image .
  4. 4Check: the midpoint of and is , on the line ✓; , which equals ✓.
Answer
Directly with : .
Example 21 · Advanced
In a mirror the image of is . Find the equation of the mirror.
Solution, step by step
  1. 1The mirror is the perpendicular bisector of the segment joining the point and its image.
  2. 2The midpoint is on the mirror.
  3. 3The segment has slope , so the mirror has slope .
  4. 4Point-slope: , i.e. , i.e. .
  5. 5Check: the distance from is and from is ✓ (equal, on opposite sides).
Answer
This line is also the locus of points equidistant from and .

Try it yourself

BasicTry it yourself first
Find the foot of the perpendicular from the point to the line .
BasicTry it yourself first
Find the foot of the perpendicular from the point to the line .
StandardTry it yourself first
Find the image of the point in the line .
StandardTry it yourself first
Find the image of the point in the line .
StandardTry it yourself first
In a mirror the image of the point is . Find the equation of the mirror line.
StandardTry it yourself first
Find the foot of the perpendicular from the point to the line .
StandardTry it yourself first
Find the distance between the point and its image in the line .
AdvancedTry it yourself first
In a mirror the image of the point is . Find the equation of the mirror line.
AdvancedTry it yourself first
Find the image of the point in the line .
3

Triangle lines, regions, modulus

Median · inequality ·

Equations of special lines of a triangle, regions of inequalities and shapes with , .

Putting the methods above together, three common exam types: equations of the median, altitude and perpendicular bisector of a triangle; the shaded region of an inequality; and areas of shapes with modulus.

Median, altitude, perpendicular bisector

Each line = two pieces of information

Equations of the special lines of a triangle, the circumcentre and orthocentre, and a line through the meeting of two lines.

The idea

To build the equation of a line we need two pieces of information (two points, or a point and a slope). The three special lines of a triangle fit these. Median: the vertex and the midpoint of the opposite side, i.e. two points. Altitude: the vertex and the direction perpendicular to the opposite side, i.e. a point and a slope. Perpendicular bisector: the midpoint of a side and the direction perpendicular to it, i.e. a point and a slope. The tools from the previous chapter and methods simply combine here.

◭ Diagram
xy−11234567891011−1123456789OABCMmedianaltitudeperp. bisector (of AB)
Triangle , , : the median ( the midpoint of , green), the altitude on (rose, with the right-angle mark) and the perpendicular bisector of (violet).
LineThroughDirectionMethod
Median (vertex )towards the midpoint oppositetwo-point form
Altitude ( onto )perpendicular to rule
Perpendicular bisector (of )midpoint of perpendicular to rule

The three altitudes meet at the orthocentre and the three perpendicular bisectors at the circumcentre . We only need the meeting of two lines. One more tool: any line through the intersection point of and is ; is fixed by one more condition (a point, a slope). It saves finding the meeting point.

Spot itRecognise it: “equation of the median”, “equation of the altitude”, “perpendicular bisector”, “coordinates of the circumcentre/orthocentre”, “line through the point of intersection”. Care: for an altitude use the direction of the opposite side ; and the midpoint for a median is on the opposite side.

Steps

  1. Decide which line it is and which two pieces of information it needs.
  2. Find the midpoint or the direction needed.
  3. Build the equation by the two-point form or the perpendicular rule and check it.
  4. If a centre is asked, solve two such lines.

Solved examples

Example 22 · Basic
In the triangle , , find the equation of the median from .
Solution, step by step
  1. 1The median joins to the midpoint of : .
  2. 2The slope through and is .
  3. 3With on the Y-axis: , i.e. , i.e. .
  4. 4Check: at , ✓.
Answer
has abscissa 0, so came directly as 4.
Example 23 · Standard
In the same triangle find the altitude from to and the perpendicular bisector of .
Solution, step by step
  1. 1The direction of is . Both lines are perpendicular to , so both have , i.e. (or simply ).
  2. 2The altitude passes through : , so .
  3. 3The perpendicular bisector passes through the midpoint of , : , so .
  4. 4The two are parallel (same ) — as they must be, both being perpendicular to . Check: the slope of is and theirs is , product ✓.
Answer Altitude ; perpendicular bisector
The altitude goes through the vertex, the bisector through the midpoint — that is the only difference.
Example 24 · Advanced
Find the circumcentre of the triangle , , using perpendicular bisectors.
Solution, step by step
  1. 1: midpoint and direction . The perpendicular bisector is with , i.e. .
  2. 2: midpoint and direction , simplified . The perpendicular bisector is with , i.e. .
  3. 3Adding gives , so ; then . The circumcentre is .
  4. 4Check: , , — all equal, radius 5 ✓.
Answer , circumradius 5
The third bisector (of ) must also pass through this point — a handy check.

Try it yourself

BasicTry it yourself first
The vertices of triangle are , , . Find the equation of the median from .
BasicTry it yourself first
The vertices of triangle are , , . Find the equation of the altitude from to .
BasicTry it yourself first
Find the perpendicular bisector of the segment , where and .
StandardTry it yourself first
The vertices of triangle are , , . Find the equation of the median from .
StandardTry it yourself first
The vertices of triangle are , , . Find the equation of the altitude from to .
StandardTry it yourself first
Find the perpendicular bisector of the segment , where and .
StandardTry it yourself first
The vertices of a triangle are , , . Using perpendicular bisectors, find the coordinates of its circumcentre.
StandardTry it yourself first
Find the equation of the line through the point of intersection of and and through the point .
AdvancedTry it yourself first
The vertices of a triangle are , , . Find its orthocentre.
AdvancedTry it yourself first
Find the equation of the line through the point of intersection of and and through the point .

Regions of linear inequalities

Origin test · shading

The half-plane of , deciding the shading, the common region of several inequalities and its area.

The idea

The line splits the plane into two half-planes. On one and on the other . To know which side the inequality is true on, put in one test point: the easiest is the origin (provided the line does not pass through it). If it satisfies the inequality choose its side, otherwise the other side. With “/” the line belongs to the region (solid line), with “/” it does not (dashed line).

◭ Diagram
xy−2−112345678−2−112345678OO0 ≤ 12 ✓3x + 2y > 123x + 2y ≤ 12
For : at the origin is true, so the shading (green) is on the side with the origin; on the other side .

If the line passes through the origin () the origin test fails; take another easy point, such as or . With several inequalities find each region and take the common part; it is a polygon whose vertices are meetings of the lines, with the area from the previous chapter’s formula. For “how many integer points” count row by row and add.

◭ Diagram
xy−112345678−112345678O(0,0)(4,0)(4,2)(0,6)area 16
The common region of , , , : vertices , , , ; area .
Spot itRecognise it: “region of the inequality”, “shaded part”, “points satisfying”, “area of the common region”, “how many integer points”. Traps: (1) if the sign flips ( instead of ) the side changes; (2) , means the first quadrant; (3) in a strict inequality the points on the line do not count.

Steps

  1. Draw the boundary line of each inequality (using intercepts).
  2. Test the origin (or another point) and pick the correct side.
  3. Find the common part and its vertices.
  4. Then find the area or count the integer points as asked.

Solved examples

Example 25 · Basic
On which side is the shaded region of ? Is the point in it?
Solution, step by step
  1. 1The boundary is , which cuts the axes at and . The origin is not on it.
  2. 2Test: at the statement is false, so the shading is away from the origin. The line is solid ().
  3. 3At , is true, so it is in the region.
Answer Away from the origin; yes, is in the region
Any test point gives the same verdict, since a whole half-plane is true or false together.
Example 26 · Standard
Determine the region of (the line passes through the origin). Which of and lies in it?
Solution, step by step
  1. 1The boundary passes through the origin, so the origin test is useless ( is true only because it is on the line).
  2. 2Take another point, say : is true, so the shading is on the side of , below and to the right of the line.
  3. 3: is false. : is true.
Answer is in the region; is not
For a line through the origin take or , whichever is not on the line.
Example 27 · Advanced
The common region of , , and is a polygon. Find its vertices and area.
Solution, step by step
  1. 1The first three give the big triangle , , . The fourth, , cuts off the origin corner, since is false; the shading is above and to the right of the line .
  2. 2The line cuts the axes at and . So the vertices are , , , .
  3. 3Area = big triangle cut-off triangle .
  4. 4Shoelace check (): , , , ; sum , half ✓.
Answer Vertices , , , ; area sq. units
“Big minus small” is often faster than the shoelace.

Try it yourself

BasicTry it yourself first
Which of these points satisfies the inequality ?
BasicTry it yourself first
How is the region of the inequality shaded in a diagram?
StandardTry it yourself first
How is the region of the inequality shaded in a diagram?
StandardTry it yourself first
Find the area of the region given by , and .
StandardTry it yourself first
Which of these points satisfies the inequality ?
StandardTry it yourself first
Find the area of the region given by , , and .
StandardTry it yourself first
How many points with integer coordinates satisfy , and ?
AdvancedTry it yourself first
How many points with integer coordinates satisfy , and ?
AdvancedTry it yourself first
Find the area of the region given by , , and .

Shapes with modulus (, )

, , shifted figures, rectangles and counting integer points.

The idea

means without its sign: when , and when . So when an equation has or we get a different line in each quadrant, and four pieces join to make the figure. In each piece is , cutting the axes at : the figure is a square whose diagonals lie on the axes. It shows that these areas are 4 times the triangle in the first quadrant.

◭ Diagram
xy−5−4−3−2−112345−6−5−4−3−2−1123456O3−35−5area 2ab = 30|x|/3 + |y|/5 = 1
: corners and ; a rhombus with diagonals 6 and 10, area .
Equation / inequalityShapeArea
square
rhombus
the same square, centre
rectangle
and the Y-axistriangle

Here is the “radius” of the square (the cut on an axis), the cuts on the axes, the centre of the figure and the distance from the centre to a corner (along an axis).

◭ Diagram
xy−2−1123456−6−5−4−3−2−1123456O(4, 0)(0, 4)(0, −4)area k² = 16x + |y| = 4
becomes above and below; with the Y-axis the triangle , , has area .
Spot itRecognise it: a in the equation. The quickest way: find the cuts on the axes (put for , for ), recognise the figure and use its diagonals. Traps: (1) the perimeter of is (side ), not ; (2) a shifted figure keeps its area; (3) count the boundary points in lattice counts ().

Steps

  1. Find the cuts on the axes (put and ).
  2. Recognise the figure: rhombus, square, rectangle or triangle.
  3. Find the area or perimeter from the diagonals/sides.
  4. For a shifted figure first put , to bring the centre to the origin.

Solved examples

Example 28 · Basic
Find the area and the perimeter of the figure enclosed by .
Solution, step by step
  1. 1At , , so ; at , . The corners are and .
  2. 2Both diagonals are 12 and perpendicular, so it is a square.
  3. 3Area .
  4. 4Side , so the perimeter is .
Answer Area 72, perimeter
The side is , not .
Example 29 · Standard
Find the area, perimeter and side of the figure enclosed by .
Solution, step by step
  1. 1Corners and . Diagonals and .
  2. 2It is a rhombus: area (formula ).
  3. 3A side runs from to : . The perimeter is .
  4. 4Check: the origin is from the side ; the height of the rhombus is twice that, , and side height ✓.
Answer Area 24, side 5, perimeter 20
The triple makes the side a whole number.
Example 30 · Advanced
How many points with integer coordinates satisfy ?
Solution, step by step
  1. 1The integer values of run from to . For each , , i.e. integer values of .
  2. 2: ; : each; : each; : each; : each; : each.
  3. 3Total .
  4. 4Formula check: ✓.
Answer 61
The boundary points () are included; are strictly inside.

Try it yourself

BasicTry it yourself first
Find the area of the figure enclosed by .
BasicTry it yourself first
Find the area enclosed by .
StandardTry it yourself first
Find the area enclosed by .
StandardTry it yourself first
Find the perimeter of the figure enclosed by .
StandardTry it yourself first
Find the area of the region given by and .
StandardTry it yourself first
Find the area of the region enclosed by and the Y-axis.
StandardTry it yourself first
How many points with integer coordinates satisfy ?
AdvancedTry it yourself first
Find the area of the figure enclosed by .
AdvancedTry it yourself first
How many points with integer coordinates satisfy ?
4

Locus and the circle

A figure from a rule · the circle

The path of a point obeying a rule, and the equation of a circle.

Here we turn things round: no figure is given, only a rule, and we find the equation of the figure (a line or a circle).

Locus and the equation of a circle

Rule equation ·

The locus of equal distance, fixed distance from a line, the equation of a circle, centre and radius, the circle on a diameter and tangency.

The idea

A locus is the set of all points obeying a given rule. There is one way to find its equation: name the moving point , write the rule in terms of and (mostly with the distance formula) and simplify. The equation that is left is the locus. Three rules come again and again: equal distance from two points (result: the perpendicular bisector, a line), fixed distance from a point (result: a circle), and fixed distance from a line (result: two parallel lines).

◭ Diagram
xy−2−1123456789−4−3−2−1123456OA(1, 2)B(5, −2)PPA = PBx − y = 3
All points equally far from and lie on the line (the perpendicular bisector of ). For , ; the moving dot runs along the whole line.
◭ Diagram
xy−4−3−2−1123456789−4−3−2−112345678Od = 3d = 33x + 4y = 223x + 4y = 73x + 4y = −8
Points 3 units from the line lie on the two parallels and (change ).

A circle is all points at distance from the centre . Squaring in the distance formula gives . Expanding gives the general form , in which the centre is and the radius is . The key to recognising it: the coefficients of and are equal and there is no term.

◭ Diagram
xy−3−2−1123456789−4−3−2−112345678OC(3, 2)(7, 5)r = 5(x − 3)² + (y − 2)² = 25
The circle : centre , radius 5; at , ✓. The moving dot stays 5 from the centre all the time.
∑ Formula
Both forms of the circle
the centre
the radius
constants of the general form ( and are the coefficients of and )
SituationResult
diameter ends ,
touches a lineradius = distance from centre to the line
touches both axes in the first quadrantcentre
point inside / on / outside / /
Spot itRecognise it: “locus”, “moving point”, “equidistant”, “constant distance”, “equation of a circle”, “centre and radius”, “ends of a diameter”, “touches the line”. Traps: (1) if the coefficient of is not 1, divide first; (2) the centre’s sign looks reversed in : means ; (3) the equation gives ; take the root for .

Steps

  1. Call the moving point and say the rule in words.
  2. Write the rule with the distance formula (or another formula) in , ; square to remove roots.
  3. Expand and simplify: if , cancel it is a line; if they stay (with equal coefficients) it is a circle.
  4. Check with one point.

Solved examples

Example 31 · Basic
A point moves so that it is equally far from and . Find the locus of .
Solution, step by step
  1. 1Take . The rule gives .
  2. 2.
  3. 3Expand: .
  4. 4 and cancel: , i.e. , i.e. .
  5. 5Check: the midpoint of , , is on it ( ✓) and has slope while this line has slope — product ✓.
Answer
With equal distances and always cancel, so a line results.
Example 32 · Standard
(i) Find the centre and radius of the circle . (ii) Write the equation of the circle with centre and radius 4.
Solution, step by step
  1. 1(i) , , , so , .
  2. 2Centre . Radius .
  3. 3(ii) , i.e. .
  4. 4Expand: , i.e. .
  5. 5Check (i): the point is 5 from and ✓ (the point is on the circle).
Answer (i) centre , ; (ii)
The centre’s signs are the reverse of and .
Example 33 · Advanced
The points and are the ends of a diameter of a circle. Find its equation, centre and radius, and say whether the origin is inside or outside.
Solution, step by step
  1. 1The diameter formula: .
  2. 2Expand: , i.e. .
  3. 3Centre: (the midpoint of ). Radius . Check: ✓.
  4. 4The square of the origin’s distance from the centre is , less than , so the origin is inside the circle.
Answer ; centre , ; the origin is inside
Putting in the general form gives , a sign of “inside”.

Try it yourself

BasicTry it yourself first
A point moves so that it is always equally far from and . Find the locus of .
BasicTry it yourself first
Find the equation of the circle with centre and radius 5.
BasicTry it yourself first
Find the centre and radius of the circle .
StandardTry it yourself first
A point moves so that it is always equally far from and . Find the locus of .
StandardTry it yourself first
Find the equation of the circle with the points and as the ends of a diameter.
StandardTry it yourself first
Where is the point with respect to the circle ?
StandardTry it yourself first
A circle with centre touches the line . Find its radius.
StandardTry it yourself first
Find the locus of all points at a distance of 2 units from the line .
AdvancedTry it yourself first
Find the equation of the circle with centre and radius 7.
AdvancedTry it yourself first
Where is the point with respect to the circle ?
5

Summary, mixed practice, revision

Every method in one place

A one-page table of all methods, exam-style mixed questions and revision.

Summary of all methods

When · what · how

Every method: how to recognise the question and which formula to use.

MethodRecogniseKey formula / rule
Slopeslope, inclination, angle with the X-axis
Forms of the equationbuild / read the equation of a line, ,
Triangle with the axesarea enclosed by a line and the axes; trapezium:
Meeting of two linesintersection, concurrent, triangle of three lineseliminate; parallel
Parallel, perpendicular, anglebuild a parallel/perpendicular, angle; ;
Distance point to lineperpendicular distance, between parallels;
Foot and imagefoot of perpendicular, mirror image, ,
Median, altitude, perp. bisectorequations of triangle lines, circumcentre, orthocentretwo-point; ;
Region of an inequalityshaded region, common region, integer pointsorigin test; area from vertices
Modulus shapesan equation with , ; ;
Locus, circleequal/fixed distance, equation of a circle; ;

Letters in the table: = slope, = angle from the positive X-axis; = coefficients of the line ; = constants of parallel lines; = the given point; in and , are the cuts on the axes; = the foot, = the image, = the multiplier; = the family parameter; = the size of a modulus figure (cut on an axis); and = the centre and radius of a circle; = constants of the general form of a circle.

RememberIn every question ask: (1) is a line given or to be built (pick the form of the equation)? (2) does it involve the axes (cuts, area)? (3) is there a relation between two lines or a point and a line (compare slopes, the distance formula)? And at the end check each answer in the given points or lines.

Mixed practice

Exam-style questions · all methods

Mixed questions on all methods; first decide which method fits.

The questions here are not in the order of the methods. Before each one pause and decide which method applies. Open a solution only after you have tried.

BasicTry it yourself first
Find the slope of the line through and .
StandardTry it yourself first
A line has slope . What is its angle of inclination (measured anticlockwise from the positive X-axis)?
StandardTry it yourself first
A line makes an angle of with the positive X-axis. Find its slope.
AdvancedTry it yourself first
The line through and has slope . Find .
StandardTry it yourself first
Find the slope of the line .
StandardTry it yourself first
Find the equation of the line through with slope .
AdvancedTry it yourself first
Find the equation of the line through and .
StandardTry it yourself first
A line cuts the X-axis at and the Y-axis at . Find its equation.
StandardTry it yourself first
Find the Y-intercept of the line .
StandardTry it yourself first
The point lies on the line . Find .
StandardTry it yourself first
Find the area (sq. units) of the triangle enclosed by the line and the two coordinate axes.
AdvancedTry it yourself first
Find the area of the trapezium enclosed by the lines , and the two axes.
StandardTry it yourself first
Find the perimeter of the triangle enclosed by the line and the two axes.
AdvancedTry it yourself first
The line and the two axes enclose a triangle of area 30 sq. units (). Find .
StandardTry it yourself first
Find the point of intersection of the lines and .
AdvancedTry it yourself first
For what value of do the lines and have no common point?
StandardTry it yourself first
The lines , and pass through one point (are concurrent). Find .
StandardTry it yourself first
Find the area of the triangle enclosed by the lines , and .
StandardTry it yourself first
Find the area of the triangle enclosed by the lines , and the X-axis.
StandardTry it yourself first
Find the equation of the line through parallel to the line .
StandardTry it yourself first
Find the equation of the line through perpendicular to the line .
StandardTry it yourself first
For what value of are the lines and perpendicular?
AdvancedTry it yourself first
For what value of are the lines and parallel?
AdvancedTry it yourself first
Find for the acute angle between the lines and .
StandardTry it yourself first
Find the perpendicular distance of the point from the line .
StandardTry it yourself first
Find the distance between the parallel lines and .
AdvancedTry it yourself first
The distance of the point from the line is 5 units. Find all values of .
StandardTry it yourself first
Do the points and lie together on one side of the line ?
StandardTry it yourself first
Find the foot of the perpendicular from the point to the line .
AdvancedTry it yourself first
Find the image of the point in the line .
AdvancedTry it yourself first
In a mirror the image of the point is . Find the equation of the mirror line.
StandardTry it yourself first
The vertices of triangle are , , . Find the equation of the median from .
StandardTry it yourself first
The vertices of triangle are , , . Find the equation of the altitude from to .
StandardTry it yourself first
Find the perpendicular bisector of the segment , where and .
StandardTry it yourself first
The vertices of a triangle are , , . Using perpendicular bisectors, find the coordinates of its circumcentre.
AdvancedTry it yourself first
Find the equation of the line through the point of intersection of and and through the point .
AdvancedTry it yourself first
The vertices of a triangle are , , . Find its orthocentre.
StandardTry it yourself first
Which of these points satisfies the inequality ?
StandardTry it yourself first
How is the region of the inequality shaded in a diagram?
AdvancedTry it yourself first
Find the area of the region given by , and .
StandardTry it yourself first
Find the area of the region given by , , and .
StandardTry it yourself first
How many points with integer coordinates satisfy , and ?
StandardTry it yourself first
Find the area of the figure enclosed by .
StandardTry it yourself first
Find the area enclosed by .
AdvancedTry it yourself first
Find the perimeter of the figure enclosed by .
AdvancedTry it yourself first
Find the area enclosed by .
BasicTry it yourself first
Find the area of the region given by and .
AdvancedTry it yourself first
Find the area of the region enclosed by and the Y-axis.
StandardTry it yourself first
How many points with integer coordinates satisfy ?
StandardTry it yourself first
A point moves so that it is always equally far from and . Find the locus of .
StandardTry it yourself first
Find the equation of the circle with centre and radius 4.
AdvancedTry it yourself first
Find the centre and radius of the circle .
AdvancedTry it yourself first
Find the equation of the circle with the points and as the ends of a diameter.
StandardTry it yourself first
Where is the point with respect to the circle ?
AdvancedTry it yourself first
A circle with centre touches the line . Find its radius.
AdvancedTry it yourself first
Find the locus of all points at a distance of 3 units from the line .

Revision

Quick questions and common mistakes

All formulas at a glance and the mistakes that cost marks.

QuestionAnswer
Slope of the line through two points?
Slope of ?
X-cut and Y-cut?,
Slope at ?
Triangle with the axes?
Parallel to through ?
Perpendicular to through ?
Slopes of perpendicular lines?
Angle between two lines?
Distance from a point to a line?
Distance between parallel lines? after equalising the coefficients
Foot and image?,
Equation of the mirror?perpendicular bisector of
Line through the intersection of two lines?
Area of ?
Area of ?
Circle (centre, radius)?
Centre and radius of ?,
Radius of a circle touching a line?distance from the centre to the line
  • Finding the slope of a vertical line — has no slope; has slope .
  • Turning the slope upside down — it is , not the reverse.
  • Only reversing or only changing the sign for a perpendicular slope — do both: .
  • Not making the equation “” in the distance formula — must be on the left; and not equalising the coefficients for parallel lines.
  • Using for a line with — a line through the origin makes no triangle.
  • Shading the wrong side of an inequality — do the origin test; for a line through the origin use another point.
  • Taking the perimeter of as — the side is .
  • Forgetting to reverse the centre’s sign — the centre of is ; in the general form it is .
  • Checking only one equation for concurrent lines — put the meeting point into the third line.
  • One solution of “ number” — take both signs.
PracticeTen minutes a day: pick four questions from the table and say the answers without looking, then make up a new question (decide the answer first, then build the question around it — the numbers come out clean). Redo the practice questions of any method that trips you, and revise the points chapter “Coordinate Geometry” alongside.