Math 2280-2Problem 5.4.31This is a more complicated problem with multiple eigenvalues and chains.with(LinearAlgebra):A:=Matrix(4,4,[35,-12,4,30, 22,-8,3,19, -10,3,0,-9, -27,9,-3,-23]);Eigenvectors(A);Eigenvalue lambda=1 has algebraic multiplicity 4 and we only have two eigenvectors, so this is defective matrix.We now look at the generalized eigenspace for lambda=1:Id:=IdentityMatrix(4):NullSpace((A-1*Id)^4);The two eigenvectors are in this subspace. Let us pick one of these generalized eigenvectors to do a chainu1:=Vector([0,1,0,0]);u2:= (A-Id) . u1;u3:= (A-Id) . u2;u4:=(A-Id) . u3;This means u3 is an eigenvector. So we have a chain of length 3. (If the chain had stopped with two vectors only, we would have tried another basis vector to get the other chain). We have several linearly independent solutionsOne that comes from one of teh eigenvectorsx4:=t-> exp(t)*Vector([0,1/3,1,0]);And the ones that come from the chain. For convenience I defined some vi's which are the ui's in reverse order (look at algorithm p341) v1:=u3: v2:=u2: v3:=u1:x1:=t-> exp(t)*v1;
x2:=t-> exp(t)*(t*v1 + v2);
x3:=t-> exp(t)*(t^2*v1/2 + t*v2 + v3);Let us check that putting these together gives a fundamental solution matrix:Phi := t -> Matrix(4,4,[x1(t),x2(t),x3(t),x4(t)]);Phi(t); # ugly expressionThe following checks that our solution is correct (we should be getting all zeros and the fundamental solution should have linearly indep vectors!)simplify(map(diff,Phi(t),t) - A . Phi(t));Determinant(Phi(0));TTdSMApJNVJUQUJMRV9TQVZFLzEwNDkzNTMyWCwlKWFueXRoaW5nRzYiNiJbZ2whIiUhISEjMSIlIiUiI04iI0EhIzUhI0YhIzchIikiIiQiIioiIiVGLSIiISEiJCIjSSIjPiEiKiEjQkYmTTdSMApJNFJUQUJMRV9TQVZFLzEwMDc5NjBYKiUqYWxnZWJyYWljRzYiNiJbZ2whIyUhISEiJSIlIiIiRidGJ0YnRiY=TTdSMApJNFJUQUJMRV9TQVZFLzkwNDAxMTZYLCUqYWxnZWJyYWljRzYiNiJbZ2whIiUhISEjMSIlIiUhIiIjRiciIi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