Circle and Line: Centre and Radius
Circle and Line: Centre and Radius
Circle and Line: Centre and Radius · Find the number of intersections and all intersection coordinates. When they exist, find the chord midpoint H and half-length ρ.
- 181 bytes
- COMP mode
Worked examples
Example 1
Original practice. Find the number of intersections and all intersection coordinates. When they exist, find the chord midpoint H and half-length ρ. (x−2)²+(y+1)²=25; y−2=0. H=?,ρ=?,P₁=?,P₂=?
Answer
Standard solution (without a calculator)
- G=(2,−1); R=25; y=2 ⇒ (x−2)²=25−9=16
- x=6 ∨ −2; P₁=(6,2); P₂=(−2,2)
- H=((6−2)/2,2)=(2,2); ρ=|6−(−2)|/2=4
- Expand or substitute to verify each equality above.
Example 2
Original practice. Find the number of intersections and all intersection coordinates. When they exist, find the chord midpoint H and half-length ρ. (x+1)²+(y−2)²=25; 3x+4y+20=0. H=?,ρ=?,P₁=?,P₂=?
Answer
Standard solution (without a calculator)
- G=(−1,2); r=5; d=|3(−1)+4×2+20|/5=5
- H=(−1,2)−(25/25)(3,4)=(−4,−2)
- 3(−4)+4(−2)+20=0; (−4+1)²+(−2−2)²=25; ρ=0
- Expand or substitute to verify each equality above.
Example 3
Original practice. Find the number of intersections and all intersection coordinates. When they exist, find the chord midpoint H and half-length ρ. (x−3)²+(y−1)²=4; x−6=0. H=?,ρ=?,P₁=?,P₂=?
Answer
Standard solution (without a calculator)
- x=6 ⇒ (6−3)²+(y−1)²=4
- (y−1)²=−5<0; P∈ℝ²:∅
- Expand or substitute to verify each equality above.
When to use it
Circle and Line: Centre and Radius · Find the number of intersections and all intersection coordinates. When they exist, find the chord midpoint H and half-length ρ.
Input order
- h,k,r,a,b,c
- A=h→Hₓ; B=k→−Hᵧ; C=r→R→T; D=a; X=b; Y=c→q/N→s; M=N
- (x−h)²+(y−k)²=r²; r>0; ax+by+c=0; N=a²+b²>0
- Fill every field explicitly, including 0. Blank EXE uses the current memory value; clearing memory makes it 0, but cannot detect omissions. All variables and Ans are overwritten.
Output order
- Nₚ=0; Nₚ=1:Hₓ,Hᵧ; Nₚ=2:Hₓ,Hᵧ,ρ,x₁,y₁,x₂,y₂; −1 / −2
- Use a genuine circle with positive radius and a nonzero line direction. Only the complete infinite line is handled. Near tangency, cancellation can misclassify a zero difference; use exact equations. Extreme scales are unsupported. Reversing the line coefficients swaps the two-point order.
- −1: invalid circle, line or entry mode; −2: near-tangency warning, no coordinates. A single −1 is a status, while a two-screen valid lower bound can itself equal −1.
Conditions and limits
- Use COMP and Norm 1; the images use Deg, which does not change this algebra.
- All intermediate values must remain within calculator range. Decimal outputs are approximations. Check nearly equal values with exact algebra; an error or overflow invalidates the whole run.
- Use a genuine circle with positive radius and a nonzero line direction. Only the complete infinite line is handled. Near tangency, cancellation can misclassify a zero difference; use exact equations. Extreme scales are unsupported. Reversing the line coefficients swaps the two-point order.
- −1: invalid circle, line or entry mode; −2: near-tangency warning, no coordinates. A single −1 is a status, while a two-screen valid lower bound can itself equal −1.
- After the final screen press AC. An extra EXE starts a new run; it does not reveal another result.
Checking access…