Trace of a Product
## Formula
$$\operatorname{tr}(AB)=\operatorname{tr}(BA)$$
when both products are defined.
For three square matrices:
$$\operatorname{tr}(ABC)=\operatorname{tr}(BCA)=\operatorname{tr}(CAB)$$
## Usage
- Used to cyclically rearrange factors inside a trace.