Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Transpose

From Wikipedia, the free encyclopedia
(Redirected fromMatrix transpose)
Matrix operation which flips a matrix over its diagonal
This article is about the transpose of matrices andlinear operators. For other uses, seeTransposition (disambiguation).
The transposeAT of a matrixA can be obtained by reflecting the elements along its main diagonal. Repeating the process on the transposed matrix returns the elements to their original position.

Inlinear algebra,transposition is an operation that flips amatrix over its diagonal; that is, transposition switches the row and column indices of the matrixA to produce another matrix, called thetranspose ofA and often denotedAT (among other notations).[1]

The transpose of a matrix was introduced in 1858 by the British mathematicianArthur Cayley.[2]

Transpose of a matrix

[edit]
This article assumes that matrices are taken over a commutative ring. These results may not hold in the non-commutative case.

Definition

[edit]

The transpose of a matrixA, denoted byAT,[3]TA,Atr,tA orAt, may be constructed by any of the following methods:

  1. ReflectA over itsmain diagonal (which runs from the top left to the bottom right) to obtainAT
  2. Write the rows ofA as the columns ofAT
  3. Write the columns ofA as the rows ofAT

Formally, theith row,jth column element ofAT is thejth row,ith column element ofA:

[AT]ij=[A]ji.{\displaystyle \left[\mathbf {A} ^{\text{T}}\right]_{ij}=\left[\mathbf {A} \right]_{ji}.}

IfA is anm ×n matrix, thenAT is ann ×m matrix.

Matrix definitions involving transposition

[edit]

A square matrix whose transpose is equal to itself is called asymmetric matrix; that is,A is symmetric if

AT=A.{\displaystyle \mathbf {A} ^{\text{T}}=\mathbf {A} .}

A square matrix whose transpose is equal to its negative is called askew-symmetric matrix; that is,A is skew-symmetric if

AT=A.{\displaystyle \mathbf {A} ^{\text{T}}=-\mathbf {A} .}

A squarecomplex matrix whose transpose is equal to the matrix with every entry replaced by itscomplex conjugate (denoted here with an overline) is called aHermitian matrix (equivalent to the matrix being equal to itsconjugate transpose); that is,A is Hermitian if

AT=A¯.{\displaystyle \mathbf {A} ^{\text{T}}={\overline {\mathbf {A} }}.}

A squarecomplex matrix whose transpose is equal to the negation of its complex conjugate is called askew-Hermitian matrix; that is,A is skew-Hermitian if

AT=A¯.{\displaystyle \mathbf {A} ^{\text{T}}=-{\overline {\mathbf {A} }}.}

A square matrix whose transpose is equal to itsinverse is called anorthogonal matrix; that is,A is orthogonal if

AT=A1.{\displaystyle \mathbf {A} ^{\text{T}}=\mathbf {A} ^{-1}.}

A square complex matrix whose transpose is equal to its conjugate inverse is called aunitary matrix; that is,A is unitary if

AT=A1¯.{\displaystyle \mathbf {A} ^{\text{T}}={\overline {\mathbf {A} ^{-1}}}.}

Examples

[edit]

Properties

[edit]

LetA andB be matrices andc be ascalar.

Products

[edit]

IfA is anm ×n matrix andAT is its transpose, then the result ofmatrix multiplication with these two matrices gives two square matrices:A AT ism ×m andATA isn ×n. Furthermore, these products aresymmetric matrices. Indeed, the matrix productA AT has entries that are theinner product of a row ofA with a column ofAT. But the columns ofAT are the rows ofA, so the entry corresponds to the inner product of two rows ofA. Ifpij is the entry of the product, it is obtained from rowsi andj inA. The entrypji is also obtained from these rows, thuspij =pji, and the product matrix (pij) is symmetric. Similarly, the productATA is a symmetric matrix.

A quick proof of the symmetry ofA AT results from the fact that it is its own transpose:

(AAT)T=(AT)TAT=AAT.{\displaystyle \left(\mathbf {A} \mathbf {A} ^{\text{T}}\right)^{\text{T}}=\left(\mathbf {A} ^{\text{T}}\right)^{\text{T}}\mathbf {A} ^{\text{T}}=\mathbf {A} \mathbf {A} ^{\text{T}}.}[4]

Implementation of matrix transposition on computers

[edit]
See also:In-place matrix transposition
Illustration ofrow- and column-major order

On acomputer, one can often avoid explicitly transposing a matrix inmemory by simply accessing the same data in a different order. For example,software libraries forlinear algebra, such asBLAS, typically provide options to specify that certain matrices are to be interpreted in transposed order to avoid the necessity of data movement.

However, there remain a number of circumstances in which it is necessary or desirable to physically reorder a matrix in memory to its transposed ordering. For example, with a matrix stored inrow-major order, the rows of the matrix are contiguous in memory and the columns are discontiguous. If repeated operations need to be performed on the columns, for example in afast Fourier transform algorithm, transposing the matrix in memory (to make the columns contiguous) may improve performance by increasingmemory locality.

Ideally, one might hope to transpose a matrix with minimal additional storage. This leads to the problem of transposing ann ×m matrixin-place, withO(1) additional storage or at most storage much less thanmn. Fornm, this involves a complicatedpermutation of the data elements that is non-trivial to implement in-place. Therefore, efficientin-place matrix transposition has been the subject of numerous research publications incomputer science, starting in the late 1950s, and several algorithms have been developed.

Transposes of linear maps and bilinear forms

[edit]
See also:Transpose of a linear map

As the main use of matrices is to represent linear maps betweenfinite-dimensional vector spaces, the transpose is an operation on matrices that may be seen as the representation of some operation on linear maps.

This leads to a much more general definition of the transpose that works on every linear map, even when linear maps cannot be represented by matrices (such as in the case of infinite dimensional vector spaces). In the finite dimensional case, the matrix representing the transpose of a linear map is the transpose of the matrix representing the linear map, independently of thebasis choice.

Transpose of a linear map

[edit]
Main article:Transpose of a linear map

LetX# denote thealgebraic dual space of anR-moduleX. LetX andY beR-modules. Ifu :XY is alinear map, then itsalgebraic adjoint ordual,[5] is the mapu# :Y#X# defined byffu. The resulting functionalu#(f) is called thepullback off byu. The followingrelation characterizes the algebraic adjoint ofu[6]

u#(f),x =f,u(x)⟩ for allfY# andxX

where⟨•, •⟩ is thenatural pairing (i.e. defined byh,z :=h(z)). This definition also applies unchanged to left modules and to vector spaces.[7]

The definition of the transpose may be seen to be independent of any bilinear form on the modules, unlike the adjoint (below).

Thecontinuous dual space of atopological vector space (TVS)X is denoted byX. IfX andY are TVSs then a linear mapu :XY isweakly continuous if and only ifu#(Y) ⊆X, in which case we lettu :YX denote the restriction ofu# toY. The maptu is called thetranspose[8] ofu.

If the matrixA describes a linear map with respect tobases ofV andW, then the matrixAT describes the transpose of that linear map with respect to thedual bases.

Transpose of a bilinear form

[edit]
Main article:Bilinear form

Every linear map to the dual spaceu :XX# defines a bilinear formB :X ×XF, with the relationB(x,y) =u(x)(y). By defining the transpose of this bilinear form as the bilinear formtB defined by the transposetu :X##X# i.e.tB(y,x) =tu(Ψ(y))(x), we find thatB(x,y) =tB(y,x). Here,Ψ is the naturalhomomorphismXX## into thedouble dual.

Adjoint

[edit]
Not to be confused withHermitian adjoint.

If the vector spacesX andY have respectivelynondegeneratebilinear formsBX andBY, a concept known as theadjoint, which is closely related to the transpose, may be defined:

Ifu :XY is alinear map betweenvector spacesX andY, we defineg as theadjoint ofu ifg :YX satisfies

BX(x,g(y))=BY(u(x),y){\displaystyle B_{X}{\big (}x,g(y){\big )}=B_{Y}{\big (}u(x),y{\big )}} for allxX andyY.

These bilinear forms define anisomorphism betweenX andX#, and betweenY andY#, resulting in an isomorphism between the transpose and adjoint ofu. The matrix of the adjoint of a map is the transposed matrix only if thebases areorthonormal with respect to their bilinear forms. In this context, many authors however, use the term transpose to refer to the adjoint as defined here.

The adjoint allows us to consider whetherg :YX is equal tou −1 :YX. In particular, this allows theorthogonal group over a vector spaceX with a quadratic form to be defined without reference to matrices (nor the components thereof) as the set of all linear mapsXX for which the adjoint equals the inverse.

Over a complex vector space, one often works withsesquilinear forms (conjugate-linear in one argument) instead of bilinear forms. TheHermitian adjoint of a map between such spaces is defined similarly, and the matrix of the Hermitian adjoint is given by the conjugate transpose matrix if the bases are orthonormal.

See also

[edit]

References

[edit]
  1. ^Nykamp, Duane."The transpose of a matrix".Math Insight. RetrievedSeptember 8, 2020.
  2. ^Arthur Cayley (1858)"A memoir on the theory of matrices",Philosophical Transactions of the Royal Society of London,148 : 17–37. The transpose (or "transposition") is defined on page 31.
  3. ^T.A. Whitelaw (1 April 1991).Introduction to Linear Algebra, 2nd edition. CRC Press.ISBN 978-0-7514-0159-2.
  4. ^Gilbert Strang (2006)Linear Algebra and its Applications 4th edition, page 51, ThomsonBrooks/ColeISBN 0-03-010567-6
  5. ^Schaefer & Wolff 1999, p. 128.
  6. ^Halmos 1974, §44
  7. ^Bourbaki 1989, II §2.5
  8. ^Trèves 2006, p. 240.

Further reading

[edit]

External links

[edit]
Linear equations
Three dimensional Euclidean space
Matrices
Matrix decompositions
Relations and computations
Vector spaces
Structures
Multilinear algebra
Affine and projective
Numerical linear algebra
Scope
Mathematics
Notation
Tensor
definitions
Operations
Related
abstractions
Notable tensors
Mathematics
Physics
Mathematicians
Retrieved from "https://en.wikipedia.org/w/index.php?title=Transpose&oldid=1338669989"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp