Tool to calculate the Jordan Normal Form of a Matrix (by Jordan reduction of a square matrix) to get, by decomposition, 2 matrices S and J such that M = S . J . S̄
Jordan Normal Form Matrix - dCode
Tag(s) : Matrix
dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!
A square matrix $ M $ of size $ n \times n $ is diagonalizable if and only if the sum of the dimensions of its eigen spaces is $ n $.
If $ M $ is not diagonalisable, there exists an almost diagonal matrix $ J $, so-called Jordan matrix, which has nonzero elements on the main diagonal and on the first diagonal above. More precisely, the Jordan matrix will have the eigenvalues $ \lambda_i $ on the diagonal and sometimes from 1 just above (in case of multiplicity), i.e. of the normal form of Jordan $$ \begin{bmatrix} \lambda_i & 1 & \; & \; \\ \; & \lambda_i & \ddots & \; \\ \; & \; & \ddots & 1 \\ \; & \; & \; & \lambda_i \end{bmatrix} $$
Take $ M $ a square matrix of size $ n $, which has for eigen values the set of $ \lambda_i $.
Example: $$ M = \begin{bmatrix} 4 & 0 & 0 \\ 0 & 4 & -1 \\ 0 & 1 & 2 \end{bmatrix} \Rightarrow \lambda_1 = \lambda_2 = 3, \lambda_3 = 4 $$ Here, $ M $ has only 2 eigen vectors: $ v_1 = \begin{pmatrix} 1 \\ 0 \\ 0 \end{pmatrix} $ et $ v_2 = \begin{pmatrix} 0 \\ 1 \\ 1 \end{pmatrix} $, so is not diagonalizable, but has for Jordan matrix (canonical form) $$ J = \begin{bmatrix} 3 & 1 & 0 \\ 0 & 3 & 0 \\ 0 & 0 & 4 \end{bmatrix} $$
Example: Alternative method: calculate the matrix $ S $ by finding a third vector $ v_3 $ such as $ (M - 3 I_3) v_3 = k_1 v_1 + k_2 v_2 \Rightarrow v_3 = \begin{pmatrix} 0 \\ 1 \\ 0 \end{pmatrix} $. So $$ S = \begin{bmatrix} 0 & 0 & 1 \\ 1 & 1 & 0 \\ 1 & 0 & 0 \end{bmatrix} $$ and $ M = S . J . S^{-1} $
Jordan's decomposition is obtaining, from a matrix $ M $, the matrices $ S $ and $ J $ such that $ M = S . J . S^{-1} $
The reduction is the operation which makes it possible to pass from the matrix $ M $ to the Jordan matrix $ J $ (which is said to be reduced)
If $ M = SJS^{-1} $ Then $ M^k = SJ^kS^{-1} $ (see matrix powers).
dCode retains ownership of the "Jordan Normal Form Matrix" source code. Except explicit open source licence (indicated Creative Commons / free), the "Jordan Normal Form Matrix" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or the "Jordan Normal Form Matrix" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and all data download, script, or API access for "Jordan Normal Form Matrix" are not public, same for offline use on PC, mobile, tablet, iPhone or Android app!
Reminder : dCode is free to use.
The copy-paste of the page "Jordan Normal Form Matrix" or any of its results, is allowed (even for commercial purposes) as long as you credit dCode!
Exporting results as a .csv or .txt file is free by clicking on the export icon
Cite as source (bibliography):
Jordan Normal Form Matrix on dCode.fr [online website], retrieved on 2024-12-21,