Analytic functions and diagonalisation of matrices.












0












$begingroup$


If I have an analytic function $f$ of a square matrix A (like sin(A)), then I know that if the matrix diagnosable then it is possible to find a matrix
$$D = P^{-1}AP tag{1}$$. Then for a function $f(A)$:
$$f(A) = Pf(D)P^{-1} tag{2}$$



So for example if $f(x) = cos(x)$ :
$$cos(A) = Pf(D)P^{-1} tag{3}$$



What is the justification for this and how does this follow from first principles? A similar question has been asked here $sin(A)$, where $A$ is a matrix but I don't see any justification/proof for (2).










share|cite|improve this question











$endgroup$

















    0












    $begingroup$


    If I have an analytic function $f$ of a square matrix A (like sin(A)), then I know that if the matrix diagnosable then it is possible to find a matrix
    $$D = P^{-1}AP tag{1}$$. Then for a function $f(A)$:
    $$f(A) = Pf(D)P^{-1} tag{2}$$



    So for example if $f(x) = cos(x)$ :
    $$cos(A) = Pf(D)P^{-1} tag{3}$$



    What is the justification for this and how does this follow from first principles? A similar question has been asked here $sin(A)$, where $A$ is a matrix but I don't see any justification/proof for (2).










    share|cite|improve this question











    $endgroup$















      0












      0








      0





      $begingroup$


      If I have an analytic function $f$ of a square matrix A (like sin(A)), then I know that if the matrix diagnosable then it is possible to find a matrix
      $$D = P^{-1}AP tag{1}$$. Then for a function $f(A)$:
      $$f(A) = Pf(D)P^{-1} tag{2}$$



      So for example if $f(x) = cos(x)$ :
      $$cos(A) = Pf(D)P^{-1} tag{3}$$



      What is the justification for this and how does this follow from first principles? A similar question has been asked here $sin(A)$, where $A$ is a matrix but I don't see any justification/proof for (2).










      share|cite|improve this question











      $endgroup$




      If I have an analytic function $f$ of a square matrix A (like sin(A)), then I know that if the matrix diagnosable then it is possible to find a matrix
      $$D = P^{-1}AP tag{1}$$. Then for a function $f(A)$:
      $$f(A) = Pf(D)P^{-1} tag{2}$$



      So for example if $f(x) = cos(x)$ :
      $$cos(A) = Pf(D)P^{-1} tag{3}$$



      What is the justification for this and how does this follow from first principles? A similar question has been asked here $sin(A)$, where $A$ is a matrix but I don't see any justification/proof for (2).







      linear-algebra matrices matrix-calculus diagonalization






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Jan 12 at 16:38







      daljit97

















      asked Jan 12 at 16:18









      daljit97daljit97

      178111




      178111






















          1 Answer
          1






          active

          oldest

          votes


















          3












          $begingroup$

          If $f(A)$ is defined for every $A$ then $f$ must be an entire function: $$f(z)=sum_{n=0}^infty c_n z^n.$$Note that $$(PDP^{-1})^n=PD^nP^{-1}.$$






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            (+1) Please let me note that the term $f(D)$ or $cos(D)$ is not even defined. You have to first express $f$ or $cos$ by a limit of polynomials in order to give it a meaning.
            $endgroup$
            – Yanko
            Jan 12 at 17:00








          • 1




            $begingroup$
            @Yanko Huh??? A power series is a limit of polynomials. (No, that's not the only way, but it's the simplest, and it certainly applies here.)
            $endgroup$
            – David C. Ullrich
            Jan 12 at 17:03










          • $begingroup$
            Ok so $f(A) = f(PDP^{-1}) = sum_{n=0}^infty c_n (PDP^{-1})^n=Psum_{n=0}^infty c_n (D)^n P^{-1}$?
            $endgroup$
            – daljit97
            Jan 12 at 17:27












          • $begingroup$
            @daljit97 $dots=Pf(D)P^{-1}$. Right.
            $endgroup$
            – David C. Ullrich
            Jan 12 at 17:32






          • 1




            $begingroup$
            @Yanko You need to read about the "functional calculus" somewhere - it's a long story. There's the "continuous functional calculus": If $D$ is diagonal with entriies $lambda_1,dots,lambda_n$ then $f(D)$ is diagonal with entries $f(lambda_1),dots,f(lambda_n)$. Or the holomorphic functional calculus: If $x$ is an element of any Banach algebra, $V$ is open, $sigma(x)subset V$ and $fin H(V)$ then you can define $f(x)$ using the Cauchy Integral Formula $f(x)=frac1{2pi i}int_Gamma f(z)(x-ze)^{-1},dz$ for a suitable cycle $Gamma$ (see Rudin Functional Analysis).
            $endgroup$
            – David C. Ullrich
            Jan 12 at 17:51













          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%2f3071067%2fanalytic-functions-and-diagonalisation-of-matrices%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









          3












          $begingroup$

          If $f(A)$ is defined for every $A$ then $f$ must be an entire function: $$f(z)=sum_{n=0}^infty c_n z^n.$$Note that $$(PDP^{-1})^n=PD^nP^{-1}.$$






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            (+1) Please let me note that the term $f(D)$ or $cos(D)$ is not even defined. You have to first express $f$ or $cos$ by a limit of polynomials in order to give it a meaning.
            $endgroup$
            – Yanko
            Jan 12 at 17:00








          • 1




            $begingroup$
            @Yanko Huh??? A power series is a limit of polynomials. (No, that's not the only way, but it's the simplest, and it certainly applies here.)
            $endgroup$
            – David C. Ullrich
            Jan 12 at 17:03










          • $begingroup$
            Ok so $f(A) = f(PDP^{-1}) = sum_{n=0}^infty c_n (PDP^{-1})^n=Psum_{n=0}^infty c_n (D)^n P^{-1}$?
            $endgroup$
            – daljit97
            Jan 12 at 17:27












          • $begingroup$
            @daljit97 $dots=Pf(D)P^{-1}$. Right.
            $endgroup$
            – David C. Ullrich
            Jan 12 at 17:32






          • 1




            $begingroup$
            @Yanko You need to read about the "functional calculus" somewhere - it's a long story. There's the "continuous functional calculus": If $D$ is diagonal with entriies $lambda_1,dots,lambda_n$ then $f(D)$ is diagonal with entries $f(lambda_1),dots,f(lambda_n)$. Or the holomorphic functional calculus: If $x$ is an element of any Banach algebra, $V$ is open, $sigma(x)subset V$ and $fin H(V)$ then you can define $f(x)$ using the Cauchy Integral Formula $f(x)=frac1{2pi i}int_Gamma f(z)(x-ze)^{-1},dz$ for a suitable cycle $Gamma$ (see Rudin Functional Analysis).
            $endgroup$
            – David C. Ullrich
            Jan 12 at 17:51


















          3












          $begingroup$

          If $f(A)$ is defined for every $A$ then $f$ must be an entire function: $$f(z)=sum_{n=0}^infty c_n z^n.$$Note that $$(PDP^{-1})^n=PD^nP^{-1}.$$






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            (+1) Please let me note that the term $f(D)$ or $cos(D)$ is not even defined. You have to first express $f$ or $cos$ by a limit of polynomials in order to give it a meaning.
            $endgroup$
            – Yanko
            Jan 12 at 17:00








          • 1




            $begingroup$
            @Yanko Huh??? A power series is a limit of polynomials. (No, that's not the only way, but it's the simplest, and it certainly applies here.)
            $endgroup$
            – David C. Ullrich
            Jan 12 at 17:03










          • $begingroup$
            Ok so $f(A) = f(PDP^{-1}) = sum_{n=0}^infty c_n (PDP^{-1})^n=Psum_{n=0}^infty c_n (D)^n P^{-1}$?
            $endgroup$
            – daljit97
            Jan 12 at 17:27












          • $begingroup$
            @daljit97 $dots=Pf(D)P^{-1}$. Right.
            $endgroup$
            – David C. Ullrich
            Jan 12 at 17:32






          • 1




            $begingroup$
            @Yanko You need to read about the "functional calculus" somewhere - it's a long story. There's the "continuous functional calculus": If $D$ is diagonal with entriies $lambda_1,dots,lambda_n$ then $f(D)$ is diagonal with entries $f(lambda_1),dots,f(lambda_n)$. Or the holomorphic functional calculus: If $x$ is an element of any Banach algebra, $V$ is open, $sigma(x)subset V$ and $fin H(V)$ then you can define $f(x)$ using the Cauchy Integral Formula $f(x)=frac1{2pi i}int_Gamma f(z)(x-ze)^{-1},dz$ for a suitable cycle $Gamma$ (see Rudin Functional Analysis).
            $endgroup$
            – David C. Ullrich
            Jan 12 at 17:51
















          3












          3








          3





          $begingroup$

          If $f(A)$ is defined for every $A$ then $f$ must be an entire function: $$f(z)=sum_{n=0}^infty c_n z^n.$$Note that $$(PDP^{-1})^n=PD^nP^{-1}.$$






          share|cite|improve this answer









          $endgroup$



          If $f(A)$ is defined for every $A$ then $f$ must be an entire function: $$f(z)=sum_{n=0}^infty c_n z^n.$$Note that $$(PDP^{-1})^n=PD^nP^{-1}.$$







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Jan 12 at 16:22









          David C. UllrichDavid C. Ullrich

          61.3k43994




          61.3k43994












          • $begingroup$
            (+1) Please let me note that the term $f(D)$ or $cos(D)$ is not even defined. You have to first express $f$ or $cos$ by a limit of polynomials in order to give it a meaning.
            $endgroup$
            – Yanko
            Jan 12 at 17:00








          • 1




            $begingroup$
            @Yanko Huh??? A power series is a limit of polynomials. (No, that's not the only way, but it's the simplest, and it certainly applies here.)
            $endgroup$
            – David C. Ullrich
            Jan 12 at 17:03










          • $begingroup$
            Ok so $f(A) = f(PDP^{-1}) = sum_{n=0}^infty c_n (PDP^{-1})^n=Psum_{n=0}^infty c_n (D)^n P^{-1}$?
            $endgroup$
            – daljit97
            Jan 12 at 17:27












          • $begingroup$
            @daljit97 $dots=Pf(D)P^{-1}$. Right.
            $endgroup$
            – David C. Ullrich
            Jan 12 at 17:32






          • 1




            $begingroup$
            @Yanko You need to read about the "functional calculus" somewhere - it's a long story. There's the "continuous functional calculus": If $D$ is diagonal with entriies $lambda_1,dots,lambda_n$ then $f(D)$ is diagonal with entries $f(lambda_1),dots,f(lambda_n)$. Or the holomorphic functional calculus: If $x$ is an element of any Banach algebra, $V$ is open, $sigma(x)subset V$ and $fin H(V)$ then you can define $f(x)$ using the Cauchy Integral Formula $f(x)=frac1{2pi i}int_Gamma f(z)(x-ze)^{-1},dz$ for a suitable cycle $Gamma$ (see Rudin Functional Analysis).
            $endgroup$
            – David C. Ullrich
            Jan 12 at 17:51




















          • $begingroup$
            (+1) Please let me note that the term $f(D)$ or $cos(D)$ is not even defined. You have to first express $f$ or $cos$ by a limit of polynomials in order to give it a meaning.
            $endgroup$
            – Yanko
            Jan 12 at 17:00








          • 1




            $begingroup$
            @Yanko Huh??? A power series is a limit of polynomials. (No, that's not the only way, but it's the simplest, and it certainly applies here.)
            $endgroup$
            – David C. Ullrich
            Jan 12 at 17:03










          • $begingroup$
            Ok so $f(A) = f(PDP^{-1}) = sum_{n=0}^infty c_n (PDP^{-1})^n=Psum_{n=0}^infty c_n (D)^n P^{-1}$?
            $endgroup$
            – daljit97
            Jan 12 at 17:27












          • $begingroup$
            @daljit97 $dots=Pf(D)P^{-1}$. Right.
            $endgroup$
            – David C. Ullrich
            Jan 12 at 17:32






          • 1




            $begingroup$
            @Yanko You need to read about the "functional calculus" somewhere - it's a long story. There's the "continuous functional calculus": If $D$ is diagonal with entriies $lambda_1,dots,lambda_n$ then $f(D)$ is diagonal with entries $f(lambda_1),dots,f(lambda_n)$. Or the holomorphic functional calculus: If $x$ is an element of any Banach algebra, $V$ is open, $sigma(x)subset V$ and $fin H(V)$ then you can define $f(x)$ using the Cauchy Integral Formula $f(x)=frac1{2pi i}int_Gamma f(z)(x-ze)^{-1},dz$ for a suitable cycle $Gamma$ (see Rudin Functional Analysis).
            $endgroup$
            – David C. Ullrich
            Jan 12 at 17:51


















          $begingroup$
          (+1) Please let me note that the term $f(D)$ or $cos(D)$ is not even defined. You have to first express $f$ or $cos$ by a limit of polynomials in order to give it a meaning.
          $endgroup$
          – Yanko
          Jan 12 at 17:00






          $begingroup$
          (+1) Please let me note that the term $f(D)$ or $cos(D)$ is not even defined. You have to first express $f$ or $cos$ by a limit of polynomials in order to give it a meaning.
          $endgroup$
          – Yanko
          Jan 12 at 17:00






          1




          1




          $begingroup$
          @Yanko Huh??? A power series is a limit of polynomials. (No, that's not the only way, but it's the simplest, and it certainly applies here.)
          $endgroup$
          – David C. Ullrich
          Jan 12 at 17:03




          $begingroup$
          @Yanko Huh??? A power series is a limit of polynomials. (No, that's not the only way, but it's the simplest, and it certainly applies here.)
          $endgroup$
          – David C. Ullrich
          Jan 12 at 17:03












          $begingroup$
          Ok so $f(A) = f(PDP^{-1}) = sum_{n=0}^infty c_n (PDP^{-1})^n=Psum_{n=0}^infty c_n (D)^n P^{-1}$?
          $endgroup$
          – daljit97
          Jan 12 at 17:27






          $begingroup$
          Ok so $f(A) = f(PDP^{-1}) = sum_{n=0}^infty c_n (PDP^{-1})^n=Psum_{n=0}^infty c_n (D)^n P^{-1}$?
          $endgroup$
          – daljit97
          Jan 12 at 17:27














          $begingroup$
          @daljit97 $dots=Pf(D)P^{-1}$. Right.
          $endgroup$
          – David C. Ullrich
          Jan 12 at 17:32




          $begingroup$
          @daljit97 $dots=Pf(D)P^{-1}$. Right.
          $endgroup$
          – David C. Ullrich
          Jan 12 at 17:32




          1




          1




          $begingroup$
          @Yanko You need to read about the "functional calculus" somewhere - it's a long story. There's the "continuous functional calculus": If $D$ is diagonal with entriies $lambda_1,dots,lambda_n$ then $f(D)$ is diagonal with entries $f(lambda_1),dots,f(lambda_n)$. Or the holomorphic functional calculus: If $x$ is an element of any Banach algebra, $V$ is open, $sigma(x)subset V$ and $fin H(V)$ then you can define $f(x)$ using the Cauchy Integral Formula $f(x)=frac1{2pi i}int_Gamma f(z)(x-ze)^{-1},dz$ for a suitable cycle $Gamma$ (see Rudin Functional Analysis).
          $endgroup$
          – David C. Ullrich
          Jan 12 at 17:51






          $begingroup$
          @Yanko You need to read about the "functional calculus" somewhere - it's a long story. There's the "continuous functional calculus": If $D$ is diagonal with entriies $lambda_1,dots,lambda_n$ then $f(D)$ is diagonal with entries $f(lambda_1),dots,f(lambda_n)$. Or the holomorphic functional calculus: If $x$ is an element of any Banach algebra, $V$ is open, $sigma(x)subset V$ and $fin H(V)$ then you can define $f(x)$ using the Cauchy Integral Formula $f(x)=frac1{2pi i}int_Gamma f(z)(x-ze)^{-1},dz$ for a suitable cycle $Gamma$ (see Rudin Functional Analysis).
          $endgroup$
          – David C. Ullrich
          Jan 12 at 17:51




















          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.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3071067%2fanalytic-functions-and-diagonalisation-of-matrices%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