Questions tagged [matrix-inverse]

The inverse of a given square matrix, $A$, is the matrix $A^{-1}$ such that $AA^{-1}$ is the identity matrix.

In theory, matrices need to be inverted to solve systems of linear equations. Inverse matrices play an important role in theoretical analyses.

In practice, you never want to explicitly invert a matrix. It is computationally expensive and often numerically unstable. Alternatives exist for all common uses of matrix inverses, such as Gaussian elimination for solving linear equations.

166 questions
11
votes
1 answer

How to calculate the inverse of sum of a Kronecker product and a diagonal matrix

I want to calculate the inverse of a matrix of the form $S = (A\otimes B+C)$, where $A$ and $B$ are symetric and invertible, $C$ is a diagonal matrix with positive elements. Basically if the dimension is high, direct calculation can be expensive.…
10
votes
1 answer

What is the physical significance of inverse of a matrix?

I was asked this question in an interview. Though I tried my best to answer the question in whatever way I could (I was explaining in terms of mathematics), the professor looked upset. Any idea? The professor was not interested in…
Upendra01
  • 1,946
  • 7
  • 22
  • 31
3
votes
2 answers

Inverting non positive definite covariance matrix

I have an expression for a covariance matrix $C$ in terms of the indices $i$ and $j$. In this way I can analytically calculate the elements of my covariance matrix, however when I try to invert $C$ matlab gives a warning about the matrix being…
mrkprc1
  • 93
3
votes
1 answer

Inverse of the outer product of some vectors with their transpose

Assume i have $n$ 3D unit vectors $v_s$, with different values. Then i define a matrix $T$ as: $$ T = \frac{1}{n} \sum_{s=1}^{n} v_s \times v_s' $$ where $v_s$ are $3\times 1$ vectors and therefore $T$ is a $3\times 3$ matrix. How can i find a…
Denis
  • 53
2
votes
1 answer

Invertibility of the Gram matrix of a convex combination

Let's assume two real valued matrices $A,B\in R^{w\times d}$ for which $d>w$ and they both have full (column) rank. I am interested in the invertibility of the Gram matrix $$H(t):=(A+t(B-A))(A+t(B-A))^T$$ for $t\in(0,1)$ (note that $A+t(B-A)$ is the…
Mehr
  • 31
2
votes
0 answers

Why is it not possible to simplify $b=(X'X)^{-1}X'y$

Why is the following not possible: $$ b=(X'X)^{-1}X'y = X^{-1}(X')^{-1}X'y=X^{-1}y $$ While this term $(AB)^{-1}=B^{-1}A^{-1}$ applies to any two matrices as long as both are of full rank and are $nxn$, the problematic part is when X is not $nxn$.…
cascom
  • 41
2
votes
1 answer

Pseudo Inverse Instead of Inverse with LDA?

I have implemented the LDA algorithm. However when I had to get the inverse of a matrix Matlab threw an error and I had to use pinv (pseudo inverse) instead of inverse. Did I do something wrong or is it usual sometimes to have to use pinv instead of…
kamaci
  • 711
0
votes
0 answers

how can an inverse correlation matrix have <1 in diagonals. the correlations x1, x2 are about 0.5

The inverse correlation matrix was calculated with the minverse function. The results show that in the diagonal the values are less than 1. how is this possible? the x1,x2 independent variables are correlated at about 0.5
0
votes
0 answers

The Existence of Schur Complement Inverse

A block matrix $\mathbf{M}=\left[ \begin{array}{ccc} \mathbf{A} & \mathbf{B} \\ \mathbf{B}^T & \mathbf{C} \end{array} \right]$ is invertible if $\mathbf{A}$ and $(\mathbf{C}-\mathbf{B}^T\mathbf{A}^{-1}\mathbf{B})$ are both non-singular. I am looking…
Pioneer83
  • 225
-1
votes
1 answer

Singular matrix: eigenvalues perturbation vs Moore-Penrose generalized inverse

We often face singular matrices in practice: OLS with singular (X'X), GMM with singular weighting matrix, singular matrix in Wald statistics. I'm wondering how can we overcome this issue. I've seen two solutions used in different contexts: 1) Ridge…