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

Cholesky update for an added diagonal

I have to (numerically) compute $$\int_{0}^{\infty} f(z)(zK+\sigma^2I)^{-1}u\,dz$$ where $u$ is a constant vector, $z$ is a scalar and $f(\cdot)$ is a known function. The problem that I have is for each increment of $z$ I have to keep…
sachinruk
  • 931
  • 2
  • 9
  • 21
1
vote
1 answer

distributed FFT matrix solvers

i am working in a small project where i code a distributed matrix solver where each matrix dots is represented by a function itself and the final computation of each threaded solver is queued to the next matrix solver function calculator similar to…
ogeid
  • 111
  • 2
1
vote
1 answer

When can we multiply matrices to both sides of a equation?

So this question was recently asked in my exam If A and B are two square matrices of same order such that $AB=A$ and $BA=B$ then $A^2=?$ Here's what I did As $$AB=A$$ $$\implies A^{-1}AB=A^{-1}A $$ (pre multiplying by $A^{-1}$) $$ \implies I B =…
1
vote
1 answer

Lower Triangular Matrix switch rows

$$\begin{bmatrix} 4 & 2 & 8 \\ -2 & 5 & 0\\ 3 & 0 & 0\end{bmatrix}$$ Is this matrix considered lower triangular because you can switch R1 and R3 to have that pattern? Or does this matrix not have a basic square pattern? Thanks.
1
vote
1 answer

How to construct matrix from given data

I understand and capable of doing basic matrix operations and related things. But the thing I can't understand is, How to construct a matrix from given data? How to know what to assign to columns, and what to rows? Take this part from a textbook…
Kawrno
  • 131
1
vote
3 answers

Let $A \in M_n(\mathbb F)$, s. t. $a_{ij} = i − j\;\forall i,j\in\{1,\ldots,n\}$. Prove that $\det(A) = 0$.

Let $A = (a_{i j})\in M_n(\mathbb F),n\geq 3$,s. t. $a_{ij} = i − j,\;\forall i,j\in\{1,\ldots,n\}$. Prove that $\det(A) = 0$. I was thinking that I can prove that $\det(A)$ is $0$, by showing that the last row is $0$. But not really sure how to go…
XDXDXD
  • 31
1
vote
1 answer

What are the equations of the 3D transformation matrices?

Please have a look at the image below. There is a transformation matrix and graphical representation of 2 coordinate systems. I understand what the numbers in the matrix represent, but I can't figure out how we could write this in terms of…
1
vote
3 answers

Find all matrices $A$ such that $A = 2A^T$ and $A-A^T = I$.

Find all matrices $A$ such that $A = 2A^T$ and $A-A^T = I$. I have been stuck on this question for quite some time: For the first part, all I can think of are matrices with all entries being $0.$ For the second part, I don't understand how that…
1
vote
1 answer

Few doubts related to adjoints of matrices

1) If A is a symmetric matrix , then Adj(A) is symmetric. A . Adj(A) = Adj(A) . A =|A| I (where 'I' is an indentity matrix). What i did was take tranpose of the original equation giving me :- A$^t$ . [Adj(A)]$^t$ = [Adj(a)]$^t$ . A$^t$ = |A| I.…
aryan bansal
  • 1,923
1
vote
2 answers

Finding the general form of matrix ($A^n$)

So i had to solve a problem for which i had to find $A^n$ Where A= $$ \begin{bmatrix} 1 & 0 & 0 \\ 2 & 1 & 0 \\ 4 & 2 & 1 \\ \end{bmatrix} $$ So what i did was find $A^2$= $$ \begin{bmatrix} 1 & 0 & 0 \\ 4 & 0 & 0 \\ 12 & 4 & 1…
aryan bansal
  • 1,923
1
vote
2 answers

value of $|A^2+P^2|$ in a matrices of order $n\times n$

If $A,P$ are two matrices of order $n\times n.$ and $A^2P=AP^2$ and $A^3=P^3.$Then $|A^2+P^2|=$ what i try from $A^2P=AP^2$ pre multiply both side by $A$ $A^3P=A^2P^2\Rightarrow P^4=A^2P^2\cdots (1)$ from $A^2P=AP^2$ post multiply both side by…
jacky
  • 5,194
1
vote
1 answer

Inverse of matrices with large diagonal elements

Consider a sequence of matrices with the following properties: The diagonal elements approach positive infinity as n increases. The other elements are constants. In this case, will the inverse of these matrices approach the 0 matrix as n…
dyluns
  • 119
  • 5
1
vote
1 answer

Conditions under which eigenvalues of hermitian matrix are positive

Under what conditions are the eigenvalues of a hermitian matrix positive?
1
vote
1 answer

Set matrix values to zero with "multiplication"

Is there a standard matrix operation that multiplies the elements of each matrix together based only on their position? For example, $$\begin{pmatrix}1&2&3\\4&5&6\end{pmatrix}\ast\begin{pmatrix}1&0&1\\0&1&0\end{pmatrix} = \begin{pmatrix}1 & 0 &…
Craeft
  • 127
  • 5
1
vote
2 answers

How to Create a matrix of N*N with sum of every ith row and every ith column combined equals to a specific sum?

This problem was asked to me in an interview round and was told to just tell the logic! all the elements in row and column combined should be distinct For Eg: There is an N=2 and Sum=6 A matrix [3,1] [2,3] satisfies the given condition…