Finding the Inverse Using the Gauss-Jordan Method:

To use the Gauss-Jordan Method, we have to augment "A" with the 5 by 5 identity matrix. Let's call the latter "I5":

> I5:=matrix(5,5,(m,n)->if (m=n) then 1 else 0 fi);

[Maple Math]

Now we augment "A" with "I5" and call the augmented matrix "AI":

> AI:=augment(A,I5);

[Maple Math]

If we use the Gauss-Jordan Method, the inverse of "A" will appear to the right of the partition:

> AIgj:=gaussjord(AI);

[Maple Math]

In order to extract the 5 by 5 inverse matrix from the 5 by 10 augmented matrix, we use Maple's "submatrix" command as follows:

> Ainv2:=submatrix(AIgj,1..5,6..10);

[Maple Math]

Let's check that this is the same inverse which was obtained before:

> evalm(Ainv-Ainv2);

[Maple Math]

We have agreement.

>