Search for a tool
Permanent of a Matrix

Tool to calculate the permanent of a matrix. The Permanent of a a square matrix M is a value (similar to the determinant) denoted per(M).

Results

Permanent of a Matrix -

Tag(s) : Matrix

Share
Share
dCode and more

dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!


Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!


Thanks to your feedback and relevant comments, dCode has developed the best 'Permanent of a Matrix' tool, so feel free to write! Thank you!

Permanent of a Matrix

Matrix 2x2 Permanent Calculator

Loading...
(if this message do not disappear, try to refresh this page)

Matrix 3x3 Permanent Calculator

Loading...
(if this message do not disappear, try to refresh this page)

Matrix 4x4 Permanent Calculator

Loading...
(if this message do not disappear, try to refresh this page)

Matrix NxN Permanent Calculator

Loading...
(if this message do not disappear, try to refresh this page)

Answers to Questions (FAQ)

How to calculate a matrix permanent?

The permanent of a square matrix $ M = a_{i,j} $ is defined by $$ \operatorname{per}(M)=\sum_{\sigma\in S_n}\prod_{i=1}^n a_{i,\sigma(i)} $$ with $ \sigma $ the elements of the symmetric group $ S_n $.

The permanent is like the determinant of a matrix, but without the signs - (minus).

For a 2x2 matrix, the calculation of the permanent is: $$ \begin{vmatrix} a & b\\c & d \end{vmatrix}=ad + bc $$

Example: $ M = \begin{vmatrix} 1 & 2\\3 & 4 \end{vmatrix}=1 \times 4 + 2 \times 3 = 10 $

For higher size matrix like 3x3: $$ \operatorname{per}\left( \begin{vmatrix} a & b & c\\d & e & f\\g & h & i \end{vmatrix} \right) = a \operatorname{per}\left( \begin{vmatrix} e & f\\h & i \end{vmatrix} \right) + b \operatorname{per}\left( \begin{vmatrix} d & f\\g & i \end{vmatrix} \right) + c \operatorname{per}\left(\begin{vmatrix} d & e\\g & h \end{vmatrix} \right) \\ = aei+afh+bfg+bdi+cdh+ceg $$

The idea is the same for higher order matrices.

How to compute the permanent of a matrix 1x1?

For a 1x1 matrix, the permanent is the only item of the matrix.

How to compute the permanent of a non square matrix?

As for the determinant of a matrix, the permanent of a non-square matrix is not defined.

Source code

dCode retains ownership of the online 'Permanent of a Matrix' tool source code. Except explicit open source licence (indicated CC / Creative Commons / free), any 'Permanent of a Matrix' algorithm, applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any 'Permanent of a Matrix' function (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and no data download, script, copy-paste, or API access for 'Permanent of a Matrix' will be for free, same for offline use on PC, tablet, iPhone or Android ! dCode is free and online.

Need Help ?

Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!

Questions / Comments

Thanks to your feedback and relevant comments, dCode has developed the best 'Permanent of a Matrix' tool, so feel free to write! Thank you!


Source : https://www.dcode.fr/matrix-permanent
© 2021 dCode — The ultimate 'toolkit' to solve every games / riddles / geocaching / CTF.
Feedback