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
4
votes
3 answers

Find bases of Jordan Form for a $3\times 3$ matrix

Here is my matrix: $A=\begin{bmatrix} 2 &2 &3 \\ 1 &3 &3 \\ -1 &-2 &-2 \end{bmatrix}.$ And I know that the Jordan form is $J=\begin{bmatrix} 1 &0 &0 \\ 0 &1 &1 \\ 0 &0 &1 \end{bmatrix}.$ I have problems when I try to find the invertible…
nam
  • 733
4
votes
1 answer

How to calculate Rotation Matrix in android from accelerometer and magnetometer sensor

I found the rotation matrix returned by SensorManager.getRotationMatrix from link: What's the best 3D angular co-ordinate system for working with smartphone apps The rotation matrix is: But I cannot find the steps to reconstruct this matrix when I…
4
votes
0 answers

Matrix similarity problem (complex, real)

I'm trying to solve this problem: Given complex matrices A and B, prove there's a nonsingular real matrix Q such that $A=QBQ^{-1}$, if and only if there's a nonsingular complex matrix S such that $A=SBS^{-1}$ and…
Ameet Sharma
  • 2,957
4
votes
2 answers

The product of a matrix and its transpose can always be written as an exponential

For every real matrix $X$ with $\det X = 1$, there exists a real symmetric traceless matrix $Y$ such that $$ X^TX = e^Y $$ Is this true? If so, why?
Gabriel
  • 41
4
votes
2 answers

Why does matrix-matrix product come close to the peak performance of a system?

In this paper, I read " The most important operation is GEMM (GEneral Matrix Multiply), which typically defines the practical peak performance of a computer system." But why? Why does matrix-matrix product come close to or even define the peak…
oasisweng
  • 143
4
votes
3 answers

Common Factor in Matrices?

I am trying to solve some matrix multiplications, but I would like to know If I am allowed to take a common factor from matrices like this C - ABC = (1 - AB)*C where A is m*n and B is n*n. And if yes, what matrix will be the 1 matrix? It cannot be…
K. Stasko
  • 657
4
votes
1 answer

Which of the following staements are true (NBHM-$2014$)

Let $A \in \mathrm{GL}\,_n(\mathbb R)$ have integer entries. Let $b \in \mathbb R^n $ be a column vector also with integer entries. Then If $Ax = b$ , then entries of $x$ are also integers. if $Ax = b$ , then the entries of $x$ are rational. The…
user120386
  • 2,365
4
votes
2 answers

Matrix Multiplication: only one solution?

Let $A=\begin{bmatrix}6 & 5\\-7 & 9\end{bmatrix}$ and $C=\begin{bmatrix}1 & -2\\4 & -8\end{bmatrix}$. Find all matrices $B$ such that $AC=BC$. $\begin{bmatrix}6&5\\-7&9\end{bmatrix} \times \begin{bmatrix}1&-2\\4&-8\end{bmatrix}$ $= \begin{bmatrix}6…
user2213307
  • 173
  • 1
  • 9
4
votes
0 answers

Proving that a matrix and its transpose are similar

This is a well-known fact, several proofs have been outlined on Math.Se but they all rely on arguments involving Jordan normal form or modules, which are beyond my reach. Does anybody know of a more elementary proof?
Gabriel Romon
  • 35,428
  • 5
  • 65
  • 157
4
votes
4 answers

Inverse of a 4x4 Matrix

I'm trying to take the inverse of this matrix: $\left[\begin{array}{rrrr} 2/7 &-6/7 &3/7 &1 \\ 6/7& 3/7 &2/7 &2 \\ -3/7 &2/7 &6/7 &3 \\ 0\ \ &0\ \ &0\ \ &\>\>\>1 \end{array}\right]$ I have been using this as a guide and I've seen…
Nick
  • 489
4
votes
1 answer

When is the symmetric part of a matrix positive definite?

Suppose there is a (non-symmetric) real square matrix $A$ with symmetric part $A+A^T$. What are some conditions on $A$ that are sufficient for $A+A^T$ to be positive definite? For example, if the eigenvalues of $A$ are strictly positive is $A+A^T$…
John U
  • 390
4
votes
2 answers

Name of the condition $AB=BA$, $AB^*=B^*A$

For two square complex matrices $A, B$ of the same order, what is the name of the condition $AB=BA$, $AB^*=B^*A$? Is this condition popular? Here $A^*$ means the transpose conjugate of $A$.
Sunni
  • 4,536
4
votes
1 answer

Is this matrix positive semidefinite?

Let $A$ be a $n\times n$ real (symmetric) positive definite matrix with spectrum contained in $[m, M]$ and also let $X$ be an $n\times p$ matrix such that $X'X=I_p$. It is known that $$\frac{(M+m)^2}{4Mm}(X'AX)^{-1}-X'A^{-1}X \tag{$\star$}$$ is…
Sunni
  • 4,536
4
votes
3 answers

Whether this matrix is positive definite

Let $A$ be a nonsingular real square matrix. Is it true that the matrix $$\frac{1}{2}(A+A')-2(A^{-1}+(A^{-1})')^{-1}$$ is positive semidefinite? Here, $A'$ denotes the transpose of $A$. Edited Let $A,B$ be positive definite matrices of the same…
Sunni
  • 4,536
4
votes
2 answers

Inverse of an upper-left triangular (partitioned) matrix

I'd appreciate help finding the inverse of the upper-left triangular (partitioned) matrix $$ \left[ \begin{array}{ll} \mathbf{K} & \mathbf{P} \\ \mathbf{P}^T & \mathbf{0} \end{array} …
Olumide
  • 1,241