The definition of Affine Invariant Riemannian Metric (AIRM)












1














For any two symmetric positive definite (SPD) matrices $A$ and $B$, the Affine Invariant Riemannian Metric (AIRM) between them is defined as [1], [2]:



$d(A,B)=||log (A^{-1/2}B A^{-1/2}) ||_F$,



where $log(A)$ is the matrix logrithm of $A$, and $||A||_F$ is the Frobenius norm of $A$.



On the other hand, it is also shown that (e.g., see [3])



$d(A,B)=||log (A^{-1/2}B A^{-1/2}) ||_F = ||log (A^{-1}B) ||_F$.



However, when I used Matlab function logm, I found that $||log (A^{-1/2}B A^{-1/2}) ||_F ne ||log (A^{-1}B) ||_F$ at all (but their eigenvalues are the same).



I was wondering if there is anything wrong with my understanding the definition of AIRM?



Thanks very much!



[1] R. Bhatia, Positive Definite Matrices. Princeton University Press, 2009.



[2] X. Pennec, P. Fillard, and N. Ayache, “A Riemannian framework for tensor computing,” International Journal of Computer Vision, vol. 66, no. 1, pp. 41–66, 2006.



[3] M. Moakher, “A differential geometric approach to the geometric mean of symmetric Positive-Definite matrices,” SIAM J. Matrix Anal. Appl., vol. 26, no. 3, pp. 735–747, 2005.



[4] I. Horev, F. Yger, and M. Sugiyama, “Geometry-aware principal component analysis for symmetric positive definite matrices,” Machine Learning, 2017.










share|cite|improve this question



























    1














    For any two symmetric positive definite (SPD) matrices $A$ and $B$, the Affine Invariant Riemannian Metric (AIRM) between them is defined as [1], [2]:



    $d(A,B)=||log (A^{-1/2}B A^{-1/2}) ||_F$,



    where $log(A)$ is the matrix logrithm of $A$, and $||A||_F$ is the Frobenius norm of $A$.



    On the other hand, it is also shown that (e.g., see [3])



    $d(A,B)=||log (A^{-1/2}B A^{-1/2}) ||_F = ||log (A^{-1}B) ||_F$.



    However, when I used Matlab function logm, I found that $||log (A^{-1/2}B A^{-1/2}) ||_F ne ||log (A^{-1}B) ||_F$ at all (but their eigenvalues are the same).



    I was wondering if there is anything wrong with my understanding the definition of AIRM?



    Thanks very much!



    [1] R. Bhatia, Positive Definite Matrices. Princeton University Press, 2009.



    [2] X. Pennec, P. Fillard, and N. Ayache, “A Riemannian framework for tensor computing,” International Journal of Computer Vision, vol. 66, no. 1, pp. 41–66, 2006.



    [3] M. Moakher, “A differential geometric approach to the geometric mean of symmetric Positive-Definite matrices,” SIAM J. Matrix Anal. Appl., vol. 26, no. 3, pp. 735–747, 2005.



    [4] I. Horev, F. Yger, and M. Sugiyama, “Geometry-aware principal component analysis for symmetric positive definite matrices,” Machine Learning, 2017.










    share|cite|improve this question

























      1












      1








      1







      For any two symmetric positive definite (SPD) matrices $A$ and $B$, the Affine Invariant Riemannian Metric (AIRM) between them is defined as [1], [2]:



      $d(A,B)=||log (A^{-1/2}B A^{-1/2}) ||_F$,



      where $log(A)$ is the matrix logrithm of $A$, and $||A||_F$ is the Frobenius norm of $A$.



      On the other hand, it is also shown that (e.g., see [3])



      $d(A,B)=||log (A^{-1/2}B A^{-1/2}) ||_F = ||log (A^{-1}B) ||_F$.



      However, when I used Matlab function logm, I found that $||log (A^{-1/2}B A^{-1/2}) ||_F ne ||log (A^{-1}B) ||_F$ at all (but their eigenvalues are the same).



      I was wondering if there is anything wrong with my understanding the definition of AIRM?



      Thanks very much!



      [1] R. Bhatia, Positive Definite Matrices. Princeton University Press, 2009.



      [2] X. Pennec, P. Fillard, and N. Ayache, “A Riemannian framework for tensor computing,” International Journal of Computer Vision, vol. 66, no. 1, pp. 41–66, 2006.



      [3] M. Moakher, “A differential geometric approach to the geometric mean of symmetric Positive-Definite matrices,” SIAM J. Matrix Anal. Appl., vol. 26, no. 3, pp. 735–747, 2005.



      [4] I. Horev, F. Yger, and M. Sugiyama, “Geometry-aware principal component analysis for symmetric positive definite matrices,” Machine Learning, 2017.










      share|cite|improve this question













      For any two symmetric positive definite (SPD) matrices $A$ and $B$, the Affine Invariant Riemannian Metric (AIRM) between them is defined as [1], [2]:



      $d(A,B)=||log (A^{-1/2}B A^{-1/2}) ||_F$,



      where $log(A)$ is the matrix logrithm of $A$, and $||A||_F$ is the Frobenius norm of $A$.



      On the other hand, it is also shown that (e.g., see [3])



      $d(A,B)=||log (A^{-1/2}B A^{-1/2}) ||_F = ||log (A^{-1}B) ||_F$.



      However, when I used Matlab function logm, I found that $||log (A^{-1/2}B A^{-1/2}) ||_F ne ||log (A^{-1}B) ||_F$ at all (but their eigenvalues are the same).



      I was wondering if there is anything wrong with my understanding the definition of AIRM?



      Thanks very much!



      [1] R. Bhatia, Positive Definite Matrices. Princeton University Press, 2009.



      [2] X. Pennec, P. Fillard, and N. Ayache, “A Riemannian framework for tensor computing,” International Journal of Computer Vision, vol. 66, no. 1, pp. 41–66, 2006.



      [3] M. Moakher, “A differential geometric approach to the geometric mean of symmetric Positive-Definite matrices,” SIAM J. Matrix Anal. Appl., vol. 26, no. 3, pp. 735–747, 2005.



      [4] I. Horev, F. Yger, and M. Sugiyama, “Geometry-aware principal component analysis for symmetric positive definite matrices,” Machine Learning, 2017.







      matrices riemannian-geometry






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Nov 16 '18 at 7:10









      user3138073

      1708




      1708






















          1 Answer
          1






          active

          oldest

          votes


















          0














          The reason for this is that $log(A^{-1}B)$ isn't even a symmetric matrix. Notice that while $A$ and $B$ are symmetric, $A^{-1}B$ isn't necessarily so, even though $A^{-1/2}BA^{-1/2}$ is symmetric positive-definite. The logarithm likely obscures the way that Matlab computes the Frobenius norm of a matrix.






          share|cite|improve this answer





















          • Thanks for the feedback! I agree with you that $A^{-1}B$ is not symmetric, but still, in [3], the author used $||log(A^{-1}B)||_F$ as AIRM, which is confusing to me.
            – user3138073
            Dec 27 '18 at 3:39











          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',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          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%2f3000828%2fthe-definition-of-affine-invariant-riemannian-metric-airm%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          The reason for this is that $log(A^{-1}B)$ isn't even a symmetric matrix. Notice that while $A$ and $B$ are symmetric, $A^{-1}B$ isn't necessarily so, even though $A^{-1/2}BA^{-1/2}$ is symmetric positive-definite. The logarithm likely obscures the way that Matlab computes the Frobenius norm of a matrix.






          share|cite|improve this answer





















          • Thanks for the feedback! I agree with you that $A^{-1}B$ is not symmetric, but still, in [3], the author used $||log(A^{-1}B)||_F$ as AIRM, which is confusing to me.
            – user3138073
            Dec 27 '18 at 3:39
















          0














          The reason for this is that $log(A^{-1}B)$ isn't even a symmetric matrix. Notice that while $A$ and $B$ are symmetric, $A^{-1}B$ isn't necessarily so, even though $A^{-1/2}BA^{-1/2}$ is symmetric positive-definite. The logarithm likely obscures the way that Matlab computes the Frobenius norm of a matrix.






          share|cite|improve this answer





















          • Thanks for the feedback! I agree with you that $A^{-1}B$ is not symmetric, but still, in [3], the author used $||log(A^{-1}B)||_F$ as AIRM, which is confusing to me.
            – user3138073
            Dec 27 '18 at 3:39














          0












          0








          0






          The reason for this is that $log(A^{-1}B)$ isn't even a symmetric matrix. Notice that while $A$ and $B$ are symmetric, $A^{-1}B$ isn't necessarily so, even though $A^{-1/2}BA^{-1/2}$ is symmetric positive-definite. The logarithm likely obscures the way that Matlab computes the Frobenius norm of a matrix.






          share|cite|improve this answer












          The reason for this is that $log(A^{-1}B)$ isn't even a symmetric matrix. Notice that while $A$ and $B$ are symmetric, $A^{-1}B$ isn't necessarily so, even though $A^{-1/2}BA^{-1/2}$ is symmetric positive-definite. The logarithm likely obscures the way that Matlab computes the Frobenius norm of a matrix.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Dec 26 '18 at 23:24









          Mnifldz

          6,81311534




          6,81311534












          • Thanks for the feedback! I agree with you that $A^{-1}B$ is not symmetric, but still, in [3], the author used $||log(A^{-1}B)||_F$ as AIRM, which is confusing to me.
            – user3138073
            Dec 27 '18 at 3:39


















          • Thanks for the feedback! I agree with you that $A^{-1}B$ is not symmetric, but still, in [3], the author used $||log(A^{-1}B)||_F$ as AIRM, which is confusing to me.
            – user3138073
            Dec 27 '18 at 3:39
















          Thanks for the feedback! I agree with you that $A^{-1}B$ is not symmetric, but still, in [3], the author used $||log(A^{-1}B)||_F$ as AIRM, which is confusing to me.
          – user3138073
          Dec 27 '18 at 3:39




          Thanks for the feedback! I agree with you that $A^{-1}B$ is not symmetric, but still, in [3], the author used $||log(A^{-1}B)||_F$ as AIRM, which is confusing to me.
          – user3138073
          Dec 27 '18 at 3:39


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Mathematics Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          Use MathJax to format equations. MathJax reference.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3000828%2fthe-definition-of-affine-invariant-riemannian-metric-airm%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Human spaceflight

          Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

          File:DeusFollowingSea.jpg