General Case
Consider a system of n linear equations for n unknowns, represented in matrix multiplication form as follows:
|
where the n by n matrix has a nonzero determinant, and the vector is the column vector of the variables.
Then the theorem states that in this case the system has a unique solution, whose individual values for the unknowns are given by:
where is the matrix formed by replacing the ith column of by the column vector .
The rule holds for systems of equations with coefficients and unknowns in any field, not just in the real numbers. It has recently been shown that Cramer's rule can be implemented in O(n3) time, which is comparable to more common methods of solving systems of linear equations, such as Gaussian elimination.
Read more about this topic: Cramer's Rule
Famous quotes containing the words general and/or case:
“There are two great rules in life, the one general and the other particular. The first is that every one can in the end get what he wants if he only tries. This is the general rule. The particular rule is that every individual is more or less of an exception to the general rule.”
—Samuel Butler (18351902)
“The real exertion in the case of an opera singer lies not so much in her singing as in her acting of a role, for nearly every modern opera makes great dramatic and physical demands.”
—Maria Jeritza (18871982)