1
$\begingroup$

Here, I have one problem in finding nontrivial solutions of a system of equations. I want to choose one variable, for example X1 and to get solutions of X2(X1) and X3(X1). It is not difficult when I have three unknowns, it can be solved by hand quickly, but if I have system with many unknowns, how can I find nontrivial solutions of a system with chosen unknown for example first X1 and to find others in function of X1. Here is a an example. I need X2(X1) and X3(X1)

 A={{A11, A12, A13}, {A21, A22, A23}, {A31, A32, A33}};
 X={{X1}, {X2}, {X3}};

Solve[(A-λ*IdentityMatrix[3]).X==0,{X2,X3}]

or with four unknowns I am looking for nontrivial solutions X2(X1),X3(X1),X4(X1)

 A={{A11, A12, A13,A14}, {A21, A22, A23, A24}, {A31, A32, A33, A34}};
 X={{X1}, {X2}, {X3}, {X4}};

Solve[(A-λ*IdentityMatrix[4]).X==0,{X2,X3,X4}]
$\endgroup$
  • $\begingroup$ Solve[(A - \[Lambda]*IdentityMatrix[3]).X == 0, {X2, X3}, MaxExtraConditions -> All] ? $\endgroup$ – Dr. belisarius May 18 '13 at 1:22
  • 1
    $\begingroup$ How about using Eigensystem? Eigensystem[A] $\endgroup$ – Jens May 18 '13 at 1:31
  • $\begingroup$ ...if $\lambda$ is in fact an eigenvalue of your system, then you can use @Jens's suggestion and pick out an appropriate eigenvector that you can then normalize. If not, then you have a nonsingular system of linear equations, easily handled by Solve[]. $\endgroup$ – J. M. will be back soon May 18 '13 at 1:43
  • $\begingroup$ @Jens Eigensystem gave a large output. If I already have a lambda eigenvalues, how to get X2(lambda,X1) and X3(lambda,X1) directly? Solve doesn't work, Eigensystem gave a mess with root, I already have roots and.. $\endgroup$ – Pipe May 18 '13 at 10:20
  • $\begingroup$ Try to do it by hand and see if you can get a smaller answer, without knowing anything about the matrix coefficients and $\lambda$. $\endgroup$ – Jens May 18 '13 at 15:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.