# Revision history [back]

### Zero Matrix has an Inverse over Finite Field?

The following code

M = Matrix([0], ring=GF(4))
M


Prints "[0]" as expected. The inverse of M clearly does not exist. Even so, running

M.inverse()


does not throw an error, and instead prints "[1]". What's going on here?

I am running Sage 8.1. Thanks for the help.

 2 retagged slelievre 15419 ●18 ●144 ●305 http://carva.org/samue...

### Zero Matrix has an Inverse over Finite Field?

The following code

M = Matrix([0], ring=GF(4))
M


Prints "[0]" as expected. The inverse of M clearly does not exist. Even so, running

M.inverse()


does not throw an error, and instead prints "[1]". What's going on here?

I am running Sage 8.1. Thanks for the help.