Conic Sections Calculator
Test cases replayed : 4 of 4 match · Methodology · No outside source listed
Enter the coefficients A, B and C of the second-degree equation Ax² + Bxy + Cy² + Dx + Ey + F = 0; D, E and F do not change the type.
Result
Type of conic (non-degenerate case)
Discriminant B² − 4AC
- Rotation that removes the xy term (degrees)
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- A (coefficient of x²): enter a number.
- B (coefficient of xy): enter a number.
- C (coefficient of y²): enter a number.
- Read the result: Type of conic (non-degenerate case); the panel also shows Discriminant B² − 4AC and Rotation that removes the xy term (degrees).
How this calculator works
For Ax² + Bxy + Cy² + Dx + Ey + F = 0, the discriminant B² − 4AC decides the type: negative gives an ellipse (a circle when A = C and B = 0), zero a parabola, positive a hyperbola. This holds for every non-degenerate conic; a degenerate equation can instead be a point, a line, two lines or no real points.
Rotating the axes by θ with cot 2θ = (A − C) ÷ B removes the xy term; the calculator gives θ = ½·atan2(B, A − C). The rotation does not change B² − 4AC.
Worked example
| A (coefficient of x²) | 4 |
|---|---|
| B (coefficient of xy) | 0 |
| C (coefficient of y²) | 9 |
| Discriminant B² − 4AC | -144 |
|---|---|
| Type of conic (non-degenerate case) | Ellipse |
| Rotation that removes the xy term (degrees) | 0 |
Frequently asked questions
What conic is 4x² + 9y² − 16x + 18y − 11 = 0?
An ellipse: B² − 4AC = 0 − 4 × 4 × 9 = −144, which is negative, and A ≠ C.
What conic is x² + 3xy + y² = 1?
A hyperbola: B² − 4AC = 9 − 4 = 5 > 0. Rotating the axes by 45° removes the xy term.