learn.howToCalculate
learn.whatIsHeading
The transpose of a matrix swaps its rows and columns. If A is an m×n matrix, Aᵀ is an n×m matrix. Transposes are used in linear algebra, machine learning, and solving systems of equations.
Формула
If A is m × n, then Aᵀ is n × m where Aᵀ[i,j] = A[j,i]
- A
- original matrix
- Aᵀ
- transposed matrix
Водич корак по корак
- 1(Aᵀ)ᵢⱼ = Aⱼᵢ
- 2Rows become columns
- 3(Aᵀ)ᵀ = A
- 4(AB)ᵀ = BᵀAᵀ
Worked Examples
Инпут
[[1,2,3],[4,5,6]]
Резултат
[[1,4],[2,5],[3,6]]
Инпут
Square matrix [[a,b],[c,d]]
Резултат
[[a,c],[b,d]]
Frequently Asked Questions
What is the transpose of a transpose?
(Aᵀ)ᵀ = A. Transposing twice returns the original.
Is the transpose of a product the product of transposes in reverse?
Yes! (AB)ᵀ = BᵀAᵀ (note the reversal).
What is a symmetric matrix?
A square matrix where A = Aᵀ. The matrix equals its transpose.
learn.ctaText
Пробајте сами →