What is Gradient: Definition and 720 Discussions

In vector calculus, the gradient of a scalar-valued differentiable function f of several variables is the vector field (or vector-valued function)




f


{\displaystyle \nabla f}
whose value at a point



p


{\displaystyle p}
is the vector whose components are the partial derivatives of



f


{\displaystyle f}
at



p


{\displaystyle p}
. That is, for



f
:


R


n




R



{\displaystyle f\colon \mathbb {R} ^{n}\to \mathbb {R} }
, its gradient




f
:


R


n





R


n




{\displaystyle \nabla f\colon \mathbb {R} ^{n}\to \mathbb {R} ^{n}}
is defined at the point



p
=
(

x

1


,

,

x

n


)


{\displaystyle p=(x_{1},\ldots ,x_{n})}
in n-dimensional space as the vector:





f
(
p
)
=


[







f




x

1





(
p
)













f




x

n





(
p
)



]


.


{\displaystyle \nabla f(p)={\begin{bmatrix}{\frac {\partial f}{\partial x_{1}}}(p)\\\vdots \\{\frac {\partial f}{\partial x_{n}}}(p)\end{bmatrix}}.}
The nabla symbol






{\displaystyle \nabla }
, written as an upside-down triangle and pronounced "del", denotes the vector differential operator.
The gradient is dual to the total derivative



d
f


{\displaystyle df}
: the value of the gradient at a point is a tangent vector – a vector at each point; while the value of the derivative at a point is a cotangent vector – a linear function on vectors. They are related in that the dot product of the gradient of f at a point p with another tangent vector v equals the directional derivative of f at p of the function along v; that is,




f
(
p
)


v

=




f




v




(
p
)
=
d

f


v



(
p
)


{\textstyle \nabla f(p)\cdot \mathbf {v} ={\frac {\partial f}{\partial \mathbf {v} }}(p)=df_{\mathbf {v} }(p)}
.
The gradient vector can be interpreted as the "direction and rate of fastest increase". If the gradient of a function is non-zero at a point p, the direction of the gradient is the direction in which the function increases most quickly from p, and the magnitude of the gradient is the rate of increase in that direction, the greatest absolute directional derivative. Further, the gradient is the zero vector at a point if and only if it is a stationary point (where the derivative vanishes). The gradient thus plays a fundamental role in optimization theory, where it is used to maximize a function by gradient ascent.
The gradient admits multiple generalizations to more general functions on manifolds; see § Generalizations.

View More On Wikipedia.org
  1. I

    Trajectory using gradient and differential equations

    [SOLVED] Trajectory using gradient and differential equations Homework Statement A heat-seeking particle is located at the point P on a flat metal plate whose temperature at a point (x, y) is T(x, y). Find parametric equations for the trajectory of the particle if it moves continuously in...
  2. S

    Minimization of the square of the gradient in a volume

    Homework Statement Find an expression involving the function \phi(x_1, x_2, x_3) that has a minimum average value of the square of its gradient within a certain volume V of space. Homework Equations We are studying functionals, though so far it has only been of one variable. We're...
  3. C

    Relative error problem in vector calculus gradient intro

    1. (a) Write a formula for the number in terms of the perimeter L and the area A of a circle. (b) Write the differential for your answer in part (a). (c) Suppose that L and A are determined experimentally. Write the resulting relative error in using your answer in part (b). 3...
  4. E

    Gradient ascent with constraints

    Hi, I have a convex function F(x,y) that I want to optimize. Since, derivative of F does not closed form, I want to use gradient ascent. The problem is, I have constrains on x and y. I don't know how to incorporate this into gradient search. If there was a closed form, I would use Lagrange...
  5. G

    Gradient Ascent: Finding Maximum of a Scalar Function

    hi all, Couple of months ago I had an entrance exam wherein this problem appeared. (I hope this is what it was). For a scalar function f\left(x\right)=f\left(x_{1},x_{2},...,x_{n}\right) the gradient is given as \nabla f=\left(\frac {\partial f \left(x\right)} {\partial x_1},\frac...
  6. P

    Making a stable thermal gradient w/ copper wire?

    Hi all, Biologist posting here. We have a thermal gradient that doesn't seem very stable. Right now, our setup is the following: hot water runs through one aluminum bar and cold water runs through another. the two bars are about 25cm apart. There is a thin aluminum plate resting on the...
  7. H

    Gradient of the tangent to the curve question

    Homework Statement The point P (1/2, 0) lies on the graph of the curve of y=sin(2x-1) Find the gradient of the tangent to the curve of P Homework Equations ...I don't know The Attempt at a Solution I don't know where to start with this problem
  8. D

    Maximizing Scalar Increase: Understanding the Direction of the Gradient

    Hi. The book I'm reading says "We define the vector that represents both the magnitude and the direction of the maximum space rate of increase of a scalar as the gradient of that scalar". But how does one know in which direction the maximum increase is?
  9. E

    Gradient in spherical coordinates

    Homework Statement Given the gradient del = x-hat d/dx + y-hat d/dy + z-hat d/dz in rectangular coordinates, how would you write that in spherical coordinates. I can transform the derivatives into spherical coordinates. But then I need to express the rectangular basis vectors in terms of...
  10. A

    What Does the Matrix A Represent in Manifold Gradient Calculations?

    Hi all: I have just met a problem. If say there is a triangle ijk on a manifold, D(i), D(j), D(k) are the geodesic distances from a far point to i,j,k respectively. Then g = [D(i) - D(k); D(j) - D(k)], what does g describe? Does is describe the gradient of the vertex k? If u = Vi-Vk, v =...
  11. S

    Finding the New Gradient: A Statistical Tables Book Guide

    Homework Statement I have have a set of data pairs (x, y); (1, a) (2, b) (3, c) (4, d) (5, e) (6, f) (7, g) The least squares regression line for the this set is y=3x-12 Determine the new gradient of this line if the original set of scores has been transformed to; (6, a+3)...
  12. K

    Partial derivatives & gradient

    http://www.geocities.com/asdfasdf23135/advcal4.JPG Let f(x,y)=depth. What I've seen in the model solutions is that they used the estimate that the partial dervaitve of f with respect to x evaluate at (0,0) is equal to [f(100,0) - f(0,0)] / 100 = 1/4, & the partial dervaitve of f with...
  13. N

    Gradient of functions with multiple variables

    Homework Statement The gradient of f(x,y) = x^2-x+y is: gradient_f(x,y) = (2x-1 ; 1). To find gradient_f(x,y), I set 2x-1 = 0 and 1 = 0 - so there are no points, where gradient_f(x,y) is zero because of 1 != 0?
  14. T

    Differentiation find the gradient of the curve Problem

    The problem The Diagram shows the graph of y=x^3-12x+17 A is the maximum point on the curve C is the minimum point on the curve The curve crosses the y-axis at B For the equation find dy/dx, y=x^3-12x+17 (DONE) Heres the problem find the gradient of the curve at B now what am I supposed to...
  15. Bob Walance

    Dr. Robert Forward's curvature gradient detector

    In a response by Pervect to another topic, he mentioned a device called a Forward mass detector, named after its inventor Dr. Robert Forward. It's an intersting device with the claim that it can detect small gradients in the curvature of spacetime. I couldn't find any info regarding...
  16. J

    Gradient question for fluid simulation

    Simple gradient question.. I have a kernel function that determines the influence of each water droplet given a radius r: (10/pi*h^5)*(h-r)^3 The gradient of that is: (-30/pi*h^5)*(h-r)^2 But 'r' is not a vector, its a scalar, its just the distance to the point in question. So how do...
  17. F

    Gradients of 1/r: Solutions from Griffiths' Electrodynamics

    Homework Statement This is from Griffiths' Intro to Electrodynamics. He is discussing the field of a polarized object of dipole moment per unit volume \vec{P} viewed at \vec{r} . He then states: \nabla ' \left( \frac{1}{r} \right) = \frac{ \hat{r}}{r^2} Where \nabla ' denotes...
  18. J

    Derive expression for gradient operator in spherical coordinates

    I need to derive the expression for the gradient operator in spherical coordinates. I know the following R =sqrt(x^2+y^2+z^2) theta, call it %, = arctan sqrt(x^2+y^2)/z phi, arctan (y/x) Using dT/dx= dT/dR*dr/dx+dT/d%*d%/dx+dT/dphi*dphi/dx, do partial derivates... dR/dx =...
  19. H

    Evaluating Stochastic Gradient with Random Grid

    Hi, I have a random grid, meaning that each cell consists of a random number. I need to evaluate the gradient. I've tried to apply a basic Euler formula (u_(i+1) - u_(i-1))/2dx but since the values can fluctuate a lot, fluctuations are even stronger for the gradient... I'm thinking...
  20. D

    Help with paper on gradient descent evolution of surfaces

    Hi all, I'm trying to understand someone's PhD thesis on the topic of variational surface evolution and its application in computer vision, and I'm having trouble working out how he evaluates some particular types of expressions involving the gradient. I think it'll be easier if I specify the...
  21. W

    Points where gradient is zero (plotting it)

    Homework Statement A curve has equation: x^2+2xy-3y^2+16=0 Find the co-ordinates of the points on the curve where dy/dx=0 I think I was able to differentiate it and get the coordinates fine, but I'm wanting to plot the function in Mathematica (5.2) to see if I'm right or not (BTW, I...
  22. O

    When gradient is parallel to position vector

    Homework Statement suppose that grad of f(x,y,z) is always parallel to the position vector xi+yj+zk. show that f(0,0,a)=f(0,0,-a) for any a. The Attempt at a Solution grad of f= fx(x,y,z)i+fy(x,y,z)j+fz(x,y,z)k ; then gradf (dot) pos.vector = |gradf|*|pos.vector| (since cos(teta)=1 )...
  23. O

    How Do You Determine the Angle Between Gradient Vectors in Parametric Formulas?

    Homework Statement Find the angle between (grad)u and (grad)v at all points with x!=0 and y!= 0 if x =( e^u)*(cos v) and y = (e^u) (sinv) . The Attempt at a Solution is not here x and y a function of u and v? How are we going to find grad of u and v? Should we pull out u and y from...
  24. B

    Gradient, potential and electric field

    Hi , I need help about procedure on this problem: Consider a sphere of charge density ρv= 2/r[C/m3] having a radius a (no charge outside), centered at the origin. Perform the following steps: a) Calculate the electric field both inside and outside the sphere using Gauss’ law. b) Calculate...
  25. K

    Maximizing Gradient for Steep Climb on Hill Surface

    "You are standing at the point (30, 20, 5) on a hill with the shape of the surface z=100exp((-x^2+3y^2)/701). In what direction should you proceed in order to climb most steeply?" SInce the grad vector allegedly points in the most steep direction of the surface, I guess I'll have to compute...
  26. K

    What is the purpose of the gradient vector in calculus?

    What is the gradient vector, really? My textbook both states that it is a vector normal to a certain point on a surface, but also that it is a vector that points in the direction with the maximum slope of a surface. I find this slightly ambiguous.
  27. K

    Directional derivative and gradient vector

    Homework Statement Find the directional derivative of f=sqrt(xyz) at P(2,-1,-2) in the direction of v=i+2j-2k The Attempt at a Solution I calculate the gradient vector and obtain grad(f) at P= <1/2, 1, 1/2> Then I find the unit vector of v, which is <1/3, 2/3, -2/3> The...
  28. Y

    Finding a Point on the Line Joining Two Points on a Plane

    Sorry to ask yet another question, but it's very hard to contact my teacher. Homework Statement f(x,y,z) = x^2-yz+z^2 a = (0,1,1), b = (1,3,2). Find a point c on the line joining a and b such that; f(b)-f(a)=\nabla f(c)\bullet(b-a) 2. The attempt at a solution f(b) =...
  29. K

    Finding Gradient Vector of f(x,y,z) = 2*sqrt(xyz) at Point (3,-4,-3)

    I want to find the gradient vector of f(x,y,z)=2*sqrt(xyz) at the point ((3,-4,-3). I find the partials and set in for the x-, y-, and z-values, and find the grad. vector (2, (1,5), 2). The right solution is (2, (-1,5), -2), so I have obviously made a mistake with the sqrt. How do I know...
  30. V

    Symbolic computation of gradient

    I'm wondering if there are any convenient symbolic "shortcuts" (i.e. abuse of notation) that enable one to compute the gradient with respect to a certain vector, without decomposing the computation into the vector's individual elements and differentiating with respect to each element. For...
  31. T

    What Is the Maximum Value of Dv f(1,2) and Its Corresponding Direction v?

    when u=-0.6i+0.8j, Du f(1,2)=? gradient f=(18,9) I use unit vector dot (-0.6,0.8) dotted with the gradient f, which turns out to be -3.6 so here is the question. A: the maximum value of Dv f(1,2) is=? B: this maximum occurs when v=(?,?) I'm confued with the Dv thing. For my guess is that I...
  32. M

    Temperature Gradient Questions

    Is there a direction A in which the rate of change of the temperature function T(x,y,x)=2xy - yz at P(1,-1,1) is -3ºC/ft? Give reasons for your answer. For this problem I found the gradient of at the point P. So \nabla f = 2y|_p \mathbf{i} + 2x-z|_p \mathbf{j} - y|_p \mathbf{k} which I...
  33. B

    Temperature Gradient: Explained in Thermodynamics

    Hi, can someone please explain to me what is meant by a temperature gradient in the context of thermodynamics? Something I've been reading goes along the lines of "...To reverse the direction of conduction would require a reversal of the temperature gradient in the conductor. Thermal conduction...
  34. C

    Help on estimation the gradient of a sigal sequence

    Dear All, I have a signal, which is a time series from measuring some quantity. The trend of the signal is decreasing. However, due to noise, the signal is fluctuating. Is there some method to get a good estimation of the gradient of the signal, i.e. the average reduction of the quantity...
  35. M

    Gradient Of an Unknown Function

    Hello, The latest research of mine concerning the derivative of a function without using diffrentiation and even without having the knowledge of what the equation of the funtion is, is attached to the post, please send me your comments on this latest document of mine. With regards. Mubashir
  36. J

    What is a Gradient and How is it Calculated in Image Processing?

    I was wondering if anyone could help me with this rather arbitrary math problem. I need a description of what a gradient is in mostly non-math terms. I know a gradient is a sort of slope, but I don't understand where you would draw the line of what is and what is not a gradient. Meaning which...
  37. E

    Covariant derivative of the gradient

    If we define the Gradient of a function: \uparrow u= Gra(f) wich is a vector then what would be the covariant derivative: \nabla _{u}u where the vector u has been defined above...i know the covariant derivative is a vector but i don,t know well how to calculate it...thank you.
  38. L

    Gradient, divegrance and curl? del operator

    Gradient, divegrance and curl? del operator! in static magnetic and electric fields, the del operator was introduced and then used to describe three different quantities.. i still can't quite figure out the physical meaning and difference between the curl,divergance and the gradient in terms of...
  39. U

    Gradient Units: For Hooke's Law Graphs

    now, this is a rather basic question, but, i can't seem to find the answer... so anyhow, i always thought that a gradient diddent need units and was just used to compare the change between two things, but i think i may be wrong. so, if you are plotting extension (m) over force (n) for a...
  40. S

    How can the electric polarization be induced the strain gradient?

    How can the electric polarization be induced by the strain gradient? It is said in some papers the strain gradient can induce electric polarization in solid materials. Why can it happen? Who can explain this phenomenon to me?
  41. tandoorichicken

    Is the Gradient Always Normal to the Flux?

    Is it always true that the gradient of a function is normal to the flux coming out of the surface represented by the function?
  42. E

    Can a Function be Constant on an Open Ball with a Zero Gradient at All Points?

    Let f : Rn -> R. Suppose that grad(f(x)) = 0 for all x in some open ball B(a, r). Show that f is constant on B(a, r). [Hint: use part (a) to make this a problem about a function of one variable] part (a) is show that for any two points x, y in B there is a straight line starting at x...
  43. U

    Finding Gradient of Temperature at (x,y,z)

    Suppose distances are measured in lightyears and that the temperature T of a gaseous nebula is inversely proportional to the distance from a fixed point, which is the origin. The temperature 1 lightyear from the origin is 100 degrees celsius. Find the gradient of T at (x,y,z). here's what I...
  44. B

    Defining Gradient for f(x)= ||x-a||

    One last question for tonight... If you let f: R^n ---> R (Euclidean n-space to real numbers) and f(x) = ||x-a|| for some fixed a, how would you define the gradient in terms of symbols and numbers (not words)?
  45. D

    Equations and Tangents for Curve C at Point P

    The gradient of the curve C is given by: dy/dx = (3x-1)2 the point P (1,4) lies on C. a) Find an equation of the normal to C at P. b) Find an equation for the curve C in the form y=f(x) c) using dy/dx = (3x-1)2 show that there is no point on C at which the tangent is parallel to the line...
  46. B

    Gradient and mean value theorem

    Hi please , can someone help me with this problem. I need to know the procedure. Let f(x,y)=x^3-xy. set a(0,1) and b(1,3). Find a point c on the line sement[ab] for which f(b)-f[a]= gradient(f[c]) * (b-a) Thank you B.
  47. P

    Units of Gradient for s x s vs m

    If we plot velocity in ms-1 over time in seconds, the gradient of the curve is acceleration or ms-2. If we plot time squared i.e. s x s over distance in metres, what are the units of the gradient? :redface:
  48. P

    Purpose of each of the operators , divergence, gradient and curl?

    purpose of each of the "operators", divergence, gradient and curl? Hi. Can anybody give me a reasonably simple explanation of what the purpose of each of the "operators", divergence, gradient and curl? (I've been looking but I never found something simple to understand) I know how to evaluate...
  49. D

    How Do You Calculate the Angle Between Two Surfaces at a Given Point?

    If someone could gtive me a general idea about how to approach these problems, I would be very grateful! Our class time was devoted to derivation rather than application. 1) Find the angle between the surfaces defined by r^2=9 and x+y+z^2=1 at the point (2,-2,1). 2) The height of a hill...
  50. H

    Vecctor analysis and got the mathematical formulae for gradient

    I was reading vecctor analysis and got the mathematical formulae for gradient but could not understand its physical meaning. What is the physical meaning of gradient of a scalar ? And of a vector . Also, I wanted to know the physical meanings of Divergence and Curl .
Back
Top