Last Updated 10/31/2022

Sage Essentials
Section 7: Matrix Manipulations

Inverse, Transpose, and Determinant

Example 4

To compute the inverse, transpose, and determinant of a square matrix, we use the  inverse , transpose and  det commands respectively. For example, let us find the inverse of the matrix A=[ 1 2 1 1 ] .

 

To verify the inverse computed above. Let us multiply A with its inverse.

Try this!

Compute the transpose of A by mimicking the syntax used above.


← Previous Example Next Example →