Using Maple to find the sequence of row operations to calculate the inverse of a matrix

315 Views Asked by At

One way to find the inverse of a matrix is going through a sequence of row operations (Gauss-Jordan Elimination).

I want Maple to output the necessary sequence [by "sequence", I mean the set of operations and the order in which they must be applied] of such operations, given a square matrix.

Is there a way I can have Maple to do it for me?

1

There are 1 best solutions below

0
On

Maple has a Student:-LinearAlgebra package that includes a couple elimination tutors that can show all the steps interactively. e.g.

with(Student:-LinearAlgebra):
M := <<1,2,0>|<2,3,2>|<0,2,1>|<3,5,5>>;
GaussJordanEliminationTutor( M );