Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #9016 > unrolled thread
| Started by | Konstantin <kparchevsky@gmail.com> |
|---|---|
| First post | 2012-03-14 05:42 +0000 |
| Last post | 2012-03-14 05:42 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
Mathematica and square roots Konstantin <kparchevsky@gmail.com> - 2012-03-14 05:42 +0000
| From | Konstantin <kparchevsky@gmail.com> |
|---|---|
| Date | 2012-03-14 05:42 +0000 |
| Subject | Mathematica and square roots |
| Message-ID | <jjpb50$p7f$1@smc.vnet.net> |
Dear All!
I am new to this group. May be this question was already discussed,
but I did not find solution, searching this group. I was calculating
eigenvalues {x} and eigenvectors {v} of a square matrix A. The
characteristic polynomial looks like
(x^2 - a^2) (...) = 0
Command Eigenvalues[A] gives me eigenvalues
x1 = +a; x2 = -a; x3 = ...
Command Eigenvectors[A] gives corresponding eigenvectors.
The problem is that 'a' in my computations can be both negative and
positive. So, eigenvalues x1 and x2 can be either negative or positive
depending on sign 'a'. It is much more convenient for further
computations to have eigenvalues of fixed sign. I want my eigenvalues
look like
x1 = +Abs[a]; x2 = -Abs[a]; x3 = ...
And, of course, I want to have corresponding eigenvectors.
Is it possible to do this using Eigenvalues and Eigenvectors, or I
have to solve equation
A v = Abs[a] v
"manually" to find eigenvector 'v' which corresponds to the eigenvalue
Abs[a]?
Thank you in advance.
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web