rule of Sarrus
Rule of Sarrus

Rule of Sarrus is a simple formula for computing the determinant of a \[3\times 3\] matrix.
Consider a \[3\times 3\] matrix, \[M=\begin{pmatrix} a&b&c\\d&e&f\\g&h&i \end{pmatrix}\], then \[\det(M)=aei+bfg+cdh-ceg-bdi-afh\]. One can also apply this pattern to a \[2\times 2\] matrices, such that if \[N=\begin{pmatrix} a&b\\c&d \end{pmatrix}\], then \[\det(N)=ad-bc\].
Proof
Let \[M=\begin{pmatrix} a&b&c\\d&e&f\\g&h&i \end{pmatrix}\]. Using Laplace expansion,