Derivative of Log Determinant of a Matrix w.r.t a scalar parameter

Click For Summary

Discussion Overview

The discussion revolves around finding the derivative of the logarithm of the determinant of a matrix with respect to a scalar parameter, specifically in the context of a symmetric tridiagonal matrix. The scope includes mathematical reasoning and technical explanation related to matrix calculus.

Discussion Character

  • Mathematical reasoning
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant seeks to compute the derivative $$\frac{\partial}{\partial \sigma} \ln|\Sigma|$$ where $$\Sigma = (\sigma^2 \Lambda_K)$$ and asks if there is a rule for this case.
  • Another participant questions the understanding of the logarithm of a matrix and suggests that the differentiation might be straightforward using Taylor's theorem.
  • A different viewpoint suggests that since $$\Sigma = \sigma^2 \Lambda_K$$, the derivative could be simplified using the property of determinants, leading to $$\log(|\sigma^2 \Lambda_K|) = \log(\sigma^{2K} |\Lambda_K|)$$, implying that $$|\Lambda_K|$$ is a constant.
  • One participant acknowledges a mistake in their earlier understanding regarding the determinant and expresses gratitude for the clarification provided by another participant.

Areas of Agreement / Disagreement

Participants express differing views on the necessity of the matrix logarithm in the differentiation process, with some suggesting it is not needed while others explore its implications. The discussion remains unresolved regarding the best approach to take.

Contextual Notes

There is an assumption that participants have a shared understanding of matrix calculus and properties of determinants, but specific steps in the differentiation process remain unclear. The discussion does not resolve the mathematical steps involved.

fbelotti
Messages
2
Reaction score
0
Hi All,

I'm trying to solve the following derivative with respect to the scalar parameter \sigma

$$\frac{\partial}{\partial \sigma} \ln|\Sigma|,$$

where \Sigma = (\sigma^2 \Lambda_K) and \Lambda_K is the following symmetric tridiagonal K \times K matrix
$$
\Lambda_{K} =
\left(
\begin{array}{ccccc}
2 & -1 & 0 & \cdots & 0 \\
-1 & 2 & -1 & \cdots & 0 \\
0 & -1 & \ddots & \ddots & \vdots \\
\vdots & \ddots & \ddots & \ddots & -1 \\
0 & 0 & \ldots & -1 & 2 \\
\end{array}\right).
$$

Is there a rule for these case?

Thanks in advance for your time.
 
Physics news on Phys.org
Have you thought about what the logarithm of a matrix means?
 
Typically to define a function for matrices that is consistent with the usual elementary functions, you use Taylor's theorem in the indeterminate x and replace x with the matrix. The differentiation is straightforward, I think.
 
kevinferreira said:
Have you thought about what the logarithm of a matrix means?

joeblow said:
Typically to define a function for matrices that is consistent with the usual elementary functions, you use Taylor's theorem in the indeterminate x and replace x with the matrix. The differentiation is straightforward, I think.

Am I missing something here? fbelotti is taking the derivative of the determinant of a matrix. The matrix logarithm shouldn't need to come into this at all, no?

fbelotti, if your matrix is just ##\Sigma = \sigma^2 \Lambda_K##, then by the property of determinants, ##|cB| = c^n |B|## for an nxn matrix B, are you not just taking the derivative of ##\log(|\sigma^2 \Lambda_K|) = \log(\sigma^{2K} |\Lambda_K|)##, where ##|\Lambda_K|## is just a constant?
 
Oops. Only now noticed the determinant.
 
Mute, you are perfectly right. Many thanks for pointing that out. It was too simple... maybe it was too late and I was too tired...
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
6K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 9 ·
Replies
9
Views
5K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
8
Views
3K
  • · Replies 0 ·
Replies
0
Views
3K
Replies
2
Views
2K
Replies
31
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K