Matrix of ones explained

In mathematics, a matrix of ones or all-ones matrix is a matrix with every entry equal to one.[1] For example:

J2=\begin{bmatrix} 1&1\\ 1&1\end{bmatrix}, J3=\begin{bmatrix} 1&1&1\\ 1&1&1\\ 1&1&1 \end{bmatrix}, J2,5=\begin{bmatrix} 1&1&1&1&1\\ 1&1&1&1&1\end{bmatrix}, J1,2=\begin{bmatrix} 1&1\end{bmatrix}.

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

A vector of ones or all-ones vector is matrix of ones having row or column form; it should not be confused with unit vectors.

Properties

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

(x-n)xn-1

.

x2-nx

.

Jk=nk-1J

for

k=1,2,\ldots.

[4]

When J is considered as a matrix over the real numbers, the following additional properties hold:

\tfrac1nJ

is idempotent.[4]

\exp(\muJ)=I+

e\mu-1
n

J

Applications

The all-ones matrix arises in the mathematical field of combinatorics, particularly involving the application of algebraic methods to graph theory. For example, if A is the adjacency matrix of an 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.[6] As a second example, the matrix appears in some linear-algebraic proofs of Cayley's formula, which gives the number of spanning trees of a complete graph, using the matrix tree theorem.

(ab)(bc)=b

. Finite central groupoids have a square number of elements, and the corresponding logical matrices exist only for those dimensions.

See also

Notes and References

  1. .
  2. .
  3. , p. 65.
  4. .
  5. .
  6. .