Matrix equation - numeric solving

  • Context: Graduate 
  • Thread starter Thread starter Anthus
  • Start date Start date
  • Tags Tags
    Matrix Numeric
Click For Summary
SUMMARY

The discussion focuses on numerically solving the matrix equation involving the unknown "lambda" represented as (\lambda ^2 \check{A} + \lambda \check{B} + \check{C}) \vec{v}=0, where A, B, and C are n x n matrices. The determinant condition det(\lambda ^2 \check{A} + \lambda \check{B} + \check{C})=0 is crucial for finding lambda. While MATLAB can solve this using symbolic calculations, the user seeks alternatives using the GSL library. The conversation highlights transforming the problem into a first-order eigenproblem, particularly effective when matrix A is symmetric or positive definite.

PREREQUISITES
  • Understanding of eigenvalue problems and eigensystems
  • Familiarity with matrix operations and determinants
  • Knowledge of the GNU Scientific Library (GSL) for numerical computations
  • Experience with MATLAB for symbolic calculations
NEXT STEPS
  • Research how to implement eigenvalue solvers using the GSL library
  • Explore techniques for transforming higher-order polynomial equations into first-order eigenproblems
  • Learn about the properties of symmetric and positive definite matrices in numerical analysis
  • Investigate alternative numerical methods for solving determinant equations
USEFUL FOR

Mathematicians, numerical analysts, software developers working on numerical methods, and anyone involved in solving complex eigenvalue problems.

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 :)
 

Similar threads

  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 8 ·
Replies
8
Views
3K
Replies
2
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 6 ·
Replies
6
Views
1K