Article View: sci.math.num-analysis
Article #1218Re: Very simple eigenvector/eigenvalue calculation
From: Uwe Schmitt
Date: Wed, 07 Nov 2001 10:44
Date: Wed, 07 Nov 2001 10:44
26 lines
2318 bytes
2318 bytes
In sci.math.num-analysis jonmach <jonmach@informix.com> wrote: | Hi All, | I've trawled the net and have found some very comprehensive libraries | and source for calculating the eigenvalues/eigenvectors of an nxn | matrix. However, this is very much overkill for what I need. | I have a single 2X2 matrix holding real values and simply need to | calculate the 2 eigenvalues and corresponding eigenvectors. Is there | a very simple algorithm for this that already exists in | C/Fortran/Java/C++? | Many many thanks in advance for any assistance on this. use the charateristic polynomial of your 2x2 matrix. this polynomial has the degree two and can be solved analytically. you gain the corresponding eigenvectors by appropriate linear equations. hope that helps, yours, uwe. -- Dr. Uwe Schmitt Uwe.Schmitt@num.uni-sb.de Universitaet des Saarlandes Angewandte Mathematik Building 36.1 Room 4.17 PO-Box 151150 D-66041 Saarbruecken Mobile:0177/6806587 Fax:+49(0)681/302-4435 Office:+49(0)681/302-2468
Technical Details
Message-ID:
<9sb3ag$98bkp$1@hades.rz.uni-sb.de>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.tele.dk!small.news.tele.dk!193.174.75.178!news-fra1.dfn.de!news-kar1.dfn.de!hades.rz.uni-sb.de!not-for-mailReferences:
<c31cdc29.0111070230.16042ed1@posting.google.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11516a,e88e7b69d54b66a5
X-Google-Attributes: gid11516a,public
X-Google-Thread: 107079,e88e7b69d54b66a5
X-Google-Attributes: gid107079,public
X-Google-Thread: 1014db,e88e7b69d54b66a5
X-Google-Attributes: gid1014db,public
X-Google-Thread: 10d67e,e88e7b69d54b66a5
X-Google-Attributes: gid10d67e,public
X-Google-Thread: 109d8a,e88e7b69d54b66a5
X-Google-Attributes: gid109d8a,public
X-Google-ArrivalTime: 2001-11-07 03:00:18 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.tele.dk!small.news.tele.dk!193.174.75.178!news-fra1.dfn.de!news-kar1.dfn.de!hades.rz.uni-sb.de!not-for-mail
From: Uwe Schmitt <uwe@rocksport.de>
Newsgroups: sci.math.num-analysis,sci.math,comp.lang.c,aus.mathematics,alt.math.undergrad
Subject: Re: Very simple eigenvector/eigenvalue calculation
Date: 7 Nov 2001 10:44:32 GMT
Organization: University of Saarland, Computing Center, Germany.
Lines: 26
Message-ID: <9sb3ag$98bkp$1@hades.rz.uni-sb.de>
References: <c31cdc29.0111070230.16042ed1@posting.google.com>
User-Agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (Linux/2.4.2-2 (i686))