Rates of Change, Gradient











up vote
1
down vote

favorite












I was just wondering what the differences between gradient and rate of change are. Are they the same thing?










share|cite|improve this question







New contributor




J. Smith is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • betterexplained.com/articles/…
    – Matti P.
    yesterday










  • In short: Rate of change (derivative) is a scalar, but gradient is a vector that contains the directional rates of change.
    – Matti P.
    yesterday















up vote
1
down vote

favorite












I was just wondering what the differences between gradient and rate of change are. Are they the same thing?










share|cite|improve this question







New contributor




J. Smith is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • betterexplained.com/articles/…
    – Matti P.
    yesterday










  • In short: Rate of change (derivative) is a scalar, but gradient is a vector that contains the directional rates of change.
    – Matti P.
    yesterday













up vote
1
down vote

favorite









up vote
1
down vote

favorite











I was just wondering what the differences between gradient and rate of change are. Are they the same thing?










share|cite|improve this question







New contributor




J. Smith is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I was just wondering what the differences between gradient and rate of change are. Are they the same thing?







calculus vector-analysis






share|cite|improve this question







New contributor




J. Smith is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|cite|improve this question







New contributor




J. Smith is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|cite|improve this question




share|cite|improve this question






New contributor




J. Smith is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked yesterday









J. Smith

61




61




New contributor




J. Smith is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





J. Smith is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






J. Smith is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • betterexplained.com/articles/…
    – Matti P.
    yesterday










  • In short: Rate of change (derivative) is a scalar, but gradient is a vector that contains the directional rates of change.
    – Matti P.
    yesterday


















  • betterexplained.com/articles/…
    – Matti P.
    yesterday










  • In short: Rate of change (derivative) is a scalar, but gradient is a vector that contains the directional rates of change.
    – Matti P.
    yesterday
















betterexplained.com/articles/…
– Matti P.
yesterday




betterexplained.com/articles/…
– Matti P.
yesterday












In short: Rate of change (derivative) is a scalar, but gradient is a vector that contains the directional rates of change.
– Matti P.
yesterday




In short: Rate of change (derivative) is a scalar, but gradient is a vector that contains the directional rates of change.
– Matti P.
yesterday










1 Answer
1






active

oldest

votes

















up vote
0
down vote













The instantaneous rate of change of a real value function $f:mathbb{R}rightarrowmathbb{R}$ is given by the derivative:
$$frac{df}{dx}(x_0) = lim_{hrightarrow 0}frac{f(x_0 + h) - f(x_0)}{h}$$



From this we find that:



$$f(x_0 + h) approx f(x_0) + frac{df}{dx}(x_0)h ;;(1)$$



Where (1) is a linear function of the form $f(h)= a + sh$.



For a multi-variable function, we can calculate a rate of change as well:



Let $f:mathbb{R}^nrightarrowmathbb{R}$ be multivariable function and, $mathbf{g}:tinmathbb{R}rightarrowmathbb{R}^n$ a line in the n-dimensional space.



$$mathbf{g}(t) = mathbf{x}_0 + mathbf{h}t$$



Then we can take the derivative using one-dimensional calculus, by composing $f$ with $mathbf{g}$:



$$frac{df circ mathbf{g}}{dt}(0) = lim_{trightarrow 0}frac{f(mathbf{x}_0 + mathbf{h}t) - f(mathbf{x}_0)}{t};;(2)$$
Where (2) is the instantaneous rate of change of $f$ in the direction of $mathbf{h}$.



Now we can postulate that we have a linear approximation of $f(mathbf{x}_0 + mathbf{h})$ ( a multi-variable linear function ):



$$f(mathbf{x}_0 + mathbf{h})approx f(mathbf{x}_0) + sum_i s_i h_i = f(mathbf{x}_0) + left<mathbf{s}, mathbf{h}right>$$



Where $mathbf{s}$ will be the generalized gradient and $<.,.>$ is the inner product in $mathbb{R}^n$ (a.k.a the dot product).



To find $mathbf{s}$, just do the following, set $mathbf{h} = hmathbf{e}_i$, where $mathbf{e}_i$ is a vector of the standard $mathbb{R}^n$ basis.



$$f(mathbf{x}_0 + mathbf{h})approx f(mathbf{x}_0) + hleft <mathbf{s}, mathbf{e}_i right > = f(mathbf{x}_0) + hs_i$$



$$lim_{h rightarrow 0} frac{f(mathbf{x}_0 + hmathbf{e}_i) - f(mathbf{x}_0)}{h} = s_i$$



Basically the left side of the equation is a partial derivative of $f$, hence:



$$s_i = frac{partial f(mathbf{x}_0)}{partial x_i};;(3)$$
$$mathbf{s} = nabla f(mathbf{x}_0)$$



Finally taking (2) and (3), we find that the instantaneous rate of change of $f$ in the $mathbf{h}$ direction is:



$$frac{df circ mathbf{g}}{dt}(0) = lim_{trightarrow 0}frac{f(mathbf{x}_0 + mathbf{h}t) - f(mathbf{x}_0)}{t} = lim_{trightarrow 0}frac{f(mathbf{x}_0) + left<nabla f(mathbf{x}_0), mathbf{h}right> t - f(mathbf{x}_0)}{t} $$



$$frac{df circ mathbf{g}}{dt}(0) = left<nabla f(mathbf{x}_0), mathbf{h}right>$$



Conclusion





In order to compute the directional derivative or directional rate of change you need the gradient. That said the gradient can be interpreted as a multi-variable rate of change in the sense that it is a vector with the rates of changes for each coordinate.






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: 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
    });


    }
    });






    J. Smith is a new contributor. Be nice, and check out our Code of Conduct.










     

    draft saved


    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3007446%2frates-of-change-gradient%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








    up vote
    0
    down vote













    The instantaneous rate of change of a real value function $f:mathbb{R}rightarrowmathbb{R}$ is given by the derivative:
    $$frac{df}{dx}(x_0) = lim_{hrightarrow 0}frac{f(x_0 + h) - f(x_0)}{h}$$



    From this we find that:



    $$f(x_0 + h) approx f(x_0) + frac{df}{dx}(x_0)h ;;(1)$$



    Where (1) is a linear function of the form $f(h)= a + sh$.



    For a multi-variable function, we can calculate a rate of change as well:



    Let $f:mathbb{R}^nrightarrowmathbb{R}$ be multivariable function and, $mathbf{g}:tinmathbb{R}rightarrowmathbb{R}^n$ a line in the n-dimensional space.



    $$mathbf{g}(t) = mathbf{x}_0 + mathbf{h}t$$



    Then we can take the derivative using one-dimensional calculus, by composing $f$ with $mathbf{g}$:



    $$frac{df circ mathbf{g}}{dt}(0) = lim_{trightarrow 0}frac{f(mathbf{x}_0 + mathbf{h}t) - f(mathbf{x}_0)}{t};;(2)$$
    Where (2) is the instantaneous rate of change of $f$ in the direction of $mathbf{h}$.



    Now we can postulate that we have a linear approximation of $f(mathbf{x}_0 + mathbf{h})$ ( a multi-variable linear function ):



    $$f(mathbf{x}_0 + mathbf{h})approx f(mathbf{x}_0) + sum_i s_i h_i = f(mathbf{x}_0) + left<mathbf{s}, mathbf{h}right>$$



    Where $mathbf{s}$ will be the generalized gradient and $<.,.>$ is the inner product in $mathbb{R}^n$ (a.k.a the dot product).



    To find $mathbf{s}$, just do the following, set $mathbf{h} = hmathbf{e}_i$, where $mathbf{e}_i$ is a vector of the standard $mathbb{R}^n$ basis.



    $$f(mathbf{x}_0 + mathbf{h})approx f(mathbf{x}_0) + hleft <mathbf{s}, mathbf{e}_i right > = f(mathbf{x}_0) + hs_i$$



    $$lim_{h rightarrow 0} frac{f(mathbf{x}_0 + hmathbf{e}_i) - f(mathbf{x}_0)}{h} = s_i$$



    Basically the left side of the equation is a partial derivative of $f$, hence:



    $$s_i = frac{partial f(mathbf{x}_0)}{partial x_i};;(3)$$
    $$mathbf{s} = nabla f(mathbf{x}_0)$$



    Finally taking (2) and (3), we find that the instantaneous rate of change of $f$ in the $mathbf{h}$ direction is:



    $$frac{df circ mathbf{g}}{dt}(0) = lim_{trightarrow 0}frac{f(mathbf{x}_0 + mathbf{h}t) - f(mathbf{x}_0)}{t} = lim_{trightarrow 0}frac{f(mathbf{x}_0) + left<nabla f(mathbf{x}_0), mathbf{h}right> t - f(mathbf{x}_0)}{t} $$



    $$frac{df circ mathbf{g}}{dt}(0) = left<nabla f(mathbf{x}_0), mathbf{h}right>$$



    Conclusion





    In order to compute the directional derivative or directional rate of change you need the gradient. That said the gradient can be interpreted as a multi-variable rate of change in the sense that it is a vector with the rates of changes for each coordinate.






    share|cite|improve this answer



























      up vote
      0
      down vote













      The instantaneous rate of change of a real value function $f:mathbb{R}rightarrowmathbb{R}$ is given by the derivative:
      $$frac{df}{dx}(x_0) = lim_{hrightarrow 0}frac{f(x_0 + h) - f(x_0)}{h}$$



      From this we find that:



      $$f(x_0 + h) approx f(x_0) + frac{df}{dx}(x_0)h ;;(1)$$



      Where (1) is a linear function of the form $f(h)= a + sh$.



      For a multi-variable function, we can calculate a rate of change as well:



      Let $f:mathbb{R}^nrightarrowmathbb{R}$ be multivariable function and, $mathbf{g}:tinmathbb{R}rightarrowmathbb{R}^n$ a line in the n-dimensional space.



      $$mathbf{g}(t) = mathbf{x}_0 + mathbf{h}t$$



      Then we can take the derivative using one-dimensional calculus, by composing $f$ with $mathbf{g}$:



      $$frac{df circ mathbf{g}}{dt}(0) = lim_{trightarrow 0}frac{f(mathbf{x}_0 + mathbf{h}t) - f(mathbf{x}_0)}{t};;(2)$$
      Where (2) is the instantaneous rate of change of $f$ in the direction of $mathbf{h}$.



      Now we can postulate that we have a linear approximation of $f(mathbf{x}_0 + mathbf{h})$ ( a multi-variable linear function ):



      $$f(mathbf{x}_0 + mathbf{h})approx f(mathbf{x}_0) + sum_i s_i h_i = f(mathbf{x}_0) + left<mathbf{s}, mathbf{h}right>$$



      Where $mathbf{s}$ will be the generalized gradient and $<.,.>$ is the inner product in $mathbb{R}^n$ (a.k.a the dot product).



      To find $mathbf{s}$, just do the following, set $mathbf{h} = hmathbf{e}_i$, where $mathbf{e}_i$ is a vector of the standard $mathbb{R}^n$ basis.



      $$f(mathbf{x}_0 + mathbf{h})approx f(mathbf{x}_0) + hleft <mathbf{s}, mathbf{e}_i right > = f(mathbf{x}_0) + hs_i$$



      $$lim_{h rightarrow 0} frac{f(mathbf{x}_0 + hmathbf{e}_i) - f(mathbf{x}_0)}{h} = s_i$$



      Basically the left side of the equation is a partial derivative of $f$, hence:



      $$s_i = frac{partial f(mathbf{x}_0)}{partial x_i};;(3)$$
      $$mathbf{s} = nabla f(mathbf{x}_0)$$



      Finally taking (2) and (3), we find that the instantaneous rate of change of $f$ in the $mathbf{h}$ direction is:



      $$frac{df circ mathbf{g}}{dt}(0) = lim_{trightarrow 0}frac{f(mathbf{x}_0 + mathbf{h}t) - f(mathbf{x}_0)}{t} = lim_{trightarrow 0}frac{f(mathbf{x}_0) + left<nabla f(mathbf{x}_0), mathbf{h}right> t - f(mathbf{x}_0)}{t} $$



      $$frac{df circ mathbf{g}}{dt}(0) = left<nabla f(mathbf{x}_0), mathbf{h}right>$$



      Conclusion





      In order to compute the directional derivative or directional rate of change you need the gradient. That said the gradient can be interpreted as a multi-variable rate of change in the sense that it is a vector with the rates of changes for each coordinate.






      share|cite|improve this answer

























        up vote
        0
        down vote










        up vote
        0
        down vote









        The instantaneous rate of change of a real value function $f:mathbb{R}rightarrowmathbb{R}$ is given by the derivative:
        $$frac{df}{dx}(x_0) = lim_{hrightarrow 0}frac{f(x_0 + h) - f(x_0)}{h}$$



        From this we find that:



        $$f(x_0 + h) approx f(x_0) + frac{df}{dx}(x_0)h ;;(1)$$



        Where (1) is a linear function of the form $f(h)= a + sh$.



        For a multi-variable function, we can calculate a rate of change as well:



        Let $f:mathbb{R}^nrightarrowmathbb{R}$ be multivariable function and, $mathbf{g}:tinmathbb{R}rightarrowmathbb{R}^n$ a line in the n-dimensional space.



        $$mathbf{g}(t) = mathbf{x}_0 + mathbf{h}t$$



        Then we can take the derivative using one-dimensional calculus, by composing $f$ with $mathbf{g}$:



        $$frac{df circ mathbf{g}}{dt}(0) = lim_{trightarrow 0}frac{f(mathbf{x}_0 + mathbf{h}t) - f(mathbf{x}_0)}{t};;(2)$$
        Where (2) is the instantaneous rate of change of $f$ in the direction of $mathbf{h}$.



        Now we can postulate that we have a linear approximation of $f(mathbf{x}_0 + mathbf{h})$ ( a multi-variable linear function ):



        $$f(mathbf{x}_0 + mathbf{h})approx f(mathbf{x}_0) + sum_i s_i h_i = f(mathbf{x}_0) + left<mathbf{s}, mathbf{h}right>$$



        Where $mathbf{s}$ will be the generalized gradient and $<.,.>$ is the inner product in $mathbb{R}^n$ (a.k.a the dot product).



        To find $mathbf{s}$, just do the following, set $mathbf{h} = hmathbf{e}_i$, where $mathbf{e}_i$ is a vector of the standard $mathbb{R}^n$ basis.



        $$f(mathbf{x}_0 + mathbf{h})approx f(mathbf{x}_0) + hleft <mathbf{s}, mathbf{e}_i right > = f(mathbf{x}_0) + hs_i$$



        $$lim_{h rightarrow 0} frac{f(mathbf{x}_0 + hmathbf{e}_i) - f(mathbf{x}_0)}{h} = s_i$$



        Basically the left side of the equation is a partial derivative of $f$, hence:



        $$s_i = frac{partial f(mathbf{x}_0)}{partial x_i};;(3)$$
        $$mathbf{s} = nabla f(mathbf{x}_0)$$



        Finally taking (2) and (3), we find that the instantaneous rate of change of $f$ in the $mathbf{h}$ direction is:



        $$frac{df circ mathbf{g}}{dt}(0) = lim_{trightarrow 0}frac{f(mathbf{x}_0 + mathbf{h}t) - f(mathbf{x}_0)}{t} = lim_{trightarrow 0}frac{f(mathbf{x}_0) + left<nabla f(mathbf{x}_0), mathbf{h}right> t - f(mathbf{x}_0)}{t} $$



        $$frac{df circ mathbf{g}}{dt}(0) = left<nabla f(mathbf{x}_0), mathbf{h}right>$$



        Conclusion





        In order to compute the directional derivative or directional rate of change you need the gradient. That said the gradient can be interpreted as a multi-variable rate of change in the sense that it is a vector with the rates of changes for each coordinate.






        share|cite|improve this answer














        The instantaneous rate of change of a real value function $f:mathbb{R}rightarrowmathbb{R}$ is given by the derivative:
        $$frac{df}{dx}(x_0) = lim_{hrightarrow 0}frac{f(x_0 + h) - f(x_0)}{h}$$



        From this we find that:



        $$f(x_0 + h) approx f(x_0) + frac{df}{dx}(x_0)h ;;(1)$$



        Where (1) is a linear function of the form $f(h)= a + sh$.



        For a multi-variable function, we can calculate a rate of change as well:



        Let $f:mathbb{R}^nrightarrowmathbb{R}$ be multivariable function and, $mathbf{g}:tinmathbb{R}rightarrowmathbb{R}^n$ a line in the n-dimensional space.



        $$mathbf{g}(t) = mathbf{x}_0 + mathbf{h}t$$



        Then we can take the derivative using one-dimensional calculus, by composing $f$ with $mathbf{g}$:



        $$frac{df circ mathbf{g}}{dt}(0) = lim_{trightarrow 0}frac{f(mathbf{x}_0 + mathbf{h}t) - f(mathbf{x}_0)}{t};;(2)$$
        Where (2) is the instantaneous rate of change of $f$ in the direction of $mathbf{h}$.



        Now we can postulate that we have a linear approximation of $f(mathbf{x}_0 + mathbf{h})$ ( a multi-variable linear function ):



        $$f(mathbf{x}_0 + mathbf{h})approx f(mathbf{x}_0) + sum_i s_i h_i = f(mathbf{x}_0) + left<mathbf{s}, mathbf{h}right>$$



        Where $mathbf{s}$ will be the generalized gradient and $<.,.>$ is the inner product in $mathbb{R}^n$ (a.k.a the dot product).



        To find $mathbf{s}$, just do the following, set $mathbf{h} = hmathbf{e}_i$, where $mathbf{e}_i$ is a vector of the standard $mathbb{R}^n$ basis.



        $$f(mathbf{x}_0 + mathbf{h})approx f(mathbf{x}_0) + hleft <mathbf{s}, mathbf{e}_i right > = f(mathbf{x}_0) + hs_i$$



        $$lim_{h rightarrow 0} frac{f(mathbf{x}_0 + hmathbf{e}_i) - f(mathbf{x}_0)}{h} = s_i$$



        Basically the left side of the equation is a partial derivative of $f$, hence:



        $$s_i = frac{partial f(mathbf{x}_0)}{partial x_i};;(3)$$
        $$mathbf{s} = nabla f(mathbf{x}_0)$$



        Finally taking (2) and (3), we find that the instantaneous rate of change of $f$ in the $mathbf{h}$ direction is:



        $$frac{df circ mathbf{g}}{dt}(0) = lim_{trightarrow 0}frac{f(mathbf{x}_0 + mathbf{h}t) - f(mathbf{x}_0)}{t} = lim_{trightarrow 0}frac{f(mathbf{x}_0) + left<nabla f(mathbf{x}_0), mathbf{h}right> t - f(mathbf{x}_0)}{t} $$



        $$frac{df circ mathbf{g}}{dt}(0) = left<nabla f(mathbf{x}_0), mathbf{h}right>$$



        Conclusion





        In order to compute the directional derivative or directional rate of change you need the gradient. That said the gradient can be interpreted as a multi-variable rate of change in the sense that it is a vector with the rates of changes for each coordinate.







        share|cite|improve this answer














        share|cite|improve this answer



        share|cite|improve this answer








        edited 20 hours ago

























        answered yesterday









        pedroth

        345




        345






















            J. Smith is a new contributor. Be nice, and check out our Code of Conduct.










             

            draft saved


            draft discarded


















            J. Smith is a new contributor. Be nice, and check out our Code of Conduct.













            J. Smith is a new contributor. Be nice, and check out our Code of Conduct.












            J. Smith is a new contributor. Be nice, and check out our Code of Conduct.















             


            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3007446%2frates-of-change-gradient%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

            Berounka

            Different font size/position of beamer's navigation symbols template's content depending on regular/plain...

            Sphinx de Gizeh