Consider the diagonal matrix
\[A=\left[\begin{array}{lll}
a & 0 & 0 \\
0 & b & 0 \\
0 & 0 & c
\end{array}\right].\]
a. For which values of $a, b,$ and $c$ is $A$ invertible? If it is invertible, what is $A^{-1} ?$
b. For which values of the diagonal elements is a diagonal matrix (of arbitrary size) invertible?