{{ tocSubheader }}
| {{ 'ml-lesson-number-slides' | message : article.intro.bblockCount }} |
| {{ 'ml-lesson-number-exercises' | message : article.intro.exerciseCount }} |
| {{ 'ml-lesson-time-estimation' | message }} |
System of Equations | Coefficient Matrix | Variable Matrix | Constants Matrix |
---|---|---|---|
{ax+by=ecx+dy=f
|
A=[acbd]
|
x=[xy]
|
b=[ef]
|
If the determinant of A is non-zero, then the system has a unique solution x whose components are given by the equations below.
In the equations above, A1 and A2 are the coefficient matrices where, for A1, the first column is replaced by the constant matrix b, and for A2, the second column is replaced by b. Cramer's Rule also applies for systems with more than two equations.
System of Equations | Matrix Equation |
---|---|
⎩⎪⎪⎨⎪⎪⎧a1x+b1y+c1z=d1a2x+b2y+c2z=d2a3x+b3y+c3z=d3
|
⎣⎢⎡a1a2a3b1b2b3c1c2c3⎦⎥⎤⋅⎣⎢⎡xyz⎦⎥⎤=⎣⎢⎡d1d2d3⎦⎥⎤ |
Solutions | |
x=∣A∣∣∣∣∣∣∣∣d1d2d3b1b2b3c1c2c3∣∣∣∣∣∣∣;y=∣A∣∣∣∣∣∣∣∣a1a2a3d1d2d3c1c2c3∣∣∣∣∣∣∣; z=∣A∣∣∣∣∣∣∣∣a1a2a3b1b2b3d1d2d3∣∣∣∣∣∣∣ |
A similar process to eliminate the x-variable gives the second equation.
In conclusion, when ∣A∣=0, the system has a unique solution x whose components are the ones above.