Transformation of inverse to a system of linear equations. Need to solve X=(U′WU)−1U′. U′ is U′ is 7x7 positive definite matrix, U′ is of rank 3

Pavukol

Pavukol

Answered question

2022-09-11

Transformation of inverse to a system of linear equations. Need to solve X = ( U W U ) 1 U . U is U is 7 × 7 positive definite matrix, U is of rank 3.
Transformed ( U W U ) 1 U as
( U W U ) 1 U W U = I X W U = I U W X = I ( I U W ) v e c ( X ) = v e c ( I ) .
When I solved X = ( U W U ) 1 U and as the above linear system using R, the answers are slightly different. Does something wrong with the above logic?

Answer & Explanation

faliryr

faliryr

Beginner2022-09-12Added 15 answers

1) A standard and the simplest way (if there's nothing better to do) to compute X is first to compute the Cholesky factorization of the SPD matrix U W U = L L ′ and then solve the system with multiple right-hand sides L L X = U . Note that U W U is 3 × 3 so this approach is very cheap.
2) With the approach in question, the problem is already in finding X from X W U = I, which is not uniquely solvable [any 3 × 7 matrix Y whose rows are orthogonal to the columns of W U will also satisfy ( X + Y ) W U = I.

Do you have a similar question?

Recalculate according to your conditions!

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?