# Intersection of a Line and a Circle (Part 1)

This lesson will talk about the intersection of a line and a circle. Due to its length, I’ll divide the lesson into three parts. The first one will discuss about the position of a line with respect to a circle. The second one will derive a small expression to obtain the length of a chord intercepted by a circle on a line. Finally, the last part will move on to the conditions for a line to become a tangent to a circle.

Okay, let’s draw some lines and circles.

Consider the circle: x2 + y2 = a2, and the line: y = mx + c.

What will determine whether this line will intersect the circle at two distinct points, touch the circle at one point or will not intersect the circle in any point? Have a look at the following figure to get an idea.

Got any idea? Well, there are two ways to think about it.

First, if I try to ‘solve’ the given two equations in two unknowns, I get a quadratic equation in ‘x’, which looks like this: (1 + m2)x2 + 2cmx + c2 – a2­ = 0. What do the roots of this quadratic (say x1 and x2) signify geometrically?

Now if you recall, when we were talking about equations in general, the ‘x’ and the ‘y’ in equations represent respectively the ‘x’ and the ‘y’ coordinates of all points on the curve. Therefore, the roots of the previous equation will represent the ‘x’ coordinates of the points of intersections of the line and the circle.

In fact, by solving any two equations in coordinate geometry, we obtain the x (or y) coordinates of the points of intersections of the two curves represented by the equations.

As of now, I’m not interested in the roots themselves, but their nature. Now here’s the link – If we obtain two distinct real roots, then the line will intersect the circle at two distinct points. If we obtain two coincident roots, then the line is touching the circle at only one point (i.e. two coincident points). Finally, if we do not obtain any real roots from the formed equation, the line will not touch or intersect the circle.

And how will you determine that? The nature of roots of a quadratic equation is linked to its discriminant. So all we need to do is find the discriminant of the quadratic equation, and check its sign. Positive means intersection at two distinct points, zero implies tangency, and a negative sign would mean the line doesn’t intersect or touch the circle.

Here’s a figure to summarize what I just said.

The exact same method would be valid for determining the position of a line in case of other conic sections i.e. Parabola, Ellipse and Hyperbola as well.

But in the case of circles, geometrical properties will make things a bit easier. Here’s how.

To determine the position of a line with respect to a circle, all we need to do is find its distance from the center of the circle, and compare it with its radius. If the distance is less than the radius, the line must intersect the circle at two distinct points. If it is equal to the radius, then the line will touch the circle, and if the distance is greater than the radius, the line will lie completely outside the circle. Another figure to illustrate the verbiage!

This was simpler to understand, compared to the complicated quadratic equation.

## Lesson Summary

1. Let d be the distance of a given line from the centre of a circle, whose radius is r.
d < r – The line cuts the circle at two distinct points.
d = r – The line touches the circle at one point.
d > r – The line does not intersect/touch the circle.

I’ll continue with a few related examples in the next lesson, before moving on to the second part.