Ch-4.3-exam-4-Final-황성빈

1902 days ago by matrix

A=matrix(QQ, 2, 2, [-2, 4, 1, 1]) # input A print A.charpoly() # characteristic equation of A print print solve(x^2 + x - 6==0, x) print print A.eigenvalues() # eigenvalues of A print print (2*identity_matrix(2)-A).echelon_form() # consider only coefficient matrix print print (-3*identity_matrix(2)-A).echelon_form() # consider only coefficient matrix 
       
x^2 + x - 6

[
x == -3,
x == 2
]

[2, -3]

[ 1 -1]
[ 0  0]

[1 4]
[0 0]
x^2 + x - 6

[
x == -3,
x == 2
]

[2, -3]

[ 1 -1]
[ 0  0]

[1 4]
[0 0]