|
|
|
|
|
by philip-b
2065 days ago
|
|
>But, if A is nonzero, then it must have at least one nonzero eigenvalue, hence one nontrivial eigenvector. How about this matrix? [[0, -1],
[[1, 0]]
>However, if v is a right eigenvector with eigenvalue \lambda, then v^T is a left eigenvector with eigenvalue \lambda, as well.A snippet of code producing a counterexample: import numpy as np
import scipy.linalg as spla
A = np.random.randn(3, 3)
right_eigenvector = spla.eig(A)[1][:,0]
right_eigenvalue = ((A @ right_eigenvector) / right_eigenvector)[0]
potential_left_eigenvector = right_eigenvector[np.newaxis, :]
# if all components of the following are not the same, then it's not
# a left eigenvector
print((potential_left_eigenvector @ A) / potential_left_eigenvector)
# prints [[-1.1327836 -0.j -0.14850693-0.j -1.84397691+0.j]]
|
|
The correct theorem is that every complex square matrix has an eigenvector. If we interpret your matrix as a complex matrix, then it does have two eigenvectors, namely [1; ±i]. Hence why I’d say it kind of “doesn’t count.”