Eigenvalue Calculator

All free toolsAdvanced Mathematics
Advanced MathematicsFree online tool

Eigenvalue Calculator

Calculate real eigenvalues of a real symmetric matrix.

This browser tool supports real symmetric matrices (A = Aᵀ), up to 8 × 8, using the Jacobi rotation method. For non-symmetric matrices or complex eigenpairs, use specialist numerical software.

Free online tool by SOCE. Check inputs and results before using them for important decisions.

Eigenvalue Calculator

Calculate the eigenvalues of a square matrix with the SOCE Eigenvalue Calculator. Eigenvalues are fundamental concepts in linear algebra, engineering mathematics, structural dynamics, vibration analysis, numerical methods, and many other scientific applications.

Whether you are studying matrix theory, solving eigenvalue problems, analysing structural vibrations, or working with finite element models, understanding eigenvalues is essential.

This page explains the definition of eigenvalues, characteristic equations, calculation methods, worked examples, important properties, and practical engineering applications.

What Is an Eigenvalue?

An eigenvalue is a scalar value associated with a square matrix that describes how a corresponding non-zero eigenvector is scaled by the matrix transformation.

For a square matrix A, an eigenvalue λ and its corresponding non-zero eigenvector v satisfy:

Av = λv

Where:

  • A = Square matrix
  • λ = Eigenvalue
  • v = Corresponding non-zero eigenvector
  • Av = Matrix-vector product

In simple terms, when a matrix operates on an eigenvector, the resulting vector remains in the same direction (or the opposite direction for a negative eigenvalue), with its magnitude scaled by the eigenvalue.

Eigenvalue Formula

The eigenvalues of a square matrix A are obtained by solving the characteristic equation:

det(A − λI) = 0

Where:

  • A = Original square matrix
  • λ = Eigenvalue
  • I = Identity matrix of the same order as A
  • det = Determinant

The determinant expression produces a polynomial in λ, known as the characteristic polynomial. Its roots are the eigenvalues of the matrix.

An equivalent convention is det(λI − A) = 0. Both equations have the same roots.

How to Calculate Eigenvalues of a Matrix

Follow these steps to calculate the eigenvalues of a square matrix:

  1. Identify the given square matrix A.
  2. Determine the order of the matrix.
  3. Construct the matrix A − λI.
  4. Calculate the determinant det(A − λI).
  5. Set the determinant equal to zero.
  6. Expand and simplify the characteristic equation.
  7. Solve the resulting polynomial equation to obtain the eigenvalues.

The number of eigenvalues, counting algebraic multiplicity over the complex numbers, equals the order of the matrix.

Example 1: Eigenvalues of a 2×2 Matrix

Consider the matrix:

A = [[4, 1], [2, 3]]

The eigenvalues are obtained from:

det(A − λI) = 0

Substituting the matrix:

|4 − λ, 1; 2, 3 − λ| = 0

Expanding the determinant:

(4 − λ)(3 − λ) − 2 = 0

12 − 7λ + λ² − 2 = 0

Rearranging:

λ² − 7λ + 10 = 0

Factorising:

(λ − 5)(λ − 2) = 0

Therefore, the eigenvalues are:

λ₁ = 5 and λ₂ = 2

Example 2: Eigenvalues of a 3×3 Matrix

Consider:

A = [[2, 0, 0], [0, 3, 0], [0, 0, 4]]

For a diagonal matrix, the eigenvalues are its diagonal elements.

Therefore:

λ₁ = 2, λ₂ = 3 and λ₃ = 4

This example illustrates an important property of diagonal matrices: their eigenvalues are the entries along the main diagonal, including repeated values where applicable.

Characteristic Polynomial

The characteristic polynomial is obtained by evaluating:

p(λ) = det(λI − A)

For an n×n matrix, it is a polynomial of degree n.

For a 2×2 matrix:

A = [[a, b], [c, d]]

The characteristic polynomial is:

p(λ) = λ² − (a + d)λ + (ad − bc)

It can also be expressed as:

p(λ) = λ² − tr(A)λ + det(A)

Where tr(A) is the trace of the matrix.

The roots of the characteristic polynomial are the eigenvalues.

Important Properties of Eigenvalues

Understanding eigenvalue properties helps simplify matrix calculations and verify results.

1. Sum of Eigenvalues

The sum of the eigenvalues, including algebraic multiplicities, equals the trace of the matrix:

Σλᵢ = tr(A)

2. Product of Eigenvalues

The product of the eigenvalues, including algebraic multiplicities, equals the determinant:

Πλᵢ = det(A)

3. Eigenvalues of a Diagonal Matrix

The eigenvalues of a diagonal matrix are its diagonal elements.

4. Eigenvalues of an Identity Matrix

Every eigenvalue of an identity matrix is equal to 1.

5. Eigenvalues of a Triangular Matrix

The eigenvalues of an upper or lower triangular matrix are its diagonal elements.

6. Eigenvalues of a Transpose

A matrix and its transpose have the same characteristic polynomial and therefore the same eigenvalues, including algebraic multiplicities.

7. Eigenvalues of an Inverse

If A is invertible, the eigenvalues of A⁻¹ are the reciprocals of the eigenvalues of A.

8. Eigenvalues of a Scalar Multiple

If λ is an eigenvalue of A, then kλ is an eigenvalue of kA, where k is a scalar.

What Is an Eigenvector?

An eigenvector is a non-zero vector associated with an eigenvalue. It satisfies:

Av = λv

Rearranging:

(A − λI)v = 0

After finding an eigenvalue, its corresponding eigenvector can be calculated by solving this homogeneous system of linear equations.

An eigenvalue may have more than one linearly independent eigenvector. Any non-zero scalar multiple of an eigenvector is also an eigenvector corresponding to the same eigenvalue.

Difference Between Eigenvalues and Eigenvectors

Eigenvalues Eigenvectors
Scalar values Non-zero vectors
Represent scaling factors Represent invariant directions
Denoted by λ Commonly denoted by v
Obtained from the characteristic equation Obtained by solving (A − λI)v = 0

Applications of Eigenvalues in Engineering

Eigenvalues are important in many engineering and scientific applications.

1. Structural Dynamics

Eigenvalue analysis is used to determine the natural frequencies of structures. In an undamped free-vibration problem:

[K − ω²M]φ = 0

Where:

  • K = Global stiffness matrix
  • M = Global mass matrix
  • ω = Natural circular frequency
  • φ = Mode shape vector

The eigenvalues of the corresponding generalized eigenvalue problem are related to the square of the natural circular frequencies.

2. Finite Element Analysis

Eigenvalue analysis is used in modal analysis, buckling analysis, and other numerical investigations involving matrix equations.

3. Earthquake Engineering

Modal analysis helps determine the dynamic characteristics of structures, including natural periods and mode shapes.

4. Mechanical Engineering

Eigenvalues are used to investigate vibration characteristics and dynamic stability.

5. Electrical Engineering

Eigenvalue methods are used in control systems, circuit analysis, and system stability studies.

6. Mathematics and Computer Science

Eigenvalues are used in linear transformations, differential equations, data analysis, and numerical algorithms.

Frequently Asked Questions (FAQs)

1. What is an eigenvalue of a matrix?

An eigenvalue is a scalar λ that satisfies Av = λv for a square matrix A and a corresponding non-zero eigenvector v.

2. What is the formula for finding eigenvalues?

The characteristic equation is:

det(A − λI) = 0

Solving this equation gives the eigenvalues.

3. Can a rectangular matrix have eigenvalues?

The standard eigenvalue problem Av = λv is defined for square matrices because the matrix and vector must have compatible dimensions and the output must have the same dimension as the input vector.

4. How many eigenvalues does a matrix have?

An n×n matrix has n eigenvalues over the complex numbers when counted with algebraic multiplicity. Some eigenvalues may be repeated.

5. Can eigenvalues be negative?

Yes. Eigenvalues can be positive, negative, zero, or complex, depending on the matrix.

6. What is the difference between eigenvalues and eigenvectors?

Eigenvalues are scalar scaling factors, while eigenvectors are the corresponding non-zero vectors whose directions are preserved by the matrix transformation.

7. What is a characteristic equation?

A characteristic equation is the polynomial equation obtained by setting det(A − λI) equal to zero. Its roots are the eigenvalues.

8. What is the relationship between eigenvalues and the determinant?

The product of all eigenvalues, including algebraic multiplicities, equals the determinant of the matrix.

Calculate Matrix Eigenvalues Online with SOCE

Use the SOCE Eigenvalue Calculator to support your matrix calculations and studies in linear algebra, engineering mathematics, and numerical methods.

Understanding eigenvalues is especially important for structural dynamics, modal analysis, finite element methods, vibration analysis, and engineering stability problems.

Explore more free mathematics and engineering tools at SOCE.