Matrix Calculator

Matrix A Input

X

[1][1]

[1][2]

[2][1]

[2][2]

Matrix B Input

X

[1][1]

[1][2]

[2][1]

[2][2]

What is Matrix?

Matrix is a fundamental concept of Linear Algebra. Linear Algebra is a branch of mathematics that has everything to do with planes, lines, subspaces and vectors.

Linear Algebra is widely used in Machine Learning, Computer Graphics, CryptoGraphy, Physics and many other fields.

Matrix is a array of numbers that arranged in rows and columns. It is denoted by capital Letters. Like A, B, C

Different Matrix Calculations

There are different kind of operations that can be performed on matrices. Some of them are:

  1. Matrix Addition: It is addition of two matrices. It is performed by forming a new matrix of same size wherre each element is sum of the elements in the original matrices.

  2. Matrix Subtraction: It is similar to addition, only difference is instead of adding the corresponding elements, we subtract the corresponding elements.

  3. Matrix Multiplication: Multiplying two matrices is not as it sounds. Its not multiplying corresponding elements. Its a bit complex operation.

    The formula for matrix multiplication is:

    C = A x B
    
    C[i][j] = A[i][0] * B[0][j] + A[i][1] * B[1][j] + ... + A[i][n] * B[n][j]
    

    Where A and B are matrices and C is the resultant matrix.

  4. Matrix Division: Division is also not like normal division. We find the inverse of matrix and multiply it with the other matrix, and call it division.

Read more about Matrices on MathCalcs