For the computing company, see Quadrics.
Not to be confused with Quadratic or Quartic.

In mathematics, a quadric or quadric surface (quadric hypersurface in higher dimension), is a generalization of conic sections (ellipses, parabolas, and hyperbolas). It is an hypersurface (of dimensions D) in a (D + 1)-dimensional space, and is defined as the zero set of an irreducible polynomial of degree two in D + 1 variables (D=1 in the case of conic sections). When the defining polynomial is not absolutely irreducible, the zero set is generally not considered as a quadric, although it is often called a degenerated quadric or a reducible quadric.

In coordinates x1, x2, ..., xD+1, the general quadric is thus defined by the algebraic equation[1]

${\displaystyle \sum _{i,j=1}^{D+1}x_{i}Q_{ij}x_{j}+\sum _{i=1}^{D+1}P_{i}x_{i}+R=0}$

which may be compactly written in vector and matrix notation as:

${\displaystyle xQx^{\mathrm {T} }+Px^{\mathrm {T} }+R=0\,}$

where x = (x1, x2, ..., xD+1) is a row vector, xT is the transpose of x (a column vector), Q is a (D + 1) × (D + 1) matrix and P is a (D + 1)-dimensional row vector and R a scalar constant. The values Q, P and R are often taken to be over real numbers or complex numbers, but a quadric may be defined over any field.

A quadric is an affine algebraic variety, or, if it is reducible, an affine algebraic set. Quadrics may also be defined in projective spaces, see Quadric (projective geometry).

## Euclidean plane

Main article: conic section

Quadrics in the Euclidean plane are those of dimension D = 1, which is to say that they are plane curves. In this case, one talks of conic sections, or conics.

Ellipse (e = 1/2), parabola (e = 1) and hyperbola (e = 2) with fixed focus F and directrix.

## Euclidean space

In three-dimensional Euclidean space, quadrics have dimension D = 2, and are known as quadric surfaces. They are classified and named by their orbits under affine transformations. More precisely, if an affine transformation maps a quadric onto another one, they belong to the same class, and share the same name and many properties.

The principal axis theorem show that for any quartic (possibly reducible), a suitable change of Cartesian coordinates allows putting the quadratic equation of the quadric into one of the following normal forms:

${\displaystyle {x^{2} \over a^{2}}+{y^{2} \over b^{2}}+\varepsilon _{1}{z^{2} \over c^{2}}+\varepsilon _{2}=0,}$
${\displaystyle {x^{2} \over a^{2}}-{y^{2} \over b^{2}}+\varepsilon _{3}=0}$
${\displaystyle {x^{2} \over a^{2}}+\varepsilon _{4}=0,}$
${\displaystyle z={x^{2} \over a^{2}}+\varepsilon _{5}{y^{2} \over b^{2}},}$

where the ${\displaystyle \varepsilon _{i}}$ are either 1, –1 or 0, except ${\displaystyle \varepsilon _{3}}$ which takes only the value 0 or 1.

Each of these 17 normal forms[2] correspond to a single orbit under affine transformations. In three cases there are no real points: ${\displaystyle \varepsilon _{1}=\varepsilon _{2}=1}$ (imaginary ellipsoid), ${\displaystyle \varepsilon _{1}=0,\varepsilon _{2}=1}$ (imaginary elliptic cylinder), and ${\displaystyle \varepsilon _{4}=1}$ (pair of complex conjugate parallel planes, a reducible quadric). In one case, the imaginary cone, there is a single point (${\displaystyle \varepsilon _{1}=1,\varepsilon _{2}=0}$). If ${\displaystyle \varepsilon _{4}=1,}$ one has a line (in fact two complex conjugate intersecting planes). For ${\displaystyle \varepsilon _{4}=0,}$ one has a double plane. For ${\displaystyle \varepsilon _{4}=1,}$ one has two intersecting planes (reducible quadric).

It remains nine true quadrics, a cone and three cylinders (called degenerated quadrics by some authors) and five non-degenerated quadrics (ellipsoid, paraboloids and hyperboloids), which are detailed in the following table.

In a three-dimensional Euclidean space there are 17 such normal forms. Of these 16 forms, five are nondegenerate, and the remaining are degenerate forms. Degenerate forms include planes, lines, points or even no points at all.[3]

Ellipsoid ${\displaystyle {x^{2} \over a^{2}}+{y^{2} \over b^{2}}+{z^{2} \over c^{2}}=1\,}$
Spheroid (special case of ellipsoid) ${\displaystyle {x^{2} \over a^{2}}+{y^{2} \over a^{2}}+{z^{2} \over b^{2}}=1\,}$
Sphere (special case of spheroid) ${\displaystyle {x^{2} \over a^{2}}+{y^{2} \over a^{2}}+{z^{2} \over a^{2}}=1\,}$
Elliptic paraboloid ${\displaystyle {x^{2} \over a^{2}}+{y^{2} \over b^{2}}-z=0\,}$
Circular paraboloid (special case of elliptic paraboloid) ${\displaystyle {x^{2} \over a^{2}}+{y^{2} \over a^{2}}-z=0\,}$
Hyperbolic paraboloid ${\displaystyle {x^{2} \over a^{2}}-{y^{2} \over b^{2}}-z=0\,}$
Elliptic hyperboloid of one sheet ${\displaystyle {x^{2} \over a^{2}}+{y^{2} \over b^{2}}-{z^{2} \over c^{2}}=1\,}$
Circular hyperboloid of one sheet (special case of elliptic hyperboloid of one sheet) ${\displaystyle {x^{2} \over a^{2}}+{y^{2} \over a^{2}}-{z^{2} \over b^{2}}=1\,}$
Elliptic hyperboloid of two sheets ${\displaystyle {x^{2} \over a^{2}}+{y^{2} \over b^{2}}-{z^{2} \over c^{2}}=-1\,}$
Circular hyperboloid of two sheets (special case of elliptic hyperboloid of two sheets) ${\displaystyle {x^{2} \over a^{2}}+{y^{2} \over a^{2}}-{z^{2} \over b^{2}}=-1\,}$
Elliptic cone ${\displaystyle {x^{2} \over a^{2}}+{y^{2} \over b^{2}}-{z^{2} \over c^{2}}=0\,}$
Circular cone (special case of cone) ${\displaystyle {x^{2} \over a^{2}}+{y^{2} \over a^{2}}-{z^{2} \over b^{2}}=0\,}$
Elliptic cylinder ${\displaystyle {x^{2} \over a^{2}}+{y^{2} \over b^{2}}=1\,}$
Circular cylinder (special case of elliptic cylinder) ${\displaystyle {x^{2} \over a^{2}}+{y^{2} \over a^{2}}=1\,}$
Hyperbolic cylinder ${\displaystyle {x^{2} \over a^{2}}-{y^{2} \over b^{2}}=1\,}$
Parabolic cylinder ${\displaystyle x^{2}+2ay=0\,}$

## Projective geometry

The quadrics can be treated in a uniform manner by introducing homogeneous coordinates on a Euclidean space, thus effectively regarding it as a projective space. Thus if the original (affine) coordinates on RD+1 are

${\displaystyle (x_{1},\dots ,x_{D+1})}$

one introduces new coordinates on RD+2

${\displaystyle [X_{0},\dots ,X_{D+1}]}$

related to the original coordinates by ${\displaystyle x_{i}=X_{i}/X_{0}}$. In the new variables, every quadric is defined by an equation of the form

${\displaystyle Q(X)=\sum _{ij}a_{ij}X_{i}X_{j}=0\,}$

where the coefficients aij are symmetric in i and j. Regarding Q(X) = 0 as an equation in projective space exhibits the quadric as a projective algebraic variety. The quadric is said to be non-degenerate if the quadratic form is non-singular; equivalently, if the matrix (aij) is invertible.

In real projective space, by Sylvester's law of inertia, a non-singular quadratic form Q(X) may be put into the normal form

${\displaystyle Q(X)=\pm X_{0}^{2}\pm X_{1}^{2}\pm \cdots \pm X_{D+1}^{2}}$

by means of a suitable projective transformation (normal forms for singular quadrics can have zeros as well as ±1 as coefficients). For surfaces in space (dimension D = 2) there are exactly three nondegenerate cases:

${\displaystyle Q(X)={\begin{cases}X_{0}^{2}+X_{1}^{2}+X_{2}^{2}+X_{3}^{2}\\X_{0}^{2}+X_{1}^{2}+X_{2}^{2}-X_{3}^{2}\\X_{0}^{2}+X_{1}^{2}-X_{2}^{2}-X_{3}^{2}\end{cases}}}$

The first case is the empty set.

The second case generates the ellipsoid, the elliptic paraboloid or the hyperboloid of two sheets, depending on whether the chosen plane at infinity cuts the quadric in the empty set, in a point, or in a nondegenerate conic respectively. These all have positive Gaussian curvature.

The third case generates the hyperbolic paraboloid or the hyperboloid of one sheet, depending on whether the plane at infinity cuts it in two lines, or in a nondegenerate conic respectively. These are doubly ruled surfaces of negative Gaussian curvature.

The degenerate form

${\displaystyle X_{0}^{2}-X_{1}^{2}-X_{2}^{2}=0.\,}$

generates the elliptic cylinder, the parabolic cylinder, the hyperbolic cylinder, or the cone, depending on whether the plane at infinity cuts it in a point, a line, two lines, or a nondegenerate conic respectively. These are singly ruled surfaces of zero Gaussian curvature.

We see that projective transformations don't mix Gaussian curvatures of different sign. This is true for general surfaces. [4]

In complex projective space all of the nondegenerate quadrics become indistinguishable from each other.