Loading [MathJax]/jax/element/mml/optable/MathOperators.js
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Physics LibreTexts

2.6: The General Conic Section

( \newcommand{\kernel}{\mathrm{null}\,}\)

The Equation x2a2+y2b2=1

represents an ellipse whose major axis is along the x axis and whose centre is at the origin of coordinates. But what if its centre is not at the origin, and if the major axis is at some skew angle to the x axis? What will be the Equation that represents such an ellipse? Figure II.37.

FIGURE II.37
alt

If the centre is translated from the origin to the point (p,q), the Equation that represents the ellipse will be found by replacing x by xp and y by yq. If the major axis is inclined at an angle θ to the x axis, the Equation that represents the ellipse will be found by replacing x by xcosθ+ysinθ and y by xsinθ+ycosθ. In any case, if the ellipse is translated or rotated or both, x and y will each be replaced by linear expressions in x and y, and the resulting Equation will have at most terms in x2, y2, xy, x, y and a constant. The same is true of a parabola or a hyperbola. Thus, any of these three curves will be represented by an Equation of the form

ax2+2hxy+by2+2gx+2fy+c=0.

(The coefficients a and b are not the semi major and semi minor axes.) The apparently random notation for the coefficients arises because these figures are plane sections of three-dimensional surfaces (the ellipsoid, paraboloid and hyperboloid) which are described by terms involving the coordinate z as well as x and y. The customary notation for these three-dimensional surfaces is very systematic, but when the terms in z are removed for the two- dimensional case, the apparently random notation a, b, c, f, g, h remains. In any case, the above Equation can be divided through by the constant term without loss of generality, so that the Equation to an ellipse, parabola or hyperbola can be written, if preferred, as

ax2+2hxy+by2+2gx+2fy+1=0.

Is the converse true? That is, does an Equation of this form always necessarily represent an ellipse, parabola or hyperbola?

Not quite. For example,

6x2+xyy217xy+12=0

represents two straight lines (it can be factored into two linear terms - try it), while

2x24xy+4y24x+4=0

is satisfied only by a single point. (Find it.)

However, a plane section of a cone can be two lines or a single point, so perhaps we can now ask whether the general second degree Equation must always represent a conic section. The answer is: close, but not quite.

For example,

4x2+12xy+9y2+14x+21y+6=0

represents two parallel straight lines, while

x2+y2+3x+4y+15=0

cannot be satisfied by any real (x,y).

However, a plane can intersect a cylinder in two parallel straight lines, or a single straight line, or not at all. Therefore, if we stretch the definition of a cone somewhat to include a cylinder as a special limiting case, then we can say that the general second degree Equation in x and y does indeed always represent a conic section.

Is there any means by which one can tell by a glance at a particular second degree Equation, for example

8x2+10xy3y22x4y2=0,

what type of conic section is represented? The answer is yes, and this one happens to be a hyperbola. The discrimination is made by examining the properties of the determinant

ahgΔ=hbfgfc

I have devised a table after the design of the dichotomous tables commonly used by taxonomists in biology, in which the user is confronted by a couplet (or sometimes triplet) of alternatives, and is then directed to the next part of the table. I shall spare the reader the derivation of the table; instead, I shall describe its use.

In the table, I have used the symbol ˉa to mean the cofactor of a in the determinant, ˉh the cofactor of h, ˉg the cofactor of g, etc. Explicitly, these are

ˉa=bcf2,
ˉb=cag2,
ˉc=abh2,
ˉf=ghaf,
ˉg=hfbg
and ˉh=fgch.

The first column labels the choices that the user is asked to make. At the beginning, there are two choices to make, 1 and 1 The second column says what these choices are, and the fourth column says where to go next. Thus, if the determinant is zero, go to 2; otherwise, go to 5. If there is an asterisk in column 4, you are finished. Column 3 says what sort of a conic section you have arrived at, and column 5 gives an example.

No matter what type the conic section is, the coordinates of its centre are (ˉg/ˉc, ˉf/ˉc) and the angle θ that its major or transverse axis makes with the x axis is given by

tan2θ=2hab.

Thus if x is first replaced with x+ˉg/ˉc and y with y+ˉf/ˉc, and then the new x is replaced with xcosθysinθ and the new y with xsinθ+ycosθ, the Equation will take the familiar form of a conic section with its major or transverse axis coincident with the x axis and its centre at the origin. Any of its properties, such as the eccentricity, can then be deduced from the familiar Equations. You should try this with Equation 2.7.8.

Key to the Conic Sections

alt

When faced with a general second degree Equation in x and y, I often find it convenient right at the start to calculate the values of the cofactors from Equations 2.7.10 − 2.7.15.

Here is an exercise that you might like to try. Show that the ellipse ax2+2hxy+by2+2gx+2fy+1=0 is contained within the rectangle whose sides are

x=ˉg±ˉg2ˉaˉcˉc

y=ˉf±ˉf2ˉbˉcˉc

In other words, these four lines are the vertical and horizontal tangents to the ellipse.

This is probably not of much use in celestial mechanics, but it will probably be useful in studying Lissajous ellipses, or the Stokes parameters of polarized light. It is also useful in programming a computer to draw, for example, the ellipse 14x24xy+11y244x58y+71=0. To do this, you will probably want to start at some value of x and calculate the two corresponding values of y, and then move to another value of x. But at which value of x should you start? Equation 2.7.18 will tell you.

But what do Equations 2.7.18 and 2.7.19 mean if the conic section Equation ax2+2hxy+by2+2gx+2fy+1=0 is not an ellipse? They are still useful if the conic section is a hyperbola. Equations 2.7.18 and 2.7.19 are still vertical and horizontal tangents - but in this case the hyperbola is entirely outside the limits imposed by these tangents. If the axes of the hyperbola are horizontal and vertical, one or other of Equations 2.7.18 and 2.7.19 will fail.

If the conic section is a parabola, Equations 2.7.18 and 2.7.19 are not useful, because c=0. There is only one horizontal tangent and only one vertical tangent. They are given by

x=ˉa2ˉg

and y=ˉb2ˉf

If the axis of the parabola is horizontal or vertical, one or other of Equations 2.7.20 and 2.7.21 will fail.

If the second degree Equation represents one or two straight lines, or a point, or nothing, I imagine that all of Equations 2.7.182.7.21 will fail - unless perhaps the Equation represents horizontal or vertical lines. I haven’t looked into this; perhaps the reader would like to do so.

Here is a problem that you might like to try. The Equation 8x2+10xy3y22x4y2=0 represents a hyperbola. What are the Equations to its axes, to its asymptotes, and to its conjugate hyperbola? Or, more generally, if ax2+2hxy+by2+2gx+2fy+c=0 represents a hyperbola, what are the Equations to its axes, to its asymptotes, and to its conjugate hyperbola?

Before starting, one point worth noting is that the original hyperbola, its asymptotes, and the conjugate hyperbola) have the same centre, which means that g and f are the same for each, and they have the same axes, which means that a, h, and b are the same for each. They differ only in the constant term.

If you do the first problem, 8x2+10xy3y22x4y2=0, there will be a fair amount of numerical work to do. When I did it I didn’t use either pencil and paper or a hand calculator. Rather I sat in front of a computer doing the numerical calculations with a Fortran statement for every stage of the calculation. I don’t think I could have done it otherwise without making lots of mistakes. The very first thing I did was to work out the cofactors ˉa, ˉh, ˉb, ˉg, ˉf, ˉc and store them in the computer, and also the coordinates of the centre (x0,y0) of the hyperbola, which are given by x0=ˉg/ˉc, y0=ˉf/ˉc.

Whether you do the particular numerical problem, or the more general algebraic one, I suggest that you proceed as follows. First, refer the hyperbola to a set of coordinates x,y whose origin coincides with the axes of the hyperbola. This is done by replacing x with x+x0 and y with y+y0. This will result in an Equation of the form ax2+2hxy+by2+c=0. The coefficients of the quadratic terms will be unchanged, the linear terms will have vanished, and the constant term will have changed. At this stage I got, for the numerical example, 8x2+10xy3y21.8163=0.

Now refer the hyperbola to a set of coordinates x,y whose axes are parallel to the axes of the hyperbola. This is achieved by replacing x with xcosθysinθ and y with xsinθ+ycosθ, where tan2θ=2h/(ab). There will be a small problem here, because this gives two values of θ differing by 90, and you’ll want to decide which one you want. In any case, the result will be an Equation of the form ax2+by2+c=0, in which a and b are of opposite sign. Furthermore, if you happen to understand the meaning of the noise “The trace of a matrix is invariant under an orthogonal transformation”, you’ll be able to check for arithmetic mistakes by noting that a+b=a+b. If this is not so, you have made a mistake. Also, the constant term should be unaltered by the rotation (note the single prime on the c). At this stage, I got 9.933x24.933y21.8163=0. (All of this was done with Fortran statements on the computer - no actual calculation or writing done by me - and the numbers were stored in the computer to many significant figures).

In any case this Equation can be written in the familiar form x2A2y2B2=1, which in this case I made to be x20.42832y20.60882=1. We are now on familiar ground. The axes of the hyperbola are x=0 and y=0, the asymptotes are x2A2y2B2=0 and the conjugate hyperbola is x2A2y2B2=1.

Now, starting from x2A2y2B2=1 for the asymptotes, or from x2A2y2B2=1 for the conjugate hyperbola, we reverse the process. We go to the single-primed coordinates by replacing x with xcosθ+ysinθ and y with − xsinθ+ycosθ, and then to the original coordinates by replacing x with xx0 and y with yy0.

This is what I find:

Original hyperbola: ax2+2hxy+by2+2gx+2fy+c=0

Conjugate hyperbola: ax2+2hxy+by2+2gx+2fy+cconj=0,
where cconj=(2gˉg+2fˉf+cˉc)/ˉc=(2gx0+2fy0+c).

Asymptotes: ax2+2hxy+by2+2gx+2fy+casymp=0,
where casymp can be written in any of the following equivalent forms:
casymp=+(aˉg2+2hˉgˉf+bˉf2)/ˉc2=ax20+2hx0y0+by20=(gˉg+fˉf)/ˉc.
[The last of these three forms can be derived very quickly by recalling that a condition for a general second degree Equation in x and y to represent two straight lines is that the determinant should be zero. A glance at this determinant will show that this implies that g\bar{g} + f\bar{f} + c\bar{c} = 0. ]

Axes of hyperbolas: (y - x \tan θ - y_0 + x_0 \tan θ) ( y + x \cot θ - y_0 - x_0 \cot θ) = 0,
where \tan 2 θ = 2h / (a-b) .

Example:

Original hyperbola: 8x^2 + 10xy - 3y^2 - 2x - 4y - 2 = 0

Conjugate hyperbola: 8x^2 + 10xy - 3y^2 - 2x - 4y + \frac{80}{49} = 0

Asymptotes: 8x^2 + 10xy - 3y^2 - 2x -4y - \frac{9}{49} = 0 ,
which can also be written (4x - y - \frac{9}{7})(2x + 3y + \frac{1}{7}) = 0

Axes of hyperbolas: ( y − 0.3866x + 0.3275)( y + 2.5866 x − 0.4613).

These are shown in the figure below - the original hyperbola in black, the conjugate in blue.

alt

The centre is at (0.26531, −0.22449).

The slopes of the two asymptotes are 4 and −\frac{2}{3}. From Equation 2.2.16 we find that the tangent of the angle between the asymptotes is \tan 2ψ = \frac{14}{5}, so that 2ψ = 70^\circ .3, and the angle between the asymptote and the major axis of the original hyperbola is 54^\circ .8, or \tan ψ = 1.419. This is equal (see Equations 2.5.3 and 2.5.10) to \sqrt{e^2 - 1}, so the eccentricity of the original hyperbola is 1.735. From Section 2.2, shortly Equation 2,5,6, we soon find that the eccentricity of the conjugate hyperbola is \csc ψ = 1.223.

An interesting question occurs to me. We have found that, if ax^2 + 2hxy + by^2 + 2gx + 2fy + c = 0 is a hyperbola, then the Equations to the conjugate hyperbola and the asymptotes are of a similar form, namely ax^2 + 2hxy + by^2 + 2gx + 2fy + c_{\text{conj}} = 0 and ax^2 + 2hxy + by^2 + 2gx + 2fy + c_{\text{asymp}} = 0, and we found expressions for c_{\text{conj}} and c_\text{asymp}. But what if ax^2 + 2hxy + by^2 + 2gx + 2fy + c = 0 is not a hyperbola? What if it is an ellipse? What do the other Equations represent, given that an ellipse has neither a conjugate nor asymptotes?

For example, 14x^2 - 4xy + 11y^2 - 44x -58y + 71 = 0 is an ellipse. What are 14x^2 - 4xy + 11y^2 - 44x - 58y + 191 = 0 and 14x^2 -4xy + 11y^2 - 44x - 58y + 131 = 0? I used the key on page 47, and it told me that the first of these Equations is satisfied by no real points, which I suppose is the Equation’s way of telling me that there is no such thing as the conjugate to an ellipse. The second Equation was supposed to be the “asymptotes”, but the key shows me that the Equation is satisfied by just one real point, namely (2 , 3), which coincides with the centre of the original ellipse. I didn’t expect that. Should I have done so?


This page titled 2.6: The General Conic Section is shared under a CC BY-NC 4.0 license and was authored, remixed, and/or curated by Jeremy Tatum via source content that was edited to the style and standards of the LibreTexts platform.

Support Center

How can we help?