Taking a functional derivative












0














I am following the derivation here. I reproduce a smaller part of it here:



Consider the functional



$J(p) = eta_0int_{-infty}^{infty}p(x)dx$



for some probability distribution $p(x)$. It is then stated that



$frac{delta J}{delta p} = eta_0$.



I'm not sure what exactly happened in the step before. What I think is going on is the following analogue of discrete case. If



$J = eta_0sum_i p_i(x)$, I can see that



$frac{delta J}{delta p_j} = eta_0sum_i frac{partial p_i(x)}{partial p_j(x)} = eta_0sum_i delta_{ij} = eta_0$.



Is this what is happening in the continuous case as well? How is the operation $frac{delta J}{delta p}$ defined exactly?










share|cite|improve this question





























    0














    I am following the derivation here. I reproduce a smaller part of it here:



    Consider the functional



    $J(p) = eta_0int_{-infty}^{infty}p(x)dx$



    for some probability distribution $p(x)$. It is then stated that



    $frac{delta J}{delta p} = eta_0$.



    I'm not sure what exactly happened in the step before. What I think is going on is the following analogue of discrete case. If



    $J = eta_0sum_i p_i(x)$, I can see that



    $frac{delta J}{delta p_j} = eta_0sum_i frac{partial p_i(x)}{partial p_j(x)} = eta_0sum_i delta_{ij} = eta_0$.



    Is this what is happening in the continuous case as well? How is the operation $frac{delta J}{delta p}$ defined exactly?










    share|cite|improve this question



























      0












      0








      0







      I am following the derivation here. I reproduce a smaller part of it here:



      Consider the functional



      $J(p) = eta_0int_{-infty}^{infty}p(x)dx$



      for some probability distribution $p(x)$. It is then stated that



      $frac{delta J}{delta p} = eta_0$.



      I'm not sure what exactly happened in the step before. What I think is going on is the following analogue of discrete case. If



      $J = eta_0sum_i p_i(x)$, I can see that



      $frac{delta J}{delta p_j} = eta_0sum_i frac{partial p_i(x)}{partial p_j(x)} = eta_0sum_i delta_{ij} = eta_0$.



      Is this what is happening in the continuous case as well? How is the operation $frac{delta J}{delta p}$ defined exactly?










      share|cite|improve this question















      I am following the derivation here. I reproduce a smaller part of it here:



      Consider the functional



      $J(p) = eta_0int_{-infty}^{infty}p(x)dx$



      for some probability distribution $p(x)$. It is then stated that



      $frac{delta J}{delta p} = eta_0$.



      I'm not sure what exactly happened in the step before. What I think is going on is the following analogue of discrete case. If



      $J = eta_0sum_i p_i(x)$, I can see that



      $frac{delta J}{delta p_j} = eta_0sum_i frac{partial p_i(x)}{partial p_j(x)} = eta_0sum_i delta_{ij} = eta_0$.



      Is this what is happening in the continuous case as well? How is the operation $frac{delta J}{delta p}$ defined exactly?







      real-analysis calculus probability






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited 17 hours ago









      Scientifica

      6,37641335




      6,37641335










      asked 17 hours ago









      user1936752

      5201513




      5201513






















          1 Answer
          1






          active

          oldest

          votes


















          1














          Given partial derivatives $frac{partial p_i}{partial p_j}=delta_i^j$, the discrete labels $i,,j$ index variables $p_i$. With functional derivatvies we have continuous labels, viz. $frac{delta p(x)}{delta p(y)}=delta(x-y)$ (note the right-hand side is now a Dirac delta, not a Kronecker delta). So if $eta$ has at most one argument, we can write $frac{delta J}{delta p(y)}=eta_0(y)int_{Bbb R}delta(x-y)dx=eta_0(y)$.






          share|cite|improve this answer





















          • Thank you. Just to clarify, the meaning of $frac{delta J}{delta p}$ on Wikipedia is what exactly? Is it $frac{delta J}{delta p(y)}$ for specific $y$?
            – user1936752
            13 hours ago






          • 1




            @user1936752 The meaning follows from the definition I've given, together with $frac{delta}{delta p}$ commuting with integration operators, obeying the product & chain rules etc. The $y$-dependence is needed in general, because e.g. $frac{delta}{delta p(y)}int_{Bbb R}p^2(x)dx=2p(y)$ (proof is an exercise). However, you shouldn't think of it as a specific $y$; differentiating the integral with respect to a function gives a function.
            – J.G.
            13 hours ago













          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%2f3061645%2ftaking-a-functional-derivative%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









          1














          Given partial derivatives $frac{partial p_i}{partial p_j}=delta_i^j$, the discrete labels $i,,j$ index variables $p_i$. With functional derivatvies we have continuous labels, viz. $frac{delta p(x)}{delta p(y)}=delta(x-y)$ (note the right-hand side is now a Dirac delta, not a Kronecker delta). So if $eta$ has at most one argument, we can write $frac{delta J}{delta p(y)}=eta_0(y)int_{Bbb R}delta(x-y)dx=eta_0(y)$.






          share|cite|improve this answer





















          • Thank you. Just to clarify, the meaning of $frac{delta J}{delta p}$ on Wikipedia is what exactly? Is it $frac{delta J}{delta p(y)}$ for specific $y$?
            – user1936752
            13 hours ago






          • 1




            @user1936752 The meaning follows from the definition I've given, together with $frac{delta}{delta p}$ commuting with integration operators, obeying the product & chain rules etc. The $y$-dependence is needed in general, because e.g. $frac{delta}{delta p(y)}int_{Bbb R}p^2(x)dx=2p(y)$ (proof is an exercise). However, you shouldn't think of it as a specific $y$; differentiating the integral with respect to a function gives a function.
            – J.G.
            13 hours ago


















          1














          Given partial derivatives $frac{partial p_i}{partial p_j}=delta_i^j$, the discrete labels $i,,j$ index variables $p_i$. With functional derivatvies we have continuous labels, viz. $frac{delta p(x)}{delta p(y)}=delta(x-y)$ (note the right-hand side is now a Dirac delta, not a Kronecker delta). So if $eta$ has at most one argument, we can write $frac{delta J}{delta p(y)}=eta_0(y)int_{Bbb R}delta(x-y)dx=eta_0(y)$.






          share|cite|improve this answer





















          • Thank you. Just to clarify, the meaning of $frac{delta J}{delta p}$ on Wikipedia is what exactly? Is it $frac{delta J}{delta p(y)}$ for specific $y$?
            – user1936752
            13 hours ago






          • 1




            @user1936752 The meaning follows from the definition I've given, together with $frac{delta}{delta p}$ commuting with integration operators, obeying the product & chain rules etc. The $y$-dependence is needed in general, because e.g. $frac{delta}{delta p(y)}int_{Bbb R}p^2(x)dx=2p(y)$ (proof is an exercise). However, you shouldn't think of it as a specific $y$; differentiating the integral with respect to a function gives a function.
            – J.G.
            13 hours ago
















          1












          1








          1






          Given partial derivatives $frac{partial p_i}{partial p_j}=delta_i^j$, the discrete labels $i,,j$ index variables $p_i$. With functional derivatvies we have continuous labels, viz. $frac{delta p(x)}{delta p(y)}=delta(x-y)$ (note the right-hand side is now a Dirac delta, not a Kronecker delta). So if $eta$ has at most one argument, we can write $frac{delta J}{delta p(y)}=eta_0(y)int_{Bbb R}delta(x-y)dx=eta_0(y)$.






          share|cite|improve this answer












          Given partial derivatives $frac{partial p_i}{partial p_j}=delta_i^j$, the discrete labels $i,,j$ index variables $p_i$. With functional derivatvies we have continuous labels, viz. $frac{delta p(x)}{delta p(y)}=delta(x-y)$ (note the right-hand side is now a Dirac delta, not a Kronecker delta). So if $eta$ has at most one argument, we can write $frac{delta J}{delta p(y)}=eta_0(y)int_{Bbb R}delta(x-y)dx=eta_0(y)$.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered 17 hours ago









          J.G.

          23.1k22137




          23.1k22137












          • Thank you. Just to clarify, the meaning of $frac{delta J}{delta p}$ on Wikipedia is what exactly? Is it $frac{delta J}{delta p(y)}$ for specific $y$?
            – user1936752
            13 hours ago






          • 1




            @user1936752 The meaning follows from the definition I've given, together with $frac{delta}{delta p}$ commuting with integration operators, obeying the product & chain rules etc. The $y$-dependence is needed in general, because e.g. $frac{delta}{delta p(y)}int_{Bbb R}p^2(x)dx=2p(y)$ (proof is an exercise). However, you shouldn't think of it as a specific $y$; differentiating the integral with respect to a function gives a function.
            – J.G.
            13 hours ago




















          • Thank you. Just to clarify, the meaning of $frac{delta J}{delta p}$ on Wikipedia is what exactly? Is it $frac{delta J}{delta p(y)}$ for specific $y$?
            – user1936752
            13 hours ago






          • 1




            @user1936752 The meaning follows from the definition I've given, together with $frac{delta}{delta p}$ commuting with integration operators, obeying the product & chain rules etc. The $y$-dependence is needed in general, because e.g. $frac{delta}{delta p(y)}int_{Bbb R}p^2(x)dx=2p(y)$ (proof is an exercise). However, you shouldn't think of it as a specific $y$; differentiating the integral with respect to a function gives a function.
            – J.G.
            13 hours ago


















          Thank you. Just to clarify, the meaning of $frac{delta J}{delta p}$ on Wikipedia is what exactly? Is it $frac{delta J}{delta p(y)}$ for specific $y$?
          – user1936752
          13 hours ago




          Thank you. Just to clarify, the meaning of $frac{delta J}{delta p}$ on Wikipedia is what exactly? Is it $frac{delta J}{delta p(y)}$ for specific $y$?
          – user1936752
          13 hours ago




          1




          1




          @user1936752 The meaning follows from the definition I've given, together with $frac{delta}{delta p}$ commuting with integration operators, obeying the product & chain rules etc. The $y$-dependence is needed in general, because e.g. $frac{delta}{delta p(y)}int_{Bbb R}p^2(x)dx=2p(y)$ (proof is an exercise). However, you shouldn't think of it as a specific $y$; differentiating the integral with respect to a function gives a function.
          – J.G.
          13 hours ago






          @user1936752 The meaning follows from the definition I've given, together with $frac{delta}{delta p}$ commuting with integration operators, obeying the product & chain rules etc. The $y$-dependence is needed in general, because e.g. $frac{delta}{delta p(y)}int_{Bbb R}p^2(x)dx=2p(y)$ (proof is an exercise). However, you shouldn't think of it as a specific $y$; differentiating the integral with respect to a function gives a function.
          – J.G.
          13 hours ago




















          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%2f3061645%2ftaking-a-functional-derivative%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

          Mario Kart Wii

          The Binding of Isaac: Rebirth/Afterbirth

          What does “Dominus providebit” mean?