Given $S$ is a $n$-dimensional square symmetric matrix, how to calculate $fracpartial tr(sqrtSS^T)partial S$(perhaps by chain rule)?
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I am trying to go through this process using the chain rule:
$$fracpartial tr(sqrtSS^T)partial S=fracpartial tr(sqrtSS^T) partial sqrtSS^T cdotfracpartial sqrtSS^Tpartial S,$$
I am assuming the result $fracpartial tr(sqrtSS^T)partial S$ should also be an $n$-dimensional square matrix. If I am understanding correctly, according to the chain rule, the first part results:
$$fracpartial tr(sqrtSS^T) partial sqrtSS^T =mathbbI_ninmathbbR^ntimes n,$$ and the second part results(according to
https://math.stackexchange.com/q/1320527): $$fracpartial sqrtSS^Tpartial S = (sqrtS^ToplussqrtS)^-1in mathbbR^n^2times n^2,$$ and my question is how to understand/interpret the "$cdot$" in chain rule(Since we cannot just simply multiple a $mathbbR^ntimes n$ matrix with a $mathbbR^n^2times n^2$ matrix)? Or say how to use chain rule to calculate the result for this derivative properly?
Thanks!
multivariable-calculus derivatives
add a comment |Â
up vote
1
down vote
favorite
I am trying to go through this process using the chain rule:
$$fracpartial tr(sqrtSS^T)partial S=fracpartial tr(sqrtSS^T) partial sqrtSS^T cdotfracpartial sqrtSS^Tpartial S,$$
I am assuming the result $fracpartial tr(sqrtSS^T)partial S$ should also be an $n$-dimensional square matrix. If I am understanding correctly, according to the chain rule, the first part results:
$$fracpartial tr(sqrtSS^T) partial sqrtSS^T =mathbbI_ninmathbbR^ntimes n,$$ and the second part results(according to
https://math.stackexchange.com/q/1320527): $$fracpartial sqrtSS^Tpartial S = (sqrtS^ToplussqrtS)^-1in mathbbR^n^2times n^2,$$ and my question is how to understand/interpret the "$cdot$" in chain rule(Since we cannot just simply multiple a $mathbbR^ntimes n$ matrix with a $mathbbR^n^2times n^2$ matrix)? Or say how to use chain rule to calculate the result for this derivative properly?
Thanks!
multivariable-calculus derivatives
It's a composition of functions â which corresponds to the product of matrices.
â Bernard
Jul 26 at 14:48
@Bernard Thanks for your reply, but I am still confused about the "product of matrices", can you provide some more details(perhaps using this example) or provide some reference for me to check?
â Simon Zhai
Jul 26 at 14:52
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I am trying to go through this process using the chain rule:
$$fracpartial tr(sqrtSS^T)partial S=fracpartial tr(sqrtSS^T) partial sqrtSS^T cdotfracpartial sqrtSS^Tpartial S,$$
I am assuming the result $fracpartial tr(sqrtSS^T)partial S$ should also be an $n$-dimensional square matrix. If I am understanding correctly, according to the chain rule, the first part results:
$$fracpartial tr(sqrtSS^T) partial sqrtSS^T =mathbbI_ninmathbbR^ntimes n,$$ and the second part results(according to
https://math.stackexchange.com/q/1320527): $$fracpartial sqrtSS^Tpartial S = (sqrtS^ToplussqrtS)^-1in mathbbR^n^2times n^2,$$ and my question is how to understand/interpret the "$cdot$" in chain rule(Since we cannot just simply multiple a $mathbbR^ntimes n$ matrix with a $mathbbR^n^2times n^2$ matrix)? Or say how to use chain rule to calculate the result for this derivative properly?
Thanks!
multivariable-calculus derivatives
I am trying to go through this process using the chain rule:
$$fracpartial tr(sqrtSS^T)partial S=fracpartial tr(sqrtSS^T) partial sqrtSS^T cdotfracpartial sqrtSS^Tpartial S,$$
I am assuming the result $fracpartial tr(sqrtSS^T)partial S$ should also be an $n$-dimensional square matrix. If I am understanding correctly, according to the chain rule, the first part results:
$$fracpartial tr(sqrtSS^T) partial sqrtSS^T =mathbbI_ninmathbbR^ntimes n,$$ and the second part results(according to
https://math.stackexchange.com/q/1320527): $$fracpartial sqrtSS^Tpartial S = (sqrtS^ToplussqrtS)^-1in mathbbR^n^2times n^2,$$ and my question is how to understand/interpret the "$cdot$" in chain rule(Since we cannot just simply multiple a $mathbbR^ntimes n$ matrix with a $mathbbR^n^2times n^2$ matrix)? Or say how to use chain rule to calculate the result for this derivative properly?
Thanks!
multivariable-calculus derivatives
edited Jul 26 at 18:56
asked Jul 26 at 14:45
Simon Zhai
133
133
It's a composition of functions â which corresponds to the product of matrices.
â Bernard
Jul 26 at 14:48
@Bernard Thanks for your reply, but I am still confused about the "product of matrices", can you provide some more details(perhaps using this example) or provide some reference for me to check?
â Simon Zhai
Jul 26 at 14:52
add a comment |Â
It's a composition of functions â which corresponds to the product of matrices.
â Bernard
Jul 26 at 14:48
@Bernard Thanks for your reply, but I am still confused about the "product of matrices", can you provide some more details(perhaps using this example) or provide some reference for me to check?
â Simon Zhai
Jul 26 at 14:52
It's a composition of functions â which corresponds to the product of matrices.
â Bernard
Jul 26 at 14:48
It's a composition of functions â which corresponds to the product of matrices.
â Bernard
Jul 26 at 14:48
@Bernard Thanks for your reply, but I am still confused about the "product of matrices", can you provide some more details(perhaps using this example) or provide some reference for me to check?
â Simon Zhai
Jul 26 at 14:52
@Bernard Thanks for your reply, but I am still confused about the "product of matrices", can you provide some more details(perhaps using this example) or provide some reference for me to check?
â Simon Zhai
Jul 26 at 14:52
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2863481%2fgiven-s-is-a-n-dimensional-square-symmetric-matrix-how-to-calculate-frac%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
It's a composition of functions â which corresponds to the product of matrices.
â Bernard
Jul 26 at 14:48
@Bernard Thanks for your reply, but I am still confused about the "product of matrices", can you provide some more details(perhaps using this example) or provide some reference for me to check?
â Simon Zhai
Jul 26 at 14:52