Given $S$ is a $n$-dimensional square symmetric matrix, how to calculate $fracpartial tr(sqrtSS^T)partial S$(perhaps by chain rule)?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite
1












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!







share|cite|improve this question





















  • 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















up vote
1
down vote

favorite
1












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!







share|cite|improve this question





















  • 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













up vote
1
down vote

favorite
1









up vote
1
down vote

favorite
1






1





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!







share|cite|improve this question













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!









share|cite|improve this question












share|cite|improve this question




share|cite|improve this question








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

















  • 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
















active

oldest

votes











Your Answer




StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
);
);
, "mathjax-editing");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "69"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















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



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














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













































































Comments

Popular posts from this blog

What is the equation of a 3D cone with generalised tilt?

Color the edges and diagonals of a regular polygon

Relationship between determinant of matrix and determinant of adjoint?