Q.
The number of elements in the set
$\left\{ A =\begin{pmatrix} a & b \\ 0 & d \end{pmatrix} : a , b , d \in\{-1,0,1\} \text { and }( I - A )^{3}= I - A ^{3}\right\}$
where I is $2 \times 2$ identity matrix, is :
Solution: