The ** Matrices** are two-dimensional or rectangular row and column arrangements that are represented as follows:

Where every a_{ij}** _{ }**it is an element of the matrix.

By knowing what a matrix represents, we can talk about some of its forms, for example:

## Type of matrices

### Zero matrix

It is an array where all its elements are zero:

### Square matrix

An array is square when the number of rows equals its number of columns (n = m).

## Sum of matrices

If we want to add, we must be clear that the only way for such an operation to occur is that both matrices have the same number of rows and columns (n = m), otherwise they cannot be added together.

The sum of matrices is equal to the sum of the elements corresponding to each matrix, that is:

**Example**:

We have the following matrices:

If we wanted to perform the addition operation with these, we realize that only matrices A and B can be added, since matrix D does not have the same number of rows as A and B. Then we will add only A and B:

## Multiplication of matrices by scalars

Now let's see how a matrix is multiplied by a scalar (real numbers). We say we have a matrix A_{(n × m)} multiplied by α:

Then each element of matrix A is multiplied by α:

## Matrix multiplication

For this operation to be possible, the first matrix must have the number of columns equal to the number of rows of the second matrix, that is, A_{(n × p)}· B_{(p × m)} the result of this multiplication must be a matrix that has the n rows of A and the m columns of B. Then:

**A _{(n × p)}· B_{(p × m) }= C_{(n × m)}**

**Example**:

These two matrices can be multiplied, because the number of columns in A is equal to the number of rows in B. Let's multiply:

It is important to know that this operation is not commutative, that is to say that:

In MiProfe you can program your online classes math, languages or any other subject on the day and time that best suits you, even on weekends; And best of all, you can attend them from anywhere you have internet access! So choose the plan that goes better with you and start learning with a private teacher chosen especially for you: