Salick Academy

Straight Lines and Circles

45 min readNo calculatorNeeds: quadratic functions and equations
By the end of this topic you should be able to
  • Find the distance between two points and the midpoint of a line segment
  • Use gradients to test whether lines are parallel or perpendicular
  • Find the equation of a straight line
  • Find the centre and radius of a circle from either form of its equation
  • Find the equation of a circle from given information
  • Find the equation of a tangent to a circle
  • Determine whether a line meets a circle

Points and distances

Both of these come straight from a right-angled triangle drawn between the two points.

The midpoint is just the average of the coordinates. The distance is Pythagoras.

Gradients, parallel and perpendicular

m=y2y1x2x1m = \frac{y_2 - y_1}{x_2 - x_1}

Negative reciprocal means two changes, not one: flip the fraction and change the sign. The perpendicular to a line of gradient 3 has gradient 13-\tfrac13, not 3, not 3-3, and not 13\tfrac13.

The equation of a straight line

Given a gradient and any point on the line:

yy1=m(xx1)y - y_1 = m(x - x_1)

Given two points, find mm first, then use either point — both give the same line.

The equation of a circle

Read the signs carefully: centre (2,3)(2, -3) gives (x2)2+(y+3)2(x-2)^2 + (y+3)^2, because subtracting 3-3 is adding 3. And the right-hand side is r2r^2, not rr.

To build the equation you need the centre and the radius. If you are given the centre and a point on the circle, the radius is the distance between them — and since you only ever need r2r^2, you can stop before taking the square root.

The general form

Expanding the equation above and collecting terms gives the other form you will meet:

x2+y2+2gx+2fy+c=0x^2 + y^2 + 2gx + 2fy + c = 0

The coefficients of xx and yy are 2g2g and 2f2f, so halve them and change the sign to get the centre. For x2+y26x+4y12=0x^2 + y^2 - 6x + 4y - 12 = 0: half of 6-6 is 3-3, so g=3g = -3 and the xx-coordinate of the centre is +3+3. Similarly f=2f = 2 gives 2-2. The centre is (3,2)(3, -2) and the radius is 9+4+12=5\sqrt{9 + 4 + 12} = 5.

You can also complete the square in xx and in yy to convert one form into the other, which is worth practising because it explains where the formula comes from.

Tangents to a circle

The key geometric fact:

So to find the tangent at a point PP on a circle with centre CC:

  1. Find the gradient of CPCP.
  2. Take its negative reciprocal — that is the gradient of the tangent.
  3. Use yy1=m(xx1)y - y_1 = m(x - x_1) with the point PP.

Does a line meet a circle?

Substitute the line into the circle to eliminate one variable. You are left with a quadratic, and its discriminant answers the question:

  • Δ>0\Delta > 0 — the line cuts the circle at two points;
  • Δ=0\Delta = 0 — the line is a tangent;
  • Δ<0\Delta < 0 — the line misses the circle entirely.

This is the same discriminant test used for a line and a parabola. "Show that the line is a tangent to the circle" always means "show the discriminant is zero", and the repeated root it gives you is the xx-coordinate of the point of contact.