Computing the gradient of L_2 cost function The 2019 Stack Overflow Developer Survey Results Are InUsing summation notation to prove the Leibniz rule for the gradient of productFinding the Gradient of a Tensor FieldFinding the Gradient of a Vector Function by its ComponentsThe connection between the Jacobian, Hessian and the gradient?Connection of Gradient, Jacobian and Hessian matrix in Newton methodDifferentiability and gradient of a function of a single variableRecover scalar field from gradientIs the gradient of a vector product a row or a column?Is this bounded below by $2$ ?Gradient of an interpolated function

Why doesn't shell automatically fix "useless use of cat"?

How to type a long/em dash `—`

How do I free up internal storage if I don't have any apps downloaded?

Can you cast a spell on someone in the Ethereal Plane, if you are on the Material Plane and have the True Seeing spell active?

What is the meaning of Triage in Cybersec world?

Are spiders unable to hurt humans, especially very small spiders?

If my opponent casts Ultimate Price on my Phantasmal Bear, can I save it by casting Snap or Curfew?

Inverse Relationship Between Precision and Recall

Did any laptop computers have a built-in 5 1/4 inch floppy drive?

What to do when moving next to a bird sanctuary with a loosely-domesticated cat?

Why couldn't they take pictures of a closer black hole?

"as much details as you can remember"

What is the motivation for a law requiring 2 parties to consent for recording a conversation

Pokemon Turn Based battle (Python)

Output the Arecibo Message

APIPA and LAN Broadcast Domain

Straighten subgroup lattice

Is it ethical to upload a automatically generated paper to a non peer-reviewed site as part of a larger research?

Mathematics of imaging the black hole

Keeping a retro style to sci-fi spaceships?

What do these terms in Caesar's Gallic Wars mean?

Is bread bad for ducks?

Why can't devices on different VLANs, but on the same subnet, communicate?

I am an eight letter word. What am I?



Computing the gradient of L_2 cost function



The 2019 Stack Overflow Developer Survey Results Are InUsing summation notation to prove the Leibniz rule for the gradient of productFinding the Gradient of a Tensor FieldFinding the Gradient of a Vector Function by its ComponentsThe connection between the Jacobian, Hessian and the gradient?Connection of Gradient, Jacobian and Hessian matrix in Newton methodDifferentiability and gradient of a function of a single variableRecover scalar field from gradientIs the gradient of a vector product a row or a column?Is this bounded below by $2$ ?Gradient of an interpolated function










1












$begingroup$


Suppose $x, y in mathbbR^2.$ We define $c(x,y) = x^t x + c y^t y,$ for some non-zero $c in mathbbR.$ In particular, we have $fracddx x^t x = 2x^t$ and $fracddy cy^t y = 2c y^t.$ Does this imply that the gradient of $c(x,y)$ is $2 (x, cy) = 2(x_1, x_2, cy_1, cy_2)$? Confirmation would be useful, as I am not familiar with matrix calculus. Thank you.










share|cite|improve this question









$endgroup$
















    1












    $begingroup$


    Suppose $x, y in mathbbR^2.$ We define $c(x,y) = x^t x + c y^t y,$ for some non-zero $c in mathbbR.$ In particular, we have $fracddx x^t x = 2x^t$ and $fracddy cy^t y = 2c y^t.$ Does this imply that the gradient of $c(x,y)$ is $2 (x, cy) = 2(x_1, x_2, cy_1, cy_2)$? Confirmation would be useful, as I am not familiar with matrix calculus. Thank you.










    share|cite|improve this question









    $endgroup$














      1












      1








      1





      $begingroup$


      Suppose $x, y in mathbbR^2.$ We define $c(x,y) = x^t x + c y^t y,$ for some non-zero $c in mathbbR.$ In particular, we have $fracddx x^t x = 2x^t$ and $fracddy cy^t y = 2c y^t.$ Does this imply that the gradient of $c(x,y)$ is $2 (x, cy) = 2(x_1, x_2, cy_1, cy_2)$? Confirmation would be useful, as I am not familiar with matrix calculus. Thank you.










      share|cite|improve this question









      $endgroup$




      Suppose $x, y in mathbbR^2.$ We define $c(x,y) = x^t x + c y^t y,$ for some non-zero $c in mathbbR.$ In particular, we have $fracddx x^t x = 2x^t$ and $fracddy cy^t y = 2c y^t.$ Does this imply that the gradient of $c(x,y)$ is $2 (x, cy) = 2(x_1, x_2, cy_1, cy_2)$? Confirmation would be useful, as I am not familiar with matrix calculus. Thank you.







      calculus multivariable-calculus vector-analysis






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Mar 30 at 22:19









      R. RosenR. Rosen

      62




      62




















          0






          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',
          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%2f3168846%2fcomputing-the-gradient-of-l-2-cost-function%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          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%2f3168846%2fcomputing-the-gradient-of-l-2-cost-function%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

          Triangular numbers and gcdProving sum of a set is $0 pmod n$ if $n$ is odd, or $fracn2 pmod n$ if $n$ is even?Is greatest common divisor of two numbers really their smallest linear combination?GCD, LCM RelationshipProve a set of nonnegative integers with greatest common divisor 1 and closed under addition has all but finite many nonnegative integers.all pairs of a and b in an equation containing gcdTriangular Numbers Modulo $k$ - Hit All Values?Understanding the Existence and Uniqueness of the GCDGCD and LCM with logical symbolsThe greatest common divisor of two positive integers less than 100 is equal to 3. Their least common multiple is twelve times one of the integers.Suppose that for all integers $x$, $x|a$ and $x|b$ if and only if $x|c$. Then $c = gcd(a,b)$Which is the gcd of 2 numbers which are multiplied and the result is 600000?

          Ingelân Ynhâld Etymology | Geografy | Skiednis | Polityk en bestjoer | Ekonomy | Demografy | Kultuer | Klimaat | Sjoch ek | Keppelings om utens | Boarnen, noaten en referinsjes Navigaasjemenuwww.gov.ukOffisjele webside fan it regear fan it Feriene KeninkrykOffisjele webside fan it Britske FerkearsburoNederlânsktalige ynformaasje fan it Britske FerkearsburoOffisjele webside fan English Heritage, de organisaasje dy't him ynset foar it behâld fan it Ingelske kultuergoedYnwennertallen fan alle Britske stêden út 'e folkstelling fan 2011Notes en References, op dizze sideEngland

          Հադիս Բովանդակություն Անվանում և նշանակություն | Դասակարգում | Աղբյուրներ | Նավարկման ցանկ