Lesson Explainer: Intersections of Circles and Lines | Nagwa Lesson Explainer: Intersections of Circles and Lines | Nagwa

Lesson Explainer: Intersections of Circles and Lines Mathematics

Join Nagwa Classes

Attend live Mathematics sessions on Nagwa Classes to learn more about this topic from an expert teacher!

In this explainer, we will learn how to find points of intersection of circles and lines.

Suppose we have a circle and a line in the plane. There are three possibilities.

Either the line cuts through the circle, intersecting it in two points; or the line misses the circle, not intersecting it at all; or the line is tangent to the circle, intersecting it in one point.

Recall that the equation of a straight line may be given in the form 𝑦=𝑚𝑥+𝑏, where 𝑚 is the line’s slope and 𝑏 its 𝑦-intercept, and that the equation of a circle may be given in standard form (𝑥)+(𝑦𝑘)=𝑟, where (,𝑘) is the center of the circle and 𝑟 its radius, or in general form 𝑥+𝑦+𝐷𝑥+𝐸𝑦+𝐹=0, with constants 𝐷, 𝐸, and 𝐹.

If the line and the circle intersect at a point 𝑃, then the coordinates of 𝑃 simultaneously solve the equations of both the line and the circle. This means that we can substitute “𝑚𝑥+𝑏” for 𝑦 in the circle equation to calculate the coordinates of the point of intersection 𝑃. The result of this substitution is to eliminate 𝑦 from the circle equation, leaving us with a quadratic equation in 𝑥: 𝐴𝑥+𝐵𝑥+𝐶=0.

The roots of this quadratic equation are precisely the 𝑥-coordinates of the intersection points of the line with the circle. The number of roots a quadratic equation has over the real numbers is controlled by its discriminant Δ=𝐵4𝐴𝐶.

Thus, the number of times a given straight line intersects a circle can be read off from the discriminant of the associated quadratic. When Δ>0, the line intersects the circle twice; when Δ=0, the line intersects the circle once (i.e., it is tangent to the circle); and when Δ<0, the line and the circle are disjoint.

Example 1: Determining How Many Times a Line Intersects a Circle

Consider the circle (𝑥5)+(𝑦+2)=8 and the lines 𝐿𝑦=𝑥1 and 𝐿𝑦=𝑥7. How, if at all, do 𝐿 and 𝐿 intersect the circle?

Answer

To work out how a line 𝑦=𝑚𝑥+𝑏 intersects a circle (𝑥)+(𝑦𝑘)=𝑟, we proceed as follows:

  1. Substitute 𝑚𝑥+𝑏 into (𝑥)+(𝑦𝑘)=𝑟, eliminating 𝑦.
  2. This results in a quadratic equation in 𝑥, 𝐴𝑥+𝐵𝑥+𝑐=0. Calculate the discriminant of this quadratic, Δ=𝐵4𝐴𝐶.
  3. If Δ>0, then the line intersects the circle in two points. If Δ=0, then the line is tangent to the circle. If Δ<0, then the line and the circle are disjoint.

We will deal with the two lines one at a time. First, we substitute 𝐿𝑦=𝑥1 into (𝑥5)+(𝑦+2)=8: (𝑥5)+(𝑦+2)=8(𝑥5)+(𝑥1+2)=8𝑥10𝑥+25+𝑥2𝑥+1=82𝑥12𝑥+18=0.

We now compute the discriminant of the resulting quadratic: Δ=𝐵4𝐴𝐶=(12)4×2×18=144144=0, which tells us that the line meets the circle in one point, or, in other words, 𝐿 is tangent to (𝑥5)+(𝑦+2)=8.

Now, for 𝐿𝑦=𝑥7, we follow exactly the same procedure. First, we substitute: (𝑥5)+(𝑦+2)=8(𝑥5)+(𝑥7+2)=8𝑥10𝑥+25+𝑥10𝑥+25=82𝑥20𝑥+42=0.

Then, we check the discriminant: Δ=𝐵4𝐴𝐶=(20)4×2×42=400336=64.

The positive discriminant tells us that the quadratic has two real roots and that the line 𝐿 intersects the circle in two distinct points.

So, to answer the question, 𝐿 is tangent to the circle, while 𝐿 intersects it in two points.

Now that we know how to work out if and how many times a line intersects a circle, let us turn our attention to calculating the coordinates of the intersection points.

Given the equation of a circle (𝑥)+(𝑦𝑘)=𝑟 and the equation of a line 𝑦=𝑚𝑥+𝑏, we proceed as before by substituting 𝑚𝑥+𝑏 in for 𝑦 (or 𝑦𝑏𝑚 for 𝑥; the result will be the same) in the equation of the circle to obtain a quadratic equation in 𝑥. This time, however, instead of computing the discriminant of the quadratic, we are going to solve it in order to get the 𝑥-coordinates of the intersection points of the line and the circle. We can then substitute these 𝑥-coordinates back into the equation of the line to get the 𝑦-coordinates of the intersection points.

Example 2: Finding the Coordinates of the Points Where a Line Intersects a Circle given in Standard Form

Find the coordinates of the points where the circle (𝑥+2)+(𝑦4)=5 meets the line 𝑦=2𝑥+4.

Answer

The first step is to substitute 𝑦=2𝑥+4 into (𝑥+2)+(𝑦4)=5 to obtain a quadratic equation in 𝑥: (𝑥+2)+(𝑦4)=5(𝑥+2)+(2𝑥+44)=5𝑥+4𝑥+4+(2𝑥)=55𝑥+4𝑥1=0.

We now solve this quadratic to find the 𝑥-coordinates of the intersection points of the line and the circle. In this example, the quadratic expression 5𝑥+4𝑥1 factors immediately, as 5𝑥+4𝑥1=5𝑥+5𝑥𝑥1=5𝑥(𝑥+1)(𝑥+1)=(5𝑥1)(𝑥+1).

Thus, (5𝑥1)(𝑥+1)=0 gives us 𝑥-coordinates of 𝑥=15 and 𝑥=1. We can now substitute these values back into the linear equation 𝑦=2𝑥+4 to find the corresponding 𝑦-coordinates 𝑦=2𝑥+4𝑦=2×15+4𝑦=185 and 𝑦=2𝑥+4𝑦=2×(1)+4𝑦=6.

Therefore, the coordinates of the intersection points of the circle (𝑥+2)+(𝑦4)=5 and the line 𝑦=2𝑥+4 are 15,185 and (1,6).

The final step of the previous example was to substitute the 𝑥-coordinates of the intersection points back into the linear equation 𝑦=2𝑥+4 to find the corresponding 𝑦-coordinates. You might like to think about what happens if we instead substitute into the equation of the circle (𝑥+2)+(𝑦4)=5 and why.

The previous example dealt with finding the intersection points of a line and a circle given in standard form. Let us now look at an example when the circle is given in general form.

Example 3: Finding the Coordinates of the Points Where a Line Intersects a Circle given in General Form

Find the coordinates of the points where the circle 𝑥+𝑦+2𝑥2𝑦3=0 meets the line 𝑦=12𝑥+32.

Answer

The method for finding the intersection points of a line 𝑦=𝑥𝑚+𝑏 and a circle given in general form is as follows:

  1. Substitute 𝑚𝑥+𝑏 for 𝑦 in the equation of the circle, here 𝑥+𝑦+2𝑥2𝑦3=0.
  2. This results in a quadratic equation in 𝑥, 𝐴𝑥+𝐵𝑥+𝑐=0. The solutions to this quadratic equation are the 𝑥-coordinates of the points where the line and the circle intersect.
  3. Having calculated the 𝑥-coordinates, we substitute these values back into the equation of the line to find the corresponding 𝑦-coordinates.

So, we begin by substituting 𝑦=12𝑥+32 into the circle equation 𝑥+𝑦+2𝑥2𝑦3=0: 𝑥+𝑦+2𝑥2𝑦3=0𝑥+12𝑥+32+2𝑥212𝑥+323=0.

Now, we expand and simplify: 𝑥+12𝑥+32+2𝑥212𝑥+323=0𝑥+14𝑥+2×32×12𝑥+32+2𝑥2×12𝑥2×323=054𝑥+52𝑥154=054𝑥+2𝑥3=0.

We can solve the resulting quadratic equation to find the 𝑥-coordinates of the intersection points of the line and the circle. In this example, the quadratic 54𝑥+2𝑥3=0 factorizes as 54(𝑥1)(𝑥+3)=0, giving us the 𝑥-coordinates of 𝑥=1 and 𝑥=3. Finally, we substitute these values back into the linear equation 𝑦=12𝑥+32 to find the 𝑦-coordinates of the intersection points: 𝑦=12𝑥+32𝑦=12×1+32𝑦=2 and 𝑦=12𝑥+32𝑦=12×(3)+32𝑦=0.

Therefore, the coordinates of the points of intersection of the circle 𝑥+𝑦+2𝑥2𝑦3=0 and the line 𝑦=12𝑥+32 are (1,2) and (3,0).

We will now use what we have learned about intersections of lines and circles to solve problems involving unknown constants in circle and line equations.

Example 4: Finding the Possible Unknowns in the Equation of a Circle given a Line that Touches it at a Given Point

The line 𝑦+2𝑥=5 is tangent to the circle (𝑥𝑝)+(𝑦2)=5, where 𝑝 is a constant. Work out the two possible values of 𝑝.

Answer

Since we are given that the line 𝑦+2𝑥=5 is tangent to the circle (𝑥𝑝)+(𝑦2)=5, we know that there exists a point at which the line and the circle meet; in particular, at this point, the value of 𝑦 in the equation of the line will be equal to the value of 𝑦 in the equation of the circle. That is to say, it is valid to substitute an expression for 𝑦 derived from the equation of the line into the equation of the circle. In order to do this, we first make 𝑦 the subject of 𝑦+2𝑥=5: 𝑦+2𝑥=5𝑦=2𝑥+5.

Now, we can substitute and simplify: (𝑥𝑝)+(𝑦2)=5(𝑥𝑝)+(2𝑥+52)=5𝑥2𝑝𝑥+𝑝+4𝑥12𝑥+9=55𝑥(12+2𝑝)𝑥+𝑝+4=0.

The roots of the resulting quadratic 5𝑥(12+2𝑝)𝑥+𝑝+4=0 are the 𝑥-coordinates of the intersection points of the line 𝑦+2𝑥=5 and the circle (𝑥𝑝)+(𝑦2)=5. However, we are told that this line is tangent to the circle; that is to say, it meets the circle in exactly one point. Therefore, the quadratic 5𝑥(12+2𝑝)𝑥+𝑝+4=0 must have exactly one real root. This tells us that the discriminant Δ=𝐵4𝐴𝐶 must be zero. Let us write this down: Δ=𝐵4𝐴𝐶=0((12+2𝑝))4×5×𝑝+4=0144+48𝑝+4𝑝20𝑝80=016𝑝+48𝑝+64=016𝑝3𝑝4=0.

The roots of this quadratic 16𝑝3𝑝4=0 will give us the values of 𝑝 that we are looking for. Factorizing, we have 16𝑝3𝑝4=16(𝑝+1)(𝑝4)=0, and so 𝑝=1 or 𝑝=4. These two values are the 𝑥-coordinates of the centers of the two circles of radius 5 whose centers lie on the line 𝑦=2 and that are tangent to the line 𝑦+2𝑥=5.

We will finish with another problem-solving example involving circles, lines, and their intersections.

Example 5: Finding the Range of Unknowns That Lead to a Line Not Intersecting a Circle

Consider the circle (𝑥5)+(𝑦3)=5 and the line 𝑦=𝑎𝑥+3, where 𝑎 is a constant. Find the range of values of 𝑎 for which the circle and the line are disjoint.

Answer

If we substitute 𝑦=𝑎𝑥+3 into the equation of the circle (𝑥5)+(𝑦3)=5, we will get a quadratic equation whose solutions are the 𝑥-coordinates of the points where the line and the circle intersect. Since we are trying to find a range of values of 𝑎 for which the line and the circle do not intersect, we are aiming for a quadratic equation with no real solutions.

So, we start by substituting: (𝑥5)+(𝑦3)=5(𝑥5)+(𝑎𝑥+33)=5.

Expanding and simplifying, 𝑥10𝑥+25+𝑎𝑥5=0𝑎+1𝑥10𝑥+20=0, we obtain the quadratic 𝑎+1𝑥10𝑥+20=0. We are interested in the values of 𝑎 for which the discriminant Δ=𝐵4𝐴𝐶 of this quadratic is negative. That is, (10)4×𝑎+1×20<010080𝑎80<080𝑎<2080𝑎>20𝑎>14.

The ranges of values for which 𝑎>14 are 𝑎>12 when 𝑎 is positive and 𝑎<12 when 𝑎 is negative.

These ranges of values give ranges of slopes of the line 𝑦=𝑎𝑥+3 with 𝑦-intercept 3 for which it does not intersect the circle (𝑥5)+(𝑦3)=5.

The pink region contains all the lines with the negative slope 𝑎<12, while the blue region contains all the lines with positive slope 𝑎>12.

Let us finish by recapping a few important concepts from this explainer.

Key Points

  • A line and a circle in the plane can interact in one of three ways: they may intersect in two points, they may intersect in one point, or they may not intersect at all. If the line and the circle do intersect, then the coordinates of their point (or points) of intersection simultaneously solve the equation of the line and the equation of the circle. This allows us to use algebra to calculate whether a line and a circle intersect and, if they do, the coordinates of their points of intersection.
  • Given the equation of a line 𝑦=𝑚𝑥+𝑏 and the equation of a circle in either standard form (𝑥)+(𝑦𝑘)=𝑟 or general form 𝑥+𝑦+𝐷𝑥+𝐸𝑦+𝐹=0, we can substitute the expression 𝑚𝑥+𝑏 for 𝑦 in the equation of the circle to obtain a quadratic equation in 𝑥, 𝐴𝑥+𝐵𝑋+𝐶=0.
  • The discriminant Δ=𝐵4𝐴𝐶 of the quadratic 𝐴𝑥+𝐵𝑋+𝐶=0 tells us about the intersections of the line and the circle. If Δ>0, then the line and the circle intersect in two points. If Δ=0, then the line is tangent to the circle. If Δ<0, then the line and the circle are disjoint.
  • We can solve the quadratic 𝐴𝑥+𝐵𝑋+𝐶=0 to find the 𝑥-coordinates of the points of intersection of the line and the circle. We can then substitute these values back into the equation of the line 𝑦=𝑚𝑥+𝑏 to find the 𝑦-coordinates of the points of intersection.
  • We can use conditions of the discriminant (i.e., whether it is positive, negative, or zero) to find unknown constants in equations of lines and circles when we know how they intersect.

Join Nagwa Classes

Attend live sessions on Nagwa Classes to boost your learning with guidance and advice from an expert teacher!

  • Interactive Sessions
  • Chat & Messaging
  • Realistic Exam Questions

Nagwa uses cookies to ensure you get the best experience on our website. Learn more about our Privacy Policy