Circle Equation & Tangent Line Calculator (xy-Plane)
Find the center I and radius R from an equation, write the equation of a circle (C) from its center and a point or from a diameter AB, and write the tangent line at a point M_0. Step-by-step KaTeX solutions with a graph on the Oxy plane.
🎯 Circle Equations in xy-Plane Quiz (5 Questions - 10-Point Scale)
1️⃣ Center & radius from the standard equation Question 1: The circle (C): (x + 2)^2 + (y - 3)^2 = 16 has center I and radius R:
A circle has the form (x - a)^2 + (y - b)^2 = R^2, so a = -2, b = 3 and R = \sqrt{16} = 4.
⚠️ Common trap: Reading the signs of the center backwards as I(2, -3), or forgetting the square root of 16 and choosing R = 16.
2️⃣ Center & radius from the expanded equation Question 2: Given the circle (C): x^2 + y^2 - 6x + 4y - 12 = 0. The radius R of (C) equals:
Dividing the coefficients of x and y by -2 gives the center I(3, -2). The radius is R = \sqrt{a^2 + b^2 - c} = \sqrt{3^2 + (-2)^2 - (-12)} = \sqrt{9 + 4 + 12} = 5.
⚠️ Common trap: Forgetting the sign of c = -12 in R = \sqrt{a^2 + b^2 - c} leads to the wrong value \sqrt{9 + 4 - 12} = 1.
3️⃣ Condition for a circle to exist Question 3: The equation x^2 + y^2 - 2mx + 4y + 8 = 0 represents a circle if and only if:
The equation is a circle when a^2 + b^2 - c > 0 \Leftrightarrow m^2 + (-2)^2 - 8 > 0 \Leftrightarrow m^2 - 4 > 0 \Leftrightarrow m < -2 or m > 2.
⚠️ Common trap: Using the wrong sign \ge 0 (when m = \pm 2 we get R = 0, which degenerates to a single point, not a circle).
4️⃣ Circle with diameter AB Question 4: The equation of the circle with diameter AB, where A(1, 1) and B(5, 3), is:
The center I is the midpoint of AB, so I\left(\frac{1+5}{2}, \frac{1+3}{2}\right) = (3, 2). The radius is R = IA = \sqrt{(1-3)^2 + (1-2)^2} = \sqrt{5} \Rightarrow R^2 = 5.
⚠️ Common trap: Computing the diameter AB = \sqrt{20} and taking R^2 = AB^2 = 20, forgetting to halve it to get the radius.
5️⃣ Tangent line to a circle Question 5: The tangent line to the circle (C): (x - 1)^2 + (y + 2)^2 = 25 at the point M(4, 2) is:
The circle has center I(1, -2). The tangent at M(4, 2) has normal vector \overrightarrow{IM} = (3, 4), so its equation is 3(x - 4) + 4(y - 2) = 0 \Leftrightarrow 3x + 4y - 20 = 0.
⚠️ Common trap: Using the coordinates of M(4, 2) as the normal vector instead of the vector \overrightarrow{IM} = (3, 4).
The calculator above solves three kinds of circle problems in the Oxy plane: finding the center I and radius R from an equation, writing the equation of a circle (C) from its center and a point or from a diameter AB, and writing the tangent line at a point M0. Every problem is solved step by step in KaTeX with a drawing on the coordinate plane. Press one of the 4 Examples buttons to see the result instantly.
📐 Key formulas
| Topic | Formula |
|---|---|
| Standard equation | (x − a)² + (y − b)² = R², center I(a, b), radius R |
| Expanded equation | x² + y² − 2ax − 2by + c = 0 |
| Existence condition | R = √(a² + b² − c) |
| Diameter AB | I is the midpoint of AB, R = AB/2 |
| Tangent at M0(x0, y0) ∈ (C) | (x0 − a)(x − x0) + (y0 − b)(y − y0) = 0 |
💡 Worked examples
Example 1. x² + y² − 4x + 6y − 3 = 0
Example 3. Diameter A(−1, 2), B(3, 4)
Example 4. Tangent to x² + y² = 25 at M0(3, 4)
⚠️ Common mistakes
- Reading the signs of the center backwards: (x + 2)² means a = −2, not a = 2.
- Forgetting the sign of the constant in R = √(a² + b² − c).
- Skipping the condition 0 we only get a point, if it is negative there are no points.
- Confusing the radius with the diameter for diameter AB: R = AB/2.
- Using the wrong normal vector for the tangent: it must be IM0, not the coordinates of M0.
❓ Frequently asked questions (FAQ)
What is the equation of a circle with center I(a, b) and radius R?
The standard equation is (x − a)² + (y − b)² = R². Expanding gives x² + y² − 2ax − 2by + c = 0 with c = a² + b² − R².
When is x² + y² − 2ax − 2by + c = 0 the equation of a circle?
When a² + b² − c > 0. Then the center is I(a, b) and the radius is R = √(a² + b² − c). If a² + b² − c = 0 it is a single point, and if it is negative no point satisfies the equation.
How do I write the equation of the circle with diameter AB?
The center I is the midpoint of AB and the radius is R = AB/2 (so R² = AB²/4). Then write (x − xI)² + (y − yI)² = R².
How do I write the tangent line to a circle at a point M0?
First check that M0 lies on the circle. The tangent passes through M0 with normal vector IM0: (x0 − a)(x − x0) + (y0 − b)(y − y0) = 0, then simplify to the form Ax + By + C = 0.
Does the calculator accept fractions and decimals?
Yes. Coefficients and coordinates may be integers, decimals (0.5 or 0,5) or fractions such as 1/2. Irrational radii are written with radicals.