There is an algorithm that for any input matrix $A \in \mathbb{R}^n$ satisfies $x^\top A x>0$ for all $x \in \mathbb{R}^n$, e.g. by using Cholesky algorithm. Is there an algorithm that, for matrix $A \in \mathbb{R}^n$ and a subspace $V \subseteq \mathbb{R}^n$, check if $x^\top A x >0$ for all $x \in V \setminus \{0\}$?
1 Answer
$\begingroup$
$\endgroup$
4
Of course. Use Gram-Schmidt to construct an orthonormal basis $\{u_i\}$ of $V$, and use your algorithm on the matrix with entries $u_i^\top A u_j$.
-
$\begingroup$ Do you mean Cholesky algorithm on matrix with entries $u_i^\top A u_j$? $\endgroup$– nivotkoCommented Apr 23, 2019 at 8:30
-
$\begingroup$ Whichever algorithm you want to use for checking positive definiteness. $\endgroup$ Commented Apr 23, 2019 at 11:39
-
$\begingroup$ Great, I will try it. Thank you very much! :) $\endgroup$– nivotkoCommented May 3, 2019 at 14:49
-
$\begingroup$ Is it important for the basis to be orthonormal? $\endgroup$ Commented Jul 29, 2023 at 21:39