Matrix equation - numeric solving

  • Context: Graduate 
  • Thread starter Thread starter Anthus
  • Start date Start date
  • Tags Tags
    Matrix Numeric
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 2K views
Anthus
Messages
14
Reaction score
0
Hello,
my problem is to numerically count "lambda" from that kind of equation:
[tex](\lambda ^2 \check{A} + \lambda \check{B} + \check{C}) \vec{v}=0[/tex]
which means that:
[tex]det(\lambda ^2 \check{A} + \lambda \check{B} + \check{C})=0[/tex]
where A, B and C are n x n matrices, v is unknown vector and "lambda" is unknown.

It is easy to solve it in Matlab using symbolic calculations of determinant to get polynomial, but I write my own program so I can't use it. I have i.e. GSL library. This equation without first or second term is generalized eigensystem, but perhaps not real.
Does anybody know what use to solve that?
 
Physics news on Phys.org
You can turn this into a "first order" eigenproblem with the matrices twice the size

[tex]\lambda\begin{pmatrix}A & 0 \cr 0 & I \end{pmatrix} <br /> \begin{pmatrix}\lambda v \cr v \end{pmatrix} <br /> + \begin{pmatrix}B & C \cr -I & 0\end{pmatrix}<br /> \begin{pmatrix}\lambda v \cr v \end{pmatrix} = 0[/tex]

This works nicely when A is symmetric and/or positive definite.

If matrix C has "nicer" properties than A, you can make a similar eigenproblem with eigenvalues [itex]1/\lambda[/itex]

Note, the [itex]\lambda[/itex] in the eigenvector is not an issue. So far as the numerical solution of the eigenproblem is concerned, the eigenvector is just an arbitrary vector with 2n elements, and the fact that the top half of the vector happens to be a scalar multiple of the bottom half is just a conincidence.
 
Thank you, I'll think about it :)