Do there exists computational rules for subgradients?

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 a function $f : mathbbR^n to mathbbR$, which has a subgradient $g$.
Now I need the subgradient of $h(x) := (f(x)-a)^2$, where $a$ is a constant. Do there exist an easy way to calculate this subgradient?







share|cite|improve this question


























    up vote
    0
    down vote

    favorite
    1












    I have a function $f : mathbbR^n to mathbbR$, which has a subgradient $g$.
    Now I need the subgradient of $h(x) := (f(x)-a)^2$, where $a$ is a constant. Do there exist an easy way to calculate this subgradient?







    share|cite|improve this question
























      up vote
      0
      down vote

      favorite
      1









      up vote
      0
      down vote

      favorite
      1






      1





      I have a function $f : mathbbR^n to mathbbR$, which has a subgradient $g$.
      Now I need the subgradient of $h(x) := (f(x)-a)^2$, where $a$ is a constant. Do there exist an easy way to calculate this subgradient?







      share|cite|improve this question














      I have a function $f : mathbbR^n to mathbbR$, which has a subgradient $g$.
      Now I need the subgradient of $h(x) := (f(x)-a)^2$, where $a$ is a constant. Do there exist an easy way to calculate this subgradient?









      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Aug 15 at 9:35









      Javi

      2,1711725




      2,1711725










      asked Aug 15 at 9:17









      user3613886

      215




      215

























          active

          oldest

          votes











          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%2f2883386%2fdo-there-exists-computational-rules-for-subgradients%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes










           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2883386%2fdo-there-exists-computational-rules-for-subgradients%23new-answer', 'question_page');

          );

          Post as a guest













































































          這個網誌中的熱門文章

          How to combine Bézier curves to a surface?

          Propositional logic and tautologies

          Distribution of Stopped Wiener Process with Stochastic Volatility