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
0 answers

how to calculate spark of a given matrix

The spark of a $m\times n$ matrix $ H $ is the smallest number $k$ such that there exists a set of $k$ columns in $H$ which are linearly dependent. This concept is very important in compressive sensing and the tensor CP decomposition. Is there any…
tianhang
  • 71
  • 6
1
vote
4 answers

A problem on matrices: Find the value of $k$

If $ \begin{bmatrix} \cos \frac{2 \pi}{7} & -\sin \frac{2 \pi}{7} \\ \sin \frac{2 \pi}{7} & \cos \frac{2 \pi}{7} \\ \end{bmatrix}^k = \begin{bmatrix} 1 & 0 \\ 0 & 1 \\ …
chndn
  • 2,863
1
vote
4 answers

A problem on matrices : Powers of a matrix

If $ A= \begin{bmatrix} i & 0 \\ 0 & i \\ \end{bmatrix} , n \in \mathbb N$, then $A^{4n}$ equals? I guessed the answer as $ A^{4n}= \begin{bmatrix} i^{4n} & 0 \\ 0 & i^{4n} \\ …
chndn
  • 2,863
1
vote
3 answers

Does this addition of matrices work?

Can you do scalar plus a matrice? Such as $2+E$ ($2$ being the scalar and $E$ a matrix) and if you can't why?
1
vote
0 answers

root mean square deviation value using kabsch

i've got myself to a problem, where i am implementing Kabsch algorithm to calculate root-mean-square-deviation. I'm using two matrices to get a rotation and translation matrices. (Java implementation i'm using) A(4)(3) and B(4)(3) => Kabsch…
1
vote
0 answers

what is the result of a times (b dot c)?

Let a b and c all be matrices. Is a(b dot c) the same as (ab dot ac)? Or what is the right way to expand this? Note that it's not cross product but standard matrix multiplication (or left product)
Lucy Gu
  • 123
1
vote
1 answer

Why is the square of a normal matrix as well a normal matrix?

Or is it? Be $A$ a normal matrix and my question is if $A^2$ is as well a normal matrix?
1
vote
1 answer

Rank one matrix

Given that I know that the matrix $\mathbf{W} \in \mathbb{R}^{d \times m}$ satisfies that: $$\mathbf{W}^\top\mathbf{W} = \mathbf{a} \cdot \mathbf{a}^\top$$ Where $\mathbf{a} \in \mathbb{R}^{m \times 1}$ is a column vector. Does this mean…
ShaharA
  • 157
1
vote
1 answer

Element by element formulae for 3x3 matrix inversion

Given a 3 x 3 matrix: $$ A= \begin{bmatrix} a & b & c \\ d & e & f \\ g & h & i \\ \end{bmatrix} $$ Can $A^{-1}$ be shown as as a 3x3 matrix with each element in terms of $a,b,c,d,e,f,g,h$ and $i$. Showing …
Lee
  • 149
  • 1
  • 13
1
vote
0 answers

How to Find Rotation Matrix from Position?

Imagine that there is points of $p_1,p_2,p_3$ in 3D space. So the coordinate components of $p_1$ is $p_{1x},p_{1y},p_{1z}$ Therefore $p_1=[p_{1x},p_{1y},p_{1z}]'$. Similarly; $p_{2}=[p_{2x},p_{2y},p_{2z}]'$, and $p_{3}=[p_{3x},p_{3y},p_{3z}]'$. $t$…
Ercan
  • 41
1
vote
3 answers

A problem on square matrices

If $B,C$ are $n$ rowed square matrices and if $A=B+C, BC=CB, C^2=O$, then show that for every $n \in \mathbb N$, $$A^{n+1}=B^n(B+(n+1)C)$$ I tried to prove it using mathematical induction. But I could not get $P(1)$ to be true. $$P(1): A^2 =…
chndn
  • 2,863
1
vote
1 answer

Is the truncated exponential series for matrices injective?

If $k$ is a field of characteristic $p$, we can define a map $\exp:\mathfrak{gl}_n(k)\to GL_n(k)$ by: $$\exp(A)=\sum_{i=0}^{p-1}\frac{A^i}{i!}$$ In the answer to this question, we see that if $A^p=B^p=0$, and if $\exp(A)=\exp(B)$, then $A=B$. So if…
Jared
  • 31,451
1
vote
0 answers

What are the vectors $v$ and $w$, given the permutation matrices....

I want to determine the vectors $v$ and $w$, given the following product: \begin{align*} P_x &= \begin{bmatrix} 0 & 0 & 1 \\ 1 & 0 & 0 \\ 0 & 1 & 0 \end{bmatrix}, \ P_y = \begin{bmatrix} 0 & 1 & 0 \\ 1 & 0 & 0 \\ 0 & 0 & 1 \end{bmatrix},\\ P_x v &=…
NasuSama
  • 3,364
1
vote
1 answer

Prove this field equality.

Let $A$ be an $n×n$ matrix over $\Bbb C$ (complex) and $F(A)$ the field of values. Let $U$ be an $n×n$ unitary matrix. (i) Show that $F(U^*AU) = F(A)$. I am not sure how to deal with equality of fields. How do we show that both fields are…
1
vote
3 answers

How do I solve that matrix operation?

Let $x$ be a column vector in $\Bbb R^n$, and $x$ different from matrix zero. Let $A = \frac{ x x^{T}}{x^{T} x}$, T denotes tranpose. Calculate $A²$. I hope that I am not the only one who was astonished with this exercise. Someone here knows…