MathsGeometry

Conic Section
analyzer.

Name the conic section behind a second-degree equation and find its foci and asymptotes.

How it's worked out

Every circle, ellipse, parabola and hyperbola fits one general equation, in which A, B and C are not all zero.

Ax2+Bxy+Cy2+Dx+Ey+F\displaystyle Ax^{2} + Bxy + Cy^{2} + Dx + Ey + F=0\displaystyle {}= 0

Only three of the six numbers set the family. The value B2−4ACB^{2} - 4AC is called the discriminant. Below zero means an ellipse, zero means a parabola, and above zero means a hyperbola. A circle is an ellipse with B=0B = 0 and A=CA = C. D, E and F only move the curve around.

To find the points, you complete the square. That means grouping the x terms and the y terms, then adding what makes each group a perfect square. What is left reads as a standard form, and the center and the lengths can be read straight off it.

For an ellipse, aa is half the long axis, bb is half the short one, and cc is the center-to-focus distance. A hyperbola adds the squares rather than subtracts them.

c2\displaystyle c^{2}=a2−b2\displaystyle {}= a^{2} - b^{2}
c2\displaystyle c^{2}=a2+b2\displaystyle {}= a^{2} + b^{2}

A nonzero B tilts the curve. Turning the axes by an angle θ\theta removes the xy term, so the same steps apply in new axes called u and v. The tool then turns every point back, so what you read is in ordinary x and y.

tan⁡2θ\displaystyle \tan 2\theta=BA−C\displaystyle {}= \frac{B}{A - C}

Worked examples

Maya classifies an equation from her homework

Maya has 4x² + 9y² − 8x − 36y − 68 = 0. Her discriminant is −144, which is below zero, so this is in the ellipse family, and A does not equal C, so it is no circle. Completing both squares gives the form below.

(x−1)227+(y−2)212\displaystyle \frac{(x - 1)^{2}}{27} + \frac{(y - 2)^{2}}{12}=1\displaystyle {}= 1

The center is (1, 2). With aa = 5.1962 and bb = 3.4641, the focal distance cc is 3.873, so the foci are (4.873, 2) and (−2.873, 2). Eccentricity, cc over aa, is 0.7454.

Open this example in the tool

Ben finds the focus of a parabola

Ben's equation, x² − 4x + 2y − 3 = 0, has no y² term, and its discriminant is 0. Completing the square in x gives the form below, where the number in front of the bracket on the right is 4p4p.

(x−2)2\displaystyle (x - 2)^{2}=−2(y−3.5)\displaystyle {}= -2(y - 3.5)

The vertex is (2, 3.5). Here pp is negative, so the curve opens downward, with the focus at (2, 3) and the directrix at y = 4. The focus sits 0.5 below the vertex, and the directrix sits the same distance above it.

Open this example in the tool

Ravi works through a tilted ellipse

Ravi's equation, 5x² + 4xy + 5y² − 20x − 20y + 16 = 0, has an xy term, so the axes are turned. A equals C here, and that always gives θ\theta = 45°. The discriminant, −84, already says ellipse before any turning.

7u2+3v2−28.2843u+16\displaystyle 7u^{2} + 3v^{2} - 28.2843u + 16=0\displaystyle {}= 0
(u−2.0203)21.7959\displaystyle \frac{(u - 2.0203)^{2}}{1.7959}+v24.1905\displaystyle {}+ \frac{v^{2}}{4.1905}=1\displaystyle {}= 1

Back in x and y, the center is (1.4286, 1.4286), and the vertices are (−0.0189, 2.8761) and (2.8761, −0.0189). Substituting a vertex into his first equation gives 0, which is a good way for Ravi to check his work.

Open this example in the tool

Reading your result

Eccentricity measures the stretch. It is 0 for a circle, between 0 and 1 for an ellipse, exactly 1 for a parabola and above 1 for a hyperbola. A conic is the set of points whose distance to a focus is that many times their distance to a directrix.

The latus rectum says how sharply it bends. This is the chord through a focus at a right angle to the axis. On Ben's parabola it is 2, which is 4 times the focal length. A shorter one means a sharper curve at the vertex.

A degenerate result is still an answer. Some equations collapse. x² − y² = 0 is the lines y = x and y = −x, a plane cut through the cone's tip. x² + y² = 0 is one point. x² + y² + 1 = 0 has no real points, and x² − 4 = 0 is the two lines x = 2 and x = −2.

xy = 1 is a hyperbola. This one looks unlike the others. It has A and C of 0, so its discriminant is 1, and the tool finds it turned 45°, with vertices (1, 1) and (−1, −1).

Common mistakes

  • Dropping a coefficient's sign. Enter −36 as negative. Getting the sign of A or C wrong can turn an ellipse into a hyperbola, since the discriminant uses their product.
  • Forgetting to multiply when completing the square. Taking out a 4 means the square you add inside the bracket counts 4 times on the other side. This is the most common slip in this step.
  • Reading a and b the wrong way round. In an ellipse, aa is the larger, wherever it appears. In a hyperbola, aa sits under the positive term, even if it is the smaller.
  • Calling every negative discriminant an ellipse. The test names a family only. An equation in that family may be one point or have no points at all, so finish completing the square before you decide.

Questions people ask

Work out B squared minus 4AC from the coefficients of x², xy and y². Below zero is the ellipse family, zero is the parabola family, and above zero is the hyperbola family. The circle in the tool's examples, x² + y² − 4x − 6y + 9 = 0, gives −4 with A equal to C.

Sources