Matrices, their classification, arithmetic operations on matrices. Matrices. Basic definitions and types of matrices. Actions on matrices. The concept of matrix rank. Operations on matrices. Concept and finding an inverse matrix Special types of matrices

A matrix is ​​a special object in mathematics. It is depicted in the form of a rectangular or square table, composed of a certain number of rows and columns. In mathematics there is a wide variety of types of matrices, varying in size or content. The numbers of its rows and columns are called orders. These objects are used in mathematics to organize the recording of systems linear equations and convenient search for their results. Equations using a matrix are solved using the method of Carl Gauss, Gabriel Cramer, minors and algebraic additions, as well as many other methods. The basic skill when working with matrices is reduction to However, first, let's figure out what types of matrices are distinguished by mathematicians.

Null type

All components of this type of matrix are zeros. Meanwhile, the number of its rows and columns is completely different.

Square type

The number of columns and rows of this type of matrix is ​​the same. In other words, it is a “square” shaped table. The number of its columns (or rows) is called the order. Special cases are considered to be the existence of a second-order matrix (2x2 matrix), fourth-order (4x4), tenth-order (10x10), seventeenth-order (17x17) and so on.

Column vector

This is one of the simplest types of matrices, containing only one column, which includes three numerical values. It represents a number of free terms (numbers independent of variables) in systems of linear equations.

View similar to the previous one. Consists of three numerical elements, in turn organized into one line.

Diagonal type

Numerical values ​​in the diagonal form of the matrix take only the components of the main diagonal (highlighted in green). The main diagonal begins with the element located in the upper left corner and ends with the element in the lower right, respectively. The remaining components are equal to zero. The diagonal type is only a square matrix of some order. Among the diagonal matrices, one can distinguish the scalar one. All its components take the same values.

A subtype of diagonal matrix. All of her numeric values are units. Using a single type of matrix table, one performs its basic transformations or finds a matrix inverse to the original one.

Canonical type

The canonical form of the matrix is ​​considered one of the main ones; Reducing to it is often necessary for work. The number of rows and columns in a canonical matrix varies, and it does not necessarily belong to the square type. It is somewhat similar to the identity matrix, but in its case not all components of the main diagonal take on a value equal to one. There can be two or four main diagonal units (it all depends on the length and width of the matrix). Or there may be no units at all (then it is considered zero). The remaining components of the canonical type, as well as the diagonal and unit elements, are equal to zero.

Triangular type

One of the most important types of matrix, used when searching for its determinant and when performing simple operations. The triangular type comes from the diagonal type, so the matrix is ​​also square. The triangular type of matrix is ​​divided into upper triangular and lower triangular.

In an upper triangular matrix (Fig. 1), only elements that are above the main diagonal take a value equal to zero. The components of the diagonal itself and the part of the matrix located under it contain numerical values.

In the lower triangular matrix (Fig. 2), on the contrary, the elements located in the lower part of the matrix are equal to zero.

The type is necessary to find the rank of a matrix, as well as for elementary operations on them (along with the triangular type). The step matrix is ​​so named because it contains characteristic "steps" of zeros (as shown in the figure). In the step type, a diagonal of zeros is formed (not necessarily the main one), and all elements under this diagonal also have values ​​equal to zero. A prerequisite is the following: if there is a zero row in the step matrix, then the remaining rows below it also do not contain numerical values.

Thus, we examined the most important types of matrices necessary to work with them. Now let's look at the problem of converting the matrix into the required form.

Reducing to triangular form

How to bring a matrix to a triangular form? Most often in tasks you need to transform a matrix into a triangular form in order to find its determinant, otherwise called a determinant. When performing this procedure, it is extremely important to “preserve” the main diagonal of the matrix, because the determinant of a triangular matrix is ​​equal to the product of the components of its main diagonal. Let me also recall alternative methods for finding the determinant. The determinant of the square type is found using special formulas. For example, you can use the triangle method. For other matrices, the method of decomposition by row, column or their elements is used. You can also use the method of minors and algebraic matrix additions.

Let us analyze in detail the process of reducing a matrix to a triangular form using examples of some tasks.

Exercise 1

It is necessary to find the determinant of the presented matrix using the method of reducing it to triangular form.

The matrix given to us is a third-order square matrix. Therefore, to transform it into a triangular shape, we will need to zero out two components of the first column and one component of the second.

To bring it to triangular form, we start the transformation from the lower left corner of the matrix - from the number 6. To turn it to zero, multiply the first row by three and subtract it from the last row.

Important! The top row does not change, but remains the same as in the original matrix. There is no need to write a string four times larger than the original one. But the values ​​of the strings whose components need to be set to zero are constantly changing.

Only the last value remains - the element of the third row of the second column. This is the number (-1). To turn it to zero, subtract the second from the first line.

Let's check:

detA = 2 x (-1) x 11 = -22.

This means that the answer to the task is -22.

Task 2

It is necessary to find the determinant of the matrix by reducing it to triangular form.

The presented matrix belongs to the square type and is a fourth-order matrix. This means that it is necessary to turn three components of the first column, two components of the second column and one component of the third to zero.

Let's start reducing it with the element located in the lower left corner - with the number 4. We need to turn this number to zero. The easiest way to do this is to multiply the top line by four and then subtract it from the fourth. Let's write down the result of the first stage of transformation.

So the fourth row component is set to zero. Let's move on to the first element of the third line, to the number 3. We perform a similar operation. We multiply the first line by three, subtract it from the third line and write down the result.

We managed to turn to zero all the components of the first column of this square matrix, with the exception of the number 1 - an element of the main diagonal that does not require transformation. Now it is important to preserve the resulting zeros, so we will perform the transformations with rows, not with columns. Let's move on to the second column of the presented matrix.

Let's start again at the bottom - with the element of the second column of the last row. This number is (-7). However, in in this case It is more convenient to start with the number (-1) - the element of the second column of the third row. To turn it to zero, subtract the second from the third line. Then we multiply the second line by seven and subtract it from the fourth. We got zero instead of the element located in the fourth row of the second column. Now let's move on to the third column.

In this column, we need to turn only one number to zero - 4. This is not difficult to do: we simply add a third to the last line and see the zero we need.

After all the transformations made, we brought the proposed matrix to a triangular form. Now, to find its determinant, you only need to multiply the resulting elements of the main diagonal. We get: detA = 1 x (-1) x (-4) x 40 = 160. Therefore, the solution is 160.

So, now the question of reducing the matrix to triangular form will not bother you.

Reducing to a stepped form

For elementary operations on matrices, the stepped form is less “in demand” than the triangular one. It is most often used to find the rank of a matrix (i.e., the number of its non-zero rows) or to determine linearly dependent and independent rows. However, the stepped type of matrix is ​​more universal, as it is suitable not only for the square type, but also for all others.

To reduce a matrix to stepwise form, you first need to find its determinant. The above methods are suitable for this. The purpose of finding the determinant is to find out whether it can be converted into a step matrix. If the determinant is greater or less than zero, then you can safely proceed to the task. If it is equal to zero, it will not be possible to reduce the matrix to a stepwise form. In this case, you need to check whether there are any errors in the recording or in the matrix transformations. If there are no such inaccuracies, the task cannot be solved.

Let's look at how to reduce a matrix to a stepwise form using examples of several tasks.

Exercise 1. Find the rank of the given matrix table.

Before us is a third-order square matrix (3x3). We know that to find the rank it is necessary to reduce it to a stepwise form. Therefore, first we need to find the determinant of the matrix. Let's use the triangle method: detA = (1 x 5 x 0) + (2 x 1 x 2) + (6 x 3 x 4) - (1 x 1 x 4) - (2 x 3 x 0) - (6 x 5 x 2) = 12.

Determinant = 12. It is greater than zero, which means that the matrix can be reduced to a stepwise form. Let's start transforming it.

Let's start it with the element of the left column of the third line - the number 2. Multiply the top line by two and subtract it from the third. Thanks to this operation, both the element we need and the number 4 - the element of the second column of the third row - turned to zero.

We see that as a result of the reduction, a triangular matrix was formed. In our case, we cannot continue the transformation, since the remaining components cannot be reduced to zero.

This means that we conclude that the number of rows containing numerical values ​​in this matrix (or its rank) is 3. The answer to the task: 3.

Task 2. Determine the number of linearly independent rows of this matrix.

We need to find strings that cannot be converted to zero by any transformation. In fact, we need to find the number of non-zero rows, or the rank of the presented matrix. To do this, let us simplify it.

We see a matrix that does not belong to the square type. It measures 3x4. Let's also start the reduction with the element of the lower left corner - the number (-1).

Its further transformations are impossible. This means that we conclude that the number of linearly independent lines in it and the answer to the task is 3.

Now reducing the matrix to a stepped form is not an impossible task for you.

Using examples of these tasks, we examined the reduction of a matrix to a triangular form and a stepped form. To turn the desired values ​​of matrix tables to zero, in some cases you need to use your imagination and correctly convert their columns or rows. Good luck in mathematics and in working with matrices!


Concept/definition of matrix. Types of matrices

Definition of a matrix. A matrix is ​​a rectangular table of numbers containing a certain number of m rows and a certain number of n columns.

Basic matrix concepts: The numbers m and n are called the orders of the matrix. If m=n, the matrix is ​​called square, and the number m=n is its order.

In what follows, the notation will be used to write the matrix: Although sometimes the notation is found in the literature: However, to briefly denote a matrix, one large letter of the Latin alphabet is often used (for example, A), or the symbol ||aij||, and sometimes with an explanation: A=||aij||=(aij) (i=1, 2,…,m; j=1,2,…n)

The numbers aij included in this matrix are called its elements. In the entry aij, the first index i is the row number, and the second index j is the column number.

For example, matrix this is a matrix of order 2×3, its elements are a11=1, a12=x, a13=3, a21=-2y, ...

So, we have introduced the definition of a matrix. Let us consider the types of matrices and give the corresponding definitions.

Types of matrices

Let us introduce the concept of matrices: square, diagonal, unit and zero.

Definition of a square matrix: Square matrix An n-th order matrix is ​​called an n×n matrix.

In the case of a square matrix The concept of main and secondary diagonals is introduced. The main diagonal of the matrix is called the diagonal going from the upper left corner of the matrix to its lower right corner. Side diagonal of the same matrix is ​​called the diagonal going from the lower left corner to the upper right corner. The concept of a diagonal matrix: Diagonal is a square matrix in which all elements outside the main diagonal are equal to zero. The concept of the identity matrix: Single(denoted E sometimes I) is called a diagonal matrix with ones on the main diagonal. The concept of a zero matrix: Null is a matrix whose elements are all zero. Two matrices A and B are said to be equal (A=B) if they are the same size (that is, they have the same number of rows and the same number of columns and their corresponding elements are equal). So, if then A=B, if a11=b11, a12=b12, a21=b21, a22=b22

This material was taken from the site highermath.ru

FEDERAL STATE BUDGET EDUCATIONAL INSTITUTION OF HIGHER EDUCATION

"ORENBURG STATE AGRICULTURAL UNIVERSITY"

Department " Computer Science and Applied Mathematics»

METHODOLOGICAL INSTRUCTIONS FOR STUDENTS

ON MASTERING DISCIPLINE

Mathematics

Direction of training (specialty): 040400Social work (undergraduate level)

Educational program profile Social work

Form of study: correspondence

Orenburg 2016

1. Lecture notes……………………………………………………...

1.1 Lecture No. 1……………………....................................

1.2 Lecture No. 2…………………………………….

1.3 Lecture No. 3………………………………………

1.4 Lecture No. 4………………………………………………….

1.5 Lecture No. 5……………………

1.6 Lecture No. 6………………………………………..

1.7 Lecture No. 7 ……………………………………………………………………..….

1.8Lecture No. 8.……………………...…………………………….

Lecture No. 9

2. Guidelines for practical training………

2.1 Practical lesson No. PZ -1………………….

2.2 Practical lesson No. PZ -2 ……………………

2.3 Practical lesson No. PZ -3……………………...

2.4 Practical lesson No. PZ -4……………………...

2.5 Practical lesson No. PZ -5……………………..

2.6 Practical lesson No. PZ -6 ………………………………………………….

2.7 Practical lesson No. PZ -7…………………………………………………….

2.8 Practical lesson No. PZ -8…………………………………………………...

2.9 Practical lesson No. PZ -9……………………………………………………...

2.10 Practical lesson No. PZ -10…………………..

2.11 Practical lesson No. PZ -11……………………..

2.12 Practical lesson No. PZ -12………………………………………………..

2.13 Practical lesson No. PZ -13………………………………………………….

2.14 Practical lesson No. PZ -14-15………………………………………………

2.15 Practical lesson No. PZ - 16………………

2.16 Practical lesson No. PZ - 17………………

2.17 Practical lesson No. PZ - 18 ………………

LECTURE NOTES

1.1Lecture 1(2 hours)

Subject: Elements of the theory of matrices and determinants. Elements of linear algebra. Elements of analytical geometry

1.1.1 Lecture questions:

1.Matrixes, their classification, arithmetic operations on matrices.

2. Determinants of 2nd and 3rd order, methods of calculation.

3. Systems of linear equations, solution methods.

4. Equation of a straight line on a plane, methods of defining a straight line on a plane.

1.1.2. Summary of questions:

Matrices, their classification, arithmetic operations on matrices.

Matrix is a table consisting of n rows and m columns. The matrix elements can be numbers or other mathematical objects.

A= B= C=

Rectangular table containing T lines P columns of real numbers are called numeric matrix.


And m ´ n =
.

The numbers a ij that make up the matrix are called its elements, where i=1,2,…m is the row number, j=1,2,…n is the column number.

Matrices are denoted by capital letters of the Latin alphabet A, B, C..., elements by lowercase letters.

If the number of rows and columns of one matrix is ​​equal to the number of rows and columns of another matrix, then they are called one-dimensional matrices.

A matrix whose number of rows is equal to the number of columns is called square matrix. A square matrix of size n´n is called a matrix nth order.

A 2 ´ 2 = - square matrix of 2nd order

a 11 and a 22 elements of the main diagonal

a 12, a 21 elements of the secondary diagonal

A 3 ´ 3 = square matrix of 3rd order

a 11, a 22, and 33 are elements of the main diagonal

a 13, a 22, a 31 elements of the secondary diagonal

A square matrix in which all elements above (below) the main diagonal are equal to zero is called triangular matrix.

A square matrix in which all elements except those on the main diagonal are equal to zero is called diagonal matrix.

B=

A diagonal matrix in which all non-zero elements are equal is called scalar matrix.

A diagonal matrix whose non-zero elements are all 1 is called unit matrix.

E= 3rd order identity matrix

A matrix whose elements are all zero is called zero matrix (0).

A= ; B=

A matrix of size 1´1, consisting of one number, is identified with this number, i.e. (5) 1 ´ 1 is 5.

One-dimensional matrices equal to each other, if all corresponding elements of these matrices are equal.

The square matrix A -1 is called reverse in relation to the matrix A. if and only if A*A -1 =A -1 *A=E

In this topic we will consider the concept of a matrix, as well as types of matrices. Since there are a lot of terms in this topic, I will add summary to make it easier to navigate the material.

Definition of a matrix and its element. Notation.

Matrix is a table of $m$ rows and $n$ columns. The elements of a matrix can be objects of a completely different nature: numbers, variables or, for example, other matrices. For example, the matrix $\left(\begin(array) (cc) 5 & 3 \\ 0 & -87 \\ 8 & 0 \end(array) \right)$ contains 3 rows and 2 columns; its elements are integers. The matrix $\left(\begin(array) (cccc) a & a^9+2 & 9 & \sin x \\ -9 & 3t^2-4 & u-t & 8\end(array) \right)$ contains 2 rows and 4 columns.

Different ways to write matrices: show\hide

The matrix can be written not only in round, but also in square or double straight brackets. Below is the same matrix in different notation forms:

$$ \left(\begin(array) (cc) 5 & 3 \\ 0 & -87 \\ 8 & 0 \end(array) \right);\;\; \left[ \begin(array) (cc) 5 & 3 \\ 0 & -87 \\ 8 & 0 \end(array) \right]; \;\; \left \Vert \begin(array) (cc) 5 & 3 \\ 0 & -87 \\ 8 & 0 \end(array) \right \Vert $$

The product $m\times n$ is called matrix size. For example, if a matrix contains 5 rows and 3 columns, then we speak of a matrix of size $5\times 3$. The matrix $\left(\begin(array)(cc) 5 & 3\\0 & -87\\8 & ​​0\end(array)\right)$ has size $3 \times 2$.

Typically, matrices are denoted by capital letters of the Latin alphabet: $A$, $B$, $C$ and so on. For example, $B=\left(\begin(array) (ccc) 5 & 3 \\ 0 & -87 \\ 8 & 0 \end(array) \right)$. Line numbering goes from top to bottom; columns - from left to right. For example, the first row of matrix $B$ contains elements 5 and 3, and the second column contains elements 3, -87, 0.

Elements of matrices are usually denoted in small letters. For example, the elements of the matrix $A$ are denoted by $a_(ij)$. The double index $ij$ contains information about the position of the element in the matrix. The number $i$ is the row number, and the number $j$ is the column number, at the intersection of which is the element $a_(ij)$. For example, at the intersection of the second row and the fifth column of the matrix $A=\left(\begin(array) (cccccc) 51 & 37 & -9 & 0 & 9 & 97 \\ 1 & 2 & 3 & 41 & 59 & 6 \ \ -17 & -15 & -13 & -11 & -8 & -5 \\ 52 & 31 & -4 & -1 & 17 & 90 \end(array) \right)$ element $a_(25)= $59:

In the same way, at the intersection of the first row and the first column we have the element $a_(11)=51$; at the intersection of the third row and the second column - the element $a_(32)=-15$ and so on. Note that the entry $a_(32)$ reads “a three two”, but not “a thirty two”.

To abbreviate the matrix $A$, the size of which is $m\times n$, the notation $A_(m\times n)$ is used. The following notation is often used:

$$ A_(m\times(n))=(a_(ij)) $$

Here $(a_(ij))$ indicates the designation of the elements of the matrix $A$, i.e. says that the elements of the matrix $A$ are denoted as $a_(ij)$. In expanded form, the matrix $A_(m\times n)=(a_(ij))$ can be written as follows:

$$ A_(m\times n)=\left(\begin(array)(cccc) a_(11) & a_(12) & \ldots & a_(1n) \\ a_(21) & a_(22) & \ldots & a_(2n) \\ \ldots & \ldots & \ldots & \ldots \\ a_(m1) & a_(m2) & \ldots & a_(mn) \end(array) \right) $$

Let's introduce another term - equal matrices.

Two matrices of the same size $A_(m\times n)=(a_(ij))$ and $B_(m\times n)=(b_(ij))$ are called equal, if their corresponding elements are equal, i.e. $a_(ij)=b_(ij)$ for all $i=\overline(1,m)$ and $j=\overline(1,n)$.

Explanation for the entry $i=\overline(1,m)$: show\hide

The notation "$i=\overline(1,m)$" means that the parameter $i$ varies from 1 to m. For example, the notation $i=\overline(1,5)$ indicates that the parameter $i$ takes the values ​​1, 2, 3, 4, 5.

So, for matrices to be equal, two conditions must be met: coincidence of sizes and equality of the corresponding elements. For example, the matrix $A=\left(\begin(array)(cc) 5 & 3\\0 & -87\\8 & ​​0\end(array)\right)$ is not equal to the matrix $B=\left(\ begin(array)(cc) 8 & -9\\0 & -87 \end(array)\right)$ because matrix $A$ has size $3\times 2$ and matrix $B$ has size $2\times $2. Also, matrix $A$ is not equal to matrix $C=\left(\begin(array)(cc) 5 & 3\\98 & -87\\8 & ​​0\end(array)\right)$, since $a_( 21)\neq c_(21)$ (i.e. $0\neq 98$). But for the matrix $F=\left(\begin(array)(cc) 5 & 3\\0 & -87\\8 & ​​0\end(array)\right)$ we can safely write $A=F$ because both the sizes and the corresponding elements of the matrices $A$ and $F$ coincide.

Example No. 1

Determine the size of the matrix $A=\left(\begin(array) (ccc) -1 & -2 & 1 \\ 5 & 9 & -8 \\ -6 & 8 & 23 \\ 11 & -12 & -5 \ \4 & 0 & -10 \\ \end(array) \right)$. Indicate what the elements $a_(12)$, $a_(33)$, $a_(43)$ are equal to.

This matrix contains 5 rows and 3 columns, so its size is $5\times 3$. You can also use the notation $A_(5\times 3)$ for this matrix.

Element $a_(12)$ is at the intersection of the first row and second column, so $a_(12)=-2$. Element $a_(33)$ is at the intersection of the third row and third column, so $a_(33)=23$. Element $a_(43)$ is at the intersection of the fourth row and third column, so $a_(43)=-5$.

Answer: $a_(12)=-2$, $a_(33)=23$, $a_(43)=-5$.

Types of matrices depending on their size. Main and secondary diagonals. Matrix trace.

Let a certain matrix $A_(m\times n)$ be given. If $m=1$ (the matrix consists of one row), then the given matrix is ​​called matrix-row. If $n=1$ (the matrix consists of one column), then such a matrix is ​​called matrix-column. For example, $\left(\begin(array) (ccccc) -1 & -2 & 0 & -9 & 8 \end(array) \right)$ is a row matrix, and $\left(\begin(array) (c) -1 \\ 5 \\ 6 \end(array) \right)$ is a column matrix.

If the matrix $A_(m\times n)$ satisfies the condition $m\neq n$ (i.e., the number of rows is not equal to the number of columns), then it is often said that $A$ is a rectangular matrix. For example, the matrix $\left(\begin(array) (cccc) -1 & -2 & 0 & 9 \\ 5 & 9 & 5 & 1 \end(array) \right)$ has size $2\times 4$, those. contains 2 rows and 4 columns. Since the number of rows is not equal to the number of columns, this matrix is ​​rectangular.

If the matrix $A_(m\times n)$ satisfies the condition $m=n$ (i.e., the number of rows is equal to the number of columns), then $A$ is said to be a square matrix of order $n$. For example, $\left(\begin(array) (cc) -1 & -2 \\ 5 & 9 \end(array) \right)$ is a second-order square matrix; $\left(\begin(array) (ccc) -1 & -2 & 9 \\ 5 & 9 & 8 \\ 1 & 0 & 4 \end(array) \right)$ is a third-order square matrix. In general, the square matrix $A_(n\times n)$ can be written as follows:

$$ A_(n\times n)=\left(\begin(array)(cccc) a_(11) & a_(12) & \ldots & a_(1n) \\ a_(21) & a_(22) & \ldots & a_(2n) \\ \ldots & \ldots & \ldots & \ldots \\ a_(n1) & a_(n2) & \ldots & a_(nn) \end(array) \right) $$

The elements $a_(11)$, $a_(22)$, $\ldots$, $a_(nn)$ are said to be on main diagonal matrices $A_(n\times n)$. These elements are called main diagonal elements(or just diagonal elements). The elements $a_(1n)$, $a_(2 \; n-1)$, $\ldots$, $a_(n1)$ are on side (minor) diagonal; they are called side diagonal elements. For example, for the matrix $C=\left(\begin(array)(cccc)2&-2&9&1\\5&9&8& 0\\1& 0 & 4 & -7 \\ -4 & -9 & 5 & 6\end(array) \right)$ we have:

The elements $c_(11)=2$, $c_(22)=9$, $c_(33)=4$, $c_(44)=6$ are the main diagonal elements; elements $c_(14)=1$, $c_(23)=8$, $c_(32)=0$, $c_(41)=-4$ are side diagonal elements.

The sum of the main diagonal elements is called followed by the matrix and is denoted by $\Tr A$ (or $\Sp A$):

$$ \Tr A=a_(11)+a_(22)+\ldots+a_(nn) $$

For example, for the matrix $C=\left(\begin(array) (cccc) 2 & -2 & 9 & 1\\5 & 9 & 8 & 0\\1 & 0 & 4 & -7\\-4 & -9 & 5 & 6 \end(array)\right)$ we have:

$$ \Tr C=2+9+4+6=21. $$

The concept of diagonal elements is also used for non-square matrices. For example, for the matrix $B=\left(\begin(array) (ccccc) 2 & -2 & 9 & 1 & 7 \\ 5 & -9 & 8 & 0 & -6 \\ 1 & 0 & 4 & - 7 & -6 \end(array) \right)$ the main diagonal elements will be $b_(11)=2$, $b_(22)=-9$, $b_(33)=4$.

Types of matrices depending on the values ​​of their elements.

If all elements of the matrix $A_(m\times n)$ are equal to zero, then such a matrix is ​​called null and is usually denoted by the letter $O$. For example, $\left(\begin(array) (cc) 0 & 0 \\ 0 & 0 \\ 0 & 0 \end(array) \right)$, $\left(\begin(array) (ccc) 0 & 0 & 0 \\ 0 & 0 & 0 \\ 0 & 0 & 0 \end(array) \right)$ - zero matrices.

Let's consider some non-zero row of the matrix $A$, i.e. a string that contains at least one element other than zero. Leading element of a non-zero string we call its first (counting from left to right) non-zero element. For example, consider the following matrix:

$$W=\left(\begin(array)(cccc) 0 & 0 & 0 & 0\\ 0 & 0 & 0 & 12\\ 0 & -9 & 5 & 9 \end(array)\right)$ $

In the second line the leading element will be the fourth element, i.e. $w_(24)=12$, and in the third line the leading element will be the second element, i.e. $w_(32)=-9$.

The matrix $A_(m\times n)=\left(a_(ij)\right)$ is called stepped, if it satisfies two conditions:

  1. Null rows, if present, are located below all non-null rows.
  2. The numbers of the leading elements of non-zero rows form a strictly increasing sequence, i.e. if $a_(1k_1)$, $a_(2k_2)$, ..., $a_(rk_r)$ are the leading elements of non-zero rows of the matrix $A$, then $k_1\lt(k_2)\lt\ldots\lt( k_r)$.

Examples of step matrices:

$$ \left(\begin(array)(cccccc) 0 & 0 & 2 & 0 & -4 & 1\\ 0 & 0 & 0 & 0 & -9 & 0\\ 0 & 0 & 0 & 0 & 0 & 0\\ 0 & 0 & 0 & 0 & 0 & 0\\ 0 & 0 & 0 & 0 & 0 & 0 \end(array)\right);\; \left(\begin(array)(cccc) 5 & -2 & 2 & -8\\ 0 & 4 & 0 & 0\\ 0 & 0 & 0 & -10 \end(array)\right). $$

For comparison: matrix $Q=\left(\begin(array)(ccccc) 2 & -2 & 0 & 1 & 9\\0 & 0 & 0 & 7 & 9\\0 & -5 & 0 & 10 & 6\end(array)\right)$ is not a step matrix, since the second condition in the definition of a step matrix is ​​violated. The leading elements in the second and third rows $q_(24)=7$ and $q_(32)=10$ have numbers $k_2=4$ and $k_3=2$. For a step matrix, the condition $k_2\lt(k_3)$ must be satisfied, which is violated in this case. Let me note that if we swap the second and third rows, we get a stepwise matrix: $\left(\begin(array)(ccccc) 2 & -2 & 0 & 1 & 9\\0 & -5 & 0 & 10 & 6 \\0 & 0 & 0 & 7 & 9\end(array)\right)$.

A step matrix is ​​called trapezoidal or trapezoidal, if the leading elements $a_(1k_1)$, $a_(2k_2)$, ..., $a_(rk_r)$ satisfy the conditions $k_1=1$, $k_2=2$,..., $k_r= r$, i.e. the leading ones are the diagonal elements. In general, a trapezoidal matrix can be written as follows:

$$ A_(m\times(n)) =\left(\begin(array) (cccccc) a_(11) & a_(12) & \ldots & a_(1r) & \ldots & a_(1n)\\ 0 & a_(22) & \ldots & a_(2r) & \ldots & a_(2n)\\ \ldots & \ldots & \ldots & \ldots & \ldots & \ldots\\ 0 & 0 & \ldots & a_(rr) & \ldots & a_(rn)\\ 0 & 0 & \ldots & 0 & \ldots & 0\\ \ldots & \ldots & \ldots & \ldots & \ldots & \ldots\\ 0 & 0 & \ldots & 0 & \ldots & 0 \end(array)\right) $$

Examples of trapezoidal matrices:

$$ \left(\begin(array)(cccccc) 4 & 0 & 2 & 0 & -4 & 1\\ 0 & -2 & 0 & 0 & -9 & 0\\ 0 & 0 & 0 & 0 & 0 & 0\\ 0 & 0 & 0 & 0 & 0 & 0\\ 0 & 0 & 0 & 0 & 0 & 0 \end(array)\right);\; \left(\begin(array)(cccc) 5 & -2 & 2 & -8\\ 0 & 4 & 0 & 0\\ 0 & 0 & -3 & -10 \end(array)\right). $$

Let's give a few more definitions for square matrices. If all elements of a square matrix located under the main diagonal are equal to zero, then such a matrix is ​​called upper triangular matrix. For example, $\left(\begin(array) (cccc) 2 & -2 & 9 & 1 \\ 0 & 9 & 8 & 0 \\ 0 & 0 & 4 & -7 \\ 0 & 0 & 0 & 6 \end(array) \right)$ is an upper triangular matrix. Note that the definition of an upper triangular matrix does not say anything about the values ​​of the elements located above the main diagonal or on the main diagonal. They can be zero or not - it doesn't matter. For example, $\left(\begin(array) (ccc) 0 & 0 & 9 \\ 0 & 0 & 0\\ 0 & 0 & 0 \end(array) \right)$ is also an upper triangular matrix.

If all elements of a square matrix located above the main diagonal are equal to zero, then such a matrix is ​​called lower triangular matrix. For example, $\left(\begin(array) (cccc) 3 & 0 & 0 & 0 \\ -5 & 1 & 0 & 0 \\ 8 & 2 & 1 & 0 \\ 5 & 4 & 0 & 6 \ end(array) \right)$ - lower triangular matrix. Note that the definition of a lower triangular matrix does not say anything about the values ​​of the elements located under or on the main diagonal. They may be zero or not - it doesn't matter. For example, $\left(\begin(array) (ccc) -5 & 0 & 0 \\ 0 & 0 & 0\\ 0 & 0 & 9 \end(array) \right)$ and $\left(\begin (array) (ccc) 0 & 0 & 0 \\ 0 & 0 & 0\\ 0 & 0 & 0 \end(array) \right)$ are also lower triangular matrices.

The square matrix is ​​called diagonal, if all elements of this matrix that do not lie on the main diagonal are equal to zero. Example: $\left(\begin(array) (cccc) 3 & 0 & 0 & 0 \\ 0 & -2 & 0 & 0 \\ 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 6 \ end(array)\right)$. The elements on the main diagonal can be anything (equal to zero or not) - it doesn't matter.

The diagonal matrix is ​​called single, if all elements of this matrix located on the main diagonal are equal to 1. For example, $\left(\begin(array) (cccc) 1 & 0 & 0 & 0 \\ 0 & 1 & 0 & 0 \\ 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 1 \end(array)\right)$ - fourth-order identity matrix; $\left(\begin(array) (cc) 1 & 0 \\ 0 & 1 \end(array)\right)$ is the second-order identity matrix.

Note that matrix elements can be not only numbers. Let's imagine that you are describing the books that are on your bookshelf. Let your shelf be in order and all books be in strictly defined places. The table, which will contain a description of your library (by shelves and the order of books on the shelf), will also be a matrix. But such a matrix will not be numeric. Another example. Instead of numbers there are different functions, united by some dependence. The resulting table will also be called a matrix. In other words, a Matrix is ​​any rectangular table made up of homogeneous elements. Here and further we will talk about matrices made up of numbers.

Instead of parentheses, square brackets or straight double vertical lines are used to write matrices


(2.1*)

Definition 2. If in the expression(1) m = n, then they talk about square matrix, and if , then oh rectangular.

Depending on the values ​​of m and n, some special types of matrices are distinguished:

The most important characteristic square matrix is ​​her determinant or determinant, which is made up of matrix elements and is denoted

Obviously, D E =1; .

Definition 3. If , then the matrix A called non-degenerate or not special.

Definition 4. If detA = 0 , then the matrix A called degenerate or special.

Definition 5. Two matrices A And B are called equal and write A = B if they have the same dimensions and their corresponding elements are equal, i.e..

For example, matrices and are equal, because they are equal in size and each element of one matrix is ​​equal to the corresponding element of the other matrix. But the matrices cannot be called equal, although the determinants of both matrices are equal, and the sizes of the matrices are the same, but not all elements located in the same places are equal. The matrices are different because they have different sizes. The first matrix is ​​2x3 in size, and the second is 3x2. Although the number of elements is the same - 6 and the elements themselves are the same 1, 2, 3, 4, 5, 6, but they are in different places in each matrix. But the matrices are equal, according to Definition 5.

Definition 6. If you fix a certain number of matrix columns A and the same number of rows, then the elements at the intersection of the indicated columns and rows form a square matrix n- th order, the determinant of which called minor k – th order matrix A.

Example. Write down three second-order minors of the matrix

Share with friends or save for yourself:

Loading...