Gradient

Gradient is basically the vector representation of the partial derivatives.

Gradient of a function at point pp, basically gives the direction and the rate of fastest increase.

The gradient is represented as āˆ‡f\nabla f. Where

āˆ‡f=āˆ‚fāˆ‚xi+āˆ‚fāˆ‚yj\nabla f = \frac{\partial f}{\partial x} \mathbf i + \frac{\partial f}{\partial y} \mathbf j

Mostly Gradient is represented at column vector i.e

āˆ‡f=[āˆ‚fāˆ‚x,āˆ‚fāˆ‚y]T\nabla f = [\frac{\partial f}{\partial x} ,\frac{\partial f}{\partial y}]^T

Imagine a 3D graph, which is like hills and valleys. xxand yy are two dimension and f(x,y)f(x,y) determines the hieght of graph at x,yx,y. Now imagine a ball at any point on the surface of the graph. Now the if let the ball roll, the āˆ’āˆ‡f- \nabla fbasically gives you the direction of where the ball would roll towards.

Think of the gradient as a vector field, ie, the gradient at every point basically tells where does that point is moving to have the fastest rate of change in function. But why?

Gradient as the direction of Steepest Ascent

Relationship between Gradient and Derivative

Gradient is the change in the input. (Make this more clear), https://en.wikipedia.org/wiki/Gradient#Relationship_with_derivative

Graident and Trangent Plane

Tangent plane is the plane passing through the point and both tangent line at the point. Get get eqn of these tangent lines using the partial derivative.

Basically both the tangent lines lies in the tangent plane. And two lines passing through a plane are enough to get a unique plane equation.

Resources

Last updated