Nice eigenvalue decompositions


I will define a nice eigenvalue decomposition (eigendecomposition) as one where both the normalized eigenvector matrix U and its inverse both have finite decimal representations with at most a few digits to the right of the decimal point. This makes it much easier to demonstrate this in class, but such examples are very rare for smaller matrices, and it is not necessarily obvious how to find such examples. In some cases, this author believes the descriptions below give are exhaustive.

  1. 2 × 2 non-symmetric matrices
  2. 2 × 2 symmetric matrices
  3. 3 × 3 non-symmetric matrices
  4. 3 × 3 symmetric matrices
  5. 4 × 4 non-symmetric matrices
  6. 4 × 4 symmetric matrices

Important: If U is a matrix of linearly independent unit eigenvectors where each column is normalized, and where U1 has a finite decimal representation, then if any two columns of U are swapped then the resulting matrix will still have an inverse that has a finite decimal representation. If you swap rows, the inverse may, however, no longer have a finite decimal representation.

None of the examples have a zero eigenvalue, meaning that all of the examples are invertible. The main purpose for this is to show the more difficult case, where the matrix A=UDU1 is as dense as is likely. You are of course welcome to choose appropraite values of the nk so that one of the eigenvalues becomes zero.

Almost nice matrices: If you ensure that the eigenvalues are either multiples of 10 or 100 in any of the below examples, and then divide the resulting UDU1 matrix by 10 or 100, respectively, the resulting matrix, while not necessarily being an integer matrix, will still have integer eigenvalues.

Warning: if you select eigenvalues that are all different, then using the standard techniques of finding the eigenvectors (solving λInA=0n) will have you find these nice eigenvectors. However, if you repeat an eigenvalue, then the basis you find for the higher-dimensional eigenspace may not be these nice eigenvectors.


1. Two-dimensional non-symmetric matrices

The diagonal matrix of eigenvectors will be D=(a00b).

1.1 Upper-triangular 2 × 2 non-symmetric matrices

Two such eigenvector matrices U are upper triangular, and thus U1 is also upper triangular, and thus the matrix A=UDU1 is also upper triangular, which is nice, as a student can read the eigenvalues off of the matrix A itself.


Case 1 of 2

U=(10.600.8) and U1=(10.7501.25)

U = [1, 0.6
     0, 0.8]

A=UDU1=(a34(ba)0b)

If n1 and n2 are any two integers, and a=n1 and b=n2+4n1, then UDU1 will be an integer matrix.

If n1 and n2 are any two integers, and a=10n1 and b=20n2+10n1, then UDU1 will be a matrix with integer eigenvalues with entries having at most one digit beyond the decimal point.

If n1 and n2 are any two integers, and a=100n1 and b=100n2, then UDU1 will be a matrix with integer eigenvalues with entries having at most two digits beyond the decimal point.

You can see some examples here.


Case 2 of 2

U=(10.600.8) and U1=(10.7501.25)

U = [1, -0.6
     0,  0.8]

A=UDU1=(a34(ab)0b)

If n1 and n2 are any two integers, and a=n1 and b=n2+4n1, then UDU1 will be an integer matrix.

You can see some examples here.


1.2 Full 2 × 2 non-symmetric matrices

This author has only been able to find one full eigenvalue matrix that produces nice matrices:


Case 1 of 1

U=(0.60.280.80.96) and U1=(1.20.3510.75)

U = [0.6,  0.28
     0.8, -0.96]

A=UDU1=(125(18a+7b)21100(ab)21100(ab)125(7a+18b))

For A to be an integer matrix with integer eigenvalues, n1,n2 must be integers and let the eigenvalues be n1+28n2,n172n2.

Otherwise, for A to be an matrix with integer eigenvalues with at most 1 digit beyond the decimal point, if the diagonal entries of D are 100n1+10n2,10n2, then define A=110UDU1 and the eigenvalues are the diagonal entries divided by 10.

Otherwise, for A to be an matrix with integer eigenvalues with at most 2 digits beyond the decimal point, if the diagonal entries of D are 100n1,100n2, then define A=1102UDU1 and the eigenvalues are the diagonal entries divided by 102.

You can see some examples here.


2. Two-dimensional symmetric matrices

For symmetric matrices, this is much easier, as we need only need observe that the eigenvalue matrix U can be isometric (orthogonal), and therefore if the first column is (αβ), the second column must be (βα).

Therefore, all we need are 2-dimensional unit vectors that have terminating decimal representations, and these are sufficiently rare:

(0.60.8), (0.280.96) and (0.3520.936)

Other are here, but these have more digits beyond the decimal point.


Case 1 of 3

U=(0.60.80.80.6)

U = [0.6,  0.8
     0.8, -0.6]

A=UDUT=(125(9a+16b)1225(ab)1225(ab)125(16a+9b))

For A to be an integer matrix with integer eigenvalues, n1,n2 must be integers and let the eigenvalues be n1+25n2,n1.

Otherwise, for A to be an matrix with integer eigenvalues with at most 1 digit beyond the decimal point, if the diagonal entries of D are 10n2+50n1,10n2, then define A=110UDUT and the eigenvalues are the diagonal entries divided by 10.

Otherwise, for A to be an matrix with integer eigenvalues with at most 2 digits beyond the decimal point, if the diagonal entries of D are 100n1,100n2, then define A=1102UDUT and the eigenvalues are the diagonal entries divided by 102.

You can see some examples here.


Case 2 of 3

U=(0.280.960.960.28)

U = [0.28,  0.96
     0.96, -0.28]

A=UDUT=(1625(49a+576b)168625(ab)168625(ab)1625(576a+49b))

For A to be an integer matrix with integer eigenvalues, n1,n2 must be integers and let the eigenvalues be n1+625n2,n1.

Otherwise, for A to be an matrix with integer eigenvalues with at most 1 digit beyond the decimal point, if the diagonal entries of D are 10n2+1250n1,10n2, then define A=110UDUT and the eigenvalues are the diagonal entries divided by 10.

Otherwise, for A to be an matrix with integer eigenvalues with at most 2 digits beyond the decimal point, if the diagonal entries of D are 100n2+2500n1,100n2, then define A=1102UDUT and the eigenvalues are the diagonal entries divided by 102.

For A to be an integer matrix with integer eigenvalues, n1,n2 must be integers and let the eigenvalues be n1+625n2,n1.

Otherwise, for A to be an matrix with integer eigenvalues with at most 1 digit beyond the decimal point, if the diagonal entries of D are 10n2+1250n1,10n2, then define A=110UDUT and the eigenvalues are the diagonal entries divided by 10.

Otherwise, for A to be an matrix with integer eigenvalues with at most 2 digits beyond the decimal point, if the diagonal entries of D are 100n2+2500n1,100n2, then define A=1102UDUT and the eigenvalues are the diagonal entries divided by 102.

You can see some examples here.


Case 3 of 3

U=(0.3520.9360.9360.352)

U = [0.352,  0.936
     0.936, -0.352]

A=UDUT=(115625(1936a+13689b)514815625(ab)514815625(ab)115625(13689a+1936b))

For A to be an integer matrix with integer eigenvalues, n1,n2 must be integers and let the eigenvalues be n1+15625n2,n1.

Otherwise, for A to be an matrix with integer eigenvalues with at most 1 digit beyond the decimal point, if the diagonal entries of D are 10n2+31250n1,10n2, then define A=110UDUT and the eigenvalues are the diagonal entries divided by 10.

Otherwise, for A to be an matrix with integer eigenvalues with at most 2 digits beyond the decimal point, if the diagonal entries of D are 100n2+62500n1,100n2, then define A=1102UDUT and the eigenvalues are the diagonal entries divided by 102.

You can see some examples here.


3. Three-dimensional non-symmetric matrices

Three-dimensional unit vectors with at most two digits beyond the decimal point include:

(100), (0.60.80), (0.280.960), (0.360.480.8) and (0.480.60.64).

There are many matrices composed of columns of these vectors that have inverses that too have only at most two digits beyond the decimal point, and therefore we will only give a small sampling.

For clarity, we will use a, b and c for the eigenvalues, and not λ1, λ2 and λ3.

3.1 A block-diagonal eigenvector matrix

There is one reasonably nice example of a block-diagonal matrix using one of the 2 × 2 matrices from above as the second block.


Case 1 of 1

U=(10000.60.2800.80.96) U1=(10001.20.35010.75)

U = [1, 0,    0
     0, 0.6,  0.28
     0, 0.8, -0.96]

A=UDU1=(a000125(18b7c)21100(bc)02425(bc)125(7b+18c))

For A to be an integer matrix with integer eigenvalues, n1,n2,n3 must be integers and let the eigenvalues be n1,72n2+n3,28n2+n3.

Otherwise, for A to be an matrix with integer eigenvalues with at most 1 digit beyond the decimal point, if the diagonal entries of D are 10n2,100n1+10n3,10n3, then define A=110UDU1 and the eigenvalues are the diagonal entries divided by 10.

Otherwise, for A to be an matrix with integer eigenvalues with at most 2 digits beyond the decimal point, if the diagonal entries of D are 100n1,100n2,100n3, then define A=1102UDU1 and the eigenvalues are the diagonal entries divided by 102.

You can see some examples here.


3.2 An upper triangular eigenvector matrix

The following one eigenvector matrix is upper triangular.


Case 1 of 1

U=(10.60.3600.80.48000.8) U1=(10.75001.250.75001.25)

U = [1, 0.6, 0.36
     0, 0.8, 0.48
     0, 0,   0.8]

A=UDU1=(a34(ba)920(cb)0b35(cb)00c)

For A to be an integer matrix with integer eigenvalues, n1,n2,n3 must be integers and let the eigenvalues be 4n120n2+n3,20n2+n3,n3.

Otherwise, for A to be an matrix with integer eigenvalues with at most 1 digit beyond the decimal point, if the diagonal entries of D are 10n2,20n1+10n2+20n3,10n2+20n3, then define A=110UDU1 and the eigenvalues are the diagonal entries divided by 10.

Otherwise, for A to be an matrix with integer eigenvalues with at most 2 digits beyond the decimal point, if the diagonal entries of D are 100n1,100n2,100n3, then define A=1102UDU1 and the eigenvalues are the diagonal entries divided by 102.

You can see some examples here.


3.3 Upper block-triangular eigenvector matrices

The following four eigenvector matrices are block upper triangular.


Case 1 of 4

U=(100.600.60.6400.80.48) U1=(10.60.4500.60.8010.75)

U = [1, 0,    0.6
     0, 0.6,  0.64
     0, 0.8, -0.48]

A=UDU1=(a35(ca)920(ac)0125(9b+16c)1225(bc)01225(bc)125(16b9c))

For A to be an integer matrix with integer eigenvalues, n1,n2,n3 must be integers and let the eigenvalues be n1+20n29n3,n1+16n3,n19n3.

Otherwise, for A to be an matrix with integer eigenvalues with at most 1 digit beyond the decimal point, if the diagonal entries of D are 10n3+20n1,50n2+10n3,10n3, then define A=110UDU1 and the eigenvalues are the diagonal entries divided by 10.

Otherwise, for A to be an matrix with integer eigenvalues with at most 2 digits beyond the decimal point, if the diagonal entries of D are 100n1,100n2,100n3, then define A=1102UDU1 and the eigenvalues are the diagonal entries divided by 102.

You can see some examples here.


Case 2 of 4

U=(10.360.4800.480.6400.80.6) U1=(10.75000.750.8010.6)

U = [1, 0.36,  0.48
     0, 0.48,  0.64
     0, 0.8,  -0.6]

A=UDU1=(a1100(27b+48c)34a36125(bc)0125(9b+16c)48125(bc)035(bc)125(16b+9c))

For A to be an integer matrix with integer eigenvalues, n1,n2,n3 must be integers and let the eigenvalues be n1,n1+4n2+80n3,n1+4n245n3.

Otherwise, for A to be an matrix with integer eigenvalues with at most 1 digit beyond the decimal point, if the diagonal entries of D are 10n2,10n2+260n1+20n3,10n2+10n1+20n3, then define A=110UDU1 and the eigenvalues are the diagonal entries divided by 10.

Otherwise, for A to be an matrix with integer eigenvalues with at most 2 digits beyond the decimal point, if the diagonal entries of D are 100n2,500n1+100n3,100n3, then define A=1102UDU1 and the eigenvalues are the diagonal entries divided by 102.

You can see some examples here.


Case 3 of 4

U=(10.60.600.480.6400.640.48) U1=(11.050.1500.751010.75)

U = [1, 0.6,   0.6
     0, 0.48,  0.64
     0, 0.64, -0.48]

A=UDU1=(a120(9b+12c)2120a120(12b9c)320a0125(9b+16c)1225(bc)01225(bc)125(16b+9c))

For A to be an integer matrix with integer eigenvalues, n1,n2,n3 must be integers and let the eigenvalues be n1,n1340n2400n3,n1+260n2+300n3.

Otherwise, for A to be an matrix with integer eigenvalues with at most 1 digit beyond the decimal point, if the diagonal entries of D are 260n1300n2+10n3,600n1700n2+10n3,10n3, then define A=110UDU1 and the eigenvalues are the diagonal entries divided by 10.

Otherwise, for A to be an matrix with integer eigenvalues with at most 2 digits beyond the decimal point, if the diagonal entries of D are 1300n1300n2+100n3,3000n1700n2+100n3,100n3, then define A=1102UDU1 and the eigenvalues are the diagonal entries divided by 102.

You can see some examples here.


Case 4 of 4

U=(0.60.280.360.80.960.48000.8) U1=(1.20.350.7510.750001.25)

U = [0.6,  0.28, 0.36
     0.8, -0.96, 0.48
     0,    0,    0.8]

A=UDU1=(125(18b+7c)21100(ab)920(ca)2425(ab)125(7b+18b)35(ca)00c)

For A to be an integer matrix with integer eigenvalues, n1,n2,n3 must be integers and let the eigenvalues be n1+100n2,n1,n1+100n2+20n3.

Otherwise, for A to be an matrix with integer eigenvalues with at most 1 digit beyond the decimal point, if the diagonal entries of D are 20n2+10n3,100n120n2+10n3,10n3, then define A=110UDU1 and the eigenvalues are the diagonal entries divided by 10.

Otherwise, for A to be an matrix with integer eigenvalues with at most 2 digits beyond the decimal point, if the diagonal entries of D are 100n1,100n2,100n3, then define A=1102UDU1 and the eigenvalues are the diagonal entries divided by 102.

You can see some examples here.


3.4 Eigenvector matrices zero below the sub-diagonal

The following eigenvector matrix is zero below the sub-diagonal.


Case 1 of 1

U=(0.280.360.480.960.480.6400.80.6) U1=(10.7500.720.210.80.960.280.6)

U = [0.28,  0.36,  0.48
     0.96, -0.48, -0.64
     0,    -0.8,   0.6]

A=UDUT=(725a+1625(162b+288c)21100a12500(189b+256c)36125(cb)2425a1625(216b+384c)1825a+1625(63b+112c)48125(bc)72125(cb)21125(bc)125(16b+9c)) and

For A to be an integer matrix with integer eigenvalues, n1,n2,n3 must be integers and let the eigenvalues be 100n135n2+n3,45n2+n3,80n2+n3.

Otherwise, for A to be an matrix with integer eigenvalues with at most 1 digit beyond the decimal point, if the diagonal entries of D are 100n1+90n2+10n3,250n2+10n3,10n3, then define A=110UDU1 and the eigenvalues are the diagonal entries divided by 10.

Otherwise, for A to be an matrix with integer eigenvalues with at most 2 digits beyond the decimal point, if the diagonal entries of D are 100n2,1700n11600n3+100n2,800n1+900n3+100n2, then define A=1102UDU1 and the eigenvalues are the diagonal entries divided by 102.

You can see some examples here.


3.5 Full eigenvector matrices

This is only full eigenvector matrix, and unfortunately, the eigenvalues must be quite large for the resulting matrix UDU1 to have few digits beyond the decimal point, let alone an integer matrix.


Case 1 of 1

U=(0.360.480.640.480.640.480.80.60.6) U1=(0.840.120.80.120.910.610.750)

U = [0.36,  0.48,  0.64
     0.48,  0.64, -0.48
     0.8,  -0.6,  -0.6]

A=UDUT=12500(756a+144b+1600c108a+1092b1200c720(ab)1008a+192b1200c144a+1456b+900c960(ab)1680a180b1500c240a1365b+1125c1600a+900b) and

For A to be an integer matrix with integer eigenvalues, n1,n2,n3 must be integers and let the eigenvalues be 1413n1+2988n2+4400n3,288n1+613n2+900n3,692n11467n22160n3.

Otherwise, for A to be an matrix with integer eigenvalues with at most 1 digit beyond the decimal point, if the diagonal entries of D are 26730n1+29880n2+4400n3,5480n1+6130n2+900n3,13120n114670n22160n3, then define A=110UDU1 and the eigenvalues are the diagonal entries divided by 10.

Otherwise, for A to be an matrix with integer eigenvalues with at most 2 digits beyond the decimal point, if the diagonal entries of D are 292500n1+298800n2+22000n3,60000n1+61300n2+4500n3,143600n1146700n210800n3, then define A=1102UDU1 and the eigenvalues are the diagonal entries divided by 102.

You can see some examples here.


4. Three-dimensional symmetric matrices

Unfortunately, there is only one eigendecomposition of three-by-three matrices where the eigenvectors have a finite representation with only at most two digits after the decimal point. The eigenvalues must, however, be somewhat large. With the one zero entry, it is a little easier to calculate the characteristic polynomial.


Case 1 of 1

U=(0.60.480.640.80.360.4800.80.6)

U = [0.6,  0.48,  0.64
     0.8, -0.36, -0.48
     0,   -0.8,   0.6]

A=UDUT=(925a+1625(144b+256c)1225a1625(108b+192c)48125(cb)1225a1625(108b+192c)1625a+1625(81b+144c)36125(bc)48125(cb)36125(bc)125(16b+9c)) and

For A to be an integer matrix with integer eigenvalues, n1,n2,n3 must be integers and let the eigenvalues be n1+16n2,n1+71n2+80n3,n154n245n3.

Otherwise, for A to be an matrix with integer eigenvalues with at most 1 digit beyond the decimal point, if the diagonal entries of D are 140n1+90n2+10n3,250n1+250n2+10n3,10n3, then define A=110UDUT and the eigenvalues are the diagonal entries divided by 10.

Otherwise, for A to be an matrix with integer eigenvalues with at most 2 digits beyond the decimal point, if the diagonal entries of D are 100n1,100n2,100n2+2500n3, then define A=1102UDUT and the eigenvalues are the diagonal entries divided by 102.

You can see some examples here.

There is one reasonably nice example, where the eigenvalues are 1, -15 and 10, producing a reasonable nice characteristic polynomial and two zeros on the super-anti-diagonal, making the calculation of the characteristic polynomial easier:

A=(109.6017.29.67.26)

(λ1)((λ1)(λ+6)7.22)9.62(λ1)=(λ1)(λ2+5λ651.84)92.16(λ1) which expands to λ3+4λ2155λ+150. One may observe that 1+4155+150=0 and 1000+4001550+150=0, so 1 and 10 are eigenvalues, and as the product of the eigenvalues is 150, it follows that the last eigenvalue is 15.


However, if you are looking at giving students a sort-of nice example, you must resort to using fractional arithmetic. There are two orthogonal matrices you can consider using that may be reasonable in class.


Case 1 of 2

U=(232313231323132323)

U = [2,  2,  1
     2, -1, -2
     1, -2,  2]/3

A=UDUT=19(4a+4b+c4a2b2c2a4b+2c4a2b2c4a+b+4c2a+2b4c2a4b+2c2a+2b4ca+4b+4c)

For A to be an integer matrix with integer eigenvalues, n1,n2,n3 must be integers and let the eigenvalues be 4n14n23n3,n14n2,2n1+5n2+3n3.

Otherwise, for A to be an matrix with integer eigenvalues with at most 1 digit beyond the decimal point, if the diagonal entries of D are 10n1,10n1+30n2,10n1+60n2+90n3, then define A=110UDUT and the eigenvalues are the diagonal entries divided by 10.

Otherwise, for A to be an matrix with integer eigenvalues with at most 2 digits beyond the decimal point, if the diagonal entries of D are 100n1,100n1+300n2,100n1+600n2+900n3, then define A=1102UDUT and the eigenvalues are the diagonal entries divided by 102.

You can see some examples here.


Case 2 of 2

U=(376727672737273767).

U = [3,  6,  2
     6, -2, -3
     2, -3,  6]/7

A=UDUT=149(9a+36b+4c18a12b6c6a18b+12c18a12b6c36a+4b+9c12a+6b18c6a18b+12c12a+6b18c4a+9b+36c)

respectively.

For A to be an integer matrix with integer eigenvalues, n1,n2,n3 must be integers and let the eigenvalues be 27n163n2+28n3,8n1+28n27n3,n1.

Otherwise, for A to be an matrix with integer eigenvalues with at most 1 digit beyond the decimal point, if the diagonal entries of D are 10n2+350n3+490n1,10n2,10n2+70n3, then define A=110UDUT and the eigenvalues are the diagonal entries divided by 10.

Otherwise, for A to be an matrix with integer eigenvalues with at most 2 digits beyond the decimal point, if the diagonal entries of D are 100n1,100n1+700n2,100n1+3500n2+4900n3, then define A=1102UDUT and the eigenvalues are the diagonal entries divided by 102.

You can see some examples here.


5. Four-dimensional non-symmetric matrices

There are many 4×4 matrices composed of independent but not mutually orthogonal unit vectors where the inverse also has a nice representation. Rather that try to enumerate these, instead, the example file below simply lists many of such matrices giving the matrix U, its inverse U1 and one example where the eigenvalues are 1, 2, 3 and 4.

You can see some examples here.

6. Four-dimensional symmetric matrices

There are two categories. The first is based on a pattern, and then the second is an example that does not follow this pattern.

6.1 Permutations of a normalized vector

First, given any normalized vector (αβγδ), you can trivially create an orthogonal matrix, the columns of which, are orthonormal, by creating the matrix

(αβγδβαδγγδαβδγβα)

We provide five such examples.


Case 1 of 5

U=(0.50.50.50.50.50.50.50.50.50.50.50.50.50.50.50.5)

[0.5,  0.5,  0.5,  0.5
 0.5, -0.5, -0.5,  0.5
 0.5,  0.5, -0.5, -0.5
 0.5, -0.5,  0.5, -0.5]

For A to be an integer matrix with integer eigenvalues, n1,n2,n3,n4 must be integers and let the eigenvalues be n1+2n2+2n4,n1+2n32n4,n1,n1+2n22n3.

Otherwise, for A to be an matrix with integer eigenvalues with at most 1 digit beyond the decimal point, if the diagonal entries of D are 10n1,10n2,10n3,10n3+10n1+10n2+20n4, then define A=110UDUT and the eigenvalues are the diagonal entries divided by 10.

Otherwise, for A to be an matrix with integer eigenvalues with at most 2 digits beyond the decimal point, if the diagonal entries of D are 100n1,100n2,100n3,100n4, then define A=1102UDUT and the eigenvalues are the diagonal entries divided by 102.

You can see some examples here.


Case 2 of 5

U=(0.20.40.40.80.40.20.80.40.40.80.20.40.80.40.40.2)

[0.2,  0.4,  0.4,  0.8
 0.4, -0.2, -0.8,  0.4
 0.4,  0.8, -0.2, -0.4
 0.8, -0.4,  0.4, -0.2]

For A to be an integer matrix with integer eigenvalues, n1,n2,n3,n4 must be integers and let the eigenvalues be 79n1235n2+20n3315n4,21n1+65n25n3+85n4,24n175n2100n4,n1.

Otherwise, for A to be an matrix with integer eigenvalues with at most 1 digit beyond the decimal point, if the diagonal entries of D are 50n4+50n1+50n240n3,10n3,240n4150n1200n2,10n4, then define A=110UDUT and the eigenvalues are the diagonal entries divided by 10.

Otherwise, for A to be an matrix with integer eigenvalues with at most 2 digits beyond the decimal point, if the diagonal entries of D are 100n1,100n2,100n3,100n4, then define A=1102UDUT and the eigenvalues are the diagonal entries divided by 102.

You can see some examples here.


Case 3 of 5

U=(0.10.10.70.70.10.10.70.70.70.70.10.10.70.70.10.1)

[0.1,  0.1,  0.7,  0.7
 0.1, -0.1, -0.7,  0.7
 0.7,  0.7, -0.1, -0.1
 0.7, -0.7,  0.1, -0.1]

For A to be an integer matrix with integer eigenvalues, n1,n2,n3,n4 must be integers and let the eigenvalues be 49n198n2+50n3+50n4,49n150n3+50n4,n1,n1+2n2.

Otherwise, for A to be an matrix with integer eigenvalues with at most 1 digit beyond the decimal point, if the diagonal entries of D are 490n4+50n1+50n2,490n350n1+50n2,10n3,10n4, then define A=110UDUT and the eigenvalues are the diagonal entries divided by 10.

Otherwise, for A to be an matrix with integer eigenvalues with at most 2 digits beyond the decimal point, if the diagonal entries of D are 100n1,100n2,100n3,100n4, then define A=1102UDUT and the eigenvalues are the diagonal entries divided by 102.

You can see some examples here.


Case 4 of 5

U=(0.10.50.50.70.50.10.70.50.50.70.10.50.70.50.50.1)

[0.1,  0.5,  0.5,  0.7
 0.5, -0.1, -0.7,  0.5
 0.5,  0.7, -0.1, -0.5
 0.7, -0.5,  0.5, -0.1]

For A to be an integer matrix with integer eigenvalues, n1,n2,n3,n4 must be integers and let the eigenvalues be 2599n11150n2500n33750n4,551n1+250n2+110n3+800n4,449n1200n290n3650n4,n1.

Otherwise, for A to be an matrix with integer eigenvalues with at most 1 digit beyond the decimal point, if the diagonal entries of D are 25990n41150n1500n23750n3,5510n4+250n1+110n2+800n3,4490n4200n190n2650n3,10n4, then define A=110UDUT and the eigenvalues are the diagonal entries divided by 10.

Otherwise, for A to be an matrix with integer eigenvalues with at most 2 digits beyond the decimal point, if the diagonal entries of D are 8900n4100n1700n2300n3,100n2,100n3,100n4, then define A=1102UDUT and the eigenvalues are the diagonal entries divided by 102.

You can see some examples here.


Case 5 of 5

U=(0.10.30.30.90.30.10.90.30.30.90.10.30.90.30.30.1)

[0.1,  0.3,  0.3,  0.9
 0.3, -0.1, -0.9,  0.3
 0.3,  0.9, -0.1, -0.3
 0.9, -0.3,  0.3, -0.1]

UDUT=1100(a+9b+9c+81d3a3b27c+27d3a+27b3c27d9a9b+9c9d3a3b27c+27d9a+b+81c+9d9a9b+9c9d27a+3b27c3d3a+27b3c27d9a9b+9c9d9a+81b+c+9d27a27b3c+3d9a9b+9c9d27a+3b27c3d27a27b3c+3d81a+9b+9c+d)

For A to be an integer matrix with integer eigenvalues, n1,n2,n3,n4 must be integers and let the eigenvalues be 809n12830n2+90n33640n4,91n1+320n210n3+410n4,99n1350n2450n4,n1.

Otherwise, for A to be an matrix with integer eigenvalues with at most 1 digit beyond the decimal point, if the diagonal entries of D are 100n4+50n1+50n290n3,10n3,990n4350n1450n2,10n4, then define A=110UDUT and the eigenvalues are the diagonal entries divided by 10.

Otherwise, for A to be an matrix with integer eigenvalues with at most 2 digits beyond the decimal point, if the diagonal entries of D are 100n2,100n3,2900n4100n1700n26300n3,100n4, then define A=1102UDUT and the eigenvalues are the diagonal entries divided by 102.

You can see some examples here.

There are many nice examples, including one where the eigenvalues are ±2 and ±3, producing a reasonable nice characteristic polynomial (λ24)(λ29)=λ413λ2+36 and with one zero in each row and column, making the calculation of the characteristic polynomial easier:

A=(1.21.50.901.5201.50.901.21.501.51.52)


6.2 Other orthonormal matrices

There is one other matrix not of this format that has at most one digit beyond the decimal point:


Case 1 of 1

U=(0.50.50.10.70.50.50.10.70.50.50.70.10.50.50.70.1)

[0.5,  0.7,  0.1,  0.5
 0.5, -0.7, -0.1,  0.5
 0.5,  0.1, -0.7, -0.5
 0.5, -0.1,  0.7, -0.5]

UDUT=1100(25a+25b+c+49d25a+25bc49d25a25b7c+7d25a25b+7c7d25a+25bc49d25a+25b+c+49d25a25b+7c7d25a25b7c+7d25a25b7c+7d25a25b+7c7d25a+25b+49c+d25a+25b49cd25a25b+7c7d25a25b7c+7d25a+25b49cd25a+25b+49c+d)

For A to be an integer matrix with integer eigenvalues, n1,n2,n3,n4 must be integers and let the eigenvalues be n1,n1+2n2,49n198n2+50n350n4,n1+2n3+2n4.

Otherwise, for A to be an matrix with integer eigenvalues with at most 1 digit beyond the decimal point, if the diagonal entries of D are 10n2,10n3,250n2490n3100n1+250n4,10n4, then define A=110UDUT and the eigenvalues are the diagonal entries divided by 10.

Otherwise, for A to be an matrix with integer eigenvalues with at most 2 digits beyond the decimal point, if the diagonal entries of D are 100n1,100n2,100n3,100n4, then define A=1102UDUT and the eigenvalues are the diagonal entries divided by 102.

You can see some examples here.


See also

nice singular-value decompositions integer matrices with integer eigenvalues integer matrices with integer singular values integer-normed vectors integer-normed complex vectors geometric sequences with nice norms