Questions tagged [matrices]

For any topic related to matrices. This includes: systems of linear equations, eigenvalues and eigenvectors (diagonalization, triangularization), determinant, trace, characteristic polynomial, adjugate and adjoint, transpose, Jordan normal form, matrix algorithms (e.g. LU, Gauss elimination, SVD, QR), invariant factors, quadratic forms, etc. For questions specifically concerning matrix equations, use the (matrix-equations) tag.

A matrix is a rectangular array of elements, usually numbers or variables, arranged in rows and columns. A matrix with $m$ rows and $n$ columns has $m \times n$ elements and is called an $m$ by $n$ matrix. Matrices are a part of .

Matrices can be added and subtracted. Furthermore, if they have compatible shapes, they can be multiplied. More precisely, given two matrices $A$ and $B$, the matrix $AB$ is defined when the number of columns of $A$ is equal to the number of rows of $B$. In particular, given a natural number $n$, any two matrices $A$ and $B$ with $n$ columns and $n$ rows can be multiplied in both ways (that is, both $AB$ and $BA$ exist).


For questions specifically concerning matrix equations, use the tag.

55954 questions
1
vote
1 answer

Let $A=\begin{bmatrix}\alpha & \beta\\0 & \alpha\end{bmatrix}$ be the $n^{th}$ root of $I_2$, then choose the correct statement

Let $A=\begin{bmatrix}\alpha & \beta\\0 & \alpha\end{bmatrix}$ be the $n^{th}$ root of $I_2$, then choose the correct statement (more than one correct) -> A) if $n$ is odd, $\alpha=1,\beta=0$ -> B) if $n$ is odd, $\alpha=-1, \beta=0$ -> C) if $n$ is…
aarbee
  • 8,246
1
vote
2 answers

Do matrices $A$ and $B$ exist such that $AXB$ turns only $X_{ij}$ to $0$, with other entries unchanged?

Let $X$ be an $n \times n$ matrix. Given $i$ and $j$, do $n \times n$ matrices $A$ and $B$ exist such that $AXB$ turns the $i$-th row, $j$-th column entry of $X$ to $0$, with other entries unchanged? I tend to believe there aren't such matrices, but…
qmww987
  • 861
1
vote
1 answer

How do you mathematically generate a matrix where every row is the same vector?

Suppose I have some real-valued vector $v$ with dimension $K$. How can I convert $v$ to some matrix $M$ such that each row of $M$ is an instance of $v$? Is there a way to do this mathematically?
1
vote
1 answer

Find all possible sums of a rows of a matrix

Specifically, I have a generator matrix $$G=\begin{bmatrix} 1&0&0&0&0&1&1 \\ 0&1&0&0&1&0&1 \\ 0&0&1&0&1&1&0 \\ 0&0&0&1&1&1&1 \\ \end{bmatrix}$$ and I must find all 16 codewords that are in this code. I am told this can be done by taking all possible…
1
vote
0 answers

Showing that $\operatorname{rank}(A'A + B'B) =\operatorname{rank}(A)+\operatorname{rank}(B)\ \rm{given}\ AB'=0$

If $A$ is an $m\times n$ matrix and $B$ is a $s\times n$ matrix such that $AB'=0$, show that $$\operatorname{rank}(A'A + B'B) = \operatorname{rank}(A)+\operatorname{rank}(B).$$ I have tried using the result…
kris91
  • 401
1
vote
2 answers

Invertible matrix iff Gram matrix is invertible?

Let $A\in\mathbb{R}^{m\times n}$. Is $A$ invertible if and only if $A^\intercal A$ is invertible? First of all, this statement makes sense only if $m=n$ since only square matrices are invertible. So let's assume $m=n$. In this case, if $A$ is…
Rhjg
  • 2,029
1
vote
1 answer

approximation of sum of matrices

I've got a general question. For the sum of the matrices $\boldsymbol C = \boldsymbol A + \boldsymbol B$, under which conditions would one say that the approxmation $\boldsymbol C \approx \boldsymbol A $ is good and valid. What are the criteria to…
bonanza
  • 441
1
vote
0 answers

Is there a way to make the diagonals of a matrix the sum of the rows using only basic matrix operations?

I have an nxn matrix where the diagonals are all 1's and all other values are random positive values. I want to transform this into a matrix where the diagonals are the sums of the other values in their given row - for example, (1,1) is the sum of…
1
vote
1 answer

Does a non-invertible matrix A exist where some power of A is the identity matrix?

Question: Can a 3x3 non-invertible matrix $A$ exist such that $A^5-A^3=I_3$? $I_3$ is the 3x3 identity matrix.
1
vote
0 answers

How to represent this type of "matrix multiplication"?

Let's say I have 2 matrices that I want to multiply: $\begin{bmatrix}1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9\end{bmatrix}·\begin{bmatrix}0 & 1 & 1 \\ 1 & 1 & 0 \\ 1 & 0 & 1\end{bmatrix} =\begin{bmatrix}5 & 3 & 4 \\ 11 & 9 & 10 \\ 17 & 15 &…
Unnamed
  • 125
1
vote
1 answer

Prove that similar matrices have the same rank

I try to understand some prove that I found about the fact that similar matrices have the same rank, but I don`t understand one of step within it: prove I do understand that rank(PA) is equal to rank(BP) but I don`t understand why he can state that…
Eran
  • 31
1
vote
0 answers

How to create a times table with identity matrix?

i want to create a times table for children using my calculator and its matrix functions. How can i be successfull in this task? Greets
1
vote
2 answers

Follow-on question on similar matrices

For square diagonal $L$ and $M$, and invertible $A$ and $B$, if $$X = A L A^{-1},$$ and $$Y = B M B^{-1}$$ are equal ($X=Y$), is there a way to express $A$ explicitly in terms of $B$, $L$, $M$? Seems easy enough; brain is just not working…
Lucozade
  • 733
1
vote
2 answers

Simple question: equality of two matrix equations

Given the following two equations, for square diagonal ($N\times N$) matrices $L$ and $M$ and square or rectangular ($M\times N$) $A$ and $B$ of equal size: $X = ALA^{-1}$, and $Y = BMB^{-1}$ If I know that $X=Y$, does it automatically follow that…
Lucozade
  • 733
1
vote
0 answers

Matrix - action on matrices

I have a question which says this: Define these actions on lines of matrices: e1 = multiply the line I in scale $c≠0$ e2 = switch the line i with the line j e3 = add $c *$ line $j$ to line i prove you can perform e2 with the uses of e1 and e3. Okay,…
user983717