Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Matrix representation of conic sections
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Concept in mathematics}} In [[mathematics]], the '''matrix representation of conic sections''' permits the tools of [[linear algebra]] to be used in the study of [[conic section]]s. It provides easy ways to calculate a conic section's [[axis of rotation|axis]], [[vertex (curve)|vertices]], [[tangent]]s and the [[pole and polar]] relationship between points and lines of the plane determined by the conic. The technique does not require putting the equation of a conic section into a standard form, thus making it easier to investigate those conic sections whose axes are not [[parallel (geometry)|parallel]] to the [[coordinate system]]. Conic sections (including [[degenerate conic|degenerate]] ones) are the [[set (mathematics)|sets]] of points whose coordinates satisfy a second-degree [[polynomial]] equation in two variables, <math display="block">Q(x,y) = Ax^2 + Bxy + Cy^2 + Dx + Ey + F = 0.</math> By an [[abuse of notation]], this conic section will also be called <math>Q</math> when no confusion can arise. This equation can be written in [[matrix (mathematics)|matrix]] notation, in terms of a [[symmetric matrix]] to simplify some subsequent formulae, as<ref>{{harvnb|Brannan|Esplen|Gray|1999|page=30}}</ref> <math display="block">\begin{pmatrix} x & y \end{pmatrix} \begin{pmatrix} A & B/2 \\ B/2 & C \end{pmatrix} \begin{pmatrix} x \\ y \end{pmatrix} + \begin{pmatrix} D & E \end{pmatrix} \begin{pmatrix} x\\y \end{pmatrix} + F = 0.</math> The sum of the first three terms of this equation, namely <math display="block">Ax^2 + Bxy + Cy^2 = \begin{pmatrix} x & y \end{pmatrix} \begin{pmatrix} A & B/2 \\ B/2 & C \end{pmatrix} \begin{pmatrix}x\\y\end{pmatrix},</math> is the ''[[quadratic form]] associated with the equation'', and the matrix <math display="block">A_{33} = \begin{pmatrix} A & B/2 \\ B/2 & C\end{pmatrix}</math> is called the ''matrix of the quadratic form''. The [[Trace (linear algebra)|trace]] and [[determinant]] of <math>A_{33} </math> are both invariant with respect to rotation of axes and [[translation (geometry)|translation]] of the plane (movement of the origin).<ref name=petto110>{{harvnb|Pettofrezzo|1978|page=110}}</ref><ref name=Spainsec>{{harvnb|Spain|2007|pages=59–62}}</ref> The [[quadratic equation]] can also be written as <math display="block">\mathbf{x}^\mathsf{T} A_Q\mathbf{x} = 0,</math> where <math>\mathbf{x}</math> is the [[Homogeneous coordinates|homogeneous coordinate vector]] in three variables restricted so that the last variable is 1, i.e., <math display="block">\begin{pmatrix} x \\ y \\ 1 \end{pmatrix}</math> and where <math>A_Q</math> is the matrix <math display="block">A_Q = \begin{pmatrix} A & B/2 & D/2 \\ B/2 & C & E/2 \\ D/2 & E/2 & F \end{pmatrix}.</math> The matrix <math>A_Q</math> is called the ''matrix of the quadratic equation''.<ref>It is also a matrix of a quadratic form, but this form has three variables and is <math>Ax^2 + Bxy + Cy^2 + Dxz + Eyz + Fz^2</math>.</ref> Like that of <math>A_{33}</math>, its determinant is invariant with respect to both rotation and translation.<ref name=Spainsec /> The 2 × 2 upper left submatrix (a matrix of order 2) of <math>A_Q</math>, obtained by removing the third (last) row and third (last) column from <math>A_Q</math> is the matrix of the quadratic form. The above notation <math>A_{33}</math> is used in this article to emphasize this relationship. == Classification == Proper (non-degenerate) and [[degenerate conic|degenerate conic sections]] can be distinguished<ref name=Lawrence>{{harvnb|Lawrence|1972|page=63}}</ref><ref>{{harvnb|Spain|2007|page=70}}</ref> based on the [[determinant]] of <math>A_Q=(AC-\frac{B^2}{4})F+\frac{BDE-C{D}^2-A{E}^2}{4}</math>: If <math>\det A_Q = 0</math>, the conic is degenerate. If <math>\det A_Q \neq 0</math> so that <math>Q</math> is not degenerate, we can see what type of conic section it is by computing the [[minor (mathematics)|minor]], <math>\det A_{33}=AC-\frac{B^2}{4}</math>: * <math>Q</math> is a [[hyperbola]] if and only if <math> \det A_{33} < 0 </math>, * <math>Q</math> is a [[parabola]] if and only if <math> \det A_{33} = 0 </math>, and * <math>Q</math> is an [[ellipse]] if and only if <math> \det A_{33} > 0 </math>. In the case of an ellipse, we can distinguish the special case of a [[circle]] by comparing the last two diagonal elements corresponding to the coefficients of <math>x^2</math> , <math>xy</math> and <math>y^2</math>: * If <math>A=C</math> and <math>B=0</math>, then <math>Q</math> is a circle. Moreover, in the case of a non-degenerate ellipse (with <math>\det A_{33} > 0 </math> and <math>\det A_Q \ne 0</math>), we have a [[real number|real]] ellipse if <math>(A + C)\det A_Q < 0</math> but an [[imaginary number|imaginary]] ellipse if <math>(A + C)\det A_Q > 0</math>. An example of the latter is <math>x^2 + y^2 + 10 = 0 </math>, which has no real-valued solutions. If the conic section is [[Degenerate conic|degenerate]] (<math>\det A_Q = 0</math>), <math>\det A_{33}</math> still allows us to distinguish its form: * Two intersecting lines (a hyperbola degenerated to its two asymptotes) if and only if <math>\det A_{33} < 0</math>. * Two parallel straight lines (a degenerate parabola) if and only if <math>\det A_{33} = 0</math>. These lines are distinct and real if <math>D^2+E^2 > 4(A+C)F</math>, coincident if <math>D^2+E^2 = 4(A+C)F</math>, and non-existent in the real plane if <math>D^2+E^2 < 4(A+C)F</math>. * A single point (a degenerate ellipse) if and only if <math>\det A_{33} > 0</math>. The case of coincident lines occurs if and only if the [[rank of a matrix|rank]] of the 3 × 3 matrix <math>A_Q</math> is 1; in all other degenerate cases its rank is 2.<ref name=petto110 /> == Central conics == When <math> \det A_{33} \neq 0 </math> a ''geometric center'' of the conic section exists and such conic sections (ellipses and hyperbolas) are called '''central conics'''.<ref>{{harvnb|Pettofrezzo|1978|page=105}}</ref> ===Center=== The center of a conic, if it exists, is a point that bisects all the chords of the conic that pass through it. This property can be used to calculate the coordinates of the center, which can be shown to be the point where the [[gradient]] of the quadratic function {{math|''Q''}} vanishes—that is,<ref>{{harvnb|Ayoub|1993|page=322}}</ref> <math display="block"> \nabla Q = \left[ \frac{\partial Q}{\partial x} , \frac{\partial Q}{\partial y} \right] = [0,0]. </math> This yields the center as given below. An alternative approach that uses the matrix form of the quadratic equation is based on the fact that when the center is the origin of the coordinate system, there are no linear terms in the equation. Any translation to a coordinate origin {{math|(''x''<sub>0</sub>, ''y''<sub>0</sub>)}}, using {{math|''x''* {{=}} ''x'' – ''x''<sub>0</sub>}}, {{math|''y''* {{=}} ''y'' − ''y''<sub>0</sub>}} gives rise to <math display="block">\begin{pmatrix} x^* + x_0 & y ^* + y_0 \end{pmatrix} \begin{pmatrix}A & B/2\\B/2 & C \end{pmatrix} \begin{pmatrix} x^* + x_0\\y^* + y_0 \end{pmatrix} + \left(\begin{matrix}D & E \end{matrix}\right) \left(\begin{matrix}x^* + x_0 \\ y^* + y_0\end{matrix}\right) +F= 0. </math> The condition for {{math|(''x''<sub>0</sub>, ''y''<sub>0</sub>)}} to be the conic's center {{math|(''x<sub>c</sub>'', ''y<sub>c</sub>'')}} is that the coefficients of the linear {{mvar|x*}} and {{mvar|y*}} terms, when this equation is multiplied out, are zero. This condition produces the coordinates of the center: <math display="block"> \begin{pmatrix} x_c \\ y_c \end{pmatrix} = \begin{pmatrix} A & B/2 \\ B/2 & C \end{pmatrix}^{\!-1} \begin{pmatrix} -D/2 \\ -E/2 \end{pmatrix} = \begin{pmatrix} (BE-2CD)/(4AC-B^2) \\ (DB-2AE)/(4AC-B^2) \end{pmatrix}.</math> This calculation can also be accomplished by taking the first two rows of the associated matrix {{math|''A<sub>Q</sub>''}}, multiplying each by {{math|(''x'', ''y'', 1)<sup>⊤</sup>}} and setting both inner products equal to 0, obtaining the following system: <math display="block">\begin{align} Ax + (B/2)y + D/2 &= 0, \\ (B/2)x + Cy + E/2 &= 0. \end{align}</math> This yields the above center point. In the case of a parabola, that is, when {{math|1=4''AC'' − ''B''<sup>2</sup> = 0}}, there is no center since the above denominators become zero (or, interpreted [[projective geometry|projectively]], the center is on the [[line at infinity]].) ====Centered matrix equation==== A central (non-parabola) conic <math>Ax^2 + Bxy + Cy^2 + Dx + Ey + F = 0</math> can be rewritten in centered matrix form as <math display="block">\begin{pmatrix} x-x_c & y-y_c \end{pmatrix} \begin{pmatrix} A & B/2 \\ B/2 & C \end{pmatrix} \begin{pmatrix} x-x_c \\ y-y_c \end{pmatrix} = K,</math> where <math display="block">K = -\frac{\det (A_Q)}{AC-(B/2)^2} = -\frac{\det(A_Q)}{\det(A_{33})}.</math> Then for the ellipse case of {{math|''AC'' > (''B''/2)<sup>2</sup>}}, the ellipse is real if the sign of {{math|''K''}} equals the sign of {{math|(''A'' + ''C'')}} (that is, the sign of each of {{math|''A''}} and {{math|''C''}}), imaginary if they have opposite signs, and a degenerate point ellipse if {{math|1=''K'' = 0}}. In the hyperbola case of {{math|''AC'' < (''B''/2)<sup>2</sup>}}, the hyperbola is degenerate if and only if {{math|1=''K'' = 0}}. === Standard form of a central conic=== {{main article|Conic section#Standard forms in Cartesian coordinates|Conic section#Conversion to canonical form}} The ''standard form'' of the equation of a central conic section is obtained when the conic section is translated and rotated so that its center lies at the center of the coordinate system and its axes coincide with the coordinate axes. This is equivalent to saying that the coordinate system's center is moved and the coordinate axes are rotated to satisfy these properties. In the diagram, the original {{mvar|xy}}-coordinate system with origin {{mvar|O}} is moved to the {{mvar|x'y'}}-coordinate system with origin {{mvar|O'}}. [[File:Conic ref syst.svg|thumb|300px|Translating and rotating coordinates]] The translation is by the vector <math>\mathbf{t} = \begin{pmatrix} x_c \\ y_c \end{pmatrix}.</math> The rotation by [[angle]] {{mvar|α}} can be carried out by [[matrix diagonalization|diagonalizing]] the matrix {{math|''A''<sub>33</sub>}}. Thus, if <math>\lambda_1</math> and <math>\lambda_2</math> are the [[eigenvalue]]s of the matrix ''A''<sub>33</sub>, the centered equation can be rewritten in new variables {{mvar|x'}} and {{mvar|y'}} as<ref>{{harvnb|Ayoub|1993|page=324}}</ref> <math display="block">\lambda_1 x'^2 + \lambda_2 y'^2 = - \frac{\det A_Q}{\det A_{33}}.</math> Dividing by <math>K = -\frac{\det A_Q}{\det A_{33}}</math> we obtain a standard canonical form. For example, for an ellipse this form is <math display="block">\frac{{x'}^2}{a^2} + \frac{{y'}^2}{b^2} = 1.</math> From here we get {{math|''a''}} and {{math|''b''}}, the lengths of the semi-major and semi-minor axes in conventional notation. For central conics, both eigenvalues are non-zero and the classification of the conic sections can be obtained by examining them.<ref>{{harvnb|Pettofrezzo|1978|page=108}}</ref> * If {{math|λ<sub>1</sub>}} and {{math|λ<sub>2</sub>}} have the same algebraic sign, then {{mvar|Q}} is a real ellipse, imaginary ellipse or real point if {{mvar|{{mvar|K}}}} has the same sign, has the opposite sign or is zero, respectively. * If {{math|λ<sub>1</sub>}} and {{math|λ<sub>2</sub>}} have opposite algebraic signs, then {{mvar|Q}} is a hyperbola or two intersecting lines depending on whether {{mvar|K}} is nonzero or zero, respectively. === Axes === By the [[principal axis theorem]], the two [[eigenvectors]] of the matrix of the quadratic form of a central conic section (ellipse or hyperbola) are [[perpendicular]] ([[orthogonality|orthogonal]] to each other) and each is parallel to (in the same direction as) either the [[Major axis|major or minor axis]] of the conic. The eigenvector having the smallest eigenvalue (in [[absolute value]]) corresponds to the major axis.<ref>{{harvnb|Ostermann|Wanner|2012|page=311}}</ref> Specifically, if a central conic section has center {{math|(''x<sub>c</sub>'', ''y<sub>c</sub>'')}} and an eigenvector of {{math|''A''<sub>33</sub>}} is given by {{math|'''v'''(''v''<sub>1</sub>, ''v''<sub>2</sub>)}} then the principal axis (major or minor) corresponding to that eigenvector has equation, <math display="block"> \frac{x-x_c}{v_1} = \frac{y-y_c}{v_2}. </math> === Vertices === The [[vertex (curve)|vertices]] of a central conic can be determined by calculating the intersections of the conic and its axes — in other words, by solving the system consisting of the quadratic conic equation and the linear equation for alternately one or the other of the axes. Two or no vertices are obtained for each axis, since, in the case of the hyperbola, the minor axis does not intersect the hyperbola at a point with real coordinates. However, from the broader view of the [[complex plane]], the minor axis of an hyperbola does intersect the hyperbola, but at points with complex coordinates.<ref>{{citation|first=Keith|last=Kendig|title=Conics|year=2005|publisher=The Mathematical Association of America | isbn=978-0-88385-335-1|pages=89–102}}</ref> ==Poles and polars== {{main article|Pole and polar}} Using [[homogeneous coordinates]],<ref>This permits the algebraic inclusion of infinite points and a line at infinity which are necessary to have for some of the following results</ref> the points<ref>This section follows {{citation | first=W.T. | last=Fishback | title=Projective and Euclidean Geometry | edition=2nd | publisher=Wiley | year=1969 | pages=167–172}}</ref> <math display="block">\mathbf{p} = \begin{pmatrix} p_0 \\ p_1 \\ p_2 \end{pmatrix} </math> and <math>\mathbf{r} = \begin{pmatrix} r_0 \\ r_1 \\ r_2 \end{pmatrix} </math> are ''conjugate'' with respect to the conic {{mvar|Q}} provided <math display="block"> \mathbf{p}^\mathsf{T} A_Q \mathbf{r} = 0.</math> The conjugates of a fixed point {{math|'''p'''}} either form a line or consist of all the points in the plane of the conic. When the conjugates of {{math|'''p'''}} form a line, the line is called the '''polar''' of {{math|'''p'''}} and the point {{math|'''p'''}} is called the '''pole''' of the line, with respect to the conic. This relationship between points and lines is called a '''polarity'''. If the conic is non-degenerate, the conjugates of a point always form a line and the polarity defined by the conic is a [[bijection]] between the points and lines of the extended plane containing the conic (that is, the plane together with the [[point at infinity|points]] and [[line at infinity]]). If the point {{math|'''p'''}} lies on the conic {{mvar|Q}}, the polar line of {{math|'''p'''}} is the '''tangent line''' to {{mvar|Q}} at {{math|'''p'''}}. The equation, in homogeneous coordinates, of the polar line of the point {{math|'''p'''}} with respect to the non-degenerate conic {{mvar|Q}} is given by <math display="block"> \mathbf{p}^T A_Q \begin{pmatrix} x \\ y \\ z \end{pmatrix} = 0.</math> Just as {{math|'''p'''}} uniquely determines its polar line (with respect to a given conic), so each line determines a unique pole {{math|'''p'''}}. Furthermore, a point {{math|'''p'''}} is on a line {{math|'''L'''}} which is the polar of a point {{math|'''r'''}}, if and only if the polar of {{math|'''p'''}} passes through the point {{math|'''r'''}} ([[Philippe de La Hire|La Hire]]'s theorem).<ref>{{harvnb|Brannan|Esplen|Gray|1999|page=189}}</ref> Thus, this relationship is an expression of geometric [[duality (projective geometry)|duality]] between points and lines in the plane. Several familiar concepts concerning conic sections are directly related to this polarity. The ''center'' of a non-degenerate conic can be identified as the pole of the line at infinity. A parabola, being tangent to the line at infinity, would have its center being a point on the line at infinity. Hyperbolas intersect the line at infinity in two distinct points and the polar lines of these points are the asymptotes of the hyperbola and are the tangent lines to the hyperbola at these points of infinity. Also, the polar line of a focus of the conic is its corresponding directrix.<ref>{{citation | first1=A.V.|last1=Akopyan|first2=A.A.|last2=Zaslavsky|title=Geometry of Conics|year=2007|publisher=American Mathematical Society | isbn=978-0-8218-4323-9|page=72}}</ref> == Tangents == Let line {{math|'''L'''}} be the polar line of point {{math|'''p'''}} with respect to the non-degenerate conic {{mvar|Q}}. By La Hire's theorem, every line passing through {{math|'''p'''}} has its pole on {{math|'''L'''}}. If {{math|'''L'''}} intersects {{mvar|Q}} in two points (the maximum possible) then the polars of those points are tangent lines that pass through {{math|'''p'''}} and such a point is called an ''exterior'' or ''outer'' point of {{mvar|Q}}. If {{math|'''L'''}} intersects {{mvar|Q}} in only one point, then it is a tangent line and {{math|'''p'''}} is the point of tangency. Finally, if {{math|'''L'''}} does not intersect {{mvar|Q}} then {{math|'''p'''}} has no tangent lines passing through it and it is called an ''interior'' or ''inner'' point.<ref>Interpreted in the complex plane such a point is on two complex tangent lines that meet {{mvar|Q}} in complex points.</ref> The equation of the tangent line (in homogeneous coordinates) at a point {{mvar|'''p'''}} on the non-degenerate conic {{mvar|Q}} is given by, <math display="block"> \mathbf{p}^\mathsf{T} A_Q \begin{pmatrix} x \\ y \\ z \end{pmatrix} = 0. </math> If {{math|'''p'''}} is an exterior point, first find the equation of its polar (the above equation) and then the intersections of that line with the conic, say at points {{math|'''s'''}} and {{math|'''t'''}}. The polars of {{math|'''s'''}} and {{math|'''t'''}} will be the tangents through {{math|'''p'''}}. Using the theory of poles and polars, the problem of finding the four mutual tangents of two conics reduces to finding the [[conic section#Intersecting two conics|intersection of two conics]]. == See also == * {{section link|Conic section|General Cartesian form}} * [[Quadratic form (statistics)]] ==Notes== {{reflist}} ==References== * {{citation|last=Ayoub|first=A. B.|title=The central conic sections revisited|journal=[[Mathematics Magazine]]|volume=66|issue=5|year=1993|pages= 322–325|doi=10.1080/0025570x.1993.11996157}} * {{citation|first1=David A.|last1=Brannan|first2=Matthew F.|last2=Esplen|first3=Jeremy J.|last3=Gray|title=Geometry|year=1999|publisher=Cambridge University Press|isbn=978-0-521-59787-6}} * {{citation|last=Lawrence|first= J. Dennis|title=A Catalog of Special Plane Curves|publisher= Dover|year= 1972}} * {{citation|first1=Alexander|last1=Ostermann|first2=Gerhard|last2=Wanner|title=Geometry by its History|publisher=Springer|year=2012|isbn=978-3-642-29163-0|doi=10.1007/978-3-642-29163-0}} * {{citation|last=Pettofrezzo|first=Anthony|title=Matrices and Transformations|publisher=Dover|orig-year=1966|year=1978|isbn=978-0-486-63634-4|url-access=registration|url=https://archive.org/details/matricestransfor0000pett}} * {{citation|last=Spain|first= Barry|title=Analytical Conics|publisher= Dover|year= 2007|orig-year=1957|isbn=978-0-486-45773-4}} {{Matrix classes}} [[Category:Conic sections]]
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Pages transcluded onto the current version of this page
(
help
)
:
Template:Citation
(
edit
)
Template:Harvnb
(
edit
)
Template:Main article
(
edit
)
Template:Math
(
edit
)
Template:Matrix classes
(
edit
)
Template:Mvar
(
edit
)
Template:Reflist
(
edit
)
Template:Section link
(
edit
)
Template:Short description
(
edit
)