Given that

M =

1 2

-1 3

find the value(s) of p and q given that M^2 + pM + qI = 0

This is what I did:

M^2 =

-1 8

-4 7

Therefore

p ( 1 2 ) + q ( 1 0 )

...(-1 3 ) .....( 0 1)

=

1 -8

4 -7

I don't know what to do next

(sorry i attempted to use the math bbcode but it got all messed up