|
Long story short,
When I used the Gaussian elimination method to solve the functions of homogeneous linear equations (note that they are homogeneous), I encountered a problem. First I assumed a non-homogeneous linear equations:
3x + 2y-3z = 5
4x-3y + 6z = 1
x-z = 3
List him as a matrix:
3 2 -3 5
4 -3 6 1
1 0 -1 3
Then I call the Gaussian elimination function to get the correct answer:
1 0 0 1.3
0 1 0 -2
0 0 1 -1.7
But if the equation is:
3x + 2y-3z = 0
4x-3y + 6z = 0
x-z = 0
Then, the solution will always be:
1 0 0 0
0 1 0 0
0 0 1 0
Then, no matter what the coefficients of x, y, z are, as long as the constant terms on the right side of the equal sign are 0, then they will always be:
1 0 0 0
0 1 0 0
0 0 1 0
what happened? |
|