Student[LinearAlgebra]
MatrixInverse
compute the inverse of a square Matrix or the Moore-Penrose pseudo-inverse of a Matrix
Calling Sequence
Parameters
Description
Examples
Compatibility
MatrixInverse(A, options)
A
-
square Matrix
options
(optional) parameters; for a complete list, see LinearAlgebra[MatrixInverse]
The MatrixInverse(A) function, where A is a nonsingular square Matrix, returns the Matrix inverse A-1. If A is recognized as a singular Matrix, an error message is returned.
If A is a nonsingular nxn Matrix, the inverse A-1 is computed such that A·A-1=I, where I is the nxn identity Matrix.
withStudentLinearAlgebra:
M≔a,c|b,d
M≔abcd
To compute the inverse of the 2x2 matrix, M, by hand:
1ad−bcd,−c|−b,a
dad−bc−bad−bc−cad−bcaad−bc
M_I≔MatrixInverseM
M_I≔dad−bc−bad−bc−cad−bcaad−bc
simplifyM·M_I
1001
The MatrixInverse command will not return a result for a non-square Matrix.
P≔1,2|3,4|1,7
P≔131247
For non-square matrices, use the Pseudoinverse command.
PseudoinverseP
9106131841106−19318−135328159
P·PseudoinverseP
The Student[LinearAlgebra][MatrixInverse] command was introduced in Maple 2020.
For more information on Maple 2020 changes, see Updates in Maple 2020.
See Also
Student[LinearAlgebra][Pseudoinverse]
Download Help Document