Consider the matrix \(\begin{bmatrix}1&0&0&0\\0&a-1&b+1&0\\0&b-2&2&0\\0&0&0&3\end{bmatrix}\). Express your answer with parametric equations in \(\mathbf R^2\) for the following requirements.
a. (5 %) Find all possible \(a\) and \(b\) for rank 2?
b. (10 %) Find all possible \(a\) and \(b\) for rank 3?
c. (10 %) Find all possible \(a\) and \(b\) for nonsingular matrix.