A line-circle system has two solution pairs when the line crosses the circle, one when it touches, and none when it misses. Graph the equations in Desmos to see what a crossing represents, then substitute the line into the circle. The discriminant gives the exact range of parameter values. Finally, count the integers including zero; a touching point is not two distinct pairs.
Hints
- Hint 1
One equation already gives in terms of . Substitution means putting wherever the circle equation uses . That leaves an equation in one variable, , whose solutions correspond to the points where the graphs meet.
- Hint 2
For a quadratic equation, the discriminant tells you the number of real roots: positive gives two, zero gives one, and negative gives none. Which sign matches two distinct solution pairs?
- Hint 3
After finding the condition on , compare nearby integer squares with its cutoff. Count negative values of , positive values of , and separately; both signs can work.
Step-by-step
Substitute and count with the discriminant
Step 1See what two solutions look like
Type , , and on separate Desmos lines. At , Desmos shows two crossings. Each crossing is a pair that satisfies both equations. This is one example, not yet the full range of .
- Step 2
Turn the system into one equation
The line says , so use substitution: replace in the circle equation with : . The line assigns one to each , so two different real solutions for will give two different solution pairs.
- Step 3
Expand the square
Expand the whole square , including its middle term: .
- Step 4
Combine the squared terms
Combine the two terms: .
- Step 5
Put zero on one side
Subtract from both sides to get zero on one side, the form needed for a root-count test: .
- Step 6
Set up the discriminant
A quadratic has an term as its highest power. Here its coefficients are , , and . The discriminant is the expression under the square root in the quadratic formula. Two distinct pairs require : a positive square root gives two different -values, while gives only one. Substitute the coefficients: .
- Step 7
Simplify the discriminant
Square : . Multiply : . Distribute the negative factor across both terms: . Combine like terms: .
- Step 8
Find the condition for two pairs
Require a positive discriminant: . Add to both sides: . Divide both sides by : . Equality would mean the line touches the circle at only one point.
- Step 9
Count the integer values
Since but , the integers with run from through . That's negative values, zero, and positive values. Type in Desmos; it prints . So integer values of give exactly two distinct real solution pairs. Grid in 15.