Gershgorin Circle Theorem Calculator
Enter a real matrix to calculate its row and column Gershgorin discs, the resulting bounds on eigenvalues, and the certificates those discs can support.
Tight real-part enclosure[2, 6]
- Row real-part bound
- [2, 6]
- Column real-part bound
- [2, 6]
- Maximum |Im(λ)|
- 2
- Row discs
- R1: center 4, radius 1, span [3, 5]; R2: center 4, radius 2, span [2, 6]; R3: center 4, radius 1, span [3, 5]
- Column discs
- C1: center 4, radius 1, span [3, 5]; C2: center 4, radius 2, span [2, 6]; C3: center 4, radius 1, span [3, 5]
- Row connected groups
- R{1, 2, 3} contains exactly 3 eigenvalues if isolated
- Column connected groups
- C{1, 2, 3} contains exactly 3 eigenvalues if isolated
- Diagonal dominance
- Rows: strict; columns: strict.
- Nonsingularity check
- Certified by both the row and column disc families.
- Symmetric-matrix certificate
- Positive definite certified: every Gershgorin interval has a strictly positive lower endpoint.
Selected Gershgorin discs and connected groups
| Family | Disc | Center | Radius | Real-axis span | Contains 0 | Group |
|---|---|---|---|---|---|---|
| Row | R1 | 4 | 1 | [3, 5] | No | {1, 2, 3} |
| Row | R2 | 4 | 2 | [2, 6] | No | {1, 2, 3} |
| Row | R3 | 4 | 1 | [3, 5] | No | {1, 2, 3} |
| Column | C1 | 4 | 1 | [3, 5] | No | {1, 2, 3} |
| Column | C2 | 4 | 2 | [2, 6] | No | {1, 2, 3} |
| Column | C3 | 4 | 1 | [3, 5] | No | {1, 2, 3} |
Each connected group is isolated from the other discs in its own family, so its disc count is its exact eigenvalue count with algebraic multiplicity.
Coordinates are calculated from the original entries; the table is the numerical data for the complex-plane disc diagram.
How to use this calculator
- Choose the order of the matrix, from 2 × 2 through 6 × 6.
- Enter the selected leading square of the matrix; values outside that size are ignored.
- Choose whether the disc table should show rows, columns, or both.
- Read the real and imaginary bounds, then open the disc table for each center, radius, and overlap group.
What the Gershgorin circles show
The Gershgorin circle theorem gives regions in the complex plane that must contain every eigenvalue of a square matrix. For a real matrix, each row produces a closed disc centered on the real axis. The calculator also forms the corresponding column discs, which provide a second enclosure of the same spectrum.
For row i, the center is the diagonal entry aᵢᵢ and the radius is the sum of the absolute off-diagonal entries:
Rᵢ = Σ(j ≠ i) |aᵢⱼ|, Dᵢ = {z : |z − aᵢᵢ| ≤ Rᵢ}
The column radius uses the same calculation down a column. Every eigenvalue lies in the union of the row discs and also in the union of the column discs. Their real-axis spans produce row bounds [min(aᵢᵢ − Rᵢ), max(aᵢᵢ + Rᵢ)] and analogous column bounds. Intersecting those two intervals can be tighter than either one alone.
How to read the groups and certificates
Discs overlap when the distance between their real centers is no greater than the sum of their radii. The calculator joins overlapping or just-touching discs transitively. If a group of k discs is separate from the remaining discs of that family, it contains exactly k eigenvalues, counted with algebraic multiplicity. Coincident discs remain separate members of a group, which matters for that count.
A matrix is strictly diagonally dominant by rows when |aᵢᵢ| > Rᵢ for every row; the column version is analogous. This excludes zero from every disc in that family and therefore certifies that the matrix is nonsingular. Weak dominance alone is reported, but it is not treated as an invertibility certificate. A disc that contains zero does not prove that zero is an eigenvalue.
What changes the bounds most
Large off-diagonal entries increase disc radii and widen the enclosure. Moving a diagonal entry shifts its disc without changing its radius. A symmetric real matrix has real eigenvalues, so the displayed discs can be read as intervals. If every interval has a strictly positive lower endpoint, the calculator certifies positive definiteness; strictly negative upper endpoints certify negative definiteness.
What this calculator leaves out
This tool bounds eigenvalues; it does not solve for their exact locations. It accepts real matrices only, whereas complex-entry matrices need complex centers and a full two-dimensional overlap test. Very near a boundary, floating-point rounding can change whether a disc is treated as touching another disc or containing zero.
Worked example
For the symmetric matrix [[4, −1, 0], [−1, 4, −1], [0, −1, 4]], the row radii are 1, 2, and 1. The three row intervals are [3, 5], [2, 6], and [3, 5], so every eigenvalue is in [2, 6] and has imaginary part zero. The column calculation is identical.
All three discs overlap, so they form one connected group containing all three eigenvalues. Every interval starts above zero, which certifies that this symmetric matrix is positive definite. Its strict row and column diagonal dominance also certifies nonsingularity.
Common questions
What does the Gershgorin circle theorem tell you?
It places every eigenvalue of a square matrix inside the union of discs centered at diagonal entries. The radii are determined by the off-diagonal entries in each row, or equivalently by a second family based on columns. It gives bounds and sometimes exact counts in isolated disc groups, not usually the exact eigenvalues.
How do you calculate a Gershgorin disc from a matrix row?
Use the diagonal element as the center. Add the absolute values of all other entries in that row to get the radius. The disc is the set of complex numbers whose distance from that center is no larger than the radius.
Can column discs give tighter eigenvalue bounds?
Yes. The column theorem encloses the same eigenvalues, but its radii can differ substantially from the row radii. Intersecting the row and column real-part bounds can narrow the range reported by either family alone.
Why does an isolated group of k discs contain k eigenvalues?
The strengthened Gershgorin theorem preserves the number of eigenvalues inside any connected component that is separated from all other discs. Each disc contributes one to that count, including coincident discs. Multiplicity is included, so repeated eigenvalues are counted correctly.
Can Gershgorin discs prove that a matrix is invertible?
Yes, when zero lies outside every disc in a complete row family or a complete column family. In particular, strict diagonal dominance is enough to give that certificate. If the calculator cannot certify invertibility, that does not mean the matrix is singular.
Is Gerschgorin a different theorem or an alternate spelling?
It is an alternate spelling of the same theorem, named after Semyon Gershgorin. You may also see Geršgorin in sources that use the accented transliteration. The formula and result are the same.