Directional Derivative
Last updated
Last updated
So in partial derivatives, you only consider the derivative when changing one of the variable while keeping others fixed. So in case of , we you find , you are basically cutting the graph at fixed , and now just changing. Similar of partial wrt , you keep x constant.
But in multivariate functions, you can calculate the derivative in multiple directions and not just two. For example you can ask about the derivative in the direction [1,2] ie if changes 1 unit and changes 2 unit.
Imagine 3D graph, with , now here imagine vertical planes that cuts through the graph. is when you are cutting the graph with a plane at some where plane is parallel to plane. Similary for . But there are multiple more vertical planes possible that goes cuts trough the graph.
So the directional derivative allows for us to calculate the derivative in the direction of the plane that cuts the graph.
Directional Derivative is basically the rate of change in some particular direction. Basically, when you partial derivative, you measure the delta in output for delta in the input.
Now, in case when the input is multidimensional, i.e it's a vector. You can measure the delta in output when the delta in the input in some particular direction and not just in or direction.
Hence mathematically, the direction derivative is:
So basically this gives you the derivative along the direction . But not here that just supposed to represent the direction and hence it's magnitude it's sort of irrelevant, but the derivative will change let's say if you have .