Gratis å bruke, uten konto

Egenverdikalkulator

Beregn og kontroller egenverdipar for en reell kvadratisk matrise. Se normaliserte egenvektorer og residual for hvert resultat.

Skriv inn 2–8 rader, én per linje. Skill verdiene med komma, mellomrom eller semikolon. Eksempel: 2, 0 på første linje og 0, 3 på den andre.

Støtter endelige reelle kvadratiske matriser fra 2×2 til 8×8, med verdier innenfor ±1,000,000. Egenverdier og egenvektorer kan være komplekse. Gjentatte egenverdier kan gi gjentatte vektorer; en uavhengig egenvektorbasis garanteres ikke. Resultatene er tilnærminger; kontroller residualene.

Hvordan finner jeg egenverdiene til en matrise?

Skriv inn en reell kvadratisk matrise, én rad per linje, med verdier skilt av komma eller mellomrom. Trykk «Beregn» for å vise sorterte egenverdier, normaliserte egenvektorer og residualer.

Veiledning

Slik bruker du Egenverdikalkulator

The Eigenvalue Calculator finds eigenvalues and eigenvectors of a real square matrix from 2 by 2 up to 8 by 8. Type the numbers one row per line and it lists each eigenpair, with the vector scaled to length one and a residual that shows how closely the matrix times the vector matches the eigenvalue times the vector. Results are numerical estimates, not exact symbolic answers.

Slik gjør du

  1. Type your matrix with one row per line and the numbers of a row separated by commas, spaces or semicolons. It must be square, from 2 by 2 to 8 by 8, with every value between minus and plus 1,000,000.
  2. Press Calculate eigenpairs. If you only want to see how it works, press Load example, which fills in a 2 by 2 matrix with eigenvalues 2 and 3 and runs it.
  3. Read the list. Each item shows an eigenvalue, its normalized eigenvector and a residual, sorted from the smallest real part to the largest. Complex values appear as a plus or minus bi.
  4. Check the residuals, which should be tiny compared with your entries, then press Copy results if you want the text. Clear empties the form and the list.

Eksempler

A symmetric 2 by 2 matrix

Du skriver inn
Matrise
2, 1 1, 2
Du får
Egenverdier
1; 3
Egenvektorer
[0.70710678, -0.70710678]; [0.70710678, 0.70710678]
Restverdier
0.00000000000000015700925; 0

The eigenvalues are 1 and 3. Each vector has length one, so its entries are 1 divided by the square root of 2, about 0.70710678. The first residual is rounding noise near 1.6e-16.

Kjørt med verktøyets egen kode.

A rotation with complex eigenvalues

Du skriver inn
Matrise
0, -1 1, 0
Du får
Egenverdier
0 − 1i; 0 + 1i
Egenvektorer
[0.70710678, 0 + 0.70710678i]; [0.70710678, 0 − 0.70710678i]
Restverdier
0; 0

This matrix turns every vector by a quarter turn, so no real direction stays on its own line. The eigenvalues are minus i and plus i, and the vectors are complex.

Kjørt med verktøyets egen kode.

A repeated eigenvalue

Du skriver inn
Matrise
1, 1 0, 1
Du får
Egenverdier
1; 1
Egenvektorer
[1, 0]; [1, -0.00000000000000066613381]
Restverdier
0; 0.00000000000000066613381

The value 1 appears twice, but the two vectors point the same way up to rounding noise. This matrix has only one independent eigenvector, which the page only hints at in its general note about repeated values.

Kjørt med verktøyets egen kode.

A singular 3 by 3 matrix

Du skriver inn
Matrise
1 2 3 4 5 6 7 8 9
Du får
Egenverdier
-1.116844; 0.0000000000000015998739; 16.116844
Restverdier
about 1e-15 to 1e-14

This matrix has a determinant of zero, so one eigenvalue is exactly 0 in theory. The tool shows it as a tiny number near 1.6e-15, which is rounding noise; the small residuals confirm the result is sound.

Kjørt med verktøyets egen kode.

Når det er nyttig

  • Check eigenvalues from a linear algebra exercise, including non-symmetric matrices and matrices with complex results.
  • See the complex eigenvalues of a rotation-like matrix without working through the characteristic polynomial.
  • Test a small matrix from a model before putting it into a larger numerical library.
  • Compare a hand-calculated eigenvector with a numerical one by looking at its residual.

Begrensninger

  • Only real square matrices from 2 by 2 to 8 by 8 with entries no bigger than 1,000,000 in absolute value are accepted. Text, empty cells, uneven rows or a bigger matrix produce an error message.
  • Results are floating-point approximations shown with up to 8 significant digits. An exact zero can appear as a number such as 1.6e-15, so judge a value by its residual and not by its digits.
  • For repeated eigenvalues the vectors may repeat. The tool does not promise a full set of independent eigenvectors, so it cannot tell you whether a matrix can be diagonalized.
  • If the numerical method does not converge, or a relative residual is above 1e-8, the tool shows an error and no eigenpairs.

Tips

  • Read the residual before the digits. A residual near zero, compared with the size of your entries, means the pair fits well.
  • To check a vector by hand, multiply the matrix by it and compare the result with the eigenvalue times the same vector.
  • A flipped sign on a vector is normal, because if a vector works then so does its negative. Compare directions, not signs.

Kilder

Vanlige spørsmål

How do I find the eigenvalues of a matrix with this tool?

Type the matrix with one row per line, separate the numbers with commas, spaces or semicolons, and press Calculate eigenpairs. The page lists every eigenvalue with its normalized eigenvector and residual, sorted from the smallest real part to the largest.

What does the residual mean?

It is the size of the difference between the matrix times the displayed vector and the eigenvalue times that vector. A value close to zero means a close numerical match. It is reported on the scale of your matrix, so compare it with your entries.

Why does an eigenvalue of zero show as 0.0000000000000016?

The method works with decimal numbers that carry tiny rounding errors, so an exact zero can come out a hair away from zero. The residual stays very small, which tells you the value is still a good match for the matrix.

Can it handle complex eigenvalues?

Yes. A real matrix can have eigenvalues that are complex, and they come in pairs. The tool writes them as a real part plus or minus an imaginary part with an i, and the eigenvectors can have complex entries too.

Why do two eigenvectors look the same when an eigenvalue repeats?

A repeated eigenvalue does not always have two independent eigenvectors. The matrix 1, 1 and 0, 1 is an example, with a single direction. The tool may then list the same vector twice, up to rounding noise.

What method does the calculator use?

The code reports a symmetric tridiagonal QL method for symmetric matrices and a Hessenberg reduction with real Schur QR iteration for other matrices. It scales the matrix first, then rejects any result whose relative residual is above 1e-8.

Are my matrix values uploaded?

No. The calculation runs in your browser, and the page does not send or save the numbers. The Copy results button only places the text on your clipboard when you press it.

Hvordan finner jeg egenverdiene til en matrise?

Skriv inn en reell kvadratisk matrise, én rad per linje, med verdier skilt av komma eller mellomrom. Trykk «Beregn» for å vise sorterte egenverdier, normaliserte egenvektorer og residualer.

Lastes matriseverdiene mine opp?

Nei. Beregningen kjøres lokalt i nettleseren. Matriseverdiene lastes ikke opp eller lagres av verktøyet.

Hvilke matriser støtter egenverdikalkulatoren?

Den støtter reelle kvadratiske matriser fra 2×2 til 8×8, inkludert ikke-symmetriske matriser og komplekse egenverdier.

Hvordan kan jeg kontrollere en egenvektor?

For hvert resultat sammenligner du A multiplisert med den viste normaliserte vektoren med egenverdien multiplisert med samme vektor. Residualen viser normen av differansen; verdier nær null indikerer et godt numerisk samsvar.

Hvorfor kan en egenvektor ha motsatt fortegn?

Hvis v er en egenvektor, er −v også en egenvektor for samme egenverdi. Verktøyet velger et konsekvent fortegn når det er mulig, men fortegnet er ikke matematisk entydig.