Difference between revisions of "Cramer's Rule"
m (→General Solution for 2 Variables) |
(Tag: Undo) |
||
Line 18: | Line 18: | ||
\end{eqnarray*}</cmath> | \end{eqnarray*}</cmath> | ||
− | By Cramer's Rule, the solution to this system is: | + | By Cramer's Rule, the solution to this system is: |
− | <math>x = \frac{\begin{vmatrix} | + | <math>x = \frac{\begin{vmatrix} |
− | r & c \\ | + | r & c \\ |
s & d \end{vmatrix}} | s & d \end{vmatrix}} | ||
{\begin{vmatrix} | {\begin{vmatrix} |
Latest revision as of 17:22, 11 October 2023
Cramer's Rule is a method of solving systems of equations using matrices.
General Form for n variables
Cramer's Rule employs the matrix determinant to solve a system of n linear equations in n variables.
We wish to solve the general linear system for the vector . Here, is the coefficient matrix, is a column vector.
Let be the matrix formed by replacing the jth column of with .
Then, Cramer's Rule states that the general solution is
General Solution for 2 Variables
Consider the following system of linear equations in and , with constants :
By Cramer's Rule, the solution to this system is:
Example in 3 Variables
Here,
Thus,
We calculate the determinants:
Finally, we solve the system: