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. Any algorithm for the "Jordan Normal Form Matrix" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "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.) or any database download or API access for "Jordan Normal Form Matrix" or any other element are not public (except explicit open source licence like Creative Commons). Same with the download for offline use on PC, mobile, tablet, iPhone or Android app.
Reminder: dCode is an educational and teaching resource, accessible online for free and for everyone.
The content of the page "Jordan Normal Form Matrix" and its results may be freely copied and reused, including for commercial purposes, provided that dCode.fr is cited as the source.
Exporting the results is free and can be done simply by clicking on the export icons ⤓ (.csv or .txt format) or ⧉ (copy and paste).
To cite dCode.fr on another website, use the link:
In a scientific article or book, the recommended bibliographic citation is: Jordan Normal Form Matrix on dCode.fr [online website], retrieved on 2025-04-16,