TOPICS
Search

Linear System of Equations


A linear system of equations over a field is a set of n linear equations in k variables (sometimes called "unknowns"). Linear systems can be represented in matrix form as the matrix equation

 Ax=b,
(1)

where A is the matrix of coefficients, x is the column vector of variables, and b is the column vector of constants.

The system is consistent if and only if

 rank(A)=rank[A|b],
(2)

where [A|b] is the augmented matrix. Equivalently, its reduced row-echelon form must not contain a row of the form [0,...,0|1]. When the system is consistent and x_0 is one particular solution, the complete solution set is the affine coset

 {x:Ax=b}=x_0+Ker(A).
(3)

It is therefore an affine space whose associated vector space is the null space of A. Its dimension is k-rank(A) (Shoup 2009).

If k=n and A is a nonsingular matrix, then the system has a unique solution in the n variables. In particular, as shown by Cramer's rule, there is a unique solution if A has a matrix inverse A^(-1). In this case,

 x=A^(-1)b.
(4)

If b=0, then the system is homogeneous and x=0 is always a solution. It is the unique solution if and only if the null space of A is trivial.

If k<n, the system is overdetermined and is generally inconsistent. If k>n, the system is underdetermined and, if consistent, has free variables. Row reduction of the augmented matrix identifies the pivot variables, free variables, and any inconsistency.


See also

Cramer's Rule, Determinant, Echelon Form, Field, Gaussian Elimination, Linear Equation, Matrix, Matrix Equation, Matrix Inverse, Matrix Rank, Null Space, Pivot Element, Simultaneous Equations, System of Equations

Explore with Wolfram|Alpha

References

Calc101.com. "Step-by-Step Linear Equations, Matrices and Determinants." http://calc101.com/webMathematica/matrix-algebra.jsp.Shoup, V. "Matrices." Ch. 14 in A Computational Introduction to Number Theory and Algebra, 2nd ed. Cambridge, England: Cambridge University Press, pp. 377-398, 2009.

Referenced on Wolfram|Alpha

Linear System of Equations

Cite this as:

Weisstein, Eric W. "Linear System of Equations." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/LinearSystemofEquations.html

Subject classifications