Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Formal definition  





2 Example  





3 Properties  





4 See also  





5 External links  














Anti-diagonal matrix






Deutsch
فارسی


Português
Русский
Shqip
Slovenščina

Українська
 

Edit links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


Inmathematics, an anti-diagonal matrix is a square matrix where all the entries are zero except those on the diagonal going from the lower left corner to the upper right corner (↗), known as the anti-diagonal (sometimes Harrison diagonal, secondary diagonal, trailing diagonal, minor diagonal, off diagonal or bad diagonal).

Formal definition

[edit]

Ann-by-n matrix A is an anti-diagonal matrix if the (i, j)th element aij is zero for all rows i and columns j whose indices do not sum to n + 1. Symbolically:

Example

[edit]

An example of an anti-diagonal matrix is

Another example would be ...which can be used to reverse the elements of an array (as a column matrix) by multiplying on the left.


Properties

[edit]

All anti-diagonal matrices are also persymmetric.

The product of two anti-diagonal matrices is a diagonal matrix. Furthermore, the product of an anti-diagonal matrix with a diagonal matrix is anti-diagonal, as is the product of a diagonal matrix with an anti-diagonal matrix.

An anti-diagonal matrix is invertible if and only if the entries on the diagonal from the lower left corner to the upper right corner are nonzero. The inverse of any invertible anti-diagonal matrix is also anti-diagonal, as can be seen from the paragraph above. The determinant of an anti-diagonal matrix has absolute value given by the product of the entries on the diagonal from the lower left corner to the upper right corner. However, the sign of this determinant will vary because the one nonzero signed elementary product from an anti-diagonal matrix will have a different sign depending on whether the permutation related to it is odd or even:

Matrix size Permutation for
nonzero elementary product of
anti-diagonal matrix
Even or odd Sign of elementary product
2 × 2 {2, 1} Odd
3 × 3 {3, 2, 1} Odd
4 × 4 {4, 3, 2, 1} Even +
5 × 5 {5, 4, 3, 2, 1} Even +
6 × 6 {6, 5, 4, 3, 2, 1} Odd

More precisely, the sign of the elementary product needed to calculate the determinant of an anti-diagonal matrix is related to whether the corresponding triangular number is even or odd. This is because the number of inversions in the permutation for the only nonzero signed elementary product of any n × n anti-diagonal matrix is always equal to the nth such number.

See also

[edit]
[edit]
Retrieved from "https://en.wikipedia.org/w/index.php?title=Anti-diagonal_matrix&oldid=1213914459"

Categories: 
Sparse matrices
Matrices
Hidden categories: 
Articles with short description
Short description is different from Wikidata
 



This page was last edited on 15 March 2024, at 22:02 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki