Skip to content

Learn

MM3. Coordinate geometry in the (x, y) plane

Paper 1: Applications of Mathematical Knowledge · Notes on Mathematics for TMUA Paper 1 and ESAT Mathematics 2 (June 2026), pages 63–78

MM3.1

Equation of a straight line, including

y−y1=m(x−x1)y - y_1 = m(x - x_1) ax+by+c=0ax + by + c = 0

Conditions for two straight lines to be parallel or perpendicular to each other.

Finding equations of straight lines given information in various forms.

The specification here is self-explanatory as to what you need to know about straight lines. You should be comfortable dealing both algebraically and geometrically [i.e., graphically] with straight lines. In this section we will briefly explore most of the main ideas we expect you to know and add a few things to think about.

Let’s start with the classic y=mx+cy = mx + c and remind ourselves of what the mm and the cc represent for a diagram of a line whilst we explore things in a little more detail.

The mm in mx+cmx + c represents the gradient of the straight line. [You should be able to calculate the gradient of a straight line if you are given two points that it passes through.] But what does the gradient tell us about the line? The usual way of thinking about the mm is as a measure of “steepness”: the greater the value of mm then the steeper the line; and if mm is positive the line slopes from bottom left to top right, and if the mm is negative is slopes from top left to bottom right.

But what do we really mean by steepness? We can think of steepness in a couple of interrelated ways: we can think of the gradient as telling us how much we have to go vertically to get back on the line for every 1 unit we move horizontally from a point on the line. So, if the gradient is 2 then we need to move vertically up by 2 for every 1 unit we move horizontally from the line; and if the gradient is minus 3 then we need to move down by 3 for every 1 unit we move horizontally from the line [see diagrams below].

Another way of thinking about this [which is more useful when we encounter straight lines as tangents to curves] is that, for instance, a gradient of 2 tells us that the yy values are changing twice as fast as the xx values – so as xx increases by 1 the yy values must increase by 2, and if xx increase by 5 then yy must increase by 10 and so on. Negative gradients, for instance −3-3, just tell us that as xx increases by 1 then the yy values decrease [the minus sign signals the decrease] by 3. So gradient is a “rate of change” telling us the rate at which yy changes relative to xx.

Two line diagrams side by side. Left, labelled gradient of 2: a line rising to the right, with a step drawn from it: an arrow of 1 to the right (x increases by 1) and then an arrow of 2 up (y increases by 2) back to the line. Right, labelled gradient of −3: a line falling to the right, with an arrow of 1 to the right (x increases by 1) and then an arrow of 3 down (y decreases by 3) back to the line.

There is yet another way to think about the gradient which can be useful, that is to consider the gradient as the tan [that is the trigonometric tan] of the angle that the line makes with the positive xx axis [see diagrams] and of this we assume the scales on the xx-axis and the yy-axis are the same. You should be able to see why this is the case if you consider how the gradient is calculated. So, the gradient of a line at 45 degrees should be tan⁡45=1\tan 45 = 1 and that is exactly what we expect with a line such as y=xy = x. If the angle is 135 then we would expect the gradient to be tan⁡135=−1\tan 135 = -1 and that is exactly what we expect with a line such as y=−xy = -x

Two sets of x and y axes side by side. Left: the line y = x − 2 crossing the positive x-axis at an angle of 45°, marked tan 45° = 1. Right: the line y = −x + 2 making an angle of 135° with the positive x-axis, marked tan 135° = −1.

There are a couple of special cases for gradients: horizontal lines [which have a gradient of zero] and vertical lines which don’t strictly have a gradient but often it is said they have an infinite gradient or negative infinite gradient [this is all a bit of a fudge]. It is best to think of vertical lines [and perhaps horizontal lines] as special cases - vertical lines always have the equation x=some numberx = \mathit{some\ number} and horizontal lines always have the equation y=some numbery = \mathit{some\ number} . You should also be aware that the xx-axis has equation y=0y = 0 and the y-axis has equation x=0x = 0.

What can you say about the gradients of two parallel lines [we exclude horizontal and vertical lines for this discussion, but you should be able to spot when they come up as special cases]? They have the same steepness so they must have the same gradients. So we can say that lines y=m1x+c1y = m_1x + c_1 and y=m2x+c2y = m_2x + c_2 are parallel if and only if m1=m2m_1 = m_2 [check you know why we write “if and only if” you might need to look at our Notes on Logic and Proof for TMUA paper 2]

What about lines that are perpendicular to each other? Here you need to know [and understand] that the lines y=m1x+c1y = m_1x + c_1 and y=m2x+c2y = m_2x + c_2 are perpendicular if and only if m1m2=−1m_1m_2 = -1 . You should be able to see this easily by looking at the two similar triangles in the diagram below – convince yourself why m1m2=−1m_1m_2 = -1 using this diagram

Two lines crossing at a right angle. A horizontal segment is drawn from the crossing point, and a vertical segment from its end up to one line and from a point along it down to the other line, forming two similar right-angled triangles. In the upper triangle the angle at the crossing point is θ and the angle at the top is 90 − θ; in the lower triangle the angle at the crossing point is 90 − θ and the angle at the bottom is θ.

Exercise

[This exercise is a little outside of the TMUA/ESAT specification.] Use the idea that the gradient of a straight line is equal to the tangent of the angle it makes with the horizontal xx-axis to explain why m1m2=−1m_1m_2 = -1 if and only if the lines are perpendicular [exclude cases that involve vertical lines]. You can then ask yourself a general question – is there a condition on m1m_1 and m2m_2 when the lines meet at some other angles [60 or 45 degrees, for instance] and can you justify your answer?

We have spent some time discussing the gradient of a straight line so now we can turn to ask what the cc represents in the y=mx+cy = mx + c. The answer is simple, and you should know it: the cc is the value of yy where the graph crosses the yy-axis; this is often called “the yy-intercept”.

It is also useful to think about straight line graphs using graph-transformations [see later in these notes]:

Exercise

As an exercise, think about what each of the following transformations does to the graph of y=xy = x [y1y_1 and x1x_1 are constants; we could have called them something like pp and qq but we chose to vary the notation a little as you will need to get used to all sorts of notation as you learn more mathematics – text books and teachers are not always consistent in how they use notation. If you introduce notation into your maths that isn’t given in a problem, make sure you make it VERY clear what your notation represents!]

y=xtoy=mxy = x \quad \mathit{to} \quad y = mx y=xtoy−y1=xy = x \quad \mathit{to} \quad y - y_1 = x y=xtoy=x−x1y = x \quad \mathit{to} \quad y = x - x_1

Then combinations of these:

y=xtoy−y1=mxy = x \quad \mathit{to} \quad y - y_1 = mx y=xtoy=m(x−x1)y = x \quad \mathit{to} \quad y = m(x - x_1) y=xtoy−y1=m(x−x1)y = x \quad \mathit{to} \quad y - y_1 = m(x - x_1)

Finally, you should be able to work out the equation of a line given two bits of information. What two bits of information do you think you will need to uniquely specify the equation of a line? The answer is you will need:42^{42}

Case 1

The coordinate of one point on the line and the gradient of the line – i.e., point (x1,y1)(x_1, y_1) lies on the line with gradient mm.

To work out the equation you need to notice that the gradient of the line joining any point (x,y)(x, y) on the line with (x1,y1)(x_1, y_1) must be constant:

y−y1x−x1=m\frac{y - y_1}{x - x_1} = m

And then rearranging.

Or you can use y=mx+cy = mx + c and substitute the point (x1,y1)(x_1, y_1) into the equation to find cc

Exercise

Use both the above approaches to find the equation of the line with the following gradients and points:

m=4m = 4 point = (3,2)(3, 2)

m=−5m = -5 point = (5,3)(5, 3)

m=−2m = -2 point = (−2,−4)(-2, -4)

Case 2

The coordinates of two distinct points that sit on the line (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2) .

To work out the equation of the line, take a general point (x,y)(x, y) on the line and calculate the gradient of the line [which is fixed no matter what] in two different ways:

y−y1x−x1=y1−y2x1−x2\frac{y - y_1}{x - x_1} = \frac{y_1 - y_2}{x_1 - x_2}

and then rearrange this equation.

Or you can work out the gradient first using y1−y2x1−x2\frac{y_1 - y_2}{x_1 - x_2} [make sure you get the order of the xx and the yy on the top and the bottom the same way around – otherwise you will get the wrong sign for your gradient; and also make sure to put yy on the top and xx on the bottom ] and then using y=mx+cy = mx + c and finding cc by substituting in one of the points (x1,y1)(x_1, y_1) or (x2,y2)(x_2, y_2) into the equation.

Exercise

Use both the above approaches to find the equation of the line with the following gradients and points:

(0,0)(0, 0) and (2,3)(2, 3) [is there a shortcut here?]

(−2,5)(-2, 5) and (−4,−7)(-4, -7)

(3,−7)(3, -7) and (8,−7)(8, -7)

Final thoughts

In this section we have used the equation of a line in the from y=mx+cy = mx + c. however, it is also common to see the equation of a line written in the form ax+by+c=0ax + by + c = 0 [It is unfortunate that cc appears in both as its role is different in each equation – do not assume that the cc in ax+by+c=0ax + by + c = 0 is the yy-intercept!]. You should be able to move from one form to the other easily using algebra. Both forms are useful in different contexts and different education systems might put more emphasis on one form rather than the other.

  1. 42

    With line questions it is very easy to make sign errors when putting coordinates into equations. Make sure you are careful!

Source: Notes on Mathematics for TMUA Paper 1 and ESAT Mathematics 2 (June 2026), pages 63–68

MM3.2

Coordinate geometry of the circle: using the equation of a circle in the forms

(x−a)2+(y−b)2=r2(x - a)^2 + (y - b)^2 = r^2 x2+y2+cx+dy+e=0x^2 + y^2 + cx + dy + e = 0

Imagine drawing a circle of radius 1 on the xyxy-plane with its centre at the origin and a radius of 1. What can we say about all the points that sit on this circle? They must all be a distance of 1 from the origin. We can use Pythagoras’ theorem to express this idea in algebra [see the diagram] and when we do so we get the equation of a basic circle: x2+y2=12x^2 + y^2 = 1^2. Any (x,y)(x, y) satisfying this equation is on the circle and any (x,y)(x, y) not satisfying this equation is not on the circle.43^{43}

The circle x² + y² = 1 centred at the origin. A radius of length 1 runs from the origin to a point on the circle, forming a right-angled triangle with horizontal side x along the x-axis and vertical side y.

What about taking the same circle and making the radius bigger? If the radius is rr then we see from Pythagoras’ Theorem [and the diagram below] that the equation of this circle must be x2+y2=r2x^2 + y^2 = r^2

The circle x² + y² = r² centred at the origin. A radius r runs from the origin to a point on the circle, forming a right-angled triangle with horizontal side x along the x-axis and vertical side y.

What if we want the centre of the circle to be somewhere else on the xyxy-plane? We will find the equation of the circle in that case in one of two ways: we either using Pythagoras’ or using graph shifting:

Let’s find the general equation of a circle of radius with its rr centre at the point (a,b)(a, b):

Pythagoras’ tells us that all the (x,y)(x, y) values that are a distance rr from (a,b)(a, b) will sit on the circle. So, we can use some geometry to work out the equation of the circle [see the diagram too] and we get

(x−a)2+(y−b)2=r2(x - a)^2 + (y - b)^2 = r^2
On x and y axes, the circle (x − a)² + (y − b)² = r² with centre (a, b). A radius r runs from (a, b) to the point (x, y) on the circle, forming a right-angled triangle with horizontal side x − a and vertical side y − b.

Or we can start with the circle of radius rr centred at the origin which has equation x2+y2=r2x^2 + y^2 = r^2 and shift it horizontally by aa and vertically by bb [so it moves to have a centre at the point (a,b)(a, b) and using standard graph shifting. Doing this, we get the equation:

x2+y2=r2→(x−a)2+(y−b)2=r2x^2 + y^2 = r^2 \qquad \to \qquad (x - a)^2 + (y - b)^2 = r^2

You should be able to identify [very quickly] the radius and the centre of any circle equation you are given. For example, the circle with equation (x−2)2+(y−3)2=25(x - 2)^2 + (y - 3)^2 = 25 has its centre at (2,3)(2, 3) and its radius is 5 [because 52=255^2 = 25, and be very careful not to say its radius is 25 !!] . The circle (x−2)2+(y+4)2=18(x - 2)^2 + (y + 4)^2 = 18 has its centre at (2,−4)(2, -4) and a radius of 18=32\sqrt{18} = 3\sqrt{2}

There are other ways of writing the equation of a circle and you should learn to recognise them and be able to work out both the radius and centre of a circle given its equation. The most common alternative form of a circle is x2+y2+ax+by+c=0x^2 + y^2 + ax + by + c = 0. We will look at a few examples and use “completing the square” to find the centre and radius:

Example 1

Find the centre and radius of x2+y2+4x+2y−12=0x^2 + y^2 + 4x + 2y - 12 = 0

We collect the xx terms together and the yy terms together:

x2+4x+y2+2y−12=0x^2 + 4x + y^2 + 2y - 12 = 0

And then complete the square for the xx terms and also for the yy terms:

x2+4x+y2+2y−12=(x+2)2−4+(y+1)2−1−12=0x^2 + 4x + y^2 + 2y - 12 = (x + 2)^2 - 4 + (y + 1)^2 - 1 - 12 = 0

And rearranging gives us our standard equation:

(x+2)2+(y+1)2=17(x + 2)^2 + (y + 1)^2 = 17

So, the centre is at (−2,−1)(-2, -1) and the radius is 17\sqrt{17}

Example 2

Find the centre and radius of x2+y2−4x−6y+20=0x^2 + y^2 - 4x - 6y + 20 = 0

We go through the same process as above – collect terms and complete the square to give:

(x−2)2−4+(y−3)2−9+20=0(x - 2)^2 - 4 + (y - 3)^2 - 9 + 20 = 0

Which rearranges to give

(x−2)2+(y−3)2=−7(x - 2)^2 + (y - 3)^2 = -7

OH NO !!!!!

A moment’s thought shows something has gone wrong. The left-hand side is the sum of squares so must always be ≥0\geq 0 but the right-hand side is negative. Well, it turns out that there are no real xx and yy values that make this equation true and so it is not the equation of a circle. The lesson to learn here is that not every equation of the form x2+y2+ax+by+c=0x^2 + y^2 + ax + by + c = 0 is the equation of a circle. You should be able to work out what extra condition we need to place on aa,bb and cc to ensure that the equation x2+y2+ax+by+c=0x^2 + y^2 + ax + by + c = 0 is a circle.

Example 3

Find the centre and radius of 2x2+2y2−4x−8y−19=02x^2 + 2y^2 - 4x - 8y - 19 = 0

Well initially this doesn’t look exactly like x2+y2+ax+by+c=0x^2 + y^2 + ax + by + c = 0. But we can easily divide by 2 to get x2+y2−2x−4y−192=0x^2 + y^2 - 2x - 4y - \frac{19}{2} = 0 and then proceed as before to get :

(x−1)2−1+(y−2)2−4−192=(x−1)2+(y−2)2=292(x - 1)^2 - 1 + (y - 2)^2 - 4 - \frac{19}{2} = (x - 1)^2 + (y - 2)^2 = \frac{29}{2}

Which has centre at (1,2)(1,2) and a radius of 292\sqrt{\frac{29}{2}}

Exercise

Why are the following not equations of circles?

2x2+3y2−4x−8y−19=02x^2 + 3y^2 - 4x - 8y - 19 = 0 2x2−2y2−4x−8y−19=02x^2 - 2y^2 - 4x - 8y - 19 = 0 x2+2y+5=y2+4x+7x^2 + 2y + 5 = y^2 + 4x + 7

Given the equation px2+qy2+ax+by+c=0px^2 + qy^2 + ax + by + c = 0 what conditions on pp, qq, aa ,bb and cc will make it an equation of a circle? [this is slightly tricker than it appears – be careful and think of what different cases there might be …]

Finally, we will look at a couple of scenarios involving circles that you should be able to deal with. We will do this by working through a couple of examples.

Example 1

When is a line tangent to a circle?

Find the values of cc for which y=2x+cy = 2x + c is tangent to the circle with equation (x−3)2+(y−2)2=9(x - 3)^2 + (y - 2)^2 = 9

This can be solved algebraically [or geometrically with some careful work] but it is good to sketch a picture to start with to get an idea of why the question asks for values [not just value] and to get a very rough idea of what these values might be. Here is a sketch:

Sketch on x and y axes of the circle (x − 3)² + (y − 2)² = 9, with its centre marked by dashed lines to 3 on the x-axis and 2 on the y-axis, and two parallel lines of positive gradient, one touching the circle on its upper left and one touching it on its lower right.

Now we can start to think about how we should approach this. In simple terms, if a line is tangent to a circle, then it intersects it at only one point. So, if we try to solve the equation of the line and the circle simultaneously, we will need to look for the case that has only one solution. If you think about it for a moment, the number of ways a line can intersect a circle can be twice, or once, or not at all. And when you try to solve the equation of a line simultaneously with the equation of a circle, you will get a quadratic in xx [or in yy ]. So, putting all this together suggests we try to solve simultaneously and then use the discriminant condition to work out the values of cc that gives one [repeated] root of the quadratic we obtain [think why we expect the discriminant to be 0 for two different values of cc].

Let’s do that for this question: substitute y=2x+cy = 2x + c into (x−3)2+(y−2)2=9(x - 3)^2 + (y - 2)^2 = 9 to give (x−3)2+(2x+c−2)2=9(x - 3)^2 + (2x + c - 2)^2 = 9 and multiplying out we get

x2−6x+9+4x2+4(c−2)x+(c−2)2=9x^2 - 6x + 9 + 4x^2 + 4(c - 2)x + (c - 2)^2 = 9

Rearranging

5x2+2(2c−7)x+(c−2)2=05x^2 + 2(2c - 7)x + (c - 2)^2 = 0

And we want this to have one repeated root, so the discriminant condition requires

4(2c−7)2−20(c−2)2=04(2c - 7)^2 - 20(c - 2)^2 = 0

Which then gives

2c−7=±5 (c−2)2c - 7 = \pm\sqrt{5}\,(c - 2)

And from this you can work out the two cc values – you can see we have two lines in the diagram above, one for reach of the cc values we found.

Example 2

What is the closest distance between a line and a circle?

Find the closest distance between the line y=x+11y = x + 11 and the circle (x+2)2+(y−3)2=9(x + 2)^2 + (y - 3)^2 = 9

There are lots of ways to approach this question. We are going to use a mix of algebra and geometry. The first thing we are going to do [which is not necessary but just makes things easier to deal with] is to translate the circle so its centre is at the origin and then translate the line the same way [convince yourself that this does not change the answer]. We are going to replace xx by x−2x - 2 and yy by y+3y + 3 in both equations to give

y+3=x−2+11y + 3 = x - 2 + 11 and (x−2+2)2+(y+3−3)2=9(x - 2 + 2)^2 + (y + 3 - 3)^2 = 9

Which simplify to

y=x+6y = x + 6 and x2+y2=32x^2 + y^2 = 3^2

We can sketch these and then use some [simple] geometry to find the shortest distance between the line and the circle:

Sketch on x and y axes of the circle x² + y² = 9 centred at P (0, 0) and the line y = x + 6, which crosses the x-axis at −6 and the y-axis at 6. A segment runs from P (0, 0) perpendicular to the line, meeting it at Q (−3, 3).

From this diagram we can see that the line between (0,0)(0,0) and Q(−3,3)Q(-3,3) will help us find the length that we seek. The length of the line between (0,0)(0,0) and Q(−3,3)Q(-3,3) is 323\sqrt{2} [it is 32+32\sqrt{3^2 + 3^2}] and the length of the radius we know is 3. So, the distance from the line to the circle [which is the value we seek] must be 32−33\sqrt{2} - 3

Exercise

For example 2, can you find other ways of finding the length required44^{44}?

How would you solve the problem if the equation of the line had a different gradient – e.g., find the shortest length between the line y=2x+15y = 2x + 15 and the circle (x+2)2+(y−3)2=9(x + 2)^2 + (y - 3)^2 = 9. Try to solve it using a number of different methods. Which method do you think is best?

  1. 43

    As an aside, we can say all points inside the circle satisfy x2+y2<12x^2 + y^2 < 1^2, and all points outside the circle satisfy x2+y2>12x^2 + y^2 > 1^2

  2. 44

    For instance: there is a formula for the shortest length of a point from a line. You could find the distance of the centre of the circle from the line and then subtract the radius length from the result. If you choose to take this approach, make sure you can prove and fully understand the equation that gives the shortest length between a point and a line. We do NOT expect you to know this formula in the TMUA/ESAT. You could also alter the problem in other ways using algebra: for instance, you could ask what rr value makes y=x+6y = x + 6 a tangent to the circle x2+y2=r2x^2 + y^2 = r^2 and then the answer to the question would be r−3r - 3. Can you see why this would work?

Source: Notes on Mathematics for TMUA Paper 1 and ESAT Mathematics 2 (June 2026), pages 69–76

MM3.3

Use of the following circle properties:

The perpendicular from the centre to a chord bisects the chord;

The tangent at any point on a circle is perpendicular to the radius at that point;

The angle subtended by an arc at the centre of a circle is twice the angle subtended by the arc at any point on the circumference;

The angle in a semicircle is a right angle;

Angles in the same segment are equal;

The opposite angles in a cyclic quadrilateral add to 180∘180^{\circ};

The angle between the tangent and chord at the point of contact is equal to the angle in the alternate segment.

You will notice that we have included these circle theorems twice in the TMUA/ESAT specification. They appear both in the M section and also in the MM section. We have included them twice deliberately. We occasionally ask questions on circle theorems in the TMUA/ESAT and we are aware they are a topic that is often covered [perhaps briefly] in introductory maths classes and then forgotten. We do not want you to encounter a TMUA/ESAT question on circle theorems and then realise you cannot answer it because you have forgotten them. And so, we have included them twice – in the M section because they appear in introductory maths classes – and in the MM section to remind you to review your knowledge of the theorems.

We expect you to know and be able to use all the theorems we list. You should also think about the converse45^{45} of some of the theorems. Whilst we don’t expect you to know the proofs of the theorem, you really should make sure you can prove each theorem and that you have a deep understanding of the proof [i.e., you must not try to learn the proof, rather you need to understand what is going on – what are your assumptions, how does the proof work, what geometry is being used etc., etc.].

There are all sorts of techniques you can use when tackling question that link to circle theorems. Here is a list of some techniques you should be comfortable using

  1. Angle chasing – filling in all the angles you can using the theorems above and by looking for isosceles triangles [often made up of two radii] or right angles triangles [in the semicircle].

  2. Rotating the diagram – this can often help you get insights into the question.

  3. Adding lines – sometimes adding a tangent or diameter or some other line [e.g., a chord] helps you to find the solution.

  4. Using dynamic methods – learning to move points around on your diagram in a way that does not affect the solution but makes the question easier to solve.

We would recommend you find a site online that helps you play around with circle theorems. We do not endorse any sites [so this is not an endorsement!] but we found Circle theorems very useful, especially for dynamic methods.

  1. 45

    See the Notes on Logic and Proof

Source: Notes on Mathematics for TMUA Paper 1 and ESAT Mathematics 2 (June 2026), pages 77–78