IP331.com | Online Tools
HomeMatrix ToolsCongruent Matrix Checker

Congruent Matrix Checker

Determine if two matrices are congruent (A ≃ B)

Matrix A (Symmetric)
Matrix B (Symmetric)

Congruence Conditions

A ≃ B ⇔ ∃ invertible P: B = PᵀAP
Necessary conditions (must all hold):
• rank(A) = rank(B)
• Same inertia (signature)
• det(A) and det(B) same sign pattern
For symmetric matrices: same inertia ⟺ congruent

Two matrices are congruent if one can be obtained from the other by pre- and post-multiplication by the transpose of an invertible matrix.

For symmetric matrices, Sylvester's Law of Inertia states: two symmetric matrices are congruent iff they have same rank and same numbers of positive, negative, and zero eigenvalues.

What are Congruent Matrices?

Two matrices A and B are congruent if there exists an invertible matrix P such that B = PᵀAP. Congruent matrices represent the same bilinear form under different coordinate systems.

Bilinear Forms

Congruent matrices represent same bilinear form in different bases.

Inertia Preserved

Numbers of positive, negative, zero eigenvalues stay same.

Symmetric Case

Symmetric matrices congruent iff same rank and inertia.

vs Similarity

Similar: B = P⁻¹AP. Congruent: B = PᵀAP.

Teaching Example:
A = [[2,1],[1,3]], B = [[1,0],[0,6]]
1. det(A) = 2*3 - 1*1 = 5 > 0
2. det(B) = 1*6 = 6 > 0
3. Both 2x2 with det > 0
4. A ≃ B (same positive definiteness)

Applications

Quadratic Forms Bilinear Forms Signature Analysis Physics Geometry

Frequently Asked Questions

What are congruent matrices?
A ≃ B if exists invertible P such that B = PᵀAP. Congruent matrices represent same bilinear form under different bases.
Similar vs congruent?
Similar: B = P⁻¹AP. Congruent: B = PᵀAP. Similarity uses inverse, congruence uses transpose.
What is preserved under congruence?
Rank, inertia (signature), and det(P) sign are preserved. Eigenvalues are NOT preserved.
When are symmetric matrices congruent?
Symmetric matrices are congruent iff they have same rank and same inertia (same number of positive, negative, zero eigenvalues).

More Matrix Tools

Free online calculators and tools covering mathematics, unit conversion, text processing, and daily life. Accurate, fast, mobile-friendly, and completely free to use.

© 2026 IP331.com — Free Online Tools. All rights reserved.

About · Contact · Privacy Policy · Cookie Policy · Terms of Use · Disclaimer · Sitemap