Jordan Canonical Form Recall the following definition: Definition 1. We say that two square matrices A and B are similar provided there exists an invertible matrix P so that…