Matrices
✖
Matrices
Details

- Valid dimension specifications di in Matrices[{d1,d2},dom,sym] are positive integers. It is also possible to work with symbolic dimension specifications.
- Valid component domain specifications dom are either Reals or Complexes. Matrices[{d1,d2}] uses Complexes by default.
- For matrices, the symmetry sym can be either Symmetric[{1,2}], Antisymmetric[{1,2}], or {}, which represents the trivial symmetry.
- If the symmetry sym is nontrivial, then the dimensions d1 and d2 must coincide.
Examples
open allclose allBasic Examples (1)Summary of the most common use cases
An antisymmetric real matrix in dimension :

https://wolfram.com/xid/0c11hve-3w04hy

The Dot product of with itself is also a
×
matrix:

https://wolfram.com/xid/0c11hve-vbw1z4

But now it is a symmetric matrix:

https://wolfram.com/xid/0c11hve-ky4r1d

Scope (1)Survey of the scope of standard use cases
Declare matrices of any dimensions, with complex entries and no symmetry:

https://wolfram.com/xid/0c11hve-scec08


https://wolfram.com/xid/0c11hve-k0vg4y


https://wolfram.com/xid/0c11hve-ifawj8


https://wolfram.com/xid/0c11hve-59ciq

Applications (3)Sample problems that can be solved with this function

https://wolfram.com/xid/0c11hve-wqz197

https://wolfram.com/xid/0c11hve-ffving


https://wolfram.com/xid/0c11hve-galrag


https://wolfram.com/xid/0c11hve-o45zcw

Check whether a matrix belongs to a given domain:

https://wolfram.com/xid/0c11hve-2cutil


https://wolfram.com/xid/0c11hve-f2cq23

Conditions involving symbolic parameters may be converted into simpler conditions:

https://wolfram.com/xid/0c11hve-6v1zj9


https://wolfram.com/xid/0c11hve-rrsgkb


https://wolfram.com/xid/0c11hve-1rxsjf


https://wolfram.com/xid/0c11hve-zamquh

Properties & Relations (3)Properties of the function, and connections to other functions
Matrices can also be defined using Arrays with rank 2. These two assumptions are equivalent:

https://wolfram.com/xid/0c11hve-bdc6mt


https://wolfram.com/xid/0c11hve-rejz6b


https://wolfram.com/xid/0c11hve-7k9m44

Two alternative ways of checking numerical matrices:

https://wolfram.com/xid/0c11hve-epwovp


https://wolfram.com/xid/0c11hve-pjulfe

Possible Issues (2)Common pitfalls and unexpected behavior
Addition of symbolic and explicit matrices is determined by the Listable attribute of Plus:

https://wolfram.com/xid/0c11hve-ljaulo

Hence, listability will in general affect operations that simultaneously involve both symbolic and explicit matrices.
The zero matrix may be represented as 0 in symbolic computations:

https://wolfram.com/xid/0c11hve-paz34p

Wolfram Research (2012), Matrices, Wolfram Language function, https://reference.wolfram.com/language/ref/Matrices.html.
Text
Wolfram Research (2012), Matrices, Wolfram Language function, https://reference.wolfram.com/language/ref/Matrices.html.
Wolfram Research (2012), Matrices, Wolfram Language function, https://reference.wolfram.com/language/ref/Matrices.html.
CMS
Wolfram Language. 2012. "Matrices." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Matrices.html.
Wolfram Language. 2012. "Matrices." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Matrices.html.
APA
Wolfram Language. (2012). Matrices. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Matrices.html
Wolfram Language. (2012). Matrices. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Matrices.html
BibTeX
@misc{reference.wolfram_2025_matrices, author="Wolfram Research", title="{Matrices}", year="2012", howpublished="\url{https://reference.wolfram.com/language/ref/Matrices.html}", note=[Accessed: 02-June-2025
]}
BibLaTeX
@online{reference.wolfram_2025_matrices, organization={Wolfram Research}, title={Matrices}, year={2012}, url={https://reference.wolfram.com/language/ref/Matrices.html}, note=[Accessed: 02-June-2025
]}