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

Optimize matrix multiplications

Given: vectors $v1, v2$ $(n\times1)$ where entries in each vector are in the interval $[0,1]$. $v1$ and $v2$ can be sparse or dense a dense symmetric matrix $M$ $(n\times n)$ (actually a logic matrix where entries are $0$ or $1$) a dense matrix…
dabd
  • 135
1
vote
4 answers

Given the matrix $AB$, find the matrix $BA$

I have that $$AB = \begin{bmatrix} -1 & 0 \\ 0 & 1 \end{bmatrix}$$ and I am asked to find $BA$. We know that $A$ and $B$ are $2\times 2$ matrices with real number entries. Please could I ask how people might approach this problem? So far, I have…
1
vote
2 answers

Translations calculated using matrices

You have used matrices to calculate the results of certain rotations and reflections. Which ones? Are translations calculated using matrices? I know of the different types of reflections, like across the x-axis, y-axis, origin, and y=x, but I…
1
vote
1 answer

norm inequality, if $x^t e = 0$ with $e=(1,1,...,1)$

I'm trying to prove that if $x$ and $y$ are in $\mathbb R^n$ such that $\langle x,e\rangle=0 $ where $e=(1,1,...,1)$ then $$|\langle x,y\rangle |\le||x||_1\frac{y_{\max}-y_{\min}}{2}\qquad \text{for all} \quad y$$ I think that is necessary to use…
1
vote
1 answer

Dot Product, matrix multiplication etc

Found this in a book: $$H=max\{0,X\cdot W^{(1)}+b^{(1)}\}$$ $$max\{0,\begin{bmatrix} 0& 0 \\0 &1\\ 1 &0\\ 1&1\end{bmatrix} \cdot \begin{bmatrix} -0.4& 0.1 & 0.9 \\0.8 & -0.2 & -0.7\end{bmatrix} +\begin{bmatrix} 0.6&-0.4& -0.7 \end{bmatrix}=…
Mr.Sh4nnon
  • 271
  • 1
  • 3
  • 9
1
vote
1 answer

Taylor series for $e^{i(H+\varepsilon A)}$

$$e^{i(H+\varepsilon A)} = e^{iH}(I+i \varepsilon A + o(\varepsilon))$$ Is it correct? $H$ and $A$ are hermitian matrix and $[H,A]\neq0$. If the one I gave is not the exact solution how do I expand it in series?
user582108
  • 43
  • 6
1
vote
3 answers

Matrices: why $X^tAA^tX=0$ implies $A^tX=0$?

I know $AA^t=0$, so, picking any $X$, $X^tAA^tX=0$. I read that this implies $A^tX=0$, resulting in $A=0$ (what I inicially wanted to prove), but I can't understand that implication I read, so is there an easy way to comprehend it?
1
vote
1 answer

Right inverse is also left inverse for nonsquare matrices?

If $m≠n$ and we have the matrices $A$ $(m\times{n})$, $B$ $(n\times{m})$ and $C$ $(n\times{m})$ such that $AB=I(m\times{m})$ and $CA=I(n\times{n})$, does $B=C$? I know the proof that it is true if we are talking about square matrices, but it…
1
vote
2 answers

How to write out the elements of a matrix that has been taken to the $n$th power.

I am attempting to write an explicit formula for the individual elements of a matrix that has been exponentiated to the $n$th power. Let $P$ be an $n\times n$ matrix and let $p_{ij}^{(n)}$ be the $(i,j)$th entry of the matrix $P^n$. How can I write…
BSplitter
  • 1,553
1
vote
2 answers

How to prove that the number of diagonals of a $M \times N$ matrix is $M+N-1$?

Given a matrix $M \times N$, how to prove that the number of diagonals that can be drawn, like in the figure below, is equal to $M + N - 1$? My idea would be to prove it with induction and consider the 3 possible cases: $M=N$, $M>N$ and $M
reuseman
  • 129
1
vote
1 answer

How to turn one column of the matrix into all zeros?

I have a matrix like this: I search for mathmatical operation that would turn a given column (say $T_3$ or $T_4$) into all zeros not changing anything else about this matrix. How to do such thing in math?
DuckQueen
  • 169
1
vote
2 answers

Inverse Matrix Multiplication Problem

Problem: In this problem, I multiplied the left side of the AX=B equation by the inverse of A, but what I am confused about is why then I must multiply B by the inverse of A in this order: (inverse of A) * (B). When I do (B) * (inverse of A), it is…
54284User
  • 111
1
vote
0 answers

Matrix Representation with different Basis on a Q^3x2 Matrix

How exactly do you solve this problem? $\varphi : V \longrightarrow W$, $M \longmapsto M \cdot A$ with $A = \left( \begin{array}{cc} 1&-3 \\ 2 & -2 \\ 3 & -1 \end{array} \right) \in \mathbb{Q}^{3 \times 2}$ We want to calculate the representation…
D idsea J
  • 151
  • 1
  • 9
1
vote
1 answer

A set of Quadratic equation, any good algorithm?

now I'm doing my research on filter design and I'm stuck in a mathematic problems. I want to solve the following equation: $\sum_{k_{1}=0}^{N-L-K}\sum_{k_{2}=0}^{N-L-K}\alpha_{k1}\alpha_{k2}d_{k_{1},k_{2}}(2n)=\delta(n).$ where, $L,K,N$ are…
1
vote
2 answers

Sizes of square matrices such that $\mathrm{A}^2=-\mathrm I$ does not exist

This question Prove that there is no 5 × 5 matrix A such that $A^2 = −I$ Raises the questions: For what values of n $n \times n$ matrix $A$ there is no $\mathrm {A}$ exists s.t. $\mathrm {A}^2=-\mathrm {I}$ or more generally For what values of…
jimjim
  • 9,675