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

How to find the generator matrix of Hadamard code matrix of given size?

I am learning Hadamard encoding/decoding and one thing I couldn't figure out was how to obtain the generator matrix of Hadamard code matrix of a given size? I do understand how to obtain the Hadamard code matrix of a given size. One of the tutorials…
1
vote
2 answers

Is a matrix that is symmetric and has all positive eigenvalues always positive definite?

I know a symmetric matrix is positive definite if and only if every eigenvalue is positive. However, is a matrix that is symmetric and has all positive eigenvalues always positive definite? More specifically, I have the following…
user136669
  • 11
  • 2
1
vote
1 answer

Diagonal of a matrix in different basis

I want to calculate the diagonal of a matrix in different basis $V' A V$ where $V$ is the unitary matrix and $A$ is the matrix. What is the least computational expensive way? If I calculate $V' A V$ and throw away all elements other than diagonal,…
Roy
  • 343
1
vote
0 answers

Reversing a regular transformation matrix

I'm working in 2D, with 3x3 matrices. I have an object at position T. I want to rotate/scale around the origin. Origin position O Rotation R Scale S Origin position P To find my matrix, I would normally do this: Translate by O Rotate by R Scale…
Sticky
  • 111
  • 1
1
vote
1 answer

Simple Matrix Calculation

I am new to Math, and my knowledge is not good. Can anyone help me with this problem? Show that $(M^*)^* = M$, $(M^T)^T = M$, and $(M^t)^t = M$. I think I got some idea on the last 2, but the I am stuck at the first one.
TBBT
  • 347
1
vote
1 answer

Find how many solutions there are for modular congruence equation.

I need to find how many solutions there are, when $A=A^{-1}$ and $A$ is $2 \times 2$ in $\mathbb{Z}_{26}$. I know that $\det(A) \equiv \pm 1 \pmod {26}$. Hence I have $$ \begin{bmatrix} a & b\\ c & d\\ \end{bmatrix} =…
Herman
  • 111
1
vote
1 answer

elementary matrices and row operations

I am studying for an exam tomorrow and this is one of the problems given. The instructor gave the solution but I do not understand how he found the solution. The question is "write down the elementary matrices E1, E2 that correspond to the row…
Ali
  • 247
1
vote
1 answer

How to prove this kernel is positive semi definite

How to prove $k(x_i,x_j)=e^{-(LR(x_i-x_j))^TLR(x_i-x_j)}$ is a valid kernel function or positive semi definite? $x=(\mu,\lambda)^T$ and R is a 2x2 rotation matrix, L is a 2x2 diagonal scaling matrix with positive entries. Any idea is appreciated.
1
vote
2 answers

Non-nilpotent matrix with $0$ determinant

I know that any nilpotent matrix $M$ has $\det(M)=0$, because $M^k=0$ and thus $\det(M^k)=0$. Are there any simple examples of matrices $A$ that do have $\det(A)=0$ that are not nilpotent? I've tried to find one myself, but I couldn't find one. A…
Ragnar
  • 6,233
1
vote
1 answer

to prove a relation between square and commuting matrices

we have to show that every square matrix can be written as the sum of two commuting matrices...i dont know how to do it in general.i think we have to prove if A=B+C then BC=CB...am i ri8....what will b further approach about this question?but B…
hafsah
  • 305
1
vote
2 answers

$A^{-1}BA=$? Easy Matrix Algebra

I have constant matrices $A$,$S$ & $B$ $$(A'SA)^{-1}A'SB$$ Can I simplify to $(A'A)^{-1}S^{-1}SA'B$, where $S^{-1}S = I$ and therefore drops out?
snoram
  • 614
1
vote
3 answers

Find a three independent vectors u, v, w that each lie in N(A), the null space of A.

Let $A=\begin{bmatrix}0& 0& 0& 0 \\ 3& 9& 3& 9\end{bmatrix}$. How should I figure this out? I know the first column has the Pivot and the other three columns have free variables. It has rank $1$. Will this be handy in finding the solution?
1
vote
4 answers

How to get a symmetric positive definite 5x5 matrix?

\begin{pmatrix} 1&0&0&0&0\\ 0&1&0&0&0\\ 0&0&1&0&0\\ 0&0&0&1&0\\ 0&0&0&0&1\end{pmatrix} is an example. But I don't find another one. There also should be entries other than 0 or 1. Is there a systematic way to do this?
1
vote
1 answer

Proving matrix non singularity - optimization context

Homework question, have to prove the following: Let $A$ be $m\times n$, rank $m$ and $L$ be an $n\times n$ symmetric and positive definite on the subspace $M = \{\mathbf{x} : A\mathbf{x}=\mathbf{0}\}$. Show that the following $(n+m)\times (n+m)$…
1
vote
0 answers

The "union" of matrices

I have three matrices, $A$, $B$ and $C$, in which elements are zero or one. I create a matrix $D$ in which $D(i,j)=1$ if at least one of the following elements ($A(i,j)$, $B(i,j)$ and $C(i,j)$) are equal to one. Is there a specific name for this…
Paulo
  • 101
  • 5