(7) D =
|1 2 3 4 5|
|0 -5 -10 -15 -20|
|0 1 0 1 1|
|0 0 0 1 3|
|0 0 0 2 4|
D = -5*
|1 2 3 4 5|
|0 1 2 3 4|
|0 0 -2 -2 -3|
|0 0 0 1 3|
|0 0 0 0 -2|
D = -5*1*1(-2)*1*(-2) = -20
先把最后一行和第二行换了,行列式要加负号