Jump to content

Matrix of ones

From Wikipedia, the free encyclopedia

Template:Short description Template:CS1 config

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

<math>J_2 = \begin{bmatrix}

1 & 1 \\ 1 & 1 \end{bmatrix},\quad J_3 = \begin{bmatrix} 1 & 1 & 1 \\ 1 & 1 & 1 \\ 1 & 1 & 1 \end{bmatrix},\quad J_{2,5} = \begin{bmatrix} 1 & 1 & 1 & 1 & 1 \\ 1 & 1 & 1 & 1 & 1 \end{bmatrix},\quad J_{1,2} = \begin{bmatrix} 1 & 1 \end{bmatrix}.\quad</math>

Some sources call the all-ones matrix the unit matrix,[2] 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 Template:Math matrix of ones J, the following properties hold:

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

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.[7] 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.

The logical square roots of a matrix of ones, logical matrices whose square is a matrix of ones, can be used to characterize the central groupoids. Central groupoids are algebraic structures that obey the identity <math>(a\cdot b)\cdot (b\cdot c)=b</math>. Finite central groupoids have a square number of elements, and the corresponding logical matrices exist only for those dimensions.[8]

See also

References

Template:Reflist Template:Notelist

Template:Matrix classes

  1. ↑ Template:Citation.
  2. ↑ {{#invoke:Template wrapper|{{#if:|list|wrap}}|_template=cite web |_exclude=urlname, _debug, id |url = https://mathworld.wolfram.com/{{#if:UnitMatrix%7CUnitMatrix.html}} |title = Unit Matrix |author = Weisstein, Eric W. |website = MathWorld |access-date = |ref = Template:SfnRef }}
  3. ↑ Template:Citation.
  4. ↑ Template:Harvtxt; Template:Harvtxt, p. 65.
  5. ↑ 5.0 5.1 Template:Citation.
  6. ↑ Template:Citation.
  7. ↑ Template:Citation.
  8. ↑ Template:Citation