In mathematics, a system of linear equations or a system of polynomial equations is considered underdetermined if there are fewer equations than unknowns. The terminology can be explained using the concept of constraint counting. Each unknown can be seen as an available degree of freedom. Each equation introduced into the system can be viewed as a constraint that restricts one degree of freedom. Therefore, the critical case occurs when the number of equations and the number of free variables are equal. For every variable giving a degree of freedom, there exists a corresponding constraint removing a degree of freedom. The underdetermined case, by contrast, occurs when the system has been underconstrained—that is, when the unknowns outnumber the equations.
Solutions of underdetermined systems
An underdetermined linear system has either no solution or infinitely many solutions. For example, is an underdetermined system without any solution; any system of equations having no solution is said to be inconsistent. On the other hand, the system is consistent and has an infinitude of solutions, such as =,, and. All of these solutions can be characterized by first subtracting the first equation from the second, to show that all solutions obey z=2; using this in either equation shows that any value of y is possible, with x=–1–y. More specifically, according to the Rouché–Capelli theorem, any system of linear equations is inconsistent if the rank of the augmented matrix is greater than the rank of the coefficient matrix. If, on the other hand, the ranks of these two matrices are equal, the system must have at least one solution; since in an underdetermined system this rank is necessarily less than the number of unknowns, there are indeed an infinitude of solutions, with the general solution having k free parameters where k is the difference between the number of variables and the rank. There are algorithms to decide whether an underdetermined system has solutions, and if it has any, to express all solutions as linear functions of k of the variables. The simplest one is Gaussian elimination. See System of linear equations for more details.
Homogeneous case
The homogeneous underdetermined linear system always has non-trivial solutions. There are an infinity of such solutions, which form a vector space, whose dimension is the difference between the number of unknowns and the rank of the matrix of the system.
Underdetermined polynomial systems
The main property of linear underdetermined systems, of having either no solution or infinitely many, extends to systems of polynomial equations in the following way. A system of polynomial equations which has fewer equations than unknowns is said to be underdetermined. It has either infinitely many complex solutions or is inconsistent. It is inconsistent if and only if is a linear combination of the equations. If an underdetermined system of t equations in n variables has solutions, then the set of all complex solutions is an algebraic set of dimension at least. If the underdetermined system is chosen at random the dimension is equal towith probability one.
In general, an underdetermined system of linear equations has an infinite number of solutions, if any. However, in optimization problems that are subject to linear equality constraints, only one of the solutions is relevant, namely the one giving the highest or lowest value of an objective function. Some problems specify that one or more of the variables are constrained to take on integer values. An integer constraint leads to integer programming and Diophantine equations problems, which may have only a finite number of solutions. Another kind of constraint, which appears in coding theory, especially in error correcting codes and signal processing, consists in an upper bound on the number of variables which may be different from zero. In error correcting codes, this bound corresponds to the maximal number of errors that may be corrected simultaneously.