2

In Boyd's CVX book, there is a step by step analysis of the gradient of so called log det function

enter image description here

Three confusions:

  1. Is the determinant for positive definite matrix exactly equivalent to the sum of eigen values is equal to the trace?

  2. There is the claim that because $\Delta x$ is small (what does it mean by small), therefore $\lambda_i$ are small, is there any justification to this claim? Because after all we are computing the eigenvalues of $X^{-1/2}\Delta X X^{-1/2}$ not simply $\Delta X$

  3. By first order approximation of $\log(1+\lambda_i) \approx \lambda_i$ I am assuming first order Mac series?

Thanks!

Fraïssé
  • 11,275

1 Answers1

1
  1. If $A \in S_{++}$ then $\det A$ is the product of the eigenvalues and $\log \det A$ is the sum of their logarithms.
  2. If $\Delta X$ is small then so is $X^{-1/2} \Delta X X^{-1/2}$. This is just a multiplication by two fixed matrices after all.
  3. You got the MacLaurin series wrong, $\log (1+x) = x - \frac{x^2}{2} + \dots$ for $|x| < 1$. After that correction the argument is OK.
Hans Engler
  • 15,439
  • relevant? Prove $\frac{\partial \rm{ln}|X|}{\partial X} = 2X^{-1} - \rm{diag}(X^{-1})$.. Here I say 'We first note that for the case where the elements of X are independent, a constructive proof involving cofactor expansion and adjoint matrices can be made to show that $\frac{\partial ln|X|}{\partial X} = X^{-T}$ (Harville). This is not always equal to $2X^{-1}-diag(X^{-1})$. The fact alone that X is positive definite is sufficient to conclude that X is symmetric and thus its elements are not independent.' – BCLC Apr 16 '21 at 09:59