Conic Section Identifier
Classify a general conic from its six coefficients using the discriminant, with the degeneracy determinant and the axis rotation both printed.
Conic Section Identifier
Classify a general conic from its six coefficients using the discriminant, with the degeneracy determinant and the axis rotation both printed.
How this page computes
The discriminant B² − 4AC is computed and its sign names the type, with the circle case separated by the equality of A and C and a zero cross term.
The determinant of the 3 by 3 homogeneous matrix decides degeneracy, and the rotation angle comes from the two-argument arctangent of B and A − C.
The calculation runs entirely in this browser tab; nothing is uploaded.
Every conic section is Ax² + Bxy + Cy² + Dx + Ey + F = 0, and the sign of B² − 4AC names it. For x² + y² − 4x − 6y + 9 = 0 the discriminant is −4, so the curve is an ellipse, and since A equals C with no xy term it is a circle.
The page also tests the 3 by 3 determinant, which vanishes exactly when the conic degenerates into a point, a line or a pair of lines. That distinction matters: a degenerate ellipse is a single point, not a curve.
How to use Conic Section Identifier
Enter the six coefficients and press Run. All three quadratic coefficients zero is refused, because that equation is a line rather than a conic.
The output gives the equation, the discriminant, the type, whether it is degenerate, and the rotation angle when an xy term is present.
Why one number decides the type
Rotating the axes cannot change the type of a conic, and a rotation can always remove the xy term. What the rotation preserves is the sign of B² − 4AC: negative for an ellipse, zero for a parabola, positive for a hyperbola.
A circle is the special ellipse with equal quadratic coefficients and no cross term. The page checks both conditions rather than calling every ellipse a circle, because the two have different equations.
What to Expect
Best for
- Naming the conic an equation describes
- Detecting a degenerate conic
- The rotation needed to remove an xy term
Not ideal for
- Plotting the conic, which this page does not do
- Centre, foci and axes, which the parabola and hyperbola pages give
- An equation with all quadratic coefficients zero
What this tool keeps
- All six coefficients exactly as typed
What may need cleanup
- Nothing: the type and the degeneracy test are final
Common errors
- All three quadratic coefficients zero is refused as a line
- A non-numeric coefficient is refused by name
Example use cases
- Identify x^2 + y^2 - 4x - 6y + 9 = 0 as a circle
- Identify x^2 - y^2 - 1 = 0 as a hyperbola
- See that x^2 + y^2 = 0 is a degenerate point
Sample input
A 1, B 0, C 1, D -4, E -6, F 9
Sample output
discriminant -4, a circle, not degenerate
Who this is for
- Students meeting conic sections
- Readers classifying a curve
Frequently asked questions
What does a negative discriminant mean?
An ellipse. The quadratic part is positive definite up to sign, so the curve is closed. A circle is the case with equal x² and y² coefficients and no xy term.
What is a degenerate conic?
An equation whose solutions are a point, a line or a pair of lines rather than a curve. The 3 by 3 determinant of the homogeneous form is zero exactly then, and the page prints that test.
Why does the page print a rotation angle?
Because an xy term means the conic's axes are tilted. The angle is the rotation that removes it, which is the first step of any hand classification.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.