In linear algebra, an n-by-n square matrix
`A`

is called invertible (non-singular or non-degenerate) if there exists an n-by-n square matrix
`B`

such that A • B = B • A = I

The
`A • B`

and
`B • A`

are the right-hand and left-hand products of the inverse with the original matrix. This requirement is reasonable
only if the system is trivial. Most real-world problems aren't trivial. In fact, most real-world problems expressed
in matrix form are singular or degenerate - and probably not even square.

The information I present in these pages is a method for inverting any matrix - even if it's singular, degenerate, or non-square.

I'll start with three simple equations:

`2x + 2y - 3z = a`

,

`-x + 2z = b`

,

and

` x + y - 2z = c`

.

In a more tabular form this is:

1 | 2 | 3 | |||

1 | 2x | +2y | -3z | = | a |

2 | -x | +2z | = | b | |

3 | x | +y | -2z | = | c |

which in matrix form is:

1 | 2 | 3 | |||||||||||

1 | 2 | 2 | -3 | x | a | ||||||||

2 | -1 | 0 | 2 | • | y | = | b | ||||||

3 | 1 | 1 | -2 | z | c |

or simply
```
A • x = b
```

.

where
`A`

is the matrix:

1 | 2 | 3 | |||

1 | 2 | 2 | -3 | ||

2 | -1 | 0 | 2 | ||

3 | 1 | 1 | -2 |

```
x
```

is the vector:

1 | x | ||

2 | y | ||

3 | z |

and
```
b
```

is the vector:

1 | a | ||

2 | b | ||

3 | c |

The inverse of a matrix is shown by
```
A
```

.
^{-1}

If
`A • B = B • A = I`

, then
```
A
```

or
^{-1} = B
```
B
```

. Additional properties of invertible matrices like these should be reviewed while I present the remainder of this
method:
^{-1} = A

`(A`

inverse of inverse is the original matrix^{-1})^{-1}= A`(A`

transpose inverse is inverse transpose also^{T})^{-1}= (A^{-1})^{T}

`((A`

or^{T})^{-1})^{T}= A^{-1}`(((A`

^{T})^{-1})^{T})^{-1}= A`(B • C)`

and the order here is important.^{-1}= C^{-1}• B^{-1}

So, the inversion process is reversible, constants can be factored out of the problem, the transpose inverse process is symmetric, and if the matrix is factorizable into two other matrices, these can be inverted separately and the solution combined. We'll come back to these properties as we progress.

For the next part we'll do the usual Gaussian elimination to solve for the inverse of this matrix.