用克莱姆法则解线性方程组x1-2x2+4x3=2-x1+2x2-x3=12x1-3x2+7x3=2解: D= 1 -2 4-1 2 -1 2 -3 7= -3D1 = 2 -2 4 1 2 -1 2 -3 7= 12D2 = 1 2 4-1 1 -1 2 2 7= 3D3 = 1 -2 2-1 2 1 2 -3 2=-3由克莱姆法则, x1=D1/D=-4,x2=D2/D=-1,x3=D3/D=1