In algebraic geometry, Cramer's theorem on algebraic curves gives the necessary and sufficient number of points in the real plane falling on an algebraic curve to uniquely determine the curve in non-degenerate cases. This number is
n(n+3) | |
2, |
where is the degree of the curve. The theorem is due to Gabriel Cramer, who published it in 1750.[1]
For example, a line (of degree 1) is determined by 2 distinct points on it: one and only one line goes through those two points. Likewise, a non-degenerate conic (polynomial equation in and with the sum of their powers in any term not exceeding 2, hence with degree 2) is uniquely determined by 5 points in general position (no three of which are on a straight line).
The intuition of the conic case is this: Suppose the given points fall on, specifically, an ellipse. Then five pieces of information are necessary and sufficient to identify the ellipse - the horizontal location of the ellipse's center, the vertical location of the center, the major axis (the length of the longest chord), the minor axis (the length of the shortest chord through the center, perpendicular to the major axis), and the ellipse's rotational orientation (the extent to which the major axis departs from the horizontal). Five points in general position suffice to provide these five pieces of information, while four points do not.
The number of distinct terms (including those with a zero coefficient) in an n-th degree equation in two variables is (n + 1)(n + 2) / 2. This is because the n-th degree terms are
xn,xn-1y1,...,yn,
xn-1,xn-2y1,...,yn-1,
x
y,
For example, a fourth degree equation has the general form
2y | |
x | |
2x |
2+
2+c | |
c | |
10 |
xy+c11
2+c | |
y | |
12 |
x+c13y+c14=0,
with 4(4+3)/2 = 14 coefficients.
Determining an algebraic curve through a set of points consists of determining values for these coefficients in the algebraic equation such that each of the points satisfies the equation. Given n(n + 3) / 2 points (xi, yi), each of these points can be used to create a separate equation by substituting it into the general polynomial equation of degree n, giving n(n + 3) / 2 equations linear in the n(n + 3) / 2 unknown coefficients. If this system is non-degenerate in the sense of having a non-zero determinant, the unknown coefficients are uniquely determined and hence the polynomial equation and its curve are uniquely determined. More than this number of points would be redundant, and fewer would be insufficient to solve the system of equations uniquely for the coefficients.
An example of a degenerate case, in which n(n + 3) / 2 points on the curve are not sufficient to determine the curve uniquely, was provided by Cramer as part of Cramer's paradox. Let the degree be n = 3, and let nine points be all combinations of x = −1, 0, 1 and y = −1, 0, 1. More than one cubic contains all of these points, namely all cubics of equation
a(x3-x)+b(y3-y)=0.
Likewise, for the conic case of n = 2, if three of five given points all fall on the same straight line, they may not uniquely determine the curve.
If the curve is required to be in a particular sub-category of n-th degree polynomial equations, then fewer than n(n + 3) / 2 points may be necessary and sufficient to determine a unique curve. For example, three (non-collinear) points determine a circle: the generic circle is given by the equation
(x-a)2+(y-b)2=r2
x2-2ax+y2-2by=k,
k=r2-a2-b2.