which may be compactly written in vector and matrix notation as:
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.
where are real numbers, and at least one of A, B, and C is nonzero.
The quadric surfaces are classified and named by their shape, which corresponds to the orbits under affine transformations. That is, 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 shows that for any (possibly reducible) quadric, a suitable change of Cartesian coordinates or, equivalently, a Euclidean transformation allows putting the equation of the quadric into a unique simple form on which the class of the quadric is immediately visible. This form is called the normal form of the equation, since two quadrics have the same normal form if and only if there is a Euclidean transformation that maps one quadric to the other. The normal forms are as follows:
where the are either 1, –1 or 0, except which takes only the value 0 or 1.
Each of these 17 normal forms corresponds to a single orbit under affine transformations. In three cases there are no real points: (imaginary ellipsoid), (imaginary elliptic cylinder), and (pair of complex conjugate parallel planes, a reducible quadric). In one case, the imaginary cone, there is a single point (). If one has a line (in fact two complex conjugate intersecting planes). For one has two intersecting planes (reducible quadric). For one has a double plane. For one has two parallel planes (reducible quadric).
Thus, among the 17 normal forms, there are nine true quadrics: a cone, three cylinders (often called degenerate quadrics) and five non-degenerate quadrics (ellipsoid, paraboloids and hyperboloids), which are detailed in the following tables. The eight remaining quadrics are the imaginary ellipsoid (no real point), the imaginary cylinder (no real point), the imaginary cone (a single real point), and the reducible quadrics, which are decomposed in two planes; there are five such decomposed quadrics, depending whether the planes are distinct or not, parallel or not, real or complex conjugate.
When two or more of the parameters of the canonical equation are equal, one gets a quadric of revolution, which remains invariant when rotated around an axis (or infinitely many axes, in the case of the sphere).
Quadrics of revolution
Oblate and prolate spheroids (special cases of ellipsoid)
An affine quadric is the set of zeros of a polynomial of degree two. When not specified otherwise, the polynomial is supposed to have real coefficients, and the zeros are points in a Euclidean space. However, most properties remain true when the coefficients belong to any field and the points belong in an affine space. As usually in algebraic geometry, it is often useful to consider points over an algebraically closed field containing the polynomial coefficients, generally the complex numbers, when the coefficients are real.
As the above process of homogenization can be reverted by setting X0 = 1:
it is often useful to not distinguish an affine quadric from its projective completion, and to talk of the affine equation or the projective equation of a quadric. However, this is not a perfect equivalence; it is generally the case that will include points with , which are not also solutions of because these points in projective space correspond to points "at infinity" in affine space.
A quadric in an affine space of dimension n is the set of zeros of a polynomial of degree 2. That is, it is the set of the points whose coordinates satisfy an equation
where the polynomial p has the form
for a matrix with and running from 0 to . When the characteristic of the field of the coefficients is not two, generally is assumed; equivalently . When the characteristic of the field of the coefficients is two, generally is assumed when ; equivalently is upper triangular.
The equation may be shortened, as the matrix equation
The equation of the projective completion is almost identical:
by means of a suitable projective transformation (normal forms for singular quadrics can have zeros as well as ±1 as coefficients). For two-dimensional surfaces (dimension D = 2) in three-dimensional space, there are exactly three non-degenerate 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
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.
Each solution of with a vector having rational components yields a vector with integer components that satisfies ; set where the multiplying factor is the smallest positive integer that clears all the denominators of the components of .
Furthermore, when the underlying matrix is invertible, any one solution to for with rational components can be used to find any other solution with rational components, as follows. Let for some values of and , both with integer components, and value . Writing for a non-singular symmetric matrix with integer components, we have that
then the two solutions to , when viewed as a quadratic equation in , will be , where the latter is non-zero and rational. In particular, if is a solution of and is the corresponding non-zero solution of then any for which (1) is not orthogonal to and (2) satisfies these three conditions and gives a non-zero rational value for .
In short, if one knows one solution with rational components then one can find many integer solutions where depends upon the choice of . Furthermore, the process is reversible! If both satisfies and satisfies then the choice of will necessarily produce . With this approach one can generate all Pythagorean triples or Heronian triangles.
The definition of a projective quadric in a real projective space (see above) can be formally adopted defining a projective quadric in an n-dimensional projective space over a field. In order to omit dealing with coordinates a projective quadric is usually defined starting with a quadratic form on a vector space 
For the intersection of a line with a quadric the familiar statement is true:
For an arbitrary line the following cases occur:
a) and is called exterior line or
b) and is called tangent line or
b′) and is called tangent line or
c) and is called secant line.
Let be a line, which intersects at point and is a second point on .
From one gets
I) In case of the equation holds and it is
for any . Hence either
for any or for any, which proves b) and b').
II) In case of one gets and the equation
has exactly one solution .
Hence: , which proves c).
Additionally the proof shows:
A line through a point is a tangent line if and only if .
In the classical cases or there exists only one radical, because of and and are closely connected. In case of the quadric is not determined by (see above) and so one has to deal with two radicals:
a) is a projective subspace. is called f-radical of quadric .
b) is called singular radical or -radical of .
c) In case of one has .
A quadric is called non-degenerate if .
Examples in (see above): (E1): For (conic) the bilinear form is
In case of the polar spaces are never . Hence .
In case of the bilinear form is reduced to
and . Hence
In this case the f-radical is the common point of all tangents, the so called knot.
In both cases and the quadric (conic) ist non-degenerate. (E2): For (pair of lines) the bilinear form is and the intersection point.
In this example the quadric is degenerate.
It is not reasonable to formally extend the definition of quadrics to spaces over genuine skew fields (division rings). Because one would get secants bearing more than 2 points of the quadric which is totally different from usual quadrics. The reason is the following statement.
There are generalizations of quadrics: quadratic sets. A quadratic set is a set of points of a projective space with the same geometric properties as a quadric: every line intersects a quadratic set in at most two points or is contained in the set.