Tool for calculating the spectral radius of a matrix, that is to say the maximum value among the absolute values of the eigenvalues of the matrix.
Spectral Radius of a 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!
The spectral radius of a matrix $ M $, denoted $ \rho(M) $, is the highest eigenvalue $ \lambda_{i} $ of the matrix, calculated with absolute value.
$$ \rho(M) = \max \left| \lambda_{i} \right| $$
The spectral radius of a matrix is always positive (thanks to absolute value)
To determine the spectral radius of a matrix, calculate its eigenvalues, then their absolute values, then select the one with the maximum value.
Example: From the 2x2 matrix (order 2) $ M=\begin{bmatrix} 1 & 2 \\ 0 & -3 \end{bmatrix} $, the calculation of eigenvalues gives $ \lambda_1 = -3 $ and $ \lambda_2 = 1 $. The spectral radius is $ \max | \lambda_{i} | = 3 $
dCode has a page dedicated to the calculation of matrix eigenvalues.
Use the matrix eigenvalue calculation page, which contains all the explanations to perform the calculation for all matrix sizes (2x2, 3x3, 4x4, up to NxN).
The spectrum of a matrix is the name sometimes given to the set of its eigenvalues.
dCode retains ownership of the "Spectral Radius of a Matrix" source code. Any algorithm for the "Spectral Radius of a Matrix" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "Spectral Radius of a 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 "Spectral Radius of a 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 "Spectral Radius of a 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: Spectral Radius of a Matrix on dCode.fr [online website], retrieved on 2025-04-15,