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!

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

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

Answers to Questions

How to divide 2 matrices?

Consider \( M_1 \) a matrix of \( m \) lines and \( n \) columns and \( M_2 \) a square matrix of \( n \) lines and \( n \) columns. The matrix division \( M_1/M_2 = M_1 \times M_2^{-1} \) consists in the multiplication of the matrix M1 by the inverse matrix of M2.

To be inversible, the matrix \( M_2 \) must be a square matrix.

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 ] $$

Ask a new question

Source code

dCode retains ownership of the source code of the script Matrix Division. 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 Matrix Division script for offline use, for you, your company or association, see you on contact page !

dCode uses cookies to customize the site content, analyze user behavior and adapt dCode to your use. Some data is stored and collected for advertising purposes and may be shared with our partners. OK