# Nakafa Framework: LLM URL: https://nakafa.com/en/subject/high-school/12/mathematics/analytic-geometry/position-of-a-line-to-a-circle Source: https://raw.githubusercontent.com/nakafaai/nakafa.com/refs/heads/main/packages/contents/subject/high-school/12/mathematics/analytic-geometry/position-of-a-line-to-a-circle/en.mdx Output docs content for large language models. --- export const metadata = { title: "Position of a Line to a Circle", description: "Discover how lines intersect, touch, or miss circles using discriminant analysis. Master intersection points, tangent conditions, and solve problems.", authors: [{ name: "Nabil Akbarazzima Fatih" }], date: "05/26/2025", subject: "Analytic Geometry", }; import { getColor } from "@repo/design-system/lib/color"; import { LineEquation } from "@repo/design-system/components/contents/line-equation"; ## Understanding the Relationship Between Lines and Circles Imagine you have a circle and a straight line on the same plane. Interesting, right? How can these two geometric objects interact? It turns out there are three possibilities that can occur. The line can **intersect the circle at two points**, **be tangent to the circle at one point only**, or even **not touch the circle at all**. Just like when you throw a pencil toward a ring, the pencil can go through the ring, touch the edge of the ring, or miss completely. This concept is very important in analytic geometry because it helps us understand various situations in real life. For example, to determine whether a highway will pass through a circular protected area, or to analyze satellite trajectories relative to certain zones. ## Three Possible Positions Let's look at the three possible positions of a line relative to a circle visually: { const angle = (i * Math.PI) / 180; return { x: 3 * Math.cos(angle), y: 3 * Math.sin(angle), z: 0, }; }), color: getColor("PURPLE"), showPoints: false, }, { points: Array.from({ length: 2 }, (_, i) => { const xMin = -5; const xMax = 5; const y = 4.5; // Garis yang tidak berpotongan return { x: xMin + i * (xMax - xMin), y: y, z: 0, }; }), color: getColor("ORANGE"), showPoints: false, smooth: false, labels: [{ text: "No intersection", at: 1, offset: [-2, 0.5, 0] }], }, { points: Array.from({ length: 2 }, (_, i) => { const xMin = -5; const xMax = 5; const y = 3; // Garis singgung return { x: xMin + i * (xMax - xMin), y: y, z: 0, }; }), color: getColor("CYAN"), showPoints: false, smooth: false, labels: [{ text: "Tangent", at: 1, offset: [-2, 0.5, 0] }], }, { points: Array.from({ length: 2 }, (_, i) => { const xMin = -5; const xMax = 5; const y = 1; // Garis memotong return { x: xMin + i * (xMax - xMin), y: y, z: 0, }; }), color: getColor("TEAL"), showPoints: false, smooth: false, labels: [{ text: "Intersects", at: 1, offset: [-2, 0.5, 0] }], }, { points: Array.from({ length: 1 }, () => { return { x: 0, y: 0, z: 0, }; }), color: getColor("ROSE"), showPoints: true, labels: [{ text: "P", at: 0, offset: [-0.5, -0.5, 0] }], }, { points: Array.from({ length: 2 }, (_, i) => { const xMin = -6; const xMax = 6; const y = 0; return { x: xMin + i * (xMax - xMin), y: y, z: 0, }; }), color: getColor("AMBER"), showPoints: false, smooth: false, }, { points: Array.from({ length: 2 }, (_, i) => { const yMin = -4; const yMax = 5; const x = 0; return { x: x, y: yMin + i * (yMax - yMin), z: 0, }; }), color: getColor("AMBER"), showPoints: false, smooth: false, }, ]} cameraPosition={[0, 0, 14]} showZAxis={false} /> From the visualization above, we can see three different situations. The first line doesn't touch the circle at all, the second line touches the circle at exactly one point, and the third line penetrates the circle so it intersects at two points. 1. **Line intersects the circle** occurs when a straight line passes through the interior of the circle so that it meets the circumference of the circle at two different points. 2. **Line is tangent to the circle** occurs when a straight line only touches the circumference of the circle at exactly one point. Such a line is called a tangent line. 3. **Line does not intersect** occurs when a straight line is outside the circle so there is no point of intersection between the line and the circle. ## Discriminant Method To determine the position of a line relative to a circle mathematically, we use the substitution method which produces a quadratic equation. Then, we analyze the **discriminant** of that quadratic equation. Suppose we have a line with equation and a circle with equation . The first step is to substitute the line equation into the circle equation. It's easy, just replace all in the circle equation with :
This substitution result forms a quadratic equation in the form with coefficients:
Now, we calculate the **discriminant** of this quadratic equation. The discriminant is a value that determines the type of roots of a quadratic equation: ## Interpretation of Discriminant Value This discriminant value will tell us the position of the line relative to the circle. The concept is simple: 1. **Positive discriminant** () means the quadratic equation has two different real roots. In geometric context, this means the line **intersects the circle at two points**. 2. **Zero discriminant** () means the quadratic equation has one real root (repeated root). Geometrically, the line **is tangent to the circle at one point**. 3. **Negative discriminant** () means the quadratic equation has no real roots. Geometrically, the line **does not intersect the circle**. ## Calculation Example Let's look at a concrete example to make it clearer. Say we have line and circle . We substitute into the circle equation:
From the quadratic equation , we identify its coefficients: , , and . Calculate the discriminant:
Since , the line **intersects the circle at two points**. > This discriminant value not only tells us the position of the line, but also shows how many intersection points there are. The larger the positive discriminant value, the "farther" the line is from the tangent condition. ## Standard Circle Case For circles with center at the origin like and line , the process becomes more concise. Substitute the line into the circle:
The discriminant for this case is: After simplification: The interpretation remains the same based on the sign of the discriminant. ## Practice 1. Determine the position of line relative to circle . 2. Investigate the position of line relative to circle . 3. Line and circle . What is their position relationship? 4. Determine the value of so that line is tangent to circle . ### Answer Key 1. **Solution**: Substitute into :
Discriminant: Since , the line **intersects the circle at two points**. 2. **Solution**: Substitute into :
Discriminant: Since , the line **intersects the circle at two points**. 3. **Solution**: Change line to . Substitute into :
Discriminant: Since , the line **intersects the circle at two points**. 4. **Solution**: For the line to be tangent to the circle, the discriminant must equal zero. Substitute into :
Discriminant: For :
Therefore the value is or .