Welcome to Omni's matrix calculator! This humongous matrix solver serves as a hub to connect and coordinate all of Omni's calculators that involve various matrix operations in math. Here, you can get a bird's eye view of the wide matrix landscape:
- Learn (or recall) what a matrix is in math;
- What the most important matrix types are, and
- Find a large collection of links to (almost) all of our matrix calculators.
What is a matrix in math?
A matrix is a fancy name for an array of numbers. An example of a matrix would be
Matrices have rows and columns. In matrix above, the 1st row is and the 2nd row is . Its 1st column and 2nd columns read respectively
The number of rows and columns gives the dimensions of the matrix. In our example, is a matrix with two rows by two columns.
Based on this dimension, we distinguish several types of matrices:
- For a square matrix, the number of rows equals the number of columns.
- A row matrix has only one row (hence the name) and several columns.
- A column matrix has only one column and several rows.
❓ What type of matrix is which we defined above?
Moreover, we say that a matrix has cells in which we write the elements of our array. For example, the cell in the 2nd row and the 1st column of contains the value : the coordinates of this cell is and we would notate it as .
Matrices are a convenient way to store and manipulate more data than just an individual number. And so now the question arises: what operations can we perform on matrices? Can we for instance add or multiply them like ordinary numbers?
Well, almost. Since lots of numbers are involved simultaneously, calculations with matrices are more tricky than with individual numbers. For instance, if we want to add them, we first have to make sure that we can — only matrices with the same dimensions can be added. And for multiplication, the dimension requirement is even trickier.
How to use this matrix calculator?
This matrix calculator is very straightforward to use. Here's how:
- The first few fields at the top of our matrix calculator help you pick the matrix operation you need. They are sorted logically, but don't worry — the whole list is next in the following section.
- Choose the matrix size. In this matrix solver only the dimensions and are available. More sizes are available in the calculators dedicated to the selected matrix operation — the specific link is displayed at the bottom.
- Enter the coefficients of your matrix and enjoy the result that appears immediately.
- For more info on the matrix operation you've just performed, visit the dedicated tool.
Matrix operations in math
Here we list all the matrix math operations available in our matrix solver. To discover more about them, follow the links to the dedicated calculators.
Math operations that act on one matrix (unary matrix operations)
Operations that return a number:
Operations that return a matrix:
Math operations that act on two matrices (binary matrix operations)
What are the types of matrices in math?
The most popular special types of matrices are the following:
- Triangular (upper or lower);
- Positive/negative definite; and
- Positive/negative semi-definite.
Let's briefly define each of the matrix types that we mentioned above.
Square matrices that have non-zero coefficients only in the diagonal cells. It's very easy to compute its powers.
This is a diagonal matrix that has only ones on its diagonal and zeroes everywhere else. It's everyone's favorite matrix when it comes to matrix multiplication, because it leaves the other matrix unchanged — much like multiplying a number with !
Triangular matrix (upper or lower)
A square matrix with non-zero coefficients on the diagonal and above the diagonal (if it's upper triangular) or below the diagonal (if lower triangular).
Its determinant coincides with the product of the diagonal values. Often appears in matrix decompositions and numerical methods.
A square matrix that is symmetric with respect to its diagonal, i.e., for all . In words: the coefficient in -th row and -th column equals the coefficient of -th row and -th column. Such a matrix has real eigenvalues and an orthonormal eigenbasis.
Skew-symmetric (antisymmetric) matrix
A square matrix whose entries satisfy . It follows that the diagonal elements are all equal to zero, because only can satisfy . The trace of an antisymmetric matrix is therefore always equals zero.
A square matrix that has an inverse, i.e., is invertible if there exists such that , where is the identity matrix. The determinant of an invertible matrix is always non-zero.
This is a square matrix whose columns constitute a set of orthonormal vectors (and its vectors form such a set as well). Equivalently we can say that a matrix is orthogonal if its transpose coincides with its inverse. The determinant of an orthogonal matrix is equal to or .
All the matrices we consider below are symmetric (or Hermitian). denotes the (Hermitian) transpose of (whether is a vector or a matrix).
Positive semi-definite matrix
A matrix is positive semi-definite if for every vector .
Only positive semi-definite matrices have real and non-negative eigenvalues, and all positive semi-definite matrices have such eigenvalues.
Positive definite matrix
A matrix is positive definite if for every non-zero vector .
Only positive definite matrices have real and positive eigenvalues, and all positive definite matrices have such eigenvalues.
Negative semi-definite matrix
A matrix is positive semi-definite if for every vector .
Negative semi-definite matrices are exactly those matrices whose eigenvalues are all real and non-positive.
A matrix is negative definite if for every non-zero vector .
Negative definite matrices are exactly those matrices whose eigenvalues are all real and negative.
How do I determine the type of matrix in math?
Certain types of matrices in maths are easy to detect, while other types are more intricate. Here are a few tips on how to detect matrix type:
- Start by just looking at the matrix structure: Is it diagonal? Symmetric? Triangular?
- Other types depend on deeper properties — check the eigenvalues, inverse, transpose, product of transpose and the initial matrix, etc.
- Use advanced math software, e.g., Omni's matrix solver, to help you detect the type of your matrix.
How many matrix operations are there in math?
No one really knows, but there's a lot of them. Scientists come up with new matrix operations which help them deal with different problems related to matrices and their applications in real life. Remember that matrix operations can act on one or more matrices, and they can return another matrix, multiple matrices, or a single number/vector, or a set of numbers/vectors or a polynomial, etc. The possibilities are endless!
What are the real life applications of a matrix?
Because matrices are a perfect way to deal with lots of numbers simultaneously, they are extremely useful in many domains of our modern, data-laden life. Real-life matrix applications include:
- 3D graphics, e.g. in games;
- Cryptography and data science;
- Economics and econometrics;
- Engineering and construction;
- Electronics, and
- Physics in general.