Tangent at a point on a circle
Tangent at a point on a circle
Tangent at a point on a circle · status,[a],[b],[c]
- 90 bytes
- COMP mode
Worked examples
Example 1
A circular garden boundary is x²+y²=25. A straight path touches it at T(3,4). Which option is the exact equation of the tangent path?
Answer
Standard solution (without a calculator)
- Read and check the circle: O=(0,0),r=5. At T, 3²+4²=9+16=25, so T lies on the boundary.
- Use the radius normal: OT=(3−0,4−0)=(3,4). The tangent is perpendicular to OT.
- Write the line through T: 3(x−3)+4(y−4)=0, giving 3x+4y=9+16=25.
- Conclude: The exact tangent is 3x+4y=25, option A. No rounding is required.
Example 2
A circular fountain boundary is (x−1)²+(y+2)²=9. Which option is the exact equation of the tangent at T(1,1)?
Answer
Standard solution (without a calculator)
- Find the centre and radius: O=(1,−2),r=3. At T, (1−1)²+(1+2)²=0+9=9, so T is on the circle.
- Find the radius direction: OT=(1−1,1−(−2))=(0,3), a vertical vector. Therefore the tangent is horizontal.
- Use the line through T: 0(x−1)+3(y−1)=0, so 3y=3 and y=1.
- Interpret zero coefficient: The output a=0 removes the x term; it does not mean failure. The exact answer is option C, y=1.
Example 3
A circular restricted area has centre O(4,−1) and radius 5. Prove that T(0,2) lies on the boundary, find its tangent in the form ax+by=c, and determine with exact working whether an observation point P(3,6) lies on that tangent.
Answer
Standard solution (without a calculator)
- Check T: OT²=(0−4)²+(2−(−1))²=16+9=25=5². Hence T lies on the circle.
- Choose the normal: OT=(−4,3) is perpendicular to the tangent, so use a=−4,b=3.
- Form the tangent: −4(x−0)+3(y−2)=0 gives −4x+3y=6. The constant is c=(−4)(0)+3(2)=6.
- Test P: Substitute (3,6): −4(3)+3(6)=−12+18=6. This equals c exactly, so P lies on the tangent.
When to use it
A circle tangent at T(x₁,y₁) is perpendicular to the radius from O(h,k). With a=x₁−h and b=y₁−k, its equation is a(x−x₁)+b(y−y₁)=0, or ax+by=ax₁+by₁.
Enter the circle and contact point
- Enter A?=h and B?=k for the centre, C?=r for the positive radius, then X?=x₁ and Y?=y₁ for the specified contact point. All lengths and coordinates use the same unit.
- Enter all five values explicitly, including 0. If the circle is in general form, complete the square first to obtain its centre and radius.
Read status and coefficients
- The first result 1 means the point passed the numerical check. Press EXE to read a,b,c in order, then write ax+by=c. The right-hand constant has no extra minus sign.
- A single 0 means the radius is not positive or the point failed the circle test. No tangent coefficients follow. Simplify a valid equation yourself if desired.
Question types
- Original HKDSE Mathematics Compulsory Part practice: verify a point lies on a circle, find the tangent there, and test whether another point lies on that tangent.
Before you start
- Use COMP / Deg and an empty P1 with 90 bytes available; P1–P4 share 680 bytes. No trigonometry is used. A,B,C,X,Y,D,M and Ans are overwritten or updated.
- Require a nondegenerate circle with r>0 and a specified point on its circumference. The radius input is r, not r².
- The numerical acceptance test is |[(x₁−h)²+(y₁−k)²]/r²−1|<10⁻⁹. A very nearby point may pass; a written proof must verify the exact circle equation.
- This does not construct tangents from an external point, recover missing contact points or solve a given-slope tangent problem. Find the contact point separately first.
- No inputs are reset as unknown markers. A blank EXE retains the current variable, and C is overwritten with status during a run, so re-enter every value each time.
- Squaring extreme values can overflow or underflow; near-equal coordinates can lose precision. Math ERROR is an arithmetic failure, not a tangent equation or a valid status result.
Checking access…