Differences between revisions 3 and 9 (spanning 6 versions)
Revision 3 as of 2022-03-19 20:56:31
Size: 960
Comment:
Revision 9 as of 2024-01-27 21:22:51
Size: 1689
Comment: Orthogonality 2
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:

For any matrix '''''A''''', the transposition ('''''A'''^T^'') is a flipped version.

An alternative notation, found especially in matrix programming languages like [[Stata]], [[Julia]], and [[MATLAB]], is '''''A' '''''.

<<TableOfContents>>

-----
Line 5: Line 13:
== Introduction == == Definition ==
Line 7: Line 15:
The transpose of a matrix is a flipped version. Cell (''i'',''j'') of '''''A'''^T^'' is equal to cell (''j'',''i'') of '''''A'''''.
Line 10: Line 18:
┌ ┐ ┌ ┐
│ 1 2│ │ 1 3│
│ 3 4│ -> │ 2 4│
└ ┘ └ ┘
julia> A = [1 2; 3 4]
2×2 Matrix{Int64}:
 1 2
 3 4

julia> A'
2×2 adjoint(::Matrix{Int64}) with eltype Int64:
 1 3
 2 4
Line 15: Line 28:

The transpose of A is denoted A^T^.

More formally, cell (''i'',''j'') of A^T^ is equal to cell (''j'',''i'') of A.
Line 22: Line 31:
== Notable Properties == === Properties ===
Line 24: Line 33:
The transpose of a product is the same as the reversed product of the transposed multiples. (A B)^T^ = B^T^ A^T^. The transpose of a product is the same as the reversed product of the transposed multiples. ''('''AB''')^T^ = '''B'''^T^ '''A'''^T^''.
Line 26: Line 35:
Inversion and transposition can be done in any order: (A^-1^)^T^ = (A^T^)^-1^. [[LinearAlgebra/MatrixInversion|Inversion]] and transposition can be done in any order: ''('''A'''^-1^)^T^ = ('''A'''^T^)^-1^''.

For [[LinearAlgebra/Orthogonality#Matrices|orthogonal matrices]] (such as [[LinearAlgebra/SpecialMatrices#Permutation_Matrices|permutation matrices]]), the transpose is also the [[LinearAlgebra/MatrixInversion|inverse]]: '''''Q'''^T^ = '''Q'''^-1^''. And because the left and right inverses are the same for any square matrix, '''''QQ'''^T^ = '''Q'''^T^'''Q'''''.

----
Line 30: Line 43:
== Symmetric Matrices == == Symmetry ==
Line 32: Line 45:
A '''symmetric matrix''' is is any matrix that is equal to its transpose. A [[LinearAlgebra/MatrixProperties#Symmetry|symmetric]] matrix is equal to its transpose: '''''A''' = '''A'''^T^''. Only square matrices (''n'' by ''n'') can be symmetric.
Line 34: Line 47:
Only square matrices (''n'' by ''n'') can be symmetric. However, multiplying a rectangular matrix R by its transpose R^T^ will always create a symmetric matrix. This can be proven with the above property:

(R^T^ R)^T^ = R^T^ (R^T^)^T^ = R^T^ R
However, multiplying a rectangular matrix '''''R''''' by its transpose '''''R'''^T^'' will always create a symmetric matrix. This can be proven with the above property: ''('''R'''^T^'''R''')^T^ = '''R'''^T^('''R'''^T^)^T^ = '''R'''^T^'''R'''''.

Matrix Transposition

For any matrix A, the transposition (AT) is a flipped version.

An alternative notation, found especially in matrix programming languages like Stata, Julia, and MATLAB, is A' .


Definition

Cell (i,j) of AT is equal to cell (j,i) of A.

julia> A = [1 2; 3 4]
2×2 Matrix{Int64}:
 1  2
 3  4

julia> A'
2×2 adjoint(::Matrix{Int64}) with eltype Int64:
 1  3
 2  4

Properties

The transpose of a product is the same as the reversed product of the transposed multiples. (AB)T = BT AT.

Inversion and transposition can be done in any order: (A-1)T = (AT)-1.

For orthogonal matrices (such as permutation matrices), the transpose is also the inverse: QT = Q-1. And because the left and right inverses are the same for any square matrix, QQT = QTQ.


Symmetry

A symmetric matrix is equal to its transpose: A = AT. Only square matrices (n by n) can be symmetric.

However, multiplying a rectangular matrix R by its transpose RT will always create a symmetric matrix. This can be proven with the above property: (RTR)T = RT(RT)T = RTR.


CategoryRicottone

LinearAlgebra/MatrixTransposition (last edited 2024-01-27 21:22:51 by DominicRicottone)