Matlab doesn't allow me to find the base for an eigenspace from rref-form although it gives an eigenvector for an eigenvalue

9 次查看(过去 30 天)
I have a following matrix for which I first find its eigenvalues:
A=[4,-1,-2,2;-1,3,6,1;-2,6,1,4;2,3,4,-1]
a=eig(A)
After I get the eigenvalues, I try to find the base for the eigenspace for the first eigenvalue a(1) that Matlab gives me (the value is approximately 9.9230). I do the following:
rref([A-a(1)*eye(4), zeros(4,1)])
Matlab returns me an identity matrix with the last column of zeros, suggesting that there are no eigenvectors for that specific eigenvalue. For the other eigenvalues it works normally and lets me deduce the needed bases for the eigenspaces. However, when I use the following
[U,V] = eig(A)
Matlab will indeed give me an example of an eigenvector for the eigenvalue a(1). Hence, there should exist a base for the eigenspace corresponding to that eigenvalue a(1). Could someone please explain, why the rref-form doesn't allow me to deduce the base for the eigenspace? What should I do?

采纳的回答

Matt J
Matt J 2018-11-24
编辑:Matt J 2018-11-24
You should really just do,
null(A-a(1)*eye(4))
But here is what rref gives me,
>> rref([A-a(1)*eye(4), zeros(4,1)])
ans =
1.0000 0 0 0.5297 0
0 1.0000 0 -1.7074 0
0 0 1.0000 -1.7151 0
0 0 0 0 0
  1 个评论
roamingsleep
roamingsleep 2018-11-24
Thank you so much, that's exactly what I was trying find. There must be some kind of a bug on my installed software, for I'm still not able to get those values on my Matlab with the same command...

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Linear Algebra 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by