Geometry: Circles
Intersections of a line and a circle
A line and a circle can have two, one, or no points of intersection. In the case that they have one the line is called a tangent line to the circle.
In the figure we see a line and a circle. Move the circle by dragging the center and change the radius by adjusting the slider. Move the line by dragging the two points. See what happens to the number of intersections.
The block describes how to find the intersection of a line and a circle.
Intersections line and circle
Stepbystep 
Example 

We determine the intersections of a line #\blue l# and a circle #\green c#. 
#\blue l: \blue{y2x=4}# #\green c: \green{(x+2)^2+(y1)^2=1}# 

Step 1 
Write the equation of line #\blue l# in the form #y=\ldots# 
#\blue l: \blue{y=2x+4}# 
Step 2 
Substitute the equation of line #\blue l#, as found in step 1, in the equation of circle #\green c#. 
#(x+2)^2+(2x+41)^2=1# 
Step 3 
expand the brackets of quadratic equation in #x# from step 2 and determine the discriminant

#5x^2+16x+12=0# # \begin{array}{rcl}D&=&16^24 \cdot 5 \cdot 12\\&=&16 \\ &\gt& 0\end {array} # We find two points of intersection. 
step 4 
Determine the #x# coordinates of the intersection points by solving the quadratic equation in step 2 using the quadratic formula. 
#x=\tfrac{16\sqrt{16}}{2 \cdot 5} \lor \tfrac{16+\sqrt{16}}{2\cdot 5}# # x=2 \lor x=\tfrac{6}{5}# 
step 5 
Substitute the #x# coordinates found in step 4 in the equation of the line from step 1 to determine the corresponding #y# coordinates. 
If #x=2#, If #x=\tfrac{6}{5}#, 
Give your answer in the form
 #none# #\phantom{xxxwwxx}# if there is no point of intersection,
 #\left\{\rv{a,b}\right\}\phantom{xxxww}# if there is one point of intersection and
 #\left\{\rv{a,b},\rv{c,d}\right\}\phantom{x}# if there are two points of intersection ,
Step 1  The line #l# is already in the form #y=\ldots#. 
Step 2  We substitute the equation of line #l# in the equation of the circle. That gives: \[\left(x3\right)^2+\left(32\cdot x3\right)^2=64\] This can be simplified to: \[4\cdot x^2+\left(x3\right)^2=64\] 
Step 3  We reduce the equation from step 2 to #0# and expand the brackets. This goes as follows: \[\begin{array}{rcl}4\cdot x^2+\left(x3\right)^2&=&64 \\&&\phantom{xxx}\blue{\text{original equation}} \\ 5\cdot x^26\cdot x+9&=&64\\&&\phantom{xxx}\blue{\text{expanded brackets}} \\ 5\cdot x^26\cdot x55 &=& 0 \\&&\phantom{xxx}\blue{\text{reduced to }0} \ \end{array}\] We now read #a#, #b# and #c# for the quadratic formula. That gives: #a=5#, #b=6# and #c=55#. We can now calculate the discriminant. \[\begin{array}{rcl}D&=&b^24ac \\&&\phantom{xxx}\blue{\text{formula discriminant}} \\ &=& (6)^24\cdot 5 \cdot 55 \\&&\phantom{xxx}\blue{\text{substituted}} \\ &=& 1136 \end{array}\] Since the discriminant is equal to # 1136 \gt 0 #, there are #2# solutions. 
Step 4  We continue to solve the equation using the quadratic formula. \[\begin{array}{rcl}x=\frac{b\sqrt{D}}{2a} &\lor& \frac{b+\sqrt{D}}{2a} \\&&\phantom{xxx}\blue{\text{quadratic formula}} \\ x=\frac{{6}\sqrt{1136}}{2 \cdot 5} &\lor&\frac{{6}+\sqrt{1136}}{2 \cdot 5} \\&&\phantom{xxx}\blue{\text{substituted in quadratic formula}} \\ x={{32\cdot \sqrt{71}}\over{5}} &\lor& x={{2\cdot \sqrt{71}+3}\over{5}} \\&&\phantom{xxx}\blue{\text{simplified}} \end{array}\] 
Step 5  Now we determine the appropriate #y#values found by substituting the #x#values in the equation of line #l#. For #x={{32\cdot \sqrt{71}}\over{5}}#, it holds that # y = 2 \cdot {{32\cdot \sqrt{71}}\over{5}} +3 = {{2\cdot \left(2\cdot \sqrt{71}3\right)}\over{5}}+3 #. For #x={{2\cdot \sqrt{71}+3}\over{5}}#, it holds that # y = 2 \cdot {{2\cdot \sqrt{71}+3}\over{5}} +3 = 3{{2\cdot \left(2\cdot \sqrt{71}+3\right)}\over{5}} #. The points of intersection are therefore: \[\left\{\rv{{{32\cdot \sqrt{71}}\over{5}},{{2\cdot \left(2\cdot \sqrt{71}3\right)}\over{5}}+3},\rv{{{2\cdot \sqrt{71}+3}\over{5}},3{{2\cdot \left(2\cdot \sqrt{71}+3\right)}\over{5}}}\right\}\] 
Or visit omptest.org if jou are taking an OMPT exam.