Gradient derived from Jacobian?

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











up vote
2
down vote

favorite












I was reading this wikipedia page on gradient descent (section: Solution of non-linear system) when I came across this formula:



$nabla F(mathbf x ^(0))=J_G(mathbf x ^(0))^mathrm T G(mathbf x ^(0))$



How did this equation come about? Sorry for my shaky calculus if this sounds stupid, but this is the only point in this section that I don't understand.







share|cite|improve this question



















  • It would help to mention in the body of the question that $F(x) = (1/2) G(x)^T G(x)$.
    – littleO
    Jul 18 at 5:08










  • related question: math.stackexchange.com/questions/2818147/…
    – Chav Likit
    Jul 18 at 7:35














up vote
2
down vote

favorite












I was reading this wikipedia page on gradient descent (section: Solution of non-linear system) when I came across this formula:



$nabla F(mathbf x ^(0))=J_G(mathbf x ^(0))^mathrm T G(mathbf x ^(0))$



How did this equation come about? Sorry for my shaky calculus if this sounds stupid, but this is the only point in this section that I don't understand.







share|cite|improve this question



















  • It would help to mention in the body of the question that $F(x) = (1/2) G(x)^T G(x)$.
    – littleO
    Jul 18 at 5:08










  • related question: math.stackexchange.com/questions/2818147/…
    – Chav Likit
    Jul 18 at 7:35












up vote
2
down vote

favorite









up vote
2
down vote

favorite











I was reading this wikipedia page on gradient descent (section: Solution of non-linear system) when I came across this formula:



$nabla F(mathbf x ^(0))=J_G(mathbf x ^(0))^mathrm T G(mathbf x ^(0))$



How did this equation come about? Sorry for my shaky calculus if this sounds stupid, but this is the only point in this section that I don't understand.







share|cite|improve this question











I was reading this wikipedia page on gradient descent (section: Solution of non-linear system) when I came across this formula:



$nabla F(mathbf x ^(0))=J_G(mathbf x ^(0))^mathrm T G(mathbf x ^(0))$



How did this equation come about? Sorry for my shaky calculus if this sounds stupid, but this is the only point in this section that I don't understand.









share|cite|improve this question










share|cite|improve this question




share|cite|improve this question









asked Jul 18 at 4:59









Chav Likit

495




495











  • It would help to mention in the body of the question that $F(x) = (1/2) G(x)^T G(x)$.
    – littleO
    Jul 18 at 5:08










  • related question: math.stackexchange.com/questions/2818147/…
    – Chav Likit
    Jul 18 at 7:35
















  • It would help to mention in the body of the question that $F(x) = (1/2) G(x)^T G(x)$.
    – littleO
    Jul 18 at 5:08










  • related question: math.stackexchange.com/questions/2818147/…
    – Chav Likit
    Jul 18 at 7:35















It would help to mention in the body of the question that $F(x) = (1/2) G(x)^T G(x)$.
– littleO
Jul 18 at 5:08




It would help to mention in the body of the question that $F(x) = (1/2) G(x)^T G(x)$.
– littleO
Jul 18 at 5:08












related question: math.stackexchange.com/questions/2818147/…
– Chav Likit
Jul 18 at 7:35




related question: math.stackexchange.com/questions/2818147/…
– Chav Likit
Jul 18 at 7:35










1 Answer
1






active

oldest

votes

















up vote
2
down vote



accepted










From the article



$$
F(bf x) = frac12G^T(bf x) G(bf x) = frac12sum_j G_j(bf x) G_j(bf x) tag1
$$



Take the derivative w.r.t to $x_i$



begineqnarray
fracpartial Fpartial x_i &=&
frac12sum_j fracpartialpartial x_ileft[G_j(bf x) G_j(bf x) right] = sum_j colorbluefracpartial G_j(bf x)partial x_i G_j(bf x) \
&=& sum_j colorblue[J_G(bf x)]_ij G_j(bf x) = [J_G(bf x) G(bf x)]_i tag2
endeqnarray



where the $(i,j)$-th component of matrix $J_G$ is defined as



$$
[J_G(bf x)]_ij = fracpartial G_j(bf x)partial x_i tag3
$$



Eq. (2) tells you what the $i$-th component of the gradient is, if you put them all together you get



$$
nabla F(bf x) = J_G(bf x) G(bf x) tag4
$$






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%2f2855207%2fgradient-derived-from-jacobian%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    2
    down vote



    accepted










    From the article



    $$
    F(bf x) = frac12G^T(bf x) G(bf x) = frac12sum_j G_j(bf x) G_j(bf x) tag1
    $$



    Take the derivative w.r.t to $x_i$



    begineqnarray
    fracpartial Fpartial x_i &=&
    frac12sum_j fracpartialpartial x_ileft[G_j(bf x) G_j(bf x) right] = sum_j colorbluefracpartial G_j(bf x)partial x_i G_j(bf x) \
    &=& sum_j colorblue[J_G(bf x)]_ij G_j(bf x) = [J_G(bf x) G(bf x)]_i tag2
    endeqnarray



    where the $(i,j)$-th component of matrix $J_G$ is defined as



    $$
    [J_G(bf x)]_ij = fracpartial G_j(bf x)partial x_i tag3
    $$



    Eq. (2) tells you what the $i$-th component of the gradient is, if you put them all together you get



    $$
    nabla F(bf x) = J_G(bf x) G(bf x) tag4
    $$






    share|cite|improve this answer

























      up vote
      2
      down vote



      accepted










      From the article



      $$
      F(bf x) = frac12G^T(bf x) G(bf x) = frac12sum_j G_j(bf x) G_j(bf x) tag1
      $$



      Take the derivative w.r.t to $x_i$



      begineqnarray
      fracpartial Fpartial x_i &=&
      frac12sum_j fracpartialpartial x_ileft[G_j(bf x) G_j(bf x) right] = sum_j colorbluefracpartial G_j(bf x)partial x_i G_j(bf x) \
      &=& sum_j colorblue[J_G(bf x)]_ij G_j(bf x) = [J_G(bf x) G(bf x)]_i tag2
      endeqnarray



      where the $(i,j)$-th component of matrix $J_G$ is defined as



      $$
      [J_G(bf x)]_ij = fracpartial G_j(bf x)partial x_i tag3
      $$



      Eq. (2) tells you what the $i$-th component of the gradient is, if you put them all together you get



      $$
      nabla F(bf x) = J_G(bf x) G(bf x) tag4
      $$






      share|cite|improve this answer























        up vote
        2
        down vote



        accepted







        up vote
        2
        down vote



        accepted






        From the article



        $$
        F(bf x) = frac12G^T(bf x) G(bf x) = frac12sum_j G_j(bf x) G_j(bf x) tag1
        $$



        Take the derivative w.r.t to $x_i$



        begineqnarray
        fracpartial Fpartial x_i &=&
        frac12sum_j fracpartialpartial x_ileft[G_j(bf x) G_j(bf x) right] = sum_j colorbluefracpartial G_j(bf x)partial x_i G_j(bf x) \
        &=& sum_j colorblue[J_G(bf x)]_ij G_j(bf x) = [J_G(bf x) G(bf x)]_i tag2
        endeqnarray



        where the $(i,j)$-th component of matrix $J_G$ is defined as



        $$
        [J_G(bf x)]_ij = fracpartial G_j(bf x)partial x_i tag3
        $$



        Eq. (2) tells you what the $i$-th component of the gradient is, if you put them all together you get



        $$
        nabla F(bf x) = J_G(bf x) G(bf x) tag4
        $$






        share|cite|improve this answer













        From the article



        $$
        F(bf x) = frac12G^T(bf x) G(bf x) = frac12sum_j G_j(bf x) G_j(bf x) tag1
        $$



        Take the derivative w.r.t to $x_i$



        begineqnarray
        fracpartial Fpartial x_i &=&
        frac12sum_j fracpartialpartial x_ileft[G_j(bf x) G_j(bf x) right] = sum_j colorbluefracpartial G_j(bf x)partial x_i G_j(bf x) \
        &=& sum_j colorblue[J_G(bf x)]_ij G_j(bf x) = [J_G(bf x) G(bf x)]_i tag2
        endeqnarray



        where the $(i,j)$-th component of matrix $J_G$ is defined as



        $$
        [J_G(bf x)]_ij = fracpartial G_j(bf x)partial x_i tag3
        $$



        Eq. (2) tells you what the $i$-th component of the gradient is, if you put them all together you get



        $$
        nabla F(bf x) = J_G(bf x) G(bf x) tag4
        $$







        share|cite|improve this answer













        share|cite|improve this answer



        share|cite|improve this answer











        answered Jul 18 at 15:00









        caverac

        11k2927




        11k2927






















             

            draft saved


            draft discarded


























             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2855207%2fgradient-derived-from-jacobian%23new-answer', 'question_page');

            );

            Post as a guest













































































            Comments

            Popular posts from this blog

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

            Color the edges and diagonals of a regular polygon

            Relationship between determinant of matrix and determinant of adjoint?