# 6.5: General Algebraic Forms

**At Grade**Created by: CK-12

## Learning Objectives

- Understand how the cross sections of a cone relate to degree two polynomial equations.
- Understand what happens to the algebraic forms of conic sections when they are neither horizontally or vertically oriented.
- Recognize the algebraic form of different types of conic sections.

## The Cross Sections of the Cone Are Degree Two Polynomial Equations

Let’s examine all the equations of the conic sections we’ve studied in this chapter.

Ellipses: \begin{align*}\frac{x^2}{a^2} + \frac{y^2}{b^2} = 1\end{align*}, where \begin{align*}a\end{align*} and \begin{align*}b\end{align*} are any positive numbers (the circle is the specific case when \begin{align*}a = b\end{align*}).

Parabolas: \begin{align*}y = ax^2\end{align*} or \begin{align*}x = ay^2\end{align*} where \begin{align*}a\end{align*} is any non-zero number.

Hyperbolas: \begin{align*}\frac{x^2}{a^2} - \frac{y^2}{b^2} =1\end{align*} or \begin{align*}\frac{y^2}{a^2} - \frac{x^2}{b^2} =1\end{align*}, where \begin{align*}a\end{align*} and \begin{align*}b\end{align*} are any positive numbers.

All these equations have in common that they are degree-2 polynomials, meaning the highest exponent of any variable—or sum of exponents of products of variables—is two. So for example, here are some degree two polynomial equations in a more general form:

\begin{align*}2x^2 + 5y^2 - 3y + 4 & = 0 \\ x^2 - 3y^2 + x - y + 3 & = 0 \\ 10x^2 - y - 5 & = 0 \\ xy & = 2\end{align*}

Some of these probably already look like conic sections to you. For example, in the first equation, we can complete the square to remove the \begin{align*}-3y\end{align*} term and we will see that we have an ellipse. In the second equation we can complete the square twice to remove both the \begin{align*}x\end{align*} and \begin{align*}-y\end{align*} terms and we will have a hyperbola. This is a hyperbola, not an ellipse, because the coefficient of the \begin{align*}x^2\end{align*} and \begin{align*}y^2\end{align*} terms have opposite signs.

The third equation is a parabola since there is an \begin{align*}x^2\end{align*} term and \begin{align*}y\end{align*} term but not a \begin{align*}y^2\end{align*} term. Do you see how you can solve for \begin{align*}y\end{align*}, putting the equation in the standard form for a vertically oriented parabola?

But what about the fourth equation? Like the others, it is a degree-2 polynomial, since the exponents of the \begin{align*}x\end{align*} and \begin{align*}y\end{align*} term sum to 2. But the fourth equation looks nothing like any of the forms for conic sections that we’ve examined so far. Nonetheless, as we saw in the last section, \begin{align*}xy =2\end{align*} appears to be a hyperbola with foci (2,2) and (-2,-2). The reason it doesn’t fit either of the standard forms for hyperbolas is because it is *diagonally* oriented, rather than horizontally or vertically oriented (do you see how its two foci lie on a diagonal line, rather than a horizontal or vertical line?)

In order to see how such differently-oriented conic sections fit into our standard forms, we need to rotate them so that they are either horizontally or vertically oriented.

## Rotation of Conics

Remember in the section on parabolas we discussed rotating objects in the plane. In that section we showed that if we take a point \begin{align*}P = (x,y)\end{align*} and rotate it \begin{align*}\theta\end{align*} degrees, it changes the \begin{align*}x-\end{align*}coordinate to \begin{align*}x' \cos (\theta) - y' \sin(\theta)\end{align*} and the \begin{align*}y-\end{align*}coordinate changes to \begin{align*}x' \sin (\theta) + y' \cos (\theta)\end{align*}. (Note: in that section, because we were looking at a plane embedded in space, we happened to be looking at the \begin{align*}xz-\end{align*}plane. We also we’re using the “prime” symbols \begin{align*}x'\end{align*} and \begin{align*}y'\end{align*}. Also, in the particular case of that section we were rotating the cone clockwise. It is more standard to rotate counter-clockwise, so the signs on the sine functions have changed. So you can simply substitute \begin{align*}x'\end{align*} for \begin{align*}x\end{align*} and \begin{align*}y'\end{align*} for \begin{align*}z\end{align*} into the formulas in that section, switch the signs on the sine functions, and come up with these rotation rules for the \begin{align*}xy-\end{align*}plane.)

Now suppose we have an equation of degree two polynomials, such as the \begin{align*}xy = 2\end{align*} example discussed above. In order to put it into the more recognizable form of a ellipse, parabola, or a hyperbola, we need to rotate it in such a way so that rotated version has no \begin{align*}xy\end{align*} term. So we need to find an appropriate angle \begin{align*}\theta\end{align*} such that changing the \begin{align*}x-\end{align*}coordinate to \begin{align*}x' \cos(\theta)-y' \sin (\theta)\end{align*} and the \begin{align*}y-\end{align*}coordinate to \begin{align*}x' \sin (\theta) + y' \cos (\theta) \end{align*} results in an equation with no \begin{align*}xy\end{align*} term. We need to investigate what happens to a degree-two polynomial equation. Such an equation can be written in the form:

\begin{align*}Ax^2 + By^2 + Cxy + Dx + Ey + F = 0\end{align*}

If \begin{align*}C=0\end{align*}, such as in the first three examples at the beginning of this section, we are done, as there is no \begin{align*}xy\end{align*} term and we already know how to classify these into conics. If \begin{align*}C \neq 0\end{align*}, we need to rotate the curve so that we have an equation with no \begin{align*}xy\end{align*} term. When \begin{align*}x\end{align*} is replaced by \begin{align*}x' \cos (\theta)-y' \sin(\theta)\end{align*} and \begin{align*}y\end{align*} is replaced by \begin{align*}x' \sin(\theta)+y' \cos (\theta)\end{align*}, only the first three terms of this equation are in danger of producing an \begin{align*}xy\end{align*} term. To see if we can determine if an appropriate angle \begin{align*}\theta\end{align*} can always be found, let’s substitute our new variables in for \begin{align*}x\end{align*} and \begin{align*}y\end{align*} into the first three terms of the equation:

\begin{align*}A(x' \cos(\theta)-y' \sin(\theta))^2 + B(x' \sin (\theta) + y' \cos (\theta))^2 + C (x' \cos (\theta) - y' \sin (\theta))(x' \sin (\theta) + y' \cos (\theta))\end{align*}

Then, let’s multiply this expression out, but only examine the terms that are a multiple of \begin{align*}x'y'\end{align*}, since that is what we’re trying to eliminate.

\begin{align*}-2 Ax'y' \cos (\theta) \sin (\theta) + 2 Bx'y' \cos (\theta) \sin (\theta) + Cx'y' (\cos^2 (\theta) - \sin^2 (\theta))\end{align*}

This reduces to:

\begin{align*}(-2 A \cos(\theta) \sin(\theta)+2B \cos(\theta)\sin(\theta)) + C(\cos^2(\theta) - \sin^2(\theta)))x'y'\end{align*}

So we are interested in whether or not there is an angle \begin{align*}\theta\end{align*} such that the above coefficient of \begin{align*}x'y'\end{align*} is zero:

\begin{align*}(-2 A \cos(\theta) \sin(\theta) + 2 B \cos(\theta) \sin(\theta)) + C (\cos^2 (\theta) - \sin^2(\theta)) & = 0 \\ C(\cos^2(\theta) - \sin^2(\theta)) & = (2 A \cos(\theta) \sin(\theta) - 2 B \cos (\theta) \sin (\theta)) \\ C (\cos^2(\theta) - \sin^2(\theta)) & = 2 (A-B)(\cos(\theta)\sin(\theta))\end{align*}

Separating the \begin{align*}\theta\end{align*} terms from the \begin{align*}A\end{align*}, \begin{align*}B\end{align*}, and \begin{align*}C\end{align*} terms, we have:

\begin{align*}\frac{2 \cos(\theta) \sin(\theta)}{\cos^2(\theta)-\sin^2(\theta)} = \frac{C}{A-B}\end{align*}

But remember the double angle formulas \begin{align*}\sin(2 \theta) = 2 \cos(\theta)\sin(\theta)\end{align*} and \begin{align*}\cos(2\theta) = \cos^2(\theta) - \sin^2(\theta)\end{align*} (see http://authors.ck12.org/wiki/index.php/Trigonometric_Identities#Double-Angle_Identities for more on the double angles). This means that we need to find an angle such that:

\begin{align*}\frac{\sin(2 \theta)}{\cos(2 \theta)} = \frac{C}{A-B}\end{align*}

or:

\begin{align*}\tan(2 \theta) = \frac{C}{A-B}\end{align*}

Can we find such an angle? Well remember the graph of tangent (see http://authors.ck12.org/wiki/index.php/Circular_Functions#y_.3D_tan.28x.29.2C_The_Tangent_Graph for more on the tangent graph). It spans all values, so no matter what \begin{align*}C\end{align*}, \begin{align*}A\end{align*}, and \begin{align*}B\end{align*} equal, we can find the appropriate tangent value. The only time this expression gives us trouble is if the denominator is zero, or \begin{align*}A=B\end{align*}. But in this case there’s an easy solution that you will find in the exercise below.

For the other cases, you can use the inverse tan function on your calculator or computer program to find out the value of \begin{align*}2 \theta\end{align*}, and then divide by 2 to find the value of \begin{align*}\theta\end{align*}.

Example: Rotate the following conic section so that it is oriented either horizontally or vertically, and then analyze the result:

\begin{align*}79x^2 + 37y^2 + 42 \sqrt{3}xy + \left (-200 \sqrt{3} - 8 \right ) x + \left (8 \sqrt{3} - 200 \right ) y + 4 = 0\end{align*}

Solution: To find how much to rotate this conic we need to solve for \begin{align*}\theta\end{align*} in the equation \begin{align*}\tan(2 \theta) = \frac{C}{A-B}\end{align*}. We have \begin{align*}C = 42 \sqrt{3},A=79\end{align*}, and \begin{align*}B=37\end{align*}, so we have:

\begin{align*}\tan(2 \theta) & = \frac{42 \sqrt{3}}{79-37} \\ \tan (2 \theta) & = \sqrt{3}\end{align*}

The angle that solves this equation is \begin{align*}\theta = \frac{\pi}{6}\end{align*} (or \begin{align*}30^\circ\end{align*}).

So we replace \begin{align*}x\end{align*} with \begin{align*}x' \cos(30) - y' \sin (30) = \frac{\sqrt{3}}{2}x' - \frac{1}{2}y'\end{align*}, and \begin{align*}y\end{align*} with \begin{align*}x' \sin(30)+y'\cos(30) = \frac{1}{2}x' + \frac{\sqrt{3}}{2}y'\end{align*}, giving us:

\begin{align*}& 79 \left (\frac{\sqrt{3}}{2}x' - \frac{1}{2}y' \right )^2 + 37 \left (\frac{1}{2}x' + \frac{\sqrt{3}}{2}y' \right )^2 + 42 \sqrt{3} \left (\frac{\sqrt{3}}{2}x' - \frac{1}{2}y' \right ) \left (\frac{1}{2}x' + \frac{\sqrt{3}}{2}y' \right ) + \\ & \left (-200 \sqrt{3} -8 \right ) \left (\frac{\sqrt{3}}{2}x' - \frac{1}{2}y' \right ) + \left (8 \sqrt{3} - 200 \right ) \left (\frac{1}{2}x' + \frac{\sqrt{3}}{2}y' \right ) + 4 = 0\end{align*}

Multiplying through by 4 we have:

\begin{align*}& 79 \left (\sqrt{3}x' - y' \right )^2 + 37 \left (x' + \sqrt{3}y' \right )^2 + 42 \sqrt{3} \left (\sqrt{3}x' - y' \right ) \left (x' + \sqrt{3}y' \right ) + \\ & \left (-200 \sqrt{3} - 8 \right ) \left (2 \sqrt{3}x' - 2y' \right ) + \left (8 \sqrt{3} - 200 \right ) \left (2x' + 2\sqrt{3}y' \right ) + 16 = 0\end{align*}

Multiplying out we have:

\begin{align*}& 237(x')^2 - 158 \sqrt{3}x'y' + 79(y')^2 + 37(x')^2 + 74 \sqrt{3}x'y' + 111(y')^2 + 126(x')^2 + 84 \sqrt{3}x'y' - 126(y')^2 \\ & - 1200x' - 16\sqrt{3} x' + 400 \sqrt{3}y' + 16y' + 16\sqrt{3}x' - 400 x' + 48y' -400 \sqrt{3}y' + 16 = 0\end{align*}

Which simplifies to:

\begin{align*}400(x')^2 + 64(y')^2 - 1600x' + 64y' + 16 = 0\end{align*}

Which, divided by 16 is:

\begin{align*}25(x')^2 + 4(y')^2 - 100x' + 4y' + 1 = 0\end{align*}

Grouping the \begin{align*}x'\end{align*} and \begin{align*}y'\end{align*} terms and completing the squares, we have:

\begin{align*}25((x')^2-4x' + 4) - 100 + 4\left ((y')^2 + y' + \frac{1}{4} \right )-1 + 1 & = 0 \\ 25((x')^2-2)^2 + 4 \left ((y')^2 + \frac{1}{2} \right )^2 & = 100 \\ \frac{((x')^2-2)^2}{4} + \frac{\left ((y')^2 + \frac{1}{2} \right )^2}{25} & = 1\end{align*}

We recognize this as an ellipse, centered at the point \begin{align*}\left (2, - \frac{1}{2} \right )\end{align*}.

### Review Questions

- What’s the easy solution to the above problem when \begin{align*}A=B\end{align*}?
- Use the above answer or a calculator or computer program to determine how much you would have to rotate the following conic to eliminate the \begin{align*}xy\end{align*} term and orient it either horizontally or vertically: \begin{align*}x^2 + y^2 + 6x -3y + 10xy + 100= 0\end{align*}.
- Use the above answer or a calculator or computer program to determine how much you would have to rotate the following conic to eliminate the \begin{align*}xy\end{align*} term and orient it either horizontally or vertically: \begin{align*}5x^2-3x+4xy+21=0\end{align*}.
- Rotate the following conic section so that it is oriented either horizontally or vertically, and then analyze the result: \begin{align*}3x^2+3y^2+ \left (4 \sqrt{2} + 2 \right)xy+4\sqrt{2}x+4 \sqrt{2}y - 4 =0\end{align*}

## General Algebraic Forms

How can we look at a degree-2 polynomial equation and determine which conic section it depicts?

\begin{align*}Ax^2 + By^2 + C xy + Dx + Ey + F=0\end{align*}

When \begin{align*}C=0\end{align*} we have already discussed how to determine which conic section the equation refers to. In summary, if \begin{align*}A\end{align*} and \begin{align*}B\end{align*} are both positive, the conic section is an ellipse. This is also true of \begin{align*}A\end{align*} and \begin{align*}B\end{align*} are both negative, as the entire equation can be multiplied by -1 without changing the solution set. If \begin{align*}A\end{align*} and \begin{align*}B\end{align*} differ in sign, the equation is a hyperbola, and if \begin{align*}A\end{align*} or \begin{align*}B\end{align*} equals zero the equation is a parabola.

There are a few new, more general, rules I will show you that give more information about the case when \begin{align*}C \neq 0\end{align*} and hence the conic section needs to be rotated to achieve horizontal or vertical orientation.

If \begin{align*}C^2 < 4AB\end{align*}, the equation is an ellipse (note when \begin{align*}C=0\end{align*} this holds whenever \begin{align*}A\end{align*} and \begin{align*}B\end{align*} are the same sign, which is consistent with our simpler rule stated above.)

If \begin{align*}C^2 > 4AB\end{align*}, the equation is an hyperbola (note when \begin{align*}C=0\end{align*} this holds whenever \begin{align*}A\end{align*} and \begin{align*}B\end{align*} are the opposite sign, which is consistent with our simpler rule stated above.)

If \begin{align*}C^2 = 4AB\end{align*}, the equation is a parabola (note when \begin{align*}C=0\end{align*}, either \begin{align*}A\end{align*} or \begin{align*}B\end{align*} equals zero, which is consistent with our simpler rule stated above.)

### Review Questions

- State what type of conic section is represented by the following equation: \begin{align*}5x^2+6y^2+2x-5y+xy=0\end{align*}.
- State what type of conic section is represented by the following equation: \begin{align*}x^2+3y-20xy+20=0\end{align*}.
- The rules above do not account for “degenerate” conic sections, that is the conic section that looks like an \begin{align*}X\end{align*} made by the intersection of a plane containing the line at the center of the cone. Explain the conditions on the coefficients that lead to the degenerate conic sections.

### Notes/Highlights Having trouble? Report an issue.

Color | Highlighted Text | Notes | |
---|---|---|---|

Show More |

### Image Attributions

## Concept Nodes:

**Save or share your relevant files like activites, homework and worksheet.**

To add resources, you must be the owner of the section. Click Customize to make your own copy.