Matrix operations part 2-Powers of a matrix.

4- Easy Introduction to Matrix operations-part-2.

Last Updated on October 12, 2024 by Maged kamel

Matrix Operations-part-2.

I have added more data compared to the video content, especially a simple way to multiply two matrices by p to get a11,a12, and a13. We place the first row of the first matrix; then we put the three columns of the second matrix in rows. This enables us to perform the multiplication process easily. Please refer to the next slide image.

The data are quoted from Prof. Kuldeep Singh’s handbook to discuss the properties of addition through a solved problem.

Powers of a matrix.

The next property of the matrix operations part 2 is the powers of the matrix. For instance, if we have matrix A with dimension (2×2), it consists of 4 elements (1,2,0,-1).

A raise to the power of 2 or A^2, can be done by multiplying matrix A by itself.
If matrix A has a dimension of (2×2), then the final matrix will also have a dimension of (2×2).

Let us perform the multiplication. The first element’s value is (1*1+2*0). The first element in the first row with the second column is 1. The element of the second row, with the first column, is (0*1+-1*0)=0.

For the first row, the second column element value can be found by multiplying (1*2+2*-1)=2+(-2)=0.

For the last element value of the second row, the second column can be estimated as (0*2+(-1*-1)=+1.  The A^2 can be arranged as follows.

Another way is to write the first row of matrix A, above that line we can write the first column of B, which in this case is A itself as a row, and also another row which is the second column of B.To Get a11, multiply(11+20)=1. While for the a12 multiply(12+2-1)=0.

Matrix operations-part-2, Powers of matrix

To get the value of a21, write the second row of A as a row, and above that row, write the first column of B as a row, as well as the second column of B as a row. The values of a21 and a22 are shown.

Powers of matrix.

Multiplication of 3×3 matrices.

For the next operation of multiplying two matrices AxB, each matrix has a dimension of (3×3) that is a part of the Matrix operations-part-2

We will write between brackets(3×3). At the same time, matrix B has a dimension of (3×4). For the final matrix or (AB). First, check that Figure 3, the number of columns in matrix A, matches Figure 3 of matrix B, which is the number of rows.

The final matrix (AB) dimension can be obtained by taking the leftmost number in matrix A and multiplying it by the rightmost number in matrix B.

Matrix A is at the left side of matrix B; multiplication is to be performed. If we change the arrangement to let matrix B be on the left side of matrix A.

For the given example, the product can not be done, since (3×4)*(3*3) cannot be multiplied.

Even if these matrices have (3*3)*(3*x3), the product BA will not be the same as AB. We will proceed to multiply (AB), and we will find that the first element = 3*2+ 5*5+(-1*9)=22.

To determine the place of the required element, assume that this element is the intersection of the arrow’s tail for the first arrow with the tail of the first column arrow. For the first row, the second element of(AB).

The element is located at the intersection between the horizontal and vertical arrows. The value=3*-2+5*0+(-1*-4))=-2. For the element at the first row, the third column, again.

The intersection between the horizontal arrow with the vertical arrow. The value=33+ 5 7-(1*1)=43.

Multiplication of two matrices 3x3

For the first row, the fourth column value will be = 3*1+5*8-1*1=42. Now, proceed to the second row. When intersecting with the first column, the element of the second row/ first column will be = 4*2+0*5+2*9=26.

The same process will be carried out for the other elements. The final AB value is shown. The final dimension is(3×4), or three rows with four columns. We cannot perform the operation of multiplying B by A since the number of rows in matrix B is not the same as the number of columns in matrix A. To check that AB doesn’t equal BA, the next slide image illustrates the process of getting the Matrix BA.

The product of BA-matrices.

This is the next post- Solved problem for matrix operations.

For a useful external link, math is fun for the matrix part.