Inverse of a diagonal matrix is obtained by taking reciprocal of the diagonal elements .
i.e if a diagonal element is a1 , in inverse it will be 1/a1.
But what if a1=0?
A diagonal matrix cannot have all elements as 0 , but it can have 0 elements right?
In that case , 1/0 is undefined.