{"id":2985,"date":"2026-03-09T14:29:20","date_gmt":"2026-03-09T14:29:20","guid":{"rendered":"https:\/\/www.mathros.net.ua\/en\/?p=2985"},"modified":"2026-07-18T13:06:16","modified_gmt":"2026-07-18T13:06:16","slug":"what-is-a-matrix","status":"publish","type":"post","link":"https:\/\/www.mathros.net.ua\/en\/what-is-a-matrix.html","title":{"rendered":"What Is a Matrix: Definition, Applications, and Basic Operations"},"content":{"rendered":"<p>A matrix is a convenient way to organize many numbers in a table so you can work with them using clear rules. You\u2019ll run into matrices all the time in linear algebra, numerical methods, programming, and data analysis. Why does this matter? Because a matrix lets you write systems of equations in a compact form, describe transformations, and perform calculations without confusion. So let\u2019s go step by step: what a matrix is, where it\u2019s used, and the most basic operations.<\/p>\n<h2>Matrix as a Table of Numbers: Definition and Notation<\/h2>\n<p>A matrix \\( A \\) of size \\( m\\times n \\) is a rectangular table of numbers with \\( m \\) rows and \\( n \\) columns, where \\( m,n\\in\\mathbb{N} \\). It is written like this:<\/p>\n<p>\\[<br \/>\nA=\\begin{pmatrix}<br \/>\na_{11} &amp; a_{12} &amp; a_{13} &amp; \\dots &amp; a_{1n}\\\\<br \/>\na_{21} &amp; a_{22} &amp; a_{23} &amp; \\dots &amp; a_{2n}\\\\<br \/>\na_{31} &amp; a_{32} &amp; a_{33} &amp; \\dots &amp; a_{3n}\\\\<br \/>\n\\vdots &amp; \\vdots &amp; \\vdots &amp; \\ddots &amp; \\vdots\\\\<br \/>\na_{m1} &amp; a_{m2} &amp; a_{m3} &amp; \\dots &amp; a_{mn}<br \/>\n\\end{pmatrix}.<br \/>\n\\]<\/p>\n<p>The numbers \\( a_{ij} \\) are called the elements of the matrix. The first index \\( i \\) shows the row number, and the second index \\( j \\) shows the column number. So the element \\( a_{ij} \\) is located at the intersection of the \\( i \\)-th row and the \\( j \\)-th column. A simple rule helps here: rows first, then columns.<\/p>\n<p>For example, let<\/p>\n<p>\\[<br \/>\nA=\\begin{pmatrix}<br \/>\n7 &amp; 0 &amp; -3\\\\<br \/>\n1 &amp; 8 &amp; -5<br \/>\n\\end{pmatrix}.<br \/>\n\\]<\/p>\n<p>This matrix has size \\( 2\\times 3 \\). In particular, \\( a_{11}=7 \\) and \\( a_{23}=-5 \\). It\u2019s convenient: you can immediately see both the value and the position of an element.<\/p>\n<p>Next, it\u2019s useful to know two special cases. If there is only one row, we get a row matrix:<\/p>\n<p>\\[<br \/>\nA=\\begin{pmatrix}<br \/>\na_{11} &amp; a_{12} &amp; a_{13} &amp; \\dots &amp; a_{1n}<br \/>\n\\end{pmatrix}.<br \/>\n\\]<\/p>\n<p>And if there is only one column, we get a column matrix:<\/p>\n<p>\\[<br \/>\nB=\\begin{pmatrix}<br \/>\nb_{11}\\\\<br \/>\nb_{21}\\\\<br \/>\nb_{31}\\\\<br \/>\n\\vdots\\\\<br \/>\nb_{m1}<br \/>\n\\end{pmatrix}.<br \/>\n\\]<\/p>\n<p>Such objects are often called vectors, and you\u2019ll see them all the time in problems.<\/p>\n<h2>Matrix in Problems: Where It\u2019s Used in Practice<\/h2>\n<p>Now a logical question: why introduce matrices at all if we could just write the numbers as a simple list? The point is that matrix notation gives a standard form for many problems and helps you apply well-known methods without rewriting everything again and again.<\/p>\n<p>First, linear <a title=\"System of linear equations\" href=\"https:\/\/en.wikipedia.org\/wiki\/System_of_linear_equations\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">systems of equations<\/a>. In numerical methods, this is one of the central topics. For example, the system<\/p>\n<p>\\[<br \/>\n\\begin{cases}<br \/>\n2 \\cdot x_1+3 \\cdot x_2=5,\\\\<br \/>\n-x_1+4 \\cdot x_2=6<br \/>\n\\end{cases}<br \/>\n\\]<\/p>\n<p>can be written compactly as<\/p>\n<p>\\[<br \/>\nA \\cdot x=b,<br \/>\n\\quad<br \/>\nA=\\begin{pmatrix}<br \/>\n2 &amp; 3\\\\<br \/>\n-1 &amp; 4<br \/>\n\\end{pmatrix},<br \/>\n\\quad<br \/>\nx=\\begin{pmatrix}<br \/>\nx_1\\\\<br \/>\nx_2<br \/>\n\\end{pmatrix},<br \/>\n\\quad<br \/>\nb=\\begin{pmatrix}<br \/>\n5\\\\<br \/>\n6<br \/>\n\\end{pmatrix}.<br \/>\n\\]<\/p>\n<p>From here, you can apply Gaussian elimination, iterative methods, and error estimates. In practice, the solution is often found approximately, and the matrix form makes these computations much easier to organize and check.<\/p>\n<p>Second, linear transformations in geometry and physics. Rotations, stretching, and reflections are often described by multiplying a matrix by a vector:<\/p>\n<p>\\[<br \/>\ny=T \\cdot x.<br \/>\n\\]<\/p>\n<p>With one compact expression, you define the transformation rule and then compute the result for many different vectors.<\/p>\n<p>Third, data and models. Matrices are widely used to represent data: rows can correspond to objects, and columns can correspond to features. On top of that, matrix computations are at the core of regression, the least squares method, and many algorithms for working with data.<\/p>\n<p>So, a matrix helps you describe a problem compactly and work with it using clear rules. And with examples, you\u2019ll see how this looks in real calculations step by step.<\/p>\n<h2>Matrix and Special Types: Square, Diagonal, Triangular<\/h2>\n<p>Let\u2019s move on: matrices come in different forms, and some types have especially simple properties that are very useful in computations.<\/p>\n<p>A matrix is called square if the number of its rows equals the number of its columns:<\/p>\n<p>\\[<br \/>\nA=\\begin{pmatrix}<br \/>\na_{11} &amp; a_{12} &amp; a_{13} &amp; \\dots &amp; a_{1n}\\\\<br \/>\na_{21} &amp; a_{22} &amp; a_{23} &amp; \\dots &amp; a_{2n}\\\\<br \/>\na_{31} &amp; a_{32} &amp; a_{33} &amp; \\dots &amp; a_{3n}\\\\<br \/>\n\\vdots &amp; \\vdots &amp; \\ddots &amp; \\ddots &amp; \\vdots\\\\<br \/>\na_{n1} &amp; a_{n2} &amp; a_{n3} &amp; \\dots &amp; a_{nn}<br \/>\n\\end{pmatrix}.<br \/>\n\\]<\/p>\n<p>The elements \\( a_{11},a_{22},a_{33},\\dots,a_{nn} \\) form the main diagonal.<\/p>\n<p>For example,<\/p>\n<p>\\[<br \/>\nA=\\begin{pmatrix}<br \/>\n1 &amp; 5\\\\<br \/>\n4 &amp; 2<br \/>\n\\end{pmatrix}<br \/>\n\\]<\/p>\n<p>is a \\( 2\\times 2 \\) square matrix. The main diagonal consists of the elements \\( 1 \\) and \\( 2 \\).<\/p>\n<p>Next, if all elements below the main diagonal are zero, the matrix is upper triangular:<\/p>\n<p>\\[<br \/>\nU=\\begin{pmatrix}<br \/>\nu_{11} &amp; u_{12} &amp; u_{13} &amp; \\dots &amp; u_{1n}\\\\<br \/>\n0 &amp; u_{22} &amp; u_{23} &amp; \\dots &amp; u_{2n}\\\\<br \/>\n0 &amp; 0 &amp; u_{33} &amp; \\dots &amp; u_{3n}\\\\<br \/>\n\\vdots &amp; \\vdots &amp; \\vdots &amp; \\ddots &amp; \\vdots\\\\<br \/>\n0 &amp; 0 &amp; 0 &amp; \\dots &amp; u_{nn}<br \/>\n\\end{pmatrix}.<br \/>\n\\]<\/p>\n<p>And if the zeros are above the main diagonal, we get a lower triangular matrix:<\/p>\n<p>\\[<br \/>\nL=\\begin{pmatrix}<br \/>\n\\ell_{11} &amp; 0 &amp; 0 &amp; \\dots &amp; 0\\\\<br \/>\n\\ell_{21} &amp; \\ell_{22} &amp; 0 &amp; \\dots &amp; 0\\\\<br \/>\n\\ell_{31} &amp; \\ell_{32} &amp; \\ell_{33} &amp; \\dots &amp; 0\\\\<br \/>\n\\vdots &amp; \\vdots &amp; \\vdots &amp; \\ddots &amp; \\vdots\\\\<br \/>\n\\ell_{n1} &amp; \\ell_{n2} &amp; \\ell_{n3} &amp; \\dots &amp; \\ell_{nn}<br \/>\n\\end{pmatrix}.<br \/>\n\\]<\/p>\n<p>These matrices often appear in algorithms such as LU decomposition and during the steps of <a title=\"Gaussian elimination for solving systems of linear equations\" href=\"https:\/\/www.mathros.net.ua\/en\/gaussian-elimination.html\">Gaussian elimination<\/a>.<\/p>\n<p>There is also a diagonal matrix, where all elements outside the main diagonal are zeros:<\/p>\n<p>\\[<br \/>\nD=\\begin{pmatrix}<br \/>\nd_{1} &amp; 0 &amp; 0 &amp; \\dots &amp; 0\\\\<br \/>\n0 &amp; d_{2} &amp; 0 &amp; \\dots &amp; 0\\\\<br \/>\n0 &amp; 0 &amp; d_{3} &amp; \\dots &amp; 0\\\\<br \/>\n\\vdots &amp; \\vdots &amp; \\vdots &amp; \\ddots &amp; \\vdots\\\\<br \/>\n0 &amp; 0 &amp; 0 &amp; \\dots &amp; d_{n}<br \/>\n\\end{pmatrix}.<br \/>\n\\]<\/p>\n<p>A special case is the identity matrix:<\/p>\n<p>\\[<br \/>\nI=\\begin{pmatrix}<br \/>\n1 &amp; 0 &amp; 0 &amp; \\dots &amp; 0\\\\<br \/>\n0 &amp; 1 &amp; 0 &amp; \\dots &amp; 0\\\\<br \/>\n0 &amp; 0 &amp; 1 &amp; \\dots &amp; 0\\\\<br \/>\n\\vdots &amp; \\vdots &amp; \\vdots &amp; \\ddots &amp; \\vdots\\\\<br \/>\n0 &amp; 0 &amp; 0 &amp; \\dots &amp; 1<br \/>\n\\end{pmatrix}.<br \/>\n\\]<\/p>\n<p>It plays the role of <em>&#8220;one&#8221;<\/em>\u00a0in matrix calculations: multiplying by \\( I \\) does not change a matrix or a vector. In some literature, it may also be denoted by the letter \\( E \\).<\/p>\n<p>And finally, the zero matrix:<\/p>\n<p>\\[<br \/>\nO=\\begin{pmatrix}<br \/>\n0 &amp; 0 &amp; 0 &amp; \\dots &amp; 0\\\\<br \/>\n0 &amp; 0 &amp; 0 &amp; \\dots &amp; 0\\\\<br \/>\n0 &amp; 0 &amp; 0 &amp; \\dots &amp; 0\\\\<br \/>\n\\vdots &amp; \\vdots &amp; \\vdots &amp; \\ddots &amp; \\vdots\\\\<br \/>\n0 &amp; 0 &amp; 0 &amp; \\dots &amp; 0<br \/>\n\\end{pmatrix}.<br \/>\n\\]<\/p>\n<p>Just like zero in ordinary arithmetic, it follows simple rules in addition and multiplication.<\/p>\n<h2>Basic Operations with Matrices: Rules and Important Checks<\/h2>\n<p>Now let\u2019s get to the most practical part: which matrix operations are used most often? There is one key point here\u2014before doing any operation, it\u2019s really helpful to check the dimensions first. This is where mistakes happen most frequently, and examples make that especially clear.<\/p>\n<h3>Multiplying a Matrix by a Number<\/h3>\n<p>If \\( \\alpha \\) is a number, then multiplying \\( \\alpha \\cdot A \\) means that every element of the matrix is multiplied by \\( \\alpha \\):<\/p>\n<p>\\[<br \/>\nB=\\alpha \\cdot A,\\qquad b_{ij}=\\alpha \\cdot a_{ij}.<br \/>\n\\]<\/p>\n<h3>Addition and Subtraction<\/h3>\n<p>You can add matrices only if they have the same dimensions. If \\( A \\) and \\( B \\) are the same size, then<\/p>\n<p>\\[<br \/>\nC=A+B,\\qquad c_{ij}=a_{ij}+b_{ij}.<br \/>\n\\]<\/p>\n<p>Subtraction is defined in the same way:<\/p>\n<p>\\[<br \/>\nC=A-B,\\qquad c_{ij}=a_{ij}-b_{ij}.<br \/>\n\\]<\/p>\n<p>If the dimensions are different, then addition and subtraction are not defined\u2014so it\u2019s worth checking this right away.<\/p>\n<h3>Matrix Multiplication<\/h3>\n<p>The product \\( A \\cdot B \\) is defined only when the matrices are compatible in size. Let \\( A \\) have dimensions \\( m \\times k \\), and let \\( B \\) have dimensions \\( k\\times n \\). Then the product exists:<\/p>\n<p>\\[<br \/>\nA_{m\\times k}\\cdot B_{k\\times n}=C_{m\\times n}.<br \/>\n\\]<\/p>\n<p>The elements of the matrix \\( C \\) are computed by the formula<\/p>\n<p>\\[<br \/>\nc_{ij}=\\sum_{s=1}^{k} a_{is} \\cdot b_{sj}.<br \/>\n\\]<\/p>\n<p>In other words, you take the \\( i \\)-th row of \\( A \\) and the \\( j \\)-th column of \\( B \\), multiply the corresponding entries, and add them up.<\/p>\n<blockquote><p><strong>One more important point<\/strong>: in general, \\( A \\cdot B\\neq B \\cdot A \\). It can even happen that \\( A \\cdot B \\) exists, but \\( B \\cdot A \\) does not, because the dimensions do not match. So the order of multiplication always matters.<\/p><\/blockquote>\n<h3>Raising a Square Matrix to a Power<\/h3>\n<p>If \\( A \\) is a square matrix and \\( m&gt;0 \\), then<\/p>\n<p>\\[<br \/>\nA^{m}=\\underbrace{A\\cdot A\\cdot A\\cdot \\dots \\cdot A}_{m}.<br \/>\n\\]<\/p>\n<h3>Transposition<\/h3>\n<p>Transposition swaps rows and columns:<\/p>\n<p>\\[<br \/>\nA=\\begin{pmatrix}<br \/>\na_{11} &amp; a_{12} &amp; a_{13} &amp; \\dots &amp; a_{1n}\\\\<br \/>\na_{21} &amp; a_{22} &amp; a_{23} &amp; \\dots &amp; a_{2n}\\\\<br \/>\na_{31} &amp; a_{32} &amp; a_{33} &amp; \\dots &amp; a_{3n}\\\\<br \/>\n\\vdots &amp; \\vdots &amp; \\vdots &amp; \\ddots &amp; \\vdots\\\\<br \/>\na_{m1} &amp; a_{m2} &amp; a_{m3} &amp; \\dots &amp; a_{mn}<br \/>\n\\end{pmatrix},<br \/>\n\\qquad<br \/>\nA^{T}=\\begin{pmatrix}<br \/>\na_{11} &amp; a_{21} &amp; a_{31} &amp; \\dots &amp; a_{m1}\\\\<br \/>\na_{12} &amp; a_{22} &amp; a_{32} &amp; \\dots &amp; a_{m2}\\\\<br \/>\na_{13} &amp; a_{23} &amp; a_{33} &amp; \\dots &amp; a_{m3}\\\\<br \/>\n\\vdots &amp; \\vdots &amp; \\vdots &amp; \\ddots &amp; \\vdots\\\\<br \/>\na_{1n} &amp; a_{2n} &amp; a_{3n} &amp; \\dots &amp; a_{mn}<br \/>\n\\end{pmatrix}.<br \/>\n\\]<\/p>\n<p>This operation is often needed both in theory and in numerical methods\u2014for example, when working with symmetric matrices or when moving to expressions of the form \\( A^{T}\\cdot A \\).<\/p>\n<h2>Matrix in Practice: Step-by-Step Calculation Examples<\/h2>\n<p>Now let\u2019s move to practice. Examples are the best way to see where it\u2019s easy to make a mistake and what you should check before doing calculations. Each example below includes a complete solution, but it\u2019s better to try solving it on your own first and only then compare your answer step by step.<\/p>\n<h3 class=\"example\">Example 1. Find the sum of matrices \\( A \\) and \\( B \\)<\/h3>\n<p>\\[<br \/>\nA=\\begin{pmatrix}<br \/>\n2 &amp; -1\\\\<br \/>\n3 &amp; 4<br \/>\n\\end{pmatrix},<br \/>\n\\qquad<br \/>\nB=\\begin{pmatrix}<br \/>\n5 &amp; 6\\\\<br \/>\n-2 &amp; 1<br \/>\n\\end{pmatrix}.<br \/>\n\\]<\/p>\n<p>Both matrices have size \\( 2\\times 2 \\), so addition is defined. We add them element by element:<\/p>\n<p>\\[<br \/>\nA+B=\\begin{pmatrix}<br \/>\n2+5 &amp; -1+6\\\\<br \/>\n3+(-2) &amp; 4+1<br \/>\n\\end{pmatrix}<br \/>\n=\\begin{pmatrix}<br \/>\n7 &amp; 5\\\\<br \/>\n1 &amp; 5<br \/>\n\\end{pmatrix}.<br \/>\n\\]<\/p>\n<p>We got a matrix of the same size \\( 2\\times 2 \\), as expected.<\/p>\n<h3 class=\"example\">Example 2. Find the product of matrix \\( A \\) and the number \\( \\alpha \\)<\/h3>\n<p>\\[<br \/>\nA=\\begin{pmatrix}<br \/>\n-3 &amp; 2 &amp; 0\\\\<br \/>\n1 &amp; -4 &amp; 5<br \/>\n\\end{pmatrix},<br \/>\n\\qquad \\alpha=2.<br \/>\n\\]<\/p>\n<p>Multiplying \\( \\alpha\\cdot A \\) means that every element of the matrix is multiplied by \\( \\alpha \\). In our case \\( \\alpha=2 \\), so we get:<\/p>\n<p>\\[<br \/>\n2 \\cdot A=\\begin{pmatrix}<br \/>\n2\\cdot(-3) &amp; 2\\cdot 2 &amp; 2\\cdot 0\\\\<br \/>\n2\\cdot 1 &amp; 2\\cdot(-4) &amp; 2\\cdot 5<br \/>\n\\end{pmatrix}<br \/>\n=\\begin{pmatrix}<br \/>\n-6 &amp; 4 &amp; 0\\\\<br \/>\n2 &amp; -8 &amp; 10<br \/>\n\\end{pmatrix}.<br \/>\n\\]<\/p>\n<p>The dimensions do not change when you multiply by a number: it was \\( 2\\times 3 \\) and it stays \\( 2\\times 3 \\).<\/p>\n<h3 class=\"example\">Example 3. Find the product of matrices \\( A\\cdot B \\)<\/h3>\n<p>\\[<br \/>\nA=\\begin{pmatrix}<br \/>\n1 &amp; 2 &amp; -1\\\\<br \/>\n0 &amp; 3 &amp; 4<br \/>\n\\end{pmatrix},<br \/>\n\\qquad<br \/>\nB=\\begin{pmatrix}<br \/>\n2 &amp; 1\\\\<br \/>\n-1 &amp; 0\\\\<br \/>\n3 &amp; 2<br \/>\n\\end{pmatrix}.<br \/>\n\\]<\/p>\n<p>Matrix \\( A \\) has size \\( 2\\times 3 \\), and matrix \\( B \\) has size \\( 3\\times 2 \\). The number of columns of the first equals the number of rows of the second, so the product \\( A\\cdot B \\) exists and will have size \\( 2\\times 2 \\). We compute the elements:<\/p>\n<p>\\[<br \/>\nA \\cdot B=\\begin{pmatrix}<br \/>\nc_{11} &amp; c_{12}\\\\<br \/>\nc_{21} &amp; c_{22}<br \/>\n\\end{pmatrix}.<br \/>\n\\]<\/p>\n<p>Find \\( c_{11} \\) as the product of the first row of \\( A \\) with the first column of \\( B \\):<\/p>\n<p>\\[<br \/>\nc_{11}=1\\cdot 2+2\\cdot(-1)+(-1)\\cdot 3=2-2-3=-3.<br \/>\n\\]<\/p>\n<p>Next, \\( c_{12} \\) is the first row of \\( A \\) times the second column of \\( B \\):<\/p>\n<p>\\[<br \/>\nc_{12}=1\\cdot 1+2\\cdot 0+(-1)\\cdot 2=1+0-2=-1.<br \/>\n\\]<\/p>\n<p>Now move to the second row:<\/p>\n<p>\\[<br \/>\n\\begin{gathered}<br \/>\nc_{21}=0\\cdot 2+3\\cdot(-1)+4\\cdot 3=0-3+12=9,\\\\[4pt]<br \/>\nc_{22}=0\\cdot 1+3\\cdot 0+4\\cdot 2=0+0+8=8.<br \/>\n\\end{gathered}<br \/>\n\\]<\/p>\n<p>So,<\/p>\n<p>\\[<br \/>\nA \\cdot B=\\begin{pmatrix}<br \/>\n-3 &amp; -1\\\\<br \/>\n9 &amp; 8<br \/>\n\\end{pmatrix}.<br \/>\n\\]<\/p>\n<blockquote><p><strong>Notice<\/strong>: if we swapped the order and took \\( B\\cdot A \\), the sizes would be \\( 3\\times 2 \\) and \\( 2\\times 3 \\). That product would also exist, but the result would have a completely different size \\( 3\\times 3 \\). The order of multiplication really matters.<\/p><\/blockquote>\n<h3 class=\"example\">Example 4. Find the transposed matrix \\( A^{T} \\)<\/h3>\n<p>\\[<br \/>\nA=\\begin{pmatrix}<br \/>\n4 &amp; -2 &amp; 7\\\\<br \/>\n1 &amp; 0 &amp; -3<br \/>\n\\end{pmatrix}.<br \/>\n\\]<\/p>\n<p>Transposition swaps rows and columns. So the columns of \\( A \\) become the rows of \\( A^{T} \\):<\/p>\n<p>\\[<br \/>\nA^{T}=\\begin{pmatrix}<br \/>\n4 &amp; 1\\\\<br \/>\n-2 &amp; 0\\\\<br \/>\n7 &amp; -3<br \/>\n\\end{pmatrix}.<br \/>\n\\]<\/p>\n<blockquote><p><strong>The check is simple<\/strong>: \\( A \\) has size \\( 2\\times 3 \\), so \\( A^{T} \\) should have size \\( 3\\times 2 \\). That\u2019s exactly what we got.<\/p><\/blockquote>\n<h3 class=\"example\">Example 5. Raise the matrix to the second power<\/h3>\n<p>\\[<br \/>\nA=\\begin{pmatrix}<br \/>\n1 &amp; 2\\\\<br \/>\n3 &amp; 0<br \/>\n\\end{pmatrix}.<br \/>\n\\]<\/p>\n<p>Let\u2019s find \\( A^{2} \\). By definition,<\/p>\n<p>\\[<br \/>\nA^{2}=A\\cdot A.<br \/>\n\\]<\/p>\n<p>Multiply:<\/p>\n<p>\\[<br \/>\nA^{2}=\\begin{pmatrix}<br \/>\n1 &amp; 2\\\\<br \/>\n3 &amp; 0<br \/>\n\\end{pmatrix} \\cdot<br \/>\n\\begin{pmatrix}<br \/>\n1 &amp; 2\\\\<br \/>\n3 &amp; 0<br \/>\n\\end{pmatrix}<br \/>\n=<br \/>\n\\begin{pmatrix}<br \/>\n1\\cdot 1+2\\cdot 3 &amp; 1\\cdot 2+2\\cdot 0\\\\<br \/>\n3\\cdot 1+0\\cdot 3 &amp; 3\\cdot 2+0\\cdot 0<br \/>\n\\end{pmatrix}<br \/>\n=<br \/>\n\\begin{pmatrix}<br \/>\n7 &amp; 2\\\\<br \/>\n3 &amp; 6<br \/>\n\\end{pmatrix}.<br \/>\n\\]<\/p>\n<blockquote><p><strong>This is a common mistake<\/strong>: \\( A^{2} \\) is not the square of each element. It is the product \\( A\\cdot A \\) (for a square matrix \\( A \\)) using the rules of matrix multiplication.<\/p><\/blockquote>\n<h2>Matrix at the Next Level: Topics to Continue With<\/h2>\n<p>You already understand the basic operations with matrices, so it naturally makes you want to go further, right? Below are three topics that logically build on this material and greatly expand your understanding of matrix computations.<\/p>\n<ol>\n<li><a title=\"Inverse of a matrix\" href=\"https:\/\/www.mathros.net.ua\/en\/inverse-of-a-matrix.html\">Inverse of a Matrix: How to <em>&#8220;Undo&#8221;<\/em> Multiplication<\/a> \u2014 We will briefly explain when an inverse matrix exists, how it is found, and what it means in calculations.<\/li>\n<li><a title=\"Pseudoinverse of a matrix\" href=\"https:\/\/www.mathros.net.ua\/en\/pseudoinverse-of-a-matrix.html\">Pseudoinverse of a Matrix: A Solution when an Inverse Doesn\u2019t Exist<\/a> \u2014 We will explain the idea of the pseudoinverse and why it is useful for stable numerical computations.<\/li>\n<li><a title=\"Determinant of a matrix\" href=\"https:\/\/www.mathros.net.ua\/en\/determinant-of-a-matrix.html\">Determinant of a Matrix: What It Shows and Why It Is Computed<\/a> \u2014 We will show what the determinant actually represents, how to interpret it, and what conclusions it gives about a matrix.<\/li>\n<\/ol>\n<h2>Matrix in Code: Turning Flowcharts into Small Programs<\/h2>\n<p>If you want to see how matrix rules work not only on paper but also in real practice, these flowcharts can be a great support. Pick any programming language you like and try writing small programs that perform the basic matrix operations: addition and subtraction, multiplying a matrix by a number, transposition, matrix multiplication, and raising a matrix to a power. This is truly motivating, because you immediately see the result, you can plug in your own data, and you can check yourself without extra doubts. Plus, these mini-programs can easily grow into useful tools for learning or for your own projects\u2014where matrices show up more often than it might seem at first glance.<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"size-full wp-image-3038 aligncenter\" src=\"https:\/\/www.mathros.net.ua\/en\/wp-content\/uploads\/2026\/03\/what-is-a-matrix1.jpg\" alt=\"Flowcharts of basic matrix operations, including how a matrix is multiplied by a number, as well as addition, subtraction, transposition, matrix products, and matrix powers\" width=\"600\" height=\"2050\" srcset=\"https:\/\/www.mathros.net.ua\/en\/wp-content\/uploads\/2026\/03\/what-is-a-matrix1.jpg 600w, https:\/\/www.mathros.net.ua\/en\/wp-content\/uploads\/2026\/03\/what-is-a-matrix1-88x300.jpg 88w, https:\/\/www.mathros.net.ua\/en\/wp-content\/uploads\/2026\/03\/what-is-a-matrix1-300x1024.jpg 300w, https:\/\/www.mathros.net.ua\/en\/wp-content\/uploads\/2026\/03\/what-is-a-matrix1-599x2048.jpg 599w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A matrix is a convenient way to organize many numbers in a table so you can work with them using<\/p>\n","protected":false},"author":1,"featured_media":3040,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"template-centered.php","format":"standard","meta":{"footnotes":""},"categories":[414],"tags":[417,478,476,479,477],"class_list":["post-2985","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-fundamentals-of-matrix-algebra","tag-linear-algebra","tag-matrix-addition","tag-matrix-basics","tag-matrix-multiplication","tag-square-matrix"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.mathros.net.ua\/en\/wp-json\/wp\/v2\/posts\/2985","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mathros.net.ua\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mathros.net.ua\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mathros.net.ua\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mathros.net.ua\/en\/wp-json\/wp\/v2\/comments?post=2985"}],"version-history":[{"count":19,"href":"https:\/\/www.mathros.net.ua\/en\/wp-json\/wp\/v2\/posts\/2985\/revisions"}],"predecessor-version":[{"id":3077,"href":"https:\/\/www.mathros.net.ua\/en\/wp-json\/wp\/v2\/posts\/2985\/revisions\/3077"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mathros.net.ua\/en\/wp-json\/wp\/v2\/media\/3040"}],"wp:attachment":[{"href":"https:\/\/www.mathros.net.ua\/en\/wp-json\/wp\/v2\/media?parent=2985"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mathros.net.ua\/en\/wp-json\/wp\/v2\/categories?post=2985"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mathros.net.ua\/en\/wp-json\/wp\/v2\/tags?post=2985"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}