Quadratic eigenvalue problem and solution (solved in Mathematica)

Click For Summary
The discussion focuses on solving a quadratic eigenvalue problem using Mathematica, where the eigenvalues are derived from the determinant of a matrix equation. The author employs a linearization technique and constructs vectors that relate to the eigenvalues. While most solutions yield accurate eigenvalues, some are missed, potentially due to the solver's high precision settings. The author considers adjusting the solver's precision to improve results, acknowledging the numerical stability challenges associated with solving the determinant equation. Overall, the conversation emphasizes the importance of experimenting with solver settings to achieve reliable outcomes.
member 428835
Hi PF!

Given the quadratic eigenvalue problem ##Q(\lambda) \equiv (\lambda^2 M + \lambda D + K)\vec x = \vec 0## where ##K,D,M## are ##n\times n## matrices, ##\vec x## a ##1\times n## vector, the eigenvalues ##\lambda## must solve ##\det Q(\lambda)=0##.

When computing this, I employ a linearization technique, a simple matrix pencil, outlined page 6 here: http://www.ma.man.ac.uk/~ftisseur/talks/talk_X13.pdf

At the very end of the technique, I have ##n## vectors of length ##1\times 2n##, call these ##\vec \xi_i##. Evidently ##\vec \xi_i = [\vec x_i,\lambda \vec x_i]##, implying ##\vec x_i## is a ##1 \times n ## vector (see hyperlink, it's fairly simple). When I'm solving in Mathematica, once I have each ##\vec \xi_i## I cut it in half, and use an algebra solver, solving for ##\lambda_i## via the equations ##\vec x_i = \lambda_i \vec x_i##. I loop through this for ##i = 1,n##. Most of the time I recover good solutions that output eigenvalues equivalent to ##\det Q(\lambda)=0##. However, occasionally it misses a few, likely because the solver's precision order is too high (remember, its solving ##n## algebraic equations ##\vec x_i = \lambda_i \vec x_i##, which should all be linearly dependent).

To obtain a solution, should I turn down the precision of the solver, or is this ill-advised?
 
Last edited by a moderator:
Physics news on Phys.org
It is always a problem to solve an equation, here ##\det Q(\lambda)=0## numerically. A little variation of inputs and you miss the zero result. Stability is a problem here. If you don't want to analyze the entire algorithm w.r.t. stability, it's probably best to try a few settings as you mentioned and see what you end up with.
 
  • Like
Likes member 428835
fresh_42 said:
It is always a problem to solve an equation, here ##\det Q(\lambda)=0## numerically. A little variation of inputs and you miss the zero result. Stability is a problem here. If you don't want to analyze the entire algorithm w.r.t. stability, it's probably best to try a few settings as you mentioned and see what you end up with.
Thanks! Just wanted to make sure I'm not doing something insane.
 
Thread 'How to define a vector field?'
Hello! In one book I saw that function ##V## of 3 variables ##V_x, V_y, V_z## (vector field in 3D) can be decomposed in a Taylor series without higher-order terms (partial derivative of second power and higher) at point ##(0,0,0)## such way: I think so: higher-order terms can be neglected because partial derivative of second power and higher are equal to 0. Is this true? And how to define vector field correctly for this case? (In the book I found nothing and my attempt was wrong...

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 25 ·
Replies
25
Views
3K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 20 ·
Replies
20
Views
4K