SymPy Gamma logo SymPy Gamma

Matrix ([[4,2],[3,1]])*(-1)
(Matrix([
[-4, -2],
[-3, -1]])).inv()
(Matrix([
[-4, -2],
[-3, -1]])).eigenvals()
(Matrix([
[-4, -2],
[-3, -1]])).eigenvects()
See what Wolfram|Alpha has to say.

Want a full Python shell? Use SymPy Live.