Hi
For a particular finance problem I am working on, I need to construct an invertible positive n-by-n matrix where positive means all matrix entries are positive.
Can any of you suggest a general approach to construct such matrices?
the more you tell us about what you specifically require, the more likely it is that someone will be able to help youI understand these examples work. But wonder if there is any more systematic approach to generate a larger and more flexible class of such matrices, so that I can extract some of them with a structure that makes sense for for application.
This is wrong in two respects.You can construct such a matrix from a set of orthonormal vectors [$]\vec v_i[$], where [$]v_{ij} \geq 0[$].
You matrix [$]M = \sum \lambda_i P_i[$], where [$]\lambda_i>0[$] and [$]P_i = \vec v_i \vec v_i^T[$]. (The inverse is [$]M^{-1} = \sum \lambda_i^{-1} P_i[$].)
I meant linearly independent vectors. Thanks for spotting this. I don't understand your second remark.This is wrong in two respects.You can construct such a matrix from a set of orthonormal vectors [$]\vec v_i[$], where [$]v_{ij} \geq 0[$].
You matrix [$]M = \sum \lambda_i P_i[$], where [$]\lambda_i>0[$] and [$]P_i = \vec v_i \vec v_i^T[$]. (The inverse is [$]M^{-1} = \sum \lambda_i^{-1} P_i[$].)
1. Two orthogonal vectors can not be both positive.
2. Ignoring point 1. , consider [$]M = \begin{bmatrix} a & -b \\ -b & a \end{bmatrix}[$] for [$]a>b>0[$].
I'd never come across this term, and it was never used in any of the linear algebra courses I tookwhere positive means all matrix entries are positive
the Wikipedia pageWhile such matrices are commonly found, the term is only occasionally used due to the possible confusion with positive-definite matrices, which are different.
In my point 2, without requiring [$]v_{ij} \geq 0[$], but keeping the orthonormality of [$]\vec v_i[$]'s, my matrix [$]M[$] can be eigen-decomposed exactly into the form of your specification and yet it has negative entries, contradicting your conclusion.I meant linearly independent vectors. Thanks for spotting this. I don't understand your second remark.This is wrong in two respects.You can construct such a matrix from a set of orthonormal vectors [$]\vec v_i[$], where [$]v_{ij} \geq 0[$].
You matrix [$]M = \sum \lambda_i P_i[$], where [$]\lambda_i>0[$] and [$]P_i = \vec v_i \vec v_i^T[$]. (The inverse is [$]M^{-1} = \sum \lambda_i^{-1} P_i[$].)
1. Two orthogonal vectors can not be both positive.
2. Ignoring point 1. , consider [$]M = \begin{bmatrix} a & -b \\ -b & a \end{bmatrix}[$] for [$]a>b>0[$].