Steve4Physics said:
It should say:
##\begin {bmatrix}
0 & 1 & 0\\
0 & 2 & 1\\
-1 & 2 & 1
\end {bmatrix}
\begin {bmatrix}
\frac 1c & 0 & 0\\
0 & \frac 1a & 1\\
0 & 0 & \frac 1b
\end {bmatrix}
=
\begin {bmatrix}
0 & \frac 1a &0\\
0 & \frac 2a & \frac 1b\\
-\frac 1c & \frac 2a & \frac 1b
\end {bmatrix} ##
In addition to what has already been said, it appears that the ‘submatrices’ (columns) have not been put together in ‘random order’. They have been put together, for convenience, in the order which creates the diagonal matrix, ##diag(c, a, b)##. This is to make finding the inverse of the matrix easy.
Exactly.
To flesh out what
@Steve4Physics says above, it's important to have clear, concise equations of the work. It's also extremely important to post legible screen shots. I had a difficult time reading the entries in some of your matrices. The problem with illegible screen shots is why we discourage the use of images for most homework problems.
##A
\begin {bmatrix}
0 & 1 & 0\\
0 & 2 & 1\\
-1 & 2 & 1
\end {bmatrix} =
\begin {bmatrix}
c & 0 & 0\\
0 & a & 0\\
0 & 0 & b
\end {bmatrix}##
For the matrix equation above, multiply on the left by ##A^{-1}##. It's reasonable to assume this inverse exists, otherwise there's no point to the problem.
This results in the following matrix equation:
##
\begin {bmatrix}
0 & 1 & 0\\
0 & 2 & 1\\
-1 & 2 & 1
\end {bmatrix} = A^{-1}
\begin {bmatrix}
c & 0 & 0\\
0 & a & 0\\
0 & 0 & b
\end {bmatrix}##
Now multiply each side of the matrix equation on the right by the inverse of this diagonal matrix. This unnamed matrix on the right is very easy to invert. The entries on the main diagonal of its inverse are 1/c, 1/a, and 1/b, respectively.
##
\begin {bmatrix}
0 & 1 & 0\\
0 & 2 & 1\\
-1 & 2 & 1
\end {bmatrix}
\begin {bmatrix}
\frac 1c & 0 & 0\\
0 & \frac 1a & 0\\
0 & 0 & \frac 1b
\end {bmatrix} = A^{-1} I = A^{-1}##
I got the identity matrix in the next-to-last expression when I multiplied the diagonal matrix with entries c, a, and b by its inverse, which is another diagonal matrix with entries 1/c, 1/a, and 1/b.
All that's left to do is to multiply the two matrices on the left side of the equation above, which results in the matrix that
@Steve4Physics showed.