$[A,B]=AB−BA$. Show that for all square matrices, $operatorname{trace}([A,B])=0.$











up vote
3
down vote

favorite












The commutator of square matrices A,B∈Mn×n(F) is defined as



$[A,B]=AB−BA$
The trace of a square matrix $C∈Mn×n(F)$ is defined as the sum of diagonal entries:



$tr(C)=C_1$$_ 1$+…+$C_n$$_n$.



a) Show that for all square matrices, tr([A,B])=0.



b) Show that if S is an invertible matrix, then $tr(SCS^−$$^1)=tr(C)$.



in part A, i prove tr(AB)=tr(BA),so tr(AB)-tr(BA)=0, is it right begin{align*}
mathrm{tr}(AB) &= sum_{i=1}^n (AB)_{ii}\
&=sum_{i=1}^n sum_{j=1}^m A_{ij}B_{ji}\
&= sum_{j=1}^m sum_{i=1}^n B_{ji}A_{ij}\
&= sum_{j=1}^m (BA)_{jj}\
&= mathrm{tr}(BA)
end{align*}

part b I did : if S is an invertible then tr(SC$S^-$$^1$)=tr(C) * tr(S) * tr($S^-$$^1$) = tr(C)*I=tr(C) , am I right for this one










share|cite|improve this question




























    up vote
    3
    down vote

    favorite












    The commutator of square matrices A,B∈Mn×n(F) is defined as



    $[A,B]=AB−BA$
    The trace of a square matrix $C∈Mn×n(F)$ is defined as the sum of diagonal entries:



    $tr(C)=C_1$$_ 1$+…+$C_n$$_n$.



    a) Show that for all square matrices, tr([A,B])=0.



    b) Show that if S is an invertible matrix, then $tr(SCS^−$$^1)=tr(C)$.



    in part A, i prove tr(AB)=tr(BA),so tr(AB)-tr(BA)=0, is it right begin{align*}
    mathrm{tr}(AB) &= sum_{i=1}^n (AB)_{ii}\
    &=sum_{i=1}^n sum_{j=1}^m A_{ij}B_{ji}\
    &= sum_{j=1}^m sum_{i=1}^n B_{ji}A_{ij}\
    &= sum_{j=1}^m (BA)_{jj}\
    &= mathrm{tr}(BA)
    end{align*}

    part b I did : if S is an invertible then tr(SC$S^-$$^1$)=tr(C) * tr(S) * tr($S^-$$^1$) = tr(C)*I=tr(C) , am I right for this one










    share|cite|improve this question


























      up vote
      3
      down vote

      favorite









      up vote
      3
      down vote

      favorite











      The commutator of square matrices A,B∈Mn×n(F) is defined as



      $[A,B]=AB−BA$
      The trace of a square matrix $C∈Mn×n(F)$ is defined as the sum of diagonal entries:



      $tr(C)=C_1$$_ 1$+…+$C_n$$_n$.



      a) Show that for all square matrices, tr([A,B])=0.



      b) Show that if S is an invertible matrix, then $tr(SCS^−$$^1)=tr(C)$.



      in part A, i prove tr(AB)=tr(BA),so tr(AB)-tr(BA)=0, is it right begin{align*}
      mathrm{tr}(AB) &= sum_{i=1}^n (AB)_{ii}\
      &=sum_{i=1}^n sum_{j=1}^m A_{ij}B_{ji}\
      &= sum_{j=1}^m sum_{i=1}^n B_{ji}A_{ij}\
      &= sum_{j=1}^m (BA)_{jj}\
      &= mathrm{tr}(BA)
      end{align*}

      part b I did : if S is an invertible then tr(SC$S^-$$^1$)=tr(C) * tr(S) * tr($S^-$$^1$) = tr(C)*I=tr(C) , am I right for this one










      share|cite|improve this question















      The commutator of square matrices A,B∈Mn×n(F) is defined as



      $[A,B]=AB−BA$
      The trace of a square matrix $C∈Mn×n(F)$ is defined as the sum of diagonal entries:



      $tr(C)=C_1$$_ 1$+…+$C_n$$_n$.



      a) Show that for all square matrices, tr([A,B])=0.



      b) Show that if S is an invertible matrix, then $tr(SCS^−$$^1)=tr(C)$.



      in part A, i prove tr(AB)=tr(BA),so tr(AB)-tr(BA)=0, is it right begin{align*}
      mathrm{tr}(AB) &= sum_{i=1}^n (AB)_{ii}\
      &=sum_{i=1}^n sum_{j=1}^m A_{ij}B_{ji}\
      &= sum_{j=1}^m sum_{i=1}^n B_{ji}A_{ij}\
      &= sum_{j=1}^m (BA)_{jj}\
      &= mathrm{tr}(BA)
      end{align*}

      part b I did : if S is an invertible then tr(SC$S^-$$^1$)=tr(C) * tr(S) * tr($S^-$$^1$) = tr(C)*I=tr(C) , am I right for this one







      linear-algebra






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Nov 16 at 21:17









      amWhy

      191k27223438




      191k27223438










      asked Nov 16 at 21:08









      DORCT

      406




      406






















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          5
          down vote



          accepted










          Your answer for part (a) looks good. I would maybe add a quick sentence saying that $operatorname{tr}(AB)-operatorname{tr}(BA)=operatorname{tr}(AB-BA)$.



          For part (b) this does not work. The trace function is not multiplicative. What you can do is use $operatorname{tr}(AB)=operatorname{tr}(BA)$ that you proved in part (a). Try setting $A=SC$ and $B=S^{-1}$.






          share|cite|improve this answer





















          • thank i got it.
            – DORCT
            Nov 16 at 21:26


















          up vote
          3
          down vote













          part a) is correct.



          part b) is not correct: the trace is not multiplicative, i.e. we don't have $tr(AB)=tr(A)cdot tr(B)$.

          But, we only need part a) for this: observe that $C=S^{-1}(SC)$.






          share|cite|improve this answer





















            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: 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%2f3001637%2fa-b-ab%25e2%2588%2592ba-show-that-for-all-square-matrices-operatornametracea-b-0%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            5
            down vote



            accepted










            Your answer for part (a) looks good. I would maybe add a quick sentence saying that $operatorname{tr}(AB)-operatorname{tr}(BA)=operatorname{tr}(AB-BA)$.



            For part (b) this does not work. The trace function is not multiplicative. What you can do is use $operatorname{tr}(AB)=operatorname{tr}(BA)$ that you proved in part (a). Try setting $A=SC$ and $B=S^{-1}$.






            share|cite|improve this answer





















            • thank i got it.
              – DORCT
              Nov 16 at 21:26















            up vote
            5
            down vote



            accepted










            Your answer for part (a) looks good. I would maybe add a quick sentence saying that $operatorname{tr}(AB)-operatorname{tr}(BA)=operatorname{tr}(AB-BA)$.



            For part (b) this does not work. The trace function is not multiplicative. What you can do is use $operatorname{tr}(AB)=operatorname{tr}(BA)$ that you proved in part (a). Try setting $A=SC$ and $B=S^{-1}$.






            share|cite|improve this answer





















            • thank i got it.
              – DORCT
              Nov 16 at 21:26













            up vote
            5
            down vote



            accepted







            up vote
            5
            down vote



            accepted






            Your answer for part (a) looks good. I would maybe add a quick sentence saying that $operatorname{tr}(AB)-operatorname{tr}(BA)=operatorname{tr}(AB-BA)$.



            For part (b) this does not work. The trace function is not multiplicative. What you can do is use $operatorname{tr}(AB)=operatorname{tr}(BA)$ that you proved in part (a). Try setting $A=SC$ and $B=S^{-1}$.






            share|cite|improve this answer












            Your answer for part (a) looks good. I would maybe add a quick sentence saying that $operatorname{tr}(AB)-operatorname{tr}(BA)=operatorname{tr}(AB-BA)$.



            For part (b) this does not work. The trace function is not multiplicative. What you can do is use $operatorname{tr}(AB)=operatorname{tr}(BA)$ that you proved in part (a). Try setting $A=SC$ and $B=S^{-1}$.







            share|cite|improve this answer












            share|cite|improve this answer



            share|cite|improve this answer










            answered Nov 16 at 21:12









            Dave

            8,40811033




            8,40811033












            • thank i got it.
              – DORCT
              Nov 16 at 21:26


















            • thank i got it.
              – DORCT
              Nov 16 at 21:26
















            thank i got it.
            – DORCT
            Nov 16 at 21:26




            thank i got it.
            – DORCT
            Nov 16 at 21:26










            up vote
            3
            down vote













            part a) is correct.



            part b) is not correct: the trace is not multiplicative, i.e. we don't have $tr(AB)=tr(A)cdot tr(B)$.

            But, we only need part a) for this: observe that $C=S^{-1}(SC)$.






            share|cite|improve this answer

























              up vote
              3
              down vote













              part a) is correct.



              part b) is not correct: the trace is not multiplicative, i.e. we don't have $tr(AB)=tr(A)cdot tr(B)$.

              But, we only need part a) for this: observe that $C=S^{-1}(SC)$.






              share|cite|improve this answer























                up vote
                3
                down vote










                up vote
                3
                down vote









                part a) is correct.



                part b) is not correct: the trace is not multiplicative, i.e. we don't have $tr(AB)=tr(A)cdot tr(B)$.

                But, we only need part a) for this: observe that $C=S^{-1}(SC)$.






                share|cite|improve this answer












                part a) is correct.



                part b) is not correct: the trace is not multiplicative, i.e. we don't have $tr(AB)=tr(A)cdot tr(B)$.

                But, we only need part a) for this: observe that $C=S^{-1}(SC)$.







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Nov 16 at 21:12









                Berci

                59.1k23671




                59.1k23671






























                    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%2f3001637%2fa-b-ab%25e2%2588%2592ba-show-that-for-all-square-matrices-operatornametracea-b-0%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

                    QoS: MAC-Priority for clients behind a repeater

                    Ивакино (Тотемский район)

                    Can't locate Autom4te/ChannelDefs.pm in @INC (when it definitely is there)