World Library  
Flag as Inappropriate
Email this Article

Matrix of ones

Article Id: WHEBN0000690246
Reproduction Date:

Title: Matrix of ones  
Author: World Heritage Encyclopedia
Language: English
Subject: Zarankiewicz problem, Identity matrix, Identity element, Matrix classes, Matrices
Collection: 1 (Number), Matrices
Publisher: World Heritage Encyclopedia

Matrix of ones

In mathematics, a matrix of ones or all-ones matrix is a matrix where every element is equal to one.[1] Examples of standard notation are given below:

J_2=\begin{pmatrix} 1 & 1 \\ 1 & 1 \end{pmatrix};\quad J_3=\begin{pmatrix} 1 & 1 & 1 \\ 1 & 1 & 1 \\ 1 & 1 & 1 \end{pmatrix};\quad J_{2,5}=\begin{pmatrix} 1 & 1 & 1 & 1 & 1 \\ 1 & 1 & 1 & 1 & 1 \end{pmatrix}.\quad

Some sources call the all-ones matrix the unit matrix,[2] but that term may also refer to the identity matrix, a different matrix.


For an n×n matrix of ones J, the following properties hold:

  • The trace of J is n,[3] and the determinant is 1 if n is 1, or 0 otherwise.
  • The rank of J is 1 and the eigenvalues are n (once) and 0 (n-1 times).[4]
  • J is positive semi-definite matrix. This follows from the previous property.
  • J^k = n^{k-1} J, \mbox{ for } k=1,2,\ldots.\,[5]
  • The matrix \tfrac1n J is idempotent. This is a simple corollary of the above.[5]
  • \exp(J) = I + \frac{ e^n-1}{n} J, where exp(J) is the matrix exponential.
  • J is the neutral element of the Hadamard product.[6]
  • If A is the adjacency matrix of a n-vertex undirected graph G, and J is the all-ones matrix of the same dimension, then G is a regular graph if and only if AJ = JA.[7]


  1. ^ Horn, Roger A.;  .
  2. ^ Weisstein, Eric W., "Unit Matrix", MathWorld.
  3. ^  .
  4. ^ Stanley (2013); Horn & Johnson (2012), p. 65.
  5. ^ a b Timm, Neil H. (2002), Applied Multivariate Analysis, Springer texts in statistics, Springer, p. 30,  .
  6. ^ Smith, Jonathan D. H. (2011), Introduction to Abstract Algebra, CRC Press, p. 77,  .
  7. ^  .
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.

Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.