40% off

Early-bird ends 15 Aug, 9am

Lock in £90

Coordinate Geometry of Lines and Circles

Updated August 2025

Coordinate geometry bridges algebra and geometry by representing shapes with equations on a two dimensional plane. For the TMUA, you must be proficient in manipulating the equations of straight lines and circles to find intersections, tangents, and shortest distances. Mastery of completing the square is essential for identifying circle properties.

Core concept

The relationship between algebraic equations and geometric shapes in the xyxy plane, where every point (x,y)(x, y) on a curve satisfies its specific equation, such as y=mx+cy = mx + c for lines and (xa)2+(yb)2=r2(x - a)^2 + (y - b)^2 = r^2 for circles.

Straight Lines in the xyxy Plane

The equation of a straight line can be expressed in several forms. The most familiar is y=mx+cy = mx + c, where mm is the gradient and cc is the yy intercept. For the TMUA, you must also be fluent with yy1=m(xx1)y - y_1 = m(x - x_1), which describes a line with gradient mm passing through point (x1,y1)(x_1, y_1), and the general form ax+by+c=0ax + by + c = 0.

Understanding the Gradient

The gradient mm measures the steepness or the rate of change of yy with respect to xx. It tells us how much yy changes for every 1 unit increase in xx.

img-17.jpeg

img-18.jpeg

Geometrically, the gradient is the tangent of the angle θ\theta that the line makes with the positive xx axis, assuming identical scales on both axes (m=tanθm = \tan \theta). For instance, a line at 4545^\circ has a gradient of tan45=1\tan 45^\circ = 1.

img-19.jpeg

img-20.jpeg

Parallel and Perpendicular Lines

Two lines y=m1x+c1y = m_1x + c_1 and y=m2x+c2y = m_2x + c_2 are parallel if and only if they have the same steepness, meaning m1=m2m_1 = m_2. They are perpendicular if and only if the product of their gradients is 1-1, or m1m2=1m_1 m_2 = -1. This relationship excludes vertical and horizontal lines, which should be treated as special cases (x=kx = k and y=ky = k respectively).

img-21.jpeg

The Coordinate Geometry of the Circle

A circle is the set of all points (x,y)(x, y) at a fixed distance rr (the radius) from a central point (a,b)(a, b). Using Pythagoras theorem, we can derive the standard equation of a circle.

img-22.jpeg

For a circle centred at the origin (0,0)(0, 0) with radius rr, the equation is x2+y2=r2x^2 + y^2 = r^2.

img-23.jpeg

When the centre is shifted to (a,b)(a, b), the equation becomes (xa)2+(yb)2=r2(x - a)^2 + (y - b)^2 = r^2.

img-24.jpeg

Converting Between Forms

Circles may also appear in the form x2+y2+cx+dy+e=0x^2 + y^2 + cx + dy + e = 0. To find the centre and radius, you must complete the square for both xx and yy terms.

Example 1: Find the centre and radius of x2+y2+4x+2y12=0x^2 + y^2 + 4x + 2y - 12 = 0.

First, group the terms: (x2+4x)+(y2+2y)12=0(x^2 + 4x) + (y^2 + 2y) - 12 = 0. Completing the square: (x+2)24+(y+1)2112=0(x + 2)^2 - 4 + (y + 1)^2 - 1 - 12 = 0. Rearranging: (x+2)2+(y+1)2=17(x + 2)^2 + (y + 1)^2 = 17. The centre is (2,1)(-2, -1) and the radius is 17\sqrt{17}.

Example 2: Not every equation of this form is a circle. Consider x2+y24x6y+20=0x^2 + y^2 - 4x - 6y + 20 = 0. Completing the square: (x2)24+(y3)29+20=0(x - 2)^2 - 4 + (y - 3)^2 - 9 + 20 = 0, which gives (x2)2+(y3)2=7(x - 2)^2 + (y - 3)^2 = -7. Since a sum of squares cannot be negative in the real number system, no points satisfy this equation. It is not a circle.

Example 3: For 2x2+2y24x8y19=02x^2 + 2y^2 - 4x - 8y - 19 = 0, first divide by 2 to get x2+y22x4y192=0x^2 + y^2 - 2x - 4y - \frac{19}{2} = 0. Then complete the square to find the centre (1,2)(1, 2) and radius 292\sqrt{\frac{29}{2}}.

Problems Involving Lines and Circles

Tangency and Intersections

A line can intersect a circle twice, touch it once (as a tangent), or not at all. To find these points, solve the equations simultaneously. This will lead to a quadratic equation. The discriminant Δ=b24ac\Delta = b^2 - 4ac determines the nature of the intersection:

  1. Δ>0\Delta > 0: Two distinct intersections.
  2. Δ=0\Delta = 0: One repeated root. The line is a tangent.
  3. Δ<0\Delta < 0: No real intersections.

Worked Example: Find the values of cc for which y=2x+cy = 2x + c is tangent to (x3)2+(y2)2=9(x - 3)^2 + (y - 2)^2 = 9.

img-25.jpeg

Substitute y=2x+cy = 2x + c into the circle equation: (x3)2+(2x+c2)2=9(x - 3)^2 + (2x + c - 2)^2 = 9. Expanding: x26x+9+4x2+4(c2)x+(c2)2=9x^2 - 6x + 9 + 4x^2 + 4(c - 2)x + (c - 2)^2 = 9. Simplifying: 5x2+2(c7)x+(c2)2=05x^2 + 2(c - 7)x + (c - 2)^2 = 0. Setting the discriminant to zero: 4(c7)220(c2)2=04(c - 7)^2 - 20(c - 2)^2 = 0. Dividing by 4 and rearranging: (c7)2=5(c2)2(c - 7)^2 = 5(c - 2)^2. Taking the square root: c7=±5(c2)c - 7 = \pm \sqrt{5}(c - 2). Solving for cc gives the two tangent positions.

Shortest Distance

To find the closest distance between a line and a circle, calculate the distance from the centre of the circle to the line and then subtract the radius.

Worked Example: Find the closest distance between the line y=x+11y = x + 11 and the circle (x+2)2+(y3)2=9(x + 2)^2 + (y - 3)^2 = 9.

One method is to translate both. Shift the circle centre to (0,0)(0, 0) by replacing xx with x2x - 2 and yy with y+3y + 3. The line becomes y+3=(x2)+11y + 3 = (x - 2) + 11, or y=x+6y = x + 6. The circle is x2+y2=32x^2 + y^2 = 3^2.

img-26.jpeg

The distance from (0,0)(0, 0) to the point Q(3,3)Q(-3, 3) on the line is (3)2+32=32\sqrt{(-3)^2 + 3^2} = 3\sqrt{2}. Since the radius is 3, the shortest distance is 3233\sqrt{2} - 3.

Geometric Circle Properties

You should be able to apply standard circle theorems within the coordinate plane:

  1. The perpendicular from the centre to a chord bisects the chord.
  2. The tangent at any point is perpendicular to the radius at that point.
  3. The angle subtended by an arc at the centre is twice the angle at the circumference.
  4. The angle in a semicircle is a right angle.
  5. Angles in the same segment are equal.
  6. Opposite angles in a cyclic quadrilateral add to 180180^\circ.
  7. The alternate segment theorem: the angle between a tangent and a chord equals the angle in the alternate segment.

Key takeaways

  • The product of the gradients of two perpendicular lines is m1m2=1m_1 m_2 = -1.
  • A circle with centre (a,b)(a, b) and radius rr has the equation (xa)2+(yb)2=r2(x - a)^2 + (y - b)^2 = r^2.
  • To identify the centre and radius from a general quadratic equation, you must complete the square for both xx and yy variables.
  • A line is tangent to a circle if the discriminant of the resulting quadratic equation is zero when solved simultaneously.
  • The shortest distance between a line and a circle is found by calculating the distance from the centre to the line and subtracting the radius.
Tips

When finding the equation of a line passing through a specific point, use the yy1=m(xx1)y - y_1 = m(x - x_1) form. It is often faster and less prone to calculation errors than solving for cc in y=mx+cy = mx + c.

Cautions

A common mistake is forgetting that the radius rr is the square root of the constant on the right hand side of the standard circle equation. If (x2)2+(y3)2=25(x - 2)^2 + (y - 3)^2 = 25, the radius is 5, not 25.

Insight

The relationship m=tanθm = \tan \theta connects coordinate geometry to trigonometry. This is why the product of perpendicular gradients is 1-1: since the lines are 9090^\circ apart, their gradients are tanθ\tan \theta and tan(θ+90)=cotθ=1tanθ\tan(\theta + 90^\circ) = -\cot \theta = -\frac{1}{\tan \theta}.

Worked Examples

Example 1
The circles with equations
(x+4)2+(y+1)2=64(x + 4)^2 + (y + 1)^2 = 64 and
(x8)2+(y4)2=r2(x - 8)^2 + (y - 4)^2 = r^2 where r>0r>0
have exactly one point in common. Find the difference between the two possible values of
rr.
A:4
B:10
C:16
D:26
E:50

Practice Questions

Practice Question 1
PQRSPQRS is a rectangle.
The coordinates of
PP and QQ are (0,6)(0, 6) and (1,8)(1, 8) respectively.
The perpendicular to
PQPQ at QQ meets the xx-axis at RR.
What is the area of
PQRSPQRS?
A:52\frac{5}{2}
B:4104\sqrt{10}
C:20
D:8108\sqrt{10}
E:40

Frequently asked questions

How do I know if an equation represents a real circle?

After completing the square, the equation must be in the form (xa)2+(yb)2=K(x - a)^2 + (y - b)^2 = K. For a real circle to exist, KK must be positive because K=r2K = r^2 and the radius rr must be a real number.

Does the cc in ax+by+c=0ax + by + c = 0 mean the same thing as in y=mx+cy = mx + c?

No. In y=mx+cy = mx + c, cc is the yy intercept. In the general form ax+by+c=0ax + by + c = 0, the yy intercept is actually cb-\frac{c}{b}. Always check which form you are using.

How do I find the gradient between two points?

The gradient mm is calculated as the change in yy divided by the change in xx, or m=y2y1x2x1m = \frac{y_2 - y_1}{x_2 - x_1}. Be careful to keep the order of coordinates consistent in both the numerator and denominator.

Ready to test your knowledge?

You've reached the end of this section. Start a practice session to solidify your understanding and master this topic.

Coordinate Geometry of Lines and Circles | tmua.fyi