Difference between the gradient and the directional derivative.












8












$begingroup$


Consider a function $g: mathbb{R^3} to mathbb{R}$ defined by $g(x,y,z) = z^2 -x^3 + 2z + 3y^3$



Find the gradient of g at the point (2,1,-1)



Is the gradient $nabla g(2,1,-1)$ given by a vector? i.e. $nabla g(2,1,-1) = -12i + 9j$ If so then what does the directional derivative mean?










share|cite|improve this question











$endgroup$

















    8












    $begingroup$


    Consider a function $g: mathbb{R^3} to mathbb{R}$ defined by $g(x,y,z) = z^2 -x^3 + 2z + 3y^3$



    Find the gradient of g at the point (2,1,-1)



    Is the gradient $nabla g(2,1,-1)$ given by a vector? i.e. $nabla g(2,1,-1) = -12i + 9j$ If so then what does the directional derivative mean?










    share|cite|improve this question











    $endgroup$















      8












      8








      8


      1



      $begingroup$


      Consider a function $g: mathbb{R^3} to mathbb{R}$ defined by $g(x,y,z) = z^2 -x^3 + 2z + 3y^3$



      Find the gradient of g at the point (2,1,-1)



      Is the gradient $nabla g(2,1,-1)$ given by a vector? i.e. $nabla g(2,1,-1) = -12i + 9j$ If so then what does the directional derivative mean?










      share|cite|improve this question











      $endgroup$




      Consider a function $g: mathbb{R^3} to mathbb{R}$ defined by $g(x,y,z) = z^2 -x^3 + 2z + 3y^3$



      Find the gradient of g at the point (2,1,-1)



      Is the gradient $nabla g(2,1,-1)$ given by a vector? i.e. $nabla g(2,1,-1) = -12i + 9j$ If so then what does the directional derivative mean?







      functions






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Dec 30 '18 at 12:37









      user366312

      663318




      663318










      asked Feb 2 '14 at 20:17









      WarzWarz

      4591416




      4591416






















          5 Answers
          5






          active

          oldest

          votes


















          12












          $begingroup$

          The gradient is a vector; it points in the direction of steepest ascent.



          The directional derivative is a number; it is the rate of change when your point in $Bbb R^3$ moves in that direction. (You can imagine "reducing" your function to a function of a single variable, say $t$, by "slicing" the curve in that direction; the directional derivative is just then the 1-D derivative of that "sliced" function.)






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            steepest ascent, does that mean that for example $nabla f = (a,b)$ gives us the fastest growing direction $(a,b)$. And from this that we should increase $x$ and $y$ with a scalar times $a$ and $b$ respectively in order to increase the function value $f$ as fast as possible?
            $endgroup$
            – dekuShrub
            May 22 '18 at 15:37





















          7












          $begingroup$

          Be careful that directional derivative of a function is a scalar while gradient is a vector.



          The only difference between derivative and directional derivative is the definition of those terms. Remember:




          • Directional derivative is the instantaneous rate of change (which is a scalar) of $f(x,y)$ in the direction of the unit vector $u$.

          • Derivative is the rate of change of $f(x,y)$, which can be thought of the slope of the function at a point $(x_0,y_0)$.






          share|cite|improve this answer









          $endgroup$





















            2












            $begingroup$

            Yes, the gradient is given by the row vector whose elements are the partial derivatives of $g$ with respect to $x$, $y$, and $z$, respectively. In your case the gradient at $(x,y,z)$ is hence $[-3x^2,9y^2,2z+2]$. The gradient at $(2,1,-1)$ is therefore $[-12,9,0]$.



            The directional derivative at a point $(x,y,z)$ in direction $(u,v,w)$ is the gradient multiplied by the direction divided by its length. So if $u^2+v^2+w^2=1$ then the directional derivative at $(x,y,z)$ in direction $(u,v,w)$ is just $-3x^2 u + 9y^2v + (2z+2)w$.



            If $u^2+v^2+w^2neq 1$ then you should divide the number above by $sqrt{u^2+v^2+w^2}$.



            In sum, the gradient is a vector with the slope of the function along each of the coordinate axes whereas the directional derivative is the slope in an arbitrary specified direction.






            share|cite|improve this answer











            $endgroup$





















              0












              $begingroup$

              In simple words, directional derivative can be visualized as slope of the function at the given point along a particular direction. For example partial derivative w.r.t x of a function can also be written as directional derivative of that function along x direction.



              Gradient is a vector and for a given direction, directional derivative can be written as projection of gradient along that direction.



              Please go through this link to have a clear idea:
              http://omega.albany.edu:8008/calc3/directional-derivatives-dir/define-m2h.html






              share|cite|improve this answer









              $endgroup$





















                0












                $begingroup$



                • A Directional Derivative is a value which represents a rate of change


                • A Gradient is an angle/vector which points to the direction of the steepest ascent of a curve.


                Let us take a look at the plot of the following function:



                $$ bbox[lightgray] {f(x) = -x^2+4}qquad (1)$$



                enter image description here



                The 1st derivative of the function is:



                $$ bbox[lightgray] {frac{dy}{dx} = -2x}qquad (2)$$



                Putting $x=-1$ in $(2)$ we obtain,



                $implies frac{dy}{dx} = frac{rise}{run}= 2 ... ... ...qquad (3)$



                Also,



                $tan theta = 2$
                $implies theta = tan^{-1}(2)$
                $implies theta = 0.964 $ radian



                So, $theta = 55.23 ^circ ... ... ...qquad (4)$



                .



                Similarly, putting $x=-2$ in $(2)$ we obtain,



                $implies frac{dy}{dx} = frac{rise}{run}= 4 ... ... ...qquad (5)$



                So, $theta = 57.25 ^circ ... ... ...qquad (6)$



                enter image description here



                So, the answer is:




                • (3) and (5) are Directional Derivatives.

                • Directional Derivatives are scalar values.


                And,




                • (4) and (6) are Gradients.

                • Gradients are vector values.






                share|cite|improve this answer









                $endgroup$













                  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%2f661195%2fdifference-between-the-gradient-and-the-directional-derivative%23new-answer', 'question_page');
                  }
                  );

                  Post as a guest















                  Required, but never shown

























                  5 Answers
                  5






                  active

                  oldest

                  votes








                  5 Answers
                  5






                  active

                  oldest

                  votes









                  active

                  oldest

                  votes






                  active

                  oldest

                  votes









                  12












                  $begingroup$

                  The gradient is a vector; it points in the direction of steepest ascent.



                  The directional derivative is a number; it is the rate of change when your point in $Bbb R^3$ moves in that direction. (You can imagine "reducing" your function to a function of a single variable, say $t$, by "slicing" the curve in that direction; the directional derivative is just then the 1-D derivative of that "sliced" function.)






                  share|cite|improve this answer









                  $endgroup$













                  • $begingroup$
                    steepest ascent, does that mean that for example $nabla f = (a,b)$ gives us the fastest growing direction $(a,b)$. And from this that we should increase $x$ and $y$ with a scalar times $a$ and $b$ respectively in order to increase the function value $f$ as fast as possible?
                    $endgroup$
                    – dekuShrub
                    May 22 '18 at 15:37


















                  12












                  $begingroup$

                  The gradient is a vector; it points in the direction of steepest ascent.



                  The directional derivative is a number; it is the rate of change when your point in $Bbb R^3$ moves in that direction. (You can imagine "reducing" your function to a function of a single variable, say $t$, by "slicing" the curve in that direction; the directional derivative is just then the 1-D derivative of that "sliced" function.)






                  share|cite|improve this answer









                  $endgroup$













                  • $begingroup$
                    steepest ascent, does that mean that for example $nabla f = (a,b)$ gives us the fastest growing direction $(a,b)$. And from this that we should increase $x$ and $y$ with a scalar times $a$ and $b$ respectively in order to increase the function value $f$ as fast as possible?
                    $endgroup$
                    – dekuShrub
                    May 22 '18 at 15:37
















                  12












                  12








                  12





                  $begingroup$

                  The gradient is a vector; it points in the direction of steepest ascent.



                  The directional derivative is a number; it is the rate of change when your point in $Bbb R^3$ moves in that direction. (You can imagine "reducing" your function to a function of a single variable, say $t$, by "slicing" the curve in that direction; the directional derivative is just then the 1-D derivative of that "sliced" function.)






                  share|cite|improve this answer









                  $endgroup$



                  The gradient is a vector; it points in the direction of steepest ascent.



                  The directional derivative is a number; it is the rate of change when your point in $Bbb R^3$ moves in that direction. (You can imagine "reducing" your function to a function of a single variable, say $t$, by "slicing" the curve in that direction; the directional derivative is just then the 1-D derivative of that "sliced" function.)







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered Feb 2 '14 at 20:22









                  tabstoptabstop

                  1,29068




                  1,29068












                  • $begingroup$
                    steepest ascent, does that mean that for example $nabla f = (a,b)$ gives us the fastest growing direction $(a,b)$. And from this that we should increase $x$ and $y$ with a scalar times $a$ and $b$ respectively in order to increase the function value $f$ as fast as possible?
                    $endgroup$
                    – dekuShrub
                    May 22 '18 at 15:37




















                  • $begingroup$
                    steepest ascent, does that mean that for example $nabla f = (a,b)$ gives us the fastest growing direction $(a,b)$. And from this that we should increase $x$ and $y$ with a scalar times $a$ and $b$ respectively in order to increase the function value $f$ as fast as possible?
                    $endgroup$
                    – dekuShrub
                    May 22 '18 at 15:37


















                  $begingroup$
                  steepest ascent, does that mean that for example $nabla f = (a,b)$ gives us the fastest growing direction $(a,b)$. And from this that we should increase $x$ and $y$ with a scalar times $a$ and $b$ respectively in order to increase the function value $f$ as fast as possible?
                  $endgroup$
                  – dekuShrub
                  May 22 '18 at 15:37






                  $begingroup$
                  steepest ascent, does that mean that for example $nabla f = (a,b)$ gives us the fastest growing direction $(a,b)$. And from this that we should increase $x$ and $y$ with a scalar times $a$ and $b$ respectively in order to increase the function value $f$ as fast as possible?
                  $endgroup$
                  – dekuShrub
                  May 22 '18 at 15:37













                  7












                  $begingroup$

                  Be careful that directional derivative of a function is a scalar while gradient is a vector.



                  The only difference between derivative and directional derivative is the definition of those terms. Remember:




                  • Directional derivative is the instantaneous rate of change (which is a scalar) of $f(x,y)$ in the direction of the unit vector $u$.

                  • Derivative is the rate of change of $f(x,y)$, which can be thought of the slope of the function at a point $(x_0,y_0)$.






                  share|cite|improve this answer









                  $endgroup$


















                    7












                    $begingroup$

                    Be careful that directional derivative of a function is a scalar while gradient is a vector.



                    The only difference between derivative and directional derivative is the definition of those terms. Remember:




                    • Directional derivative is the instantaneous rate of change (which is a scalar) of $f(x,y)$ in the direction of the unit vector $u$.

                    • Derivative is the rate of change of $f(x,y)$, which can be thought of the slope of the function at a point $(x_0,y_0)$.






                    share|cite|improve this answer









                    $endgroup$
















                      7












                      7








                      7





                      $begingroup$

                      Be careful that directional derivative of a function is a scalar while gradient is a vector.



                      The only difference between derivative and directional derivative is the definition of those terms. Remember:




                      • Directional derivative is the instantaneous rate of change (which is a scalar) of $f(x,y)$ in the direction of the unit vector $u$.

                      • Derivative is the rate of change of $f(x,y)$, which can be thought of the slope of the function at a point $(x_0,y_0)$.






                      share|cite|improve this answer









                      $endgroup$



                      Be careful that directional derivative of a function is a scalar while gradient is a vector.



                      The only difference between derivative and directional derivative is the definition of those terms. Remember:




                      • Directional derivative is the instantaneous rate of change (which is a scalar) of $f(x,y)$ in the direction of the unit vector $u$.

                      • Derivative is the rate of change of $f(x,y)$, which can be thought of the slope of the function at a point $(x_0,y_0)$.







                      share|cite|improve this answer












                      share|cite|improve this answer



                      share|cite|improve this answer










                      answered Feb 2 '14 at 20:26









                      NasuSamaNasuSama

                      2,5251135




                      2,5251135























                          2












                          $begingroup$

                          Yes, the gradient is given by the row vector whose elements are the partial derivatives of $g$ with respect to $x$, $y$, and $z$, respectively. In your case the gradient at $(x,y,z)$ is hence $[-3x^2,9y^2,2z+2]$. The gradient at $(2,1,-1)$ is therefore $[-12,9,0]$.



                          The directional derivative at a point $(x,y,z)$ in direction $(u,v,w)$ is the gradient multiplied by the direction divided by its length. So if $u^2+v^2+w^2=1$ then the directional derivative at $(x,y,z)$ in direction $(u,v,w)$ is just $-3x^2 u + 9y^2v + (2z+2)w$.



                          If $u^2+v^2+w^2neq 1$ then you should divide the number above by $sqrt{u^2+v^2+w^2}$.



                          In sum, the gradient is a vector with the slope of the function along each of the coordinate axes whereas the directional derivative is the slope in an arbitrary specified direction.






                          share|cite|improve this answer











                          $endgroup$


















                            2












                            $begingroup$

                            Yes, the gradient is given by the row vector whose elements are the partial derivatives of $g$ with respect to $x$, $y$, and $z$, respectively. In your case the gradient at $(x,y,z)$ is hence $[-3x^2,9y^2,2z+2]$. The gradient at $(2,1,-1)$ is therefore $[-12,9,0]$.



                            The directional derivative at a point $(x,y,z)$ in direction $(u,v,w)$ is the gradient multiplied by the direction divided by its length. So if $u^2+v^2+w^2=1$ then the directional derivative at $(x,y,z)$ in direction $(u,v,w)$ is just $-3x^2 u + 9y^2v + (2z+2)w$.



                            If $u^2+v^2+w^2neq 1$ then you should divide the number above by $sqrt{u^2+v^2+w^2}$.



                            In sum, the gradient is a vector with the slope of the function along each of the coordinate axes whereas the directional derivative is the slope in an arbitrary specified direction.






                            share|cite|improve this answer











                            $endgroup$
















                              2












                              2








                              2





                              $begingroup$

                              Yes, the gradient is given by the row vector whose elements are the partial derivatives of $g$ with respect to $x$, $y$, and $z$, respectively. In your case the gradient at $(x,y,z)$ is hence $[-3x^2,9y^2,2z+2]$. The gradient at $(2,1,-1)$ is therefore $[-12,9,0]$.



                              The directional derivative at a point $(x,y,z)$ in direction $(u,v,w)$ is the gradient multiplied by the direction divided by its length. So if $u^2+v^2+w^2=1$ then the directional derivative at $(x,y,z)$ in direction $(u,v,w)$ is just $-3x^2 u + 9y^2v + (2z+2)w$.



                              If $u^2+v^2+w^2neq 1$ then you should divide the number above by $sqrt{u^2+v^2+w^2}$.



                              In sum, the gradient is a vector with the slope of the function along each of the coordinate axes whereas the directional derivative is the slope in an arbitrary specified direction.






                              share|cite|improve this answer











                              $endgroup$



                              Yes, the gradient is given by the row vector whose elements are the partial derivatives of $g$ with respect to $x$, $y$, and $z$, respectively. In your case the gradient at $(x,y,z)$ is hence $[-3x^2,9y^2,2z+2]$. The gradient at $(2,1,-1)$ is therefore $[-12,9,0]$.



                              The directional derivative at a point $(x,y,z)$ in direction $(u,v,w)$ is the gradient multiplied by the direction divided by its length. So if $u^2+v^2+w^2=1$ then the directional derivative at $(x,y,z)$ in direction $(u,v,w)$ is just $-3x^2 u + 9y^2v + (2z+2)w$.



                              If $u^2+v^2+w^2neq 1$ then you should divide the number above by $sqrt{u^2+v^2+w^2}$.



                              In sum, the gradient is a vector with the slope of the function along each of the coordinate axes whereas the directional derivative is the slope in an arbitrary specified direction.







                              share|cite|improve this answer














                              share|cite|improve this answer



                              share|cite|improve this answer








                              edited Apr 26 '17 at 1:50









                              Community

                              1




                              1










                              answered Feb 2 '14 at 20:38









                              JPiJPi

                              3,882620




                              3,882620























                                  0












                                  $begingroup$

                                  In simple words, directional derivative can be visualized as slope of the function at the given point along a particular direction. For example partial derivative w.r.t x of a function can also be written as directional derivative of that function along x direction.



                                  Gradient is a vector and for a given direction, directional derivative can be written as projection of gradient along that direction.



                                  Please go through this link to have a clear idea:
                                  http://omega.albany.edu:8008/calc3/directional-derivatives-dir/define-m2h.html






                                  share|cite|improve this answer









                                  $endgroup$


















                                    0












                                    $begingroup$

                                    In simple words, directional derivative can be visualized as slope of the function at the given point along a particular direction. For example partial derivative w.r.t x of a function can also be written as directional derivative of that function along x direction.



                                    Gradient is a vector and for a given direction, directional derivative can be written as projection of gradient along that direction.



                                    Please go through this link to have a clear idea:
                                    http://omega.albany.edu:8008/calc3/directional-derivatives-dir/define-m2h.html






                                    share|cite|improve this answer









                                    $endgroup$
















                                      0












                                      0








                                      0





                                      $begingroup$

                                      In simple words, directional derivative can be visualized as slope of the function at the given point along a particular direction. For example partial derivative w.r.t x of a function can also be written as directional derivative of that function along x direction.



                                      Gradient is a vector and for a given direction, directional derivative can be written as projection of gradient along that direction.



                                      Please go through this link to have a clear idea:
                                      http://omega.albany.edu:8008/calc3/directional-derivatives-dir/define-m2h.html






                                      share|cite|improve this answer









                                      $endgroup$



                                      In simple words, directional derivative can be visualized as slope of the function at the given point along a particular direction. For example partial derivative w.r.t x of a function can also be written as directional derivative of that function along x direction.



                                      Gradient is a vector and for a given direction, directional derivative can be written as projection of gradient along that direction.



                                      Please go through this link to have a clear idea:
                                      http://omega.albany.edu:8008/calc3/directional-derivatives-dir/define-m2h.html







                                      share|cite|improve this answer












                                      share|cite|improve this answer



                                      share|cite|improve this answer










                                      answered Jun 5 '14 at 0:00









                                      chandrakant_kchandrakant_k

                                      11




                                      11























                                          0












                                          $begingroup$



                                          • A Directional Derivative is a value which represents a rate of change


                                          • A Gradient is an angle/vector which points to the direction of the steepest ascent of a curve.


                                          Let us take a look at the plot of the following function:



                                          $$ bbox[lightgray] {f(x) = -x^2+4}qquad (1)$$



                                          enter image description here



                                          The 1st derivative of the function is:



                                          $$ bbox[lightgray] {frac{dy}{dx} = -2x}qquad (2)$$



                                          Putting $x=-1$ in $(2)$ we obtain,



                                          $implies frac{dy}{dx} = frac{rise}{run}= 2 ... ... ...qquad (3)$



                                          Also,



                                          $tan theta = 2$
                                          $implies theta = tan^{-1}(2)$
                                          $implies theta = 0.964 $ radian



                                          So, $theta = 55.23 ^circ ... ... ...qquad (4)$



                                          .



                                          Similarly, putting $x=-2$ in $(2)$ we obtain,



                                          $implies frac{dy}{dx} = frac{rise}{run}= 4 ... ... ...qquad (5)$



                                          So, $theta = 57.25 ^circ ... ... ...qquad (6)$



                                          enter image description here



                                          So, the answer is:




                                          • (3) and (5) are Directional Derivatives.

                                          • Directional Derivatives are scalar values.


                                          And,




                                          • (4) and (6) are Gradients.

                                          • Gradients are vector values.






                                          share|cite|improve this answer









                                          $endgroup$


















                                            0












                                            $begingroup$



                                            • A Directional Derivative is a value which represents a rate of change


                                            • A Gradient is an angle/vector which points to the direction of the steepest ascent of a curve.


                                            Let us take a look at the plot of the following function:



                                            $$ bbox[lightgray] {f(x) = -x^2+4}qquad (1)$$



                                            enter image description here



                                            The 1st derivative of the function is:



                                            $$ bbox[lightgray] {frac{dy}{dx} = -2x}qquad (2)$$



                                            Putting $x=-1$ in $(2)$ we obtain,



                                            $implies frac{dy}{dx} = frac{rise}{run}= 2 ... ... ...qquad (3)$



                                            Also,



                                            $tan theta = 2$
                                            $implies theta = tan^{-1}(2)$
                                            $implies theta = 0.964 $ radian



                                            So, $theta = 55.23 ^circ ... ... ...qquad (4)$



                                            .



                                            Similarly, putting $x=-2$ in $(2)$ we obtain,



                                            $implies frac{dy}{dx} = frac{rise}{run}= 4 ... ... ...qquad (5)$



                                            So, $theta = 57.25 ^circ ... ... ...qquad (6)$



                                            enter image description here



                                            So, the answer is:




                                            • (3) and (5) are Directional Derivatives.

                                            • Directional Derivatives are scalar values.


                                            And,




                                            • (4) and (6) are Gradients.

                                            • Gradients are vector values.






                                            share|cite|improve this answer









                                            $endgroup$
















                                              0












                                              0








                                              0





                                              $begingroup$



                                              • A Directional Derivative is a value which represents a rate of change


                                              • A Gradient is an angle/vector which points to the direction of the steepest ascent of a curve.


                                              Let us take a look at the plot of the following function:



                                              $$ bbox[lightgray] {f(x) = -x^2+4}qquad (1)$$



                                              enter image description here



                                              The 1st derivative of the function is:



                                              $$ bbox[lightgray] {frac{dy}{dx} = -2x}qquad (2)$$



                                              Putting $x=-1$ in $(2)$ we obtain,



                                              $implies frac{dy}{dx} = frac{rise}{run}= 2 ... ... ...qquad (3)$



                                              Also,



                                              $tan theta = 2$
                                              $implies theta = tan^{-1}(2)$
                                              $implies theta = 0.964 $ radian



                                              So, $theta = 55.23 ^circ ... ... ...qquad (4)$



                                              .



                                              Similarly, putting $x=-2$ in $(2)$ we obtain,



                                              $implies frac{dy}{dx} = frac{rise}{run}= 4 ... ... ...qquad (5)$



                                              So, $theta = 57.25 ^circ ... ... ...qquad (6)$



                                              enter image description here



                                              So, the answer is:




                                              • (3) and (5) are Directional Derivatives.

                                              • Directional Derivatives are scalar values.


                                              And,




                                              • (4) and (6) are Gradients.

                                              • Gradients are vector values.






                                              share|cite|improve this answer









                                              $endgroup$





                                              • A Directional Derivative is a value which represents a rate of change


                                              • A Gradient is an angle/vector which points to the direction of the steepest ascent of a curve.


                                              Let us take a look at the plot of the following function:



                                              $$ bbox[lightgray] {f(x) = -x^2+4}qquad (1)$$



                                              enter image description here



                                              The 1st derivative of the function is:



                                              $$ bbox[lightgray] {frac{dy}{dx} = -2x}qquad (2)$$



                                              Putting $x=-1$ in $(2)$ we obtain,



                                              $implies frac{dy}{dx} = frac{rise}{run}= 2 ... ... ...qquad (3)$



                                              Also,



                                              $tan theta = 2$
                                              $implies theta = tan^{-1}(2)$
                                              $implies theta = 0.964 $ radian



                                              So, $theta = 55.23 ^circ ... ... ...qquad (4)$



                                              .



                                              Similarly, putting $x=-2$ in $(2)$ we obtain,



                                              $implies frac{dy}{dx} = frac{rise}{run}= 4 ... ... ...qquad (5)$



                                              So, $theta = 57.25 ^circ ... ... ...qquad (6)$



                                              enter image description here



                                              So, the answer is:




                                              • (3) and (5) are Directional Derivatives.

                                              • Directional Derivatives are scalar values.


                                              And,




                                              • (4) and (6) are Gradients.

                                              • Gradients are vector values.







                                              share|cite|improve this answer












                                              share|cite|improve this answer



                                              share|cite|improve this answer










                                              answered Dec 29 '18 at 17:02









                                              user366312user366312

                                              663318




                                              663318






























                                                  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%2f661195%2fdifference-between-the-gradient-and-the-directional-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

                                                  To store a contact into the json file from server.js file using a class in NodeJS

                                                  Redirect URL with Chrome Remote Debugging Android Devices

                                                  Dieringhausen