How to use this calculator
Rank is the number of linearly independent rows or columns; a relative determinant tolerance helps keep the result stable when all entries are rescaled.
- Enter A₁₁, A₁₂, A₂₁, A₂₂. Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
How 2×2 matrix rank calculator works
Rank is the number of linearly independent rows or columns; a relative determinant tolerance helps keep the result stable when all entries are rescaled.
Inputs and units
- A₁₁: A₁₁ is the first-row, first-column entry.
- A₁₂: A₁₂ is the first-row, second-column entry.
- A₂₁: A₂₁ is the second-row, first-column entry.
- A₂₂: A₂₂ is the second-row, second-column entry.
Formula and method
For [[a,b],[c,d]], det=ad−bc. Rank is 2 when |det|/s²>10⁻¹⁰, rank 1 when the matrix is nonzero but fails that test, and rank 0 for the zero matrix; s=max(|a|,|b|,|c|,|d|).
Worked example
For [[1,2],[2,4]], det=1·4−2·2=0, so its rows are dependent and rank is 1. For 10⁻¹⁵·I, the scaled determinant is 1 and rank remains 2.
Interpreting the result
Rank 2 means two independent directions, rank 1 means one, and rank 0 means every entry is zero. Near-singular classification uses a relative tolerance and is numerical rather than symbolic.
Assumptions and limits
The 10⁻¹⁰ relative determinant threshold is a floating-point policy, not an exact algebraic test. Scaling by the largest entry makes uniform rescaling less influential; matrices extremely close to singular can still depend on precision.
Sources and method
- Matrix products use row-by-column dot products and depend on multiplication order. OpenStax: matrix operations
Frequently asked questions
Can a matrix have rank zero if its entries are tiny?
Only the exact zero matrix is assigned rank zero; nonzero scale is normalized before the determinant tolerance is applied.
Does a small determinant always mean rank one?
The tool compares a scale-normalized determinant, so the entries’ overall magnitude is considered.
How do I use the 2×2 matrix rank calculator?
Enter A₁₁, A₁₂, A₂₁, A₂₂. Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of 2×2 matrix rank?
For [[1,2],[2,4]], det=1·4−2·2=0, so its rows are dependent and rank is 1. For 10⁻¹⁵·I, the scaled determinant is 1 and rank remains 2.
What does the 2×2 matrix rank calculator calculate?
Rank is the number of linearly independent rows or columns; a relative determinant tolerance helps keep the result stable when all entries are rescaled.