Search for a tool
Inverse of a Matrix

Tool to invert a matrix. The inverse of a square matrix M is a matrix denoted M^-1 such as que M.M^-1=I where I is the identity matrix.

Results

Inverse of a Matrix -

Tag(s) : Mathematics,Algebra,Symbolic Computation

dCode and you

dCode is free and its tools are a valuable help in games, puzzles and problems to solve every day!
You have a problem, an idea for a project, a specific need and dCode can not (yet) help you? You need custom development? Contact-me!


Team dCode read all messages and answer them if you leave an email (not published). It is thanks to you that dCode has the best Inverse of a Matrix tool. Thank you.

This page is using the new English version of dCode, please make comments !

Inverse of a Matrix

Sponsored ads

Square Matrix Inverse Calculator NxN

Matrix Modular Inverse Calculator


Tool to invert a matrix. The inverse of a square matrix M is a matrix denoted M^-1 such as que M.M^-1=I where I is the identity matrix.

Answers to Questions

How to calculate the inverse of an invertible matrix?

The inverse of a matrix is calculated in several ways, the easiest is the cofactor method which necessitate to calculate the determinant of the matrixhref but also the comatrix and its transposed matrixhref :

$$ M^{-1}=\frac1{\det M} \,^{\operatorname t}\!{{\rm com} M} = \frac1{\det M} \,^{\rm t}\!C $$

For a 2x2 matrix:

$$ M^{-1} = \begin{bmatrix} a & b \\ c & d \\ \end{bmatrix}^{-1} = \frac{1}{\det(M)} \begin{bmatrix} d & -b \\ -c & a \\ \end{bmatrix} = \frac{1}{ad - bc} \begin{bmatrix} d & -b \\ -c & a \\ \end{bmatrix} $$

$$ M = \begin{bmatrix} 1 & 2 \\ 3 & 4 \\ \end{bmatrix} \Rightarrow M^{-1} = \frac{1}{\det(M)} \begin{bmatrix} 4 & -2 \\ -3 & 1 \\ \end{bmatrix} = -\frac{1}{2} \begin{bmatrix} 4 & -2 \\ -3 & 1 \\ \end{bmatrix} $$

It is essential that the determinant of the matrixhref to be inverted is not equal to zero for the matrix to be invertible.

How to check that a matrix is the inverse of another?

The multiplicationhref of the matrix by its inverse must give the identity matrix. So the computation of \( M . M^{-1} = I \).

How to calculate the modular inverse of a matrix?

The principle is the same, but one has to calculate the modular inversehref of the matrix determinanthref.

Ask a new question

Source code

dCode retains ownership of the source code of the script Inverse of a Matrix. Except explicit open source licence (free / freeware), any algorithm, applet, software (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any snippet or function (convert, solve, decrypt, encrypt, decipher, cipher, decode, code, translate) written in PHP (or Java, C#, Python, Javascript, etc.) which dCode owns rights can be transferred after sales quote. So if you need to download the Inverse of a Matrix script for offline use, for you, your company or association, see you on contact page !

Questions / Comments


Team dCode read all messages and answer them if you leave an email (not published). It is thanks to you that dCode has the best Inverse of a Matrix tool. Thank you.


Source : http://www.dcode.fr/matrix-inverse
© 2017 dCode — The ultimate 'toolkit' website to solve every problem. dCode