Search for a tool
Matrix Division

Tool to calculate matrix algebra divisions. The matrix division consists of the multiplication by an inverted matrix.

Results

Matrix Division -

Tag(s) : Matrix

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 Matrix Division tool. Thank you.

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

# Matrix Division

## Matrix Division

### Division of a Matrix by a Scalar (Number)

Tool to calculate matrix algebra divisions. The matrix division consists of the multiplication by an inverted matrix.

## Answers to Questions

### How to make a division with matrices?

Consider $$M_1$$ a matrix of $$m$$ lines and $$n$$ columns and $$M_2$$ a square matrix of $$n \times n$$. The matrix division $$M_1/M_2$$ consist in the multiplication of the matrix $$M_1$$ by the inverse matrix of $$M_2$$ : $$M_2^{-1}$$.

$$M_1/M_2 = M_1 \times M_2^{-1}$$

Example: $$\begin{bmatrix} 0 & 1 \\ 2 & 3 \end{bmatrix} / \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix} = \begin{bmatrix} 0 & 1 \\ 2 & 3 \end{bmatrix} . \left( \frac{1}{2} \begin{bmatrix} -4 & 2 \\ 3 & -1 \end{bmatrix} \right) = \frac{1}{2} \begin{bmatrix} 3 & -1 \\ 1 & 1 \end{bmatrix}$$

To make the division, the matrix multiplication rules must be followed: $$M_1$$ must have the same number $$n$$ of columns as the number of rows of $$M_2$$. Moreover, to be invertible, the matrix $$M_2$$ must be square and therefore of size $$n \times n$$.

### How to divide a matrix by a scalar?

The division of the matrix $$M=[a_{ij}]$$ by a scalar $$\lambda$$ is a matrix of the same size than the initial matrix $$M$$, with each items of the matrix divided by $$\lambda$$.

$$\frac{M}{\lambda} = [ a_{ij} / \lambda ]$$

Example: $$\begin{bmatrix} 0 & 2 \\ 4 & 6 \end{bmatrix} / 2 = \begin{bmatrix} 0 & 1 \\ 2 & 3 \end{bmatrix}$$

## Source code

dCode retains ownership of the source code of the script Matrix Division. Except explicit open source licence (indicated Creative Commons / free), any algorithm, applet, snippet, software (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any function (convert, solve, decrypt, encrypt, decipher, cipher, decode, code, translate) written in any informatic langauge (PHP, Java, C#, Python, Javascript, etc.) which dCode owns rights can be transferred after sales quote. So if you need to download the Matrix Division 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 Matrix Division tool. Thank you.

Source : http://www.dcode.fr/matrix-division
© 2017 dCode — The ultimate 'toolkit' to solve every games / riddles / geocaches. dCode