Video: Transpose of a Matrix | Nagwa Video: Transpose of a Matrix | Nagwa

Video: Transpose of a Matrix

In this video, we will learn how to find the transpose of a matrix and identify symmetric and skew-symmetric matrices.

16:39

Video Transcript

In this video, we’ll learn how to find the transpose of a matrix and identify symmetric and skew-symmetric matrices. Many of the concepts you will study in linear algebra were developed in the 17th century, although the very beginnings of matrices and determinants can be traced back as far as the 400th century B.C. The first example of using a matrix method to solve a system of linear equations occurred during the Han Dynasty, somewhere between 200 and 100 B.C. Leibniz specifically is credited for the introduction of the matrix determinant in Europe, whilst Gauss actually formalized the term in the early 1800s. It wasn’t however until 1858 that Cayley formed the concept of the matrix transpose. So let’s take a look at the definition of the transpose of a matrix.

Consider a matrix 𝐴 whose 𝑖th row and 𝑗th column element is given by π‘Ž sub 𝑖𝑗. The transpose of 𝐴, which is defined by 𝐴 with a superscript capital 𝑇, is then a matrix composed of the elements of 𝐴 but in a different order. This time, the 𝑖th row 𝑗th column is the 𝑗th row 𝑖th column of 𝐴. But actually, this looks awfully complicated, and so we can simplify it somewhat. Take a two-by-two matrix with elements π‘Ž, 𝑏, 𝑐, 𝑑. In this matrix, the element in the first row and first column is π‘Ž, the element in the first row and second column π‘Ž sub one two is 𝑏, and so on.

Now, to find the corresponding elements in the transpose of the matrix, we switch the values for 𝑖 and 𝑗. But of course, switching one and one leaves π‘Ž sub one one unchanged. And so the element in the first row and first column of the transpose of 𝐴 is π‘Ž. Switching the one and the two though tells us that the element in the second row and first column of the transpose of the matrix must be 𝑏; well, that’s here. Similarly, switching the two and the one in our third element tells us that the element in the first row and second column of our transpose, that’s here, is 𝑐. Even if we switch the digits here, we see that π‘Ž sub two two remains unchanged. And the element in our second row and second column stays as 𝑑. So the transpose of our matrix 𝐴 is the matrix π‘Ž, 𝑐, 𝑏, 𝑑.

Notice that the elements on the leading or main diagonal remain unchanged but that the remaining elements appear to have sort of flipped across the diagonal. Slightly more formally, we can say that the matrix transpose is achieved by simply swapping the rows with the columns on our original matrix. And it follows that if 𝐴 itself is an π‘š-by-𝑛 matrix, then the transpose of 𝐴 must be an 𝑛-by-π‘š matrix. And note that whilst we looked at how the process works just now for a square matrix, all matrices will have their own transpose regardless of how many rows or columns they might have.

So let’s begin by looking at an example in which we’ll find the transpose of a rectangular matrix.

Given that the matrix 𝐴 is defined as negative two, six, negative six, one, eight, four, find the transpose of matrix 𝐴.

We know that to find the transpose of a matrix, we essentially swap the rows with the columns. The matrix 𝐴 has two rows and three columns, so it’s a two-by-three matrix. Since we’re going to be switching the rows with the columns in our transpose, it follows that that will be a three-by-two matrix. It will have three rows and two columns. Since the first element, negative two, appears in the first row and the first column, that will remain unchanged. The remaining elements in this first row though are transposed into the first column.

So once we have negative two in place, we add a six here and a negative six here. Then, since the element four in our original matrix is in the second row and the third column, we know that, in the transpose of the matrix, it will be in the third row and the second column. We can then fill in the rest of this column by using this row. We can move up from four if we choose and put in eight here and a one here. The transpose then of matrix 𝐴 is the three-by-two matrix with elements negative two, one, six, eight, negative six, four.

In our second example, we’ll consider how to generate a matrix transpose given a formula for the original matrix.

Given that 𝐴 is a three-by-two matrix such that π‘Ž sub 𝑖𝑗 is equal to three 𝑖 plus five 𝑗 plus nine, find the matrix which is the transpose of 𝐴.

Now, there are actually two ways in which we could answer this question. We could use the formula to generate matrix 𝐴. In other words, the element π‘Ž sub one one, the element on the first row and first column, is found by substituting 𝑖 equals one and 𝑗 equals one into the formula. Then, once we performed this, we could then find the transpose by swapping all of the rows and the columns. Alternatively, we could use the formal definition of the transpose, and we’re going to use this latter method.

We know that if 𝐴 is a matrix whose 𝑖th row and 𝑗th column element is π‘Ž sub 𝑖𝑗, then the 𝑖th row and 𝑗th column element of the transpose of 𝐴 is π‘Ž sub 𝑗𝑖. So if we define the matrix 𝐴 as the three-by-two matrix with elements π‘Ž sub one one, π‘Ž sub one two, and so on, then the transpose of 𝐴 is the firstly two-by-three matrix that its elements are π‘Ž sub one one, π‘Ž sub two one, π‘Ž sub three one, and so on. So let’s work out π‘Ž sub one one by using the formula. We’re going to substitute 𝑖 equals one and 𝑗 equals one in. So we get three times one plus five times one plus nine, and that’s 17.

Next, we’re going to substitute 𝑖 equals two and 𝑗 equals one. So we get three times two plus five times one plus nine, and that’s 20. To find the final element on this first row, we let 𝑖 be equal to three and 𝑗 be equal to one, and that gives us 23. For the element π‘Ž one two, we substitute 𝑖 equals one and 𝑗 equals two and we get 22. Continuing in this manner, and we find that π‘Ž sub two two is 25 and π‘Ž sub three two is 28. The transpose of 𝐴 is therefore the two-by-three matrix with elements 17, 20, 23, 22, 25, and 28.

In our next example, we’ll look at one of the key properties of the matrix transpose.

Given the matrix 𝐴 equals negative eight, four, three, four, one, negative one, find the transpose of the transpose of 𝐴.

Firstly, we know that to find the transpose of a matrix, we simply switch the rows with the columns. Now matrix 𝐴 is a two-by-three matrix. It has two rows and three columns, so its transpose is going to have three rows and two columns. Let’s begin with the first row. That first row becomes the first column in the transpose of our matrix. And since elements on the leading diagonal remain unchanged, we know we have to have a negative eight here. Then we put a four here and a three here. Next, we take elements from the second row and we add them to the second column. Again, since elements in the leading diagonal remain unchanged, we put negative one here. The remaining elements are one and four. And so we have the transpose of 𝐴; it’s this three-by-two matrix with elements negative eight, four, four, one, and three, negative one.

But the question wants us to find the transpose of this transpose. And at this point, you might be able to predict what’s going to happen, but let’s check. Firstly, we know that since there are two columns and three rows in our transpose, then the transpose of the transpose is going to have two rows and three columns. Let’s take the row negative eight, four and we’ll add it to our first column, so we get negative eight, four. Next, we’ll take the second row and we’ll add it to our second column. Lastly, we take the third row and we add that to our third column as shown. And so, given our matrix 𝐴, the transpose of its transpose is the two-by-three matrix negative eight, four, three, four, one, negative one.

Now observe, the transpose of the transpose of a matrix is in fact the original matrix. Now this makes a lot of sense because we switched the rows on the columns and then we switched them back again. So the original matrix will be the final result. And this holds for all types of matrices, and this property is the first of several properties that apply to the matrix transpose.

Given a matrix 𝐴, the transpose of the transpose is equal to the original matrix 𝐴. Next, given a pair of matrices 𝐴 and 𝐡 whose sum and difference we can find, the transpose of the sum and difference is the same as the sum and difference of their respective transposes. Take a scalar quantity π‘˜, and we know that the transpose of π‘˜ times some matrix 𝐴 will be equal to the transpose of 𝐴 times that scalar. And finally, if we can find the product of two matrices 𝐴 and 𝐡, the transpose of the product is equal to the transpose of 𝐡 times the transpose of 𝐴. Now, of course, since matrix multiplication is not commutative, it’s really important that we observe carefully the order in which to multiply matrices for property four. Now, we use the definition of the matrix transpose in our definitions for symmetric and skew-symmetric matrices. And these are both important concepts in linear algebra.

Firstly, we say that a square matrix 𝐴 is symmetric if the transpose of that matrix is equal to the original matrix. For example, take the two-by-two matrix one, two, two, three. We switch the first row and that becomes the first column in the transpose, and we do the same with the second row. That becomes the second column. And on doing so, we notice that the matrix 𝐴 is the same as the transpose, and so matrix 𝐴 must therefore be symmetric. It follows of course that a nonsquare matrix cannot be symmetric. An π‘š-by-𝑛 matrix will have a transpose with 𝑛 rows and π‘š columns. And so the size is simply going to be different.

Next, we say that a square matrix is said to be skew-symmetric if the transpose is equal to negative 𝐴. And for this to be the case, all of the elements on the main diagonal must be equal to zero. For instance, take the three-by-three matrix 𝐴 as shown. The transpose of 𝐴 is the matrix with elements zero, four, negative nine, negative four, zero, negative one, and nine, one, zero. We notice that if we were to multiply the scalar negative one across our original matrix, in other words, giving us negative 𝐴, we would have the same result as the transpose. And so this matrix is skew-symmetric.

With these definitions in mind, let’s have a look at an example of how to work with a symmetric matrix.

Find the value of π‘₯ which makes the matrix 𝐴 equals negative one, five π‘₯ minus three, negative 43, negative eight symmetric.

Remember, we say that a square matrix is symmetric if the transpose of that matrix is equal to the original matrix. And of course, we find the transpose by switching the rows with the columns. So let’s begin by finding the transpose of matrix 𝐴. Since 𝐴 is a two-by-two matrix, it follows that when we switch the rows and columns, we will still have a two-by-two matrix. Then the elements on the first row in matrix 𝐴 become the elements in the first column still in order of the transpose of 𝐴. Then we take the elements in the second row of 𝐴 and we add them to the second column of the transpose. And so the transpose of 𝐴 is as shown.

We know that for the matrix to be symmetric, the transpose must be equal to the original matrix. And further for two matrices to be equal to one another, their individual elements must be equal to one another. We can already observe that the elements on the leading diagonal are already equal to one another. And that makes a lot of sense, since when we transpose a matrix, these elements remain unchanged. We do however notice that we have a pair of identical equations when we try to equate the remaining elements. In other words, we know that negative 43 must be equal to five π‘₯ minus three. And so we need to solve this equation for π‘₯.

We’ll begin by adding three to both sides, giving us five π‘₯ equals negative 40. And finally, we’ll divide through by five, which gives us π‘₯ equals negative eight. Note of course that we could go back to the original matrix, substitute π‘₯ equals negative eight in, and double-check that when we do the same with the transpose, we get the exact same matrix. We found then the value of π‘₯ which makes the matrix 𝐴 symmetric is negative eight.

Let’s now recap some of the key points from this lesson. In this video, we learned that we can find the transpose of any matrix by switching the rows with the columns. And we can use this formula to help us remember this. And as a direct result of this definition, we know that a matrix with π‘š rows and 𝑛 columns will have a transpose of order 𝑛 by π‘š; it will have 𝑛 rows and π‘š columns. We also learned some of the key properties, and one of these was that the transpose of a transpose is the original matrix. Assuming we can add or subtract a pair of matrices, the transpose of their sum or difference is equal to the sum or difference of their respective transposes.

For scalar quantities π‘˜, the transpose of π‘˜ times some matrix 𝐴 is equal to π‘˜ times the transpose of 𝐴. And finally being extra careful because matrix multiplication is not commutative, we know that the transpose of 𝐴 times 𝐡 is equal to the transpose of 𝐡 times the transpose of 𝐴, assuming the two matrices can be multiplied. Finally, we learned that a square matrix 𝐴 is said to be symmetric if the transpose of 𝐴 is equal to 𝐴 and it’s skew-symmetric if the transpose of 𝐴 is equal to negative 𝐴 and the main diagonal entries are zero.

Join Nagwa Classes

Attend live sessions on Nagwa Classes to boost your learning with guidance and advice from an expert teacher!

  • Interactive Sessions
  • Chat & Messaging
  • Realistic Exam Questions

Nagwa uses cookies to ensure you get the best experience on our website. Learn more about our Privacy Policy