Copy the first two columns of a matrix to its right. The determinant is the sum of the three products running down to the right minus the sum of the three products running up to the right.
| Step | On | |
|---|---|---|
| 1 | Check that the matrix is 3×3. The rule works for this size only. | ✓ |
| 2 | Copy the first two columns to the right. You get a array. | |
| 3 | Add the three downward diagonal products. Start at the top of columns 1, 2 and 3 and go down to the right. | |
| 4 | Add the three upward diagonal products. Start at the bottom of columns 1, 2 and 3 and go up to the right. | |
| 5 | Subtract: downward sum minus upward sum. Subtract the whole upward sum, not just its first term. |