Page 1 sur 1

solving a generator system

Publié : ven. oct. 31, 2025 4:35 am
par compsystems
Hello, I have a question about solving a generator system.

augmented matrix A |X:

[[3,1,x1],
[2,1,x2],
[1,-2,x3]]


ref([[3,1,x1],[2,1,x2],[1,-2,x3]],keep_pivot) [enter]
[[1,-2,x3],
[0,5,x2-2*x3],
[0,0,5*x1-7*x2-x3]]

0=5*x1-7*x2-x3 (restriction in the last row )

last row
but

ref([[3,1,x1],[2,1,x2],[1,-2,x3]]) [enter]
[[1,-2,x3],
[0,1,(x2-2*x3)/5],
[0,0,1]]

last row
0=1

Why is there a solution in one case (with restrictions) and not in another (contradiction)?

Re: solving a generator system

Publié : dim. nov. 02, 2025 2:16 pm
par parisse
keep_pivot prevents dividing by the pivot. Dividing does the implicit assumption that the pivot is not 0 (generically true in your example, but not always).