# Matrix Trace Calculator

The calculator will find the trace of the matrix, with steps shown.

## Your Input

**Find the trace of $$$\left[\begin{array}{ccc}-2 & 5 & 7\\4 & 6 & 1\\8 & -9 & 5\end{array}\right]$$$.**

## Solution

The trace of a matrix is the sum of its diagonal elements, so the trace is $$$-2 + 6 + 5 = 9$$$.