How can I derive the matrix?

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











up vote
0
down vote

favorite
1












I have questions about matrix differentiation problem.



x∈ℜn, A∈ℜm∗n



x is an n*1 vector, A is an m*n matrix.



How to derive the following equation?



$$fracdAxdA$$



not the equation $$fracdAxdx$$



Thanks for reading my questions.







share|cite|improve this question





















  • Welcome to Mathematics Stack Exchange! You should be using MathJax to format your mathematics. math.stackexchange.com/help/notation
    – Miksu
    Jul 30 at 8:02














up vote
0
down vote

favorite
1












I have questions about matrix differentiation problem.



x∈ℜn, A∈ℜm∗n



x is an n*1 vector, A is an m*n matrix.



How to derive the following equation?



$$fracdAxdA$$



not the equation $$fracdAxdx$$



Thanks for reading my questions.







share|cite|improve this question





















  • Welcome to Mathematics Stack Exchange! You should be using MathJax to format your mathematics. math.stackexchange.com/help/notation
    – Miksu
    Jul 30 at 8:02












up vote
0
down vote

favorite
1









up vote
0
down vote

favorite
1






1





I have questions about matrix differentiation problem.



x∈ℜn, A∈ℜm∗n



x is an n*1 vector, A is an m*n matrix.



How to derive the following equation?



$$fracdAxdA$$



not the equation $$fracdAxdx$$



Thanks for reading my questions.







share|cite|improve this question













I have questions about matrix differentiation problem.



x∈ℜn, A∈ℜm∗n



x is an n*1 vector, A is an m*n matrix.



How to derive the following equation?



$$fracdAxdA$$



not the equation $$fracdAxdx$$



Thanks for reading my questions.









share|cite|improve this question












share|cite|improve this question




share|cite|improve this question








edited Jul 30 at 8:09
























asked Jul 30 at 7:59









ljh1830

61




61











  • Welcome to Mathematics Stack Exchange! You should be using MathJax to format your mathematics. math.stackexchange.com/help/notation
    – Miksu
    Jul 30 at 8:02
















  • Welcome to Mathematics Stack Exchange! You should be using MathJax to format your mathematics. math.stackexchange.com/help/notation
    – Miksu
    Jul 30 at 8:02















Welcome to Mathematics Stack Exchange! You should be using MathJax to format your mathematics. math.stackexchange.com/help/notation
– Miksu
Jul 30 at 8:02




Welcome to Mathematics Stack Exchange! You should be using MathJax to format your mathematics. math.stackexchange.com/help/notation
– Miksu
Jul 30 at 8:02










2 Answers
2






active

oldest

votes

















up vote
1
down vote













The function
$$P_x: Alongmapsto Ax$$
is obviously linear, so the Freched differential of $P_x$ in any point is again $P_x$:
$$DP(A_0) = P_x.$$






share|cite|improve this answer




























    up vote
    1
    down vote













    You have a function



    $$ f: mathbbR^m times n rightarrow mathbbR^n : A mapsto Ax $$



    with fixed $x$. Hence, your derivative must be a mapping



    $$ Df: mathbbR^m times n times mathbbR^m times n rightarrow mathbbR^n , (A_0, H) mapsto Df(A_0)[H], $$



    which is linear in $H$, and that satisfies the 1st order Taylor equation



    $$
    f(A_0 + dA) = f(A_0) + Df(A_0)[dA] + o(dA) .
    $$



    If we insert our function we get



    $$ f(A_0 + dA) = A_0 x + dA x = f(A_0) + dA x. $$



    So $Df(A_0)[dA] := dA x$ does the job. If you are looking for the derivative written as tensor you can write the last formula via Einstein summation:



    $$ Df(A_0)[dA] _i := dA_i,k x_k = delta_i,j dA_j,k x_k =
    (delta_i,j x_k) dA_j,k $$



    So the derivative $Df(A_0)$ can be identified with the 3-dimensional tensor $T in mathbbR^m times m times n$ given by



    $$T_i,j,k = delta_i,j x_k. $$



    Hereby $$delta_i,j:= begincases 1, &i=j\ 0, &ineq j endcases.$$






    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: 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%2f2866752%2fhow-can-i-derive-the-matrix%23new-answer', 'question_page');

      );

      Post as a guest






























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      1
      down vote













      The function
      $$P_x: Alongmapsto Ax$$
      is obviously linear, so the Freched differential of $P_x$ in any point is again $P_x$:
      $$DP(A_0) = P_x.$$






      share|cite|improve this answer

























        up vote
        1
        down vote













        The function
        $$P_x: Alongmapsto Ax$$
        is obviously linear, so the Freched differential of $P_x$ in any point is again $P_x$:
        $$DP(A_0) = P_x.$$






        share|cite|improve this answer























          up vote
          1
          down vote










          up vote
          1
          down vote









          The function
          $$P_x: Alongmapsto Ax$$
          is obviously linear, so the Freched differential of $P_x$ in any point is again $P_x$:
          $$DP(A_0) = P_x.$$






          share|cite|improve this answer













          The function
          $$P_x: Alongmapsto Ax$$
          is obviously linear, so the Freched differential of $P_x$ in any point is again $P_x$:
          $$DP(A_0) = P_x.$$







          share|cite|improve this answer













          share|cite|improve this answer



          share|cite|improve this answer











          answered Jul 30 at 8:20









          Martín-Blas Pérez Pinilla

          33.4k42570




          33.4k42570




















              up vote
              1
              down vote













              You have a function



              $$ f: mathbbR^m times n rightarrow mathbbR^n : A mapsto Ax $$



              with fixed $x$. Hence, your derivative must be a mapping



              $$ Df: mathbbR^m times n times mathbbR^m times n rightarrow mathbbR^n , (A_0, H) mapsto Df(A_0)[H], $$



              which is linear in $H$, and that satisfies the 1st order Taylor equation



              $$
              f(A_0 + dA) = f(A_0) + Df(A_0)[dA] + o(dA) .
              $$



              If we insert our function we get



              $$ f(A_0 + dA) = A_0 x + dA x = f(A_0) + dA x. $$



              So $Df(A_0)[dA] := dA x$ does the job. If you are looking for the derivative written as tensor you can write the last formula via Einstein summation:



              $$ Df(A_0)[dA] _i := dA_i,k x_k = delta_i,j dA_j,k x_k =
              (delta_i,j x_k) dA_j,k $$



              So the derivative $Df(A_0)$ can be identified with the 3-dimensional tensor $T in mathbbR^m times m times n$ given by



              $$T_i,j,k = delta_i,j x_k. $$



              Hereby $$delta_i,j:= begincases 1, &i=j\ 0, &ineq j endcases.$$






              share|cite|improve this answer

























                up vote
                1
                down vote













                You have a function



                $$ f: mathbbR^m times n rightarrow mathbbR^n : A mapsto Ax $$



                with fixed $x$. Hence, your derivative must be a mapping



                $$ Df: mathbbR^m times n times mathbbR^m times n rightarrow mathbbR^n , (A_0, H) mapsto Df(A_0)[H], $$



                which is linear in $H$, and that satisfies the 1st order Taylor equation



                $$
                f(A_0 + dA) = f(A_0) + Df(A_0)[dA] + o(dA) .
                $$



                If we insert our function we get



                $$ f(A_0 + dA) = A_0 x + dA x = f(A_0) + dA x. $$



                So $Df(A_0)[dA] := dA x$ does the job. If you are looking for the derivative written as tensor you can write the last formula via Einstein summation:



                $$ Df(A_0)[dA] _i := dA_i,k x_k = delta_i,j dA_j,k x_k =
                (delta_i,j x_k) dA_j,k $$



                So the derivative $Df(A_0)$ can be identified with the 3-dimensional tensor $T in mathbbR^m times m times n$ given by



                $$T_i,j,k = delta_i,j x_k. $$



                Hereby $$delta_i,j:= begincases 1, &i=j\ 0, &ineq j endcases.$$






                share|cite|improve this answer























                  up vote
                  1
                  down vote










                  up vote
                  1
                  down vote









                  You have a function



                  $$ f: mathbbR^m times n rightarrow mathbbR^n : A mapsto Ax $$



                  with fixed $x$. Hence, your derivative must be a mapping



                  $$ Df: mathbbR^m times n times mathbbR^m times n rightarrow mathbbR^n , (A_0, H) mapsto Df(A_0)[H], $$



                  which is linear in $H$, and that satisfies the 1st order Taylor equation



                  $$
                  f(A_0 + dA) = f(A_0) + Df(A_0)[dA] + o(dA) .
                  $$



                  If we insert our function we get



                  $$ f(A_0 + dA) = A_0 x + dA x = f(A_0) + dA x. $$



                  So $Df(A_0)[dA] := dA x$ does the job. If you are looking for the derivative written as tensor you can write the last formula via Einstein summation:



                  $$ Df(A_0)[dA] _i := dA_i,k x_k = delta_i,j dA_j,k x_k =
                  (delta_i,j x_k) dA_j,k $$



                  So the derivative $Df(A_0)$ can be identified with the 3-dimensional tensor $T in mathbbR^m times m times n$ given by



                  $$T_i,j,k = delta_i,j x_k. $$



                  Hereby $$delta_i,j:= begincases 1, &i=j\ 0, &ineq j endcases.$$






                  share|cite|improve this answer













                  You have a function



                  $$ f: mathbbR^m times n rightarrow mathbbR^n : A mapsto Ax $$



                  with fixed $x$. Hence, your derivative must be a mapping



                  $$ Df: mathbbR^m times n times mathbbR^m times n rightarrow mathbbR^n , (A_0, H) mapsto Df(A_0)[H], $$



                  which is linear in $H$, and that satisfies the 1st order Taylor equation



                  $$
                  f(A_0 + dA) = f(A_0) + Df(A_0)[dA] + o(dA) .
                  $$



                  If we insert our function we get



                  $$ f(A_0 + dA) = A_0 x + dA x = f(A_0) + dA x. $$



                  So $Df(A_0)[dA] := dA x$ does the job. If you are looking for the derivative written as tensor you can write the last formula via Einstein summation:



                  $$ Df(A_0)[dA] _i := dA_i,k x_k = delta_i,j dA_j,k x_k =
                  (delta_i,j x_k) dA_j,k $$



                  So the derivative $Df(A_0)$ can be identified with the 3-dimensional tensor $T in mathbbR^m times m times n$ given by



                  $$T_i,j,k = delta_i,j x_k. $$



                  Hereby $$delta_i,j:= begincases 1, &i=j\ 0, &ineq j endcases.$$







                  share|cite|improve this answer













                  share|cite|improve this answer



                  share|cite|improve this answer











                  answered Aug 1 at 11:32









                  til

                  694




                  694






















                       

                      draft saved


                      draft discarded


























                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2866752%2fhow-can-i-derive-the-matrix%23new-answer', 'question_page');

                      );

                      Post as a guest













































































                      Comments

                      Popular posts from this blog

                      Color the edges and diagonals of a regular polygon

                      Relationship between determinant of matrix and determinant of adjoint?

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