Parameter range for circle-line intersections
Parameter range for circle-line intersections
Parameter range for circle-line intersections · k_min,k_max
- 121 bytes
- COMP mode
Worked examples
Example 1
The circle (x−4)²+(y+2)²=9 and the line 3x+4y+k=0 meet at two distinct points. Find the exact range of real k.
Answer
Standard solution (without a calculator)
- Read the circle: The centre is (4,−2) and r=3. The line normal has length √(3²+4²)=5.
- Use the two-point condition: d<r gives |3(4)+4(−2)+k|/5<3, hence |k+4|<15.
- Solve: −15<k+4<15; subtract 4 throughout to obtain −19<k<11.
- Check the endpoints: At k=−19 or 11, d=15/5=3 and there is only one common point. Exclude both endpoints and select A.
Example 2
The circle x²+y²−6x+8y−11=0 and the line 5x+12y+k=0 have at least one common point. Find the exact range of real k.
Answer
Standard solution (without a calculator)
- Complete the square: x²−6x+y²+8y=11 gives (x−3)²+(y+4)²=11+9+16=36. The centre is (3,−4) and r=6.
- Include tangency: At least one common point requires d≤r. Thus |5(3)+12(−4)+k|/√(5²+12²)≤6.
- Simplify and solve: √169=13 and 15−48=−33, so |k−33|≤78. Therefore −78≤k−33≤78 and −45≤k≤111.
- State the range: Both endpoints are tangencies and are included. All bounds are exact integers; select B.
Example 3
For the circle (x−1)²+(y−2)²=7 and the line x+2y+k=0, find both values of k that give tangency, leaving answers in surd form. When k=1, determine with exact working whether the line meets the circle.
Answer
Standard solution (without a calculator)
- Find the distance: The centre is (1,2), r=√7 and the line normal has length √5. Hence d=|1+2(2)+k|/√5=|k+5|/√5.
- Set the tangent condition: d=r gives |k+5|/√5=√7, so |k+5|=√35.
- Keep both exact values: k+5=±√35, so k=−5−√35 or −5+√35. Decimal checks are about −10.91607978 and 0.916079783.
- Test k=1 exactly: d=6/√5, so d²=36/5>7 because 36>35. Thus d>r and there is no common point; the conclusion does not depend on rounded endpoints.
When to use it
For fixed a,b, changing k moves ax+by+k=0 through a family of parallel lines. The centre-to-line distance is |ah+bt+k|/√(a²+b²); setting it equal to the radius gives the two tangent boundaries.
Choose the circle form
- At Y?, enter 1 for (x−h)²+(y−t)²=r², then A?=h,B?=t,C?=r. Enter the radius, not its square.
- At Y?, enter 2 for x²+y²+px+qy+s=0, then A?=p,B?=q,C?=s. Normalize both squared-term coefficients to 1 first. Finally enter D?=a and X?=b for ax+by+k=0.
Interpret the two boundaries
- Read k_min, press EXE, then read k_max. Two distinct intersections require k_min<k<k_max; at least one requires k_min≤k≤k_max.
- Tangency occurs at either endpoint. No intersection means k<k_min or k>k_max. The program displays the endpoints only; it does not choose the inequality signs.
Question types
- Original HKDSE Mathematics Compulsory Part practice: find a parameter interval for two or at least one common point, or retain surds for exact tangent values.
Before you start
- Use COMP / Deg and an empty P1 with 121 bytes available; P1–P4 share 680 bytes. No angle functions are used. A,B,C,D,X,Y,M and Ans are overwritten or updated.
- Y must be exactly 1 or 2. Mode 1 requires r>0; mode 2 requires p²+q²−4s>0 so the circle has positive radius.
- Require a²+b²>0. The varying parameter must be the additive constant k in the line; this program does not handle k in a slope coefficient or in the circle.
- Invalid selector, nonpositive radius or zero line normal deliberately raises Math ERROR; a negative mode-2 radicand also fails. Overflow or other arithmetic failures can give the same error, so check the cause rather than treating it as a bound.
- Enter all six values explicitly every run, including zeros. No field is preset as an unknown; blank EXE can retain an old working value. Use a common coordinate/radius unit.
- Surd endpoints appear as rounded decimals on the LCD. Retain exact surds in written answers; strictness follows the required number of intersections. Extreme magnitudes and cancellation can reduce numerical accuracy.
Checking access…