RedCrab Math Tutorial

# Matrices and Simultaneous Eequations

The matrix multiplication can be used to calculate simultaneous equations
This is conformed to the following matrix expression by applying the multiplication rule
The way that multiplying matrices allows a whole set of linear equations to be written as a single equation, containing matrices instead of numbers.

If the symbols in this equation are numbers, it is easily solve it by division. Even though we have symbols, we can avoid using division, when we multiply with reciprocal value. Instead of dividing by x, we can just as well multiply by x-1.
The inverse of a matrix is not easy to calculate, and you can only find an inverse if the matrix is a square matrix and even then, not always.

In this case above the inverse of=

In RedCrab Calculator you can use the function Invm to get the Inverse

Now you can use the inverse above to calculate the values of x and y
The result is x = 8 and y = -5

The complete solution for in RedCrab calculator:

## Inverse of a 2 x 2 Matrix

There is a quick method for obtaining an inverse for a 2 x 2 matrix. This is a special case of Cramer’s rule used to solve sets of equations.
There are three steps to invert a 2x2 matrix:
• Swap the diagonal elements

• Change the sign of the other elements

• Divide each element by ad-bc

If for example in the formula above ad = bc, then we would be attempting to divide by zero and consequently there is no inverse. In this case we call the original matrix A a singular matrix. If the matrix has an inverse, we say that the matrix is non-singular.
Another way to can get ad = bc is, if the second row of the matrix is a multiple of the first.
Without actually calculating the inverse matrix, we can make a decision whether an inverse exists by just calculating a single number, the denominator in the formula. This denominator is called the determinant.
If the determinate is zero, it is a singular matrix, which cannot be inverted.
Cramer’s rule also exists for larger matrices but is computationally very inefficient. Therefore, it is helpful especially for large matrices if we can determine before starting the calculation, whether the inverse exists. This can be done by defining also for large matrices a single number that characterizes the matrix – again, it is called the determinant of the matrix.

The RedCrab Calculator calculates the determinants with the function Det()
Example: