This tool diagonalizes a 2x2 matrix by finding its eigenvalues and normalized eigenvectors. When the matrix is symmetric, the eigenvectors are orthogonal and form the columns of an orthogonal matrix , so you can rewrite as . The diagonal matrix exposes how the matrix stretches or compresses space along principal directions. For non-symmetric inputs the calculator still reports eigenvalues, but it flags when complex numbers would occur so you know a real spectral decomposition is unavailable.
The classification line tells you whether the quadratic form is positive definite, negative definite, indefinite, or semidefinite based on the eigenvalues. The conditioning hint compares the magnitudes of the eigenvalues—large ratios mean small perturbations can swing solutions dramatically. Rotation angles show how far the eigenvectors deviate from the standard axes, helpful when visualizing conic sections or covariance ellipses. The orthogonality check confirms that the computed vectors are numerically perpendicular within floating-point tolerance.
Suppose a covariance matrix is . Selecting the preset fills the form with those values. The calculator reports eigenvalues around 4.30 and 0.70. The first eigenvector has an angle near 32° relative to the x-axis, meaning the data’s strongest variance points along that direction. Because both eigenvalues are positive, the matrix is positive definite—exactly what you expect from a covariance matrix. The condition number (ratio of largest to smallest eigenvalue) of about six indicates moderate elongation of the associated ellipse.
Floating-point arithmetic can introduce tiny asymmetries. If you intend to analyze a symmetric matrix but the eigenvectors are not perfectly orthogonal, double-check that the off-diagonal entries match to machine precision. When eigenvalues are nearly equal, eigenvectors become sensitive to perturbations; the calculator automatically constructs an orthogonal complement in that case and warns when the condition number is large. For matrices that produce complex eigenvalues, the tool tells you how far the discriminant is from zero and suggests enforcing symmetry.
Extend your analysis by plotting ellipses aligned with the eigenvectors, experimenting with time-dependent matrices to simulate oscillations, or stepping up to 3x3 cases with numerical software such as NumPy, MATLAB, or Octave. Tracking how eigenvalues evolve as you tweak matrix entries builds intuition for bifurcations and stability boundaries. Keep a log of the scenarios you explore—the copyable summaries make it easy to assemble a learning journal.