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. ognik

    MHB Gravity Gradient: Southward Displacement at $\phi = 30^{\circ}$

    Q: "The dependence of fee fall acceleration g on geographical latitude $\phi$ at sea level is given by $g=g_0\left(1+0.0053 Sin^2\phi\right)$. What is the southward displacement near $\phi = 30 ^{\circ}$ that changes g by 1 part in $10^8$?" This is in a section on gradient ($\nabla$) but I...
  2. morrobay

    Water Velocity and Pressure From 5 degree Gradient At 200 m

    1, Problem Statement. A resevoir releases water into a 2 meter diameter drain pipe that is 200 m long with a 5ο gradient drop. Assume pipe is full without friction. If v0 is zero what is velocity at 200 meter discharge ? And what is the pressure in atm ? The height at pipe end is - 17...
  3. Titan97

    Interpreting Curl in Vector Fields: ∇×v

    In a river, water flows faster in the middle and slower near the banks of the river and hence, if I placed a twig, it would rotate and hence, the vector field has non-zero Curl. Curl{v}=∇×v But I am finding it difficult to interpret the above expression geometrically. In scalar fields, the...
  4. B

    Frequency encoding gradient in MRI

    Hi, I am studying the physics of MRI (from a conceptual NOT mathematical point of view...please don't answer with heavy maths). I understand how we can obtain a signal from a specific slice along our Z-axis. I know that we then apply a graded magentic field (frequency encoded gradient) along...
  5. Titan97

    Geometrical meaning of Curl(Gradient(T))=0

    What is the geometrical meaning of ##\nabla\times\nabla T=0##? The gradient of T(x,y,z) gives the direction of maximum increase of T. The Curl gives information about how much T curls around a given point. So the equation says "gradient of T at a point P does not Curl around P. To know about...
  6. Isaac0427

    Gradient equal to multiplying by vector?

    Hi guys! So I have been researching the electric field, and I have come upon some interesting equations that confused me a little (all from wikipedia): ,, and with V being the same as psi. Doing the algebra, I would get (Q/4πε0)*(r-hat/|r|2)=-∇(Q/4πε0r)-∂A/∂t. Now in the case that A does not...
  7. F

    Find an equation for the tangent plane to a surface (using gradient)

    Homework Statement Find an equation for the tangent plane to a surface xz^2 +x^2y-z=-1 at the point (1,-3,2). Homework Equations (\vec{r}-\vec{r_p}) \cdot \nabla f(\vec{r_p}) = 0 The Attempt at a Solution [/B] First I found the gradient of the function \nabla f = (z^2+2xy)\hat{i} + x^2...
  8. T

    I Confusion Over Hydraulic Gradient, L parameter

    I've come across two different approaches to quantifying what l is in the equation for hydraulic gradient Δh/L. In this first picture L is the parallel distance along the datum across the reference plane But in this second picture L is the length along the pipe Why are the two L's...
  9. Antonius

    Potential Gradient [Question(s) regarding the concept]

    [Note from mentor: This was originally posted in a non-homework forum so it doesn't have the homework template.] ----------------------------------------- Problem: The surface of a solid metal sphere (radius r = 4.58 cm) is at potential V = 9,851 Volts. Find the magnitude of the potential...
  10. duc

    Action of gradient exponential operator

    Homework Statement Find the action of the operator ## e^{\vec{a} . \vec{\nabla}} \big( f(\theta,\phi) . g(r) \big) ## where \nabla is the gradient operator given in spherical coordinates, f and g are respectively scalar functions of the angular part ## ( \theta, \phi) ## and the radial part ##...
  11. N

    Curl of Gradient of a Scalar Field

    Hello, new to this website, but one question that's been killing me is how can curl of a gradient of a scalar field be null vector when mixed partial derivatives are not always equal?? consider Φ(x,y,z) a scalar function consider the determinant [(i,j,k),(∂/∂x,∂/∂y,∂/∂z),(∂Φ/∂x, ∂Φ/∂y, ∂Φ/∂z)]...
  12. Cygnus_A

    Gradient version of divergence theorem?

    So we all know the divergence/Gauss's theorem as ∫ (\vec∇ ⋅ \vec v) dV = ∫\vec v \cdot d\vec S Now I've come across something labeled as Gauss's theorem: \int (\vec\nabla p)dV = \oint p d\vec S where p is a scalar function. I was wondering if I could go about proving it in the following way...
  13. Saracen Rue

    How do I find the gradient of a 3D vector?

    Let's say I have point A(2, 6, 0) and B(3, -1, -2) and wanted to find the gradient of the vector joining these two points. I know how to find the vector representing the line joining these points: OA = 2i + 6j , OB = 3i - j - 2k AB = AO + OB AB = -OA + OB AB = -(2i + 6j) + 3i - j - 2k AB = -2i...
  14. Z

    Help with a novel: uses of a time gradient?

    Hello! I had a username on here from a few years ago (the site looked different then), but I can't remember the email or password, so I humbly return to the community as a noob. I am working on a short science fiction novel, and I could use a little informed insight. The planet on which the...
  15. B

    Understanding the Gradient in Different Coordinate Systems

    Sorry again for all these ongoing question as I try to fix my math deficiencies. (Back to working on differential forms.) So... I understand that the equation of steepest ascent/descent in Cartesian coordinates is written: dxi/dt = ∂f/∂xi And I can follow the "physical interpretations" of...
  16. Alexandre

    How to prove Momentum = Gradient of Action?

    How can show that momentum is the gradient of the action for the free particle? I tried it like this for one dimensional case: s=\int Ldt ds=Ldt ds=\frac{mv^2}{2}dt\: Velocity is constant right? So I should be able to to this: \frac{ds}{dx}=\frac{mv^2}{2}\frac{dt}{dx} I'm not sure about...
  17. A

    Vector calculus - How to use the gradient?

    I have done part A (i think) really not sure where to begin with the rest of the parts, would appreciate a tip in the right direction, its revision for my first year physics exams in a few weeks. Consider the funtion T in the plane (x,y), given by T=ln(x^2 + y^2) at point 1,2 a) in which...
  18. Alain De Vos

    Why is a gradient not always a vector

    I learned gradient in 3D space. And gradients where always vectors, pointing in the direction of steepest ... and normal to the surface where the functions is constant. But reading one-forms , a gradient of a function is not always a vector and it has something to do with metric... Can you proof...
  19. B

    Gradient Vector is Orthogonal to the Level Curve

    Homework Statement Let f(x,y)=arctan(x/y) and u={(√2)/2,(√2)/2} d.) Verify that ∇fp is orthogonal to the level curve through P for P=(x,y)≠(0,0) where y=mx for m≠0 are level curves for f. Homework Equations The Attempt at a Solution ∇f={(y)/(x^2+y^2),(-y)/(x^2+y^2)} m=1/tan(k) where...
  20. NATURE.M

    Logistic regression: Stochastic Gradient Ascent (in python)

    So I've been following through a online course in machine learning offered by Stanford university. I have been recently reading up on logistic regression and stochastic gradient ascent. Here is a link to the original notes: http://cs229.stanford.edu/notes/cs229-notes1.pdf (pages 16-19). Here...
  21. H

    Derive grad T in spherical coordinates

    Homework Statement ##x=r\sin\theta\cos\phi,\,\,\,\,\,y=r\sin\theta\sin\phi,\,\,\,\,\,z=r\cos\theta## ##\hat{x}=\sin\theta\cos\phi\,\hat{r}+\cos\theta\cos\phi\,\hat{\theta}-\sin\phi\,\hat{\phi}## ##\hat{y}=\sin\theta\sin\phi\,\hat{r}+\cos\theta\sin\phi\,\hat{\theta}+\cos\phi\,\hat{\phi}##...
  22. T

    Product of the gradients of perpendicular lines proof help

    Okay I'm having a little trouble understanding a section of this proof about the product of the gradients of perpendicular lines given in my textbook. I'm going to type the proof out but there will be a link at the bottom to an online version of the textbook so you can see the accompanying...
  23. P

    Optimization using Newton's method gradient hessian

    Hello, This is my first post here. So I hope I'm posting in the right place, sorry if not. http://homes.soic.indiana.edu/classes/spring2012/csci/b553-hauserk/Newtons_method.pdf I am trying to solve the following numerical optimization function using Netwon's Method: So, if I have the gradient...
  24. M

    Determining the focal length of a gradient index lens

    Homework Statement There are three subquestions in this question, all marked bold. Let's consider a gradient index lens of thickness ##d##, whose refractive index changes with the distance from the axis with the following formula $$ n(r) = n_1 + a r^2 $$. Determine the lens's focal length...
  25. Logan Land

    MHB How to solve gradient with ln?

    To solve the gradient f when f = ln |r| do I start with differentiating each x,y,z term of the vector?Like ln|x| ln|y|...etc.
  26. F

    Scalar Fields and the Relationship between Gradient and Triple Product

    Homework Statement Let us consider three scalar fields u(x), v(x), and w(x). Show that they have a relationship such that f(u, v, w) = 0 if and only if (∇u) × (∇v) · (∇w) = 0. Homework EquationsThe Attempt at a Solution I could think nothing but...
  27. U

    Pressure gradient term in Navier-Stokes

    Hi, I've been thinking about the Navier-Stokes equations and trying to build skill in implementing it in various situations. In a particular situation, if I have a fluid flowing down an inclined surface such that it forms a film of finite height which is smaller than the length of flow, there...
  28. cvex

    How to get the laplacian of a scalar field?

    Hi, I am trying to calculate the laplacian of a scalar field but I might actually need something else. So basically I am applying reaction diffusion on a 2d image. I am reading the neighbours, multiplying them with these weights and then add them. This works great. I don't know if what I am...
  29. N

    What do the subscripts in the gradient notation represent?

    Hi! Two exerts from my lecture notes: "Assume we have a system of point masses in position ##\vec{r_i}## which are influenced by forces ##\vec{F_i}##." "Let's say you have a system where ##\vec{F_i} = - \nabla_i V##" In the second line, what does the notation ##\nabla_i## mean? Why is that...
  30. E

    Find two angles where the directional derivative is 1 at p0

    1. Given a function f(x,y) at (x0,y0). Find the two angles the directional derivative makes with the x-axis, where the directional derivative is 1. The angles lie in (-pi,pi]. 2. f(x,y) = sec(pi/14)*sqrt(x^2 + y^2) p0 = (6,6) 3. I use the relation D_u = grad(f) * u, where u is the...
  31. B

    Tensor Fields - Tensor Product of Two Gradient Operators

    I'm trying to re-derive a result in a paper that I'm struggling with. Here is the problem: I wish to calculate (\nabla \otimes \nabla) h where \nabla is defined as \nabla = \frac{\partial}{\partial r} \hat{\mathbf{r}}+ \frac{1}{r} \frac{\partial}{\partial \psi} \hat{\boldsymbol{\psi}} and...
  32. F

    No idea how to word this. Finding the gradient with vector?

    Homework Statement I need to find Λ using the equation below (I think). Homework Equations A [/B]+ ∇Λ = 0 where A(x,y,z,t) = B\begin{pmatrix} x+y\\ x-y\\ 0 \end{pmatrix} The Attempt at a Solution Is this at all possible?
  33. Superposed_Cat

    3D gradient, X grad Δy/Δx, Z grad Δy/Δz what is Y grad?

    Hello all, I know 3d gradients are often represented by gradient vectors but in the current project I am working on it would be a lot more convenient for me to do it this way if possible, the X gradient is given by Δy/Δx, and the Z gradient by Δy/Δz how can one obtain the Y gradient?
  34. N

    Solving Gradient Problem (c): LHS ≠ RHS

    Homework Statement [/B] Solving part (c) which should be \overrightarrow{r}.(\nabla.\overrightarrow{r)}\neq\left(r\nabla\right)r 2. Homework Equations Let \nabla=\hat{i}\frac{\partial}{\partial x}+\hat{j}\frac{\partial}{\partial y}+\hat{k}\frac{\partial}{\partial z} and...
  35. D

    Horsepower vs hill gradient problem

    So, I have a car I'm tuning using a road dyno software. This software basically uses the gear ratio of the car, it's total weight, and the speed it moves the RPM to determine it's power output (HP and Torque) In order to use this software a flat road is needed. That works well and is very...
  36. N

    Calculating Divergence of a Gradient in Cartesian Coordinates

    Homework Statement Homework Equations The Attempt at a Solution (a)[/B] Divergence of a gradient is a Laplacian. (b) I suppose to do it in Cartesian coordinates. Let \nabla=\hat{i}\frac{\partial}{\partial x}+\hat{j}\frac{\partial}{\partial y}+\hat{k}\frac{\partial}{\partial z} and...
  37. U

    Pressure gradient across flat plate with flow is zero?

    So I learned recently that pressure gradient in the flow direction for flow over a flat plate is zero. However I don't understand this, because there has to be something that sets the flow in motion in the first place, and for fluids this has to be a pressure gradient. Could someone explain why...
  38. thegreengineer

    Directional derivative and gradient definition confusion

    Recently I started with multivariable calculus; where I have seen concepts like multivariable function, partial derivative, and so on. A week ago we saw the following concept: directional derivative. Ok, I know the math behind this as well as the way to compute the directional derivative through...
  39. N

    Graphical method to calculate power

    Homework Statement I have been asked to show a graphical, more accurate method to calculate power used when running up a flight of stairs. The method I have used previously is measuring the height of the stairs, recording my weight in Newtons, timing how long it takes to run from the bottom to...
  40. M

    Negative Gradient and Gradient Descent Method

    What is "Negative Gradient" ? and what is "Gradient Descent Method" ? What is the difference and relationship between them ? What is the benefit each of them ?
  41. V

    Reaction force due to the curvature and gradient drift

    We know that a charged particle will have a drift velocity in both a curved magnetic field and when there is a transverse spatial gradient in the magnitude of the magnetic field. This drift velocity is added to the rotation velocity around the the field line. In both cases the force vector on...
  42. L

    Calculating the Gradient of a Complex Exponential Function

    Homework Statement Calculate \nabla e^{i\vec{k}\cdot \vec{r}} Homework Equations \nabla f(r)=\frac{df}{dr}\nabla r=\frac{df}{dr}\frac{\vec{r}}{r} The Attempt at a Solution I have a problem. I know result =\nabla e^{i\vec{k}\cdot \vec{r}}=i\vec{k} e^{i\vec{k}\cdot \vec{r}}
  43. C

    How Does Deceleration Affect Distance on a Slope?

    Hi guys, I'm new to this site so forgive me if I'm unfamiliar with any etiquette unique to here. We did a practical exercise the other day in class in which we accelerated a bogey to a certain RPM and then released it to accelerate up a ramp. We were then given a sheet of the measurements I have...
  44. BondKing

    Directional derivatives and the gradient vector

    If the unit vector u makes an angle theta with the positive x-axis then we can write u = <cos theta, sin theta> Duf(x, y) = fx(x,y) cos theta + fy(x,y) sin theta What if I am dealing with a function with three variables (x, y, z)? How can I find the directional derivative if I have been given...
  45. K

    Direction of the maximum gradient (scalar fields)

    If a question asks for the direction of the maximum gradient of a scalar field, is it acceptable to just use del(x) as the answer or is the question asking for a unit vector? Thanks
  46. R

    Proving Gradient of Electric Field in Coaxial Line Dielectric is 0

    Homework Statement Show that (Grad dot E) =0 in the dielectric of a coaxial line. (Hint: apply the divergence theorem to a portion of the dielectric.) Homework Equations Divergence theorem The Attempt at a Solution I think I need to show that grad dot E = p/epsilon = 0 I don't know - I'm...
  47. T

    Simple Pendulum: The gradient of the graph of T^2 against length

    I've been asked to investigate the value of g. My graph shows that the gradient is around 4.4 as when the length was 0.27m, the squared time period was 1.18s (since this is a T2 against L graph). My question is, of course, why? If I am detecting g, which is 9.81 on earth, why did I get such...
  48. countzander

    Gradient of a function containing a matrix?

    Homework Statement http://i.imgur.com/TlDOllQ.png Homework Equations As stated. The Attempt at a Solution [/B] I'm not sure how to slay this beast. I know the gradient is just a partial derivative and that the solution likely involves multiple partial derivatives, one for each element in the...
  49. F

    Confusion about gradient in classical mechanics

    I'm currently going over some mechanics notes and am confused about the following situation: In the book I'm looking at, it describes two particles absent of external forces, only exerting a force on each other. In deriving a potential energy equation for the two, it goes on to say that if the...
  50. S

    Antisymmetric gradient matrix?

    Does this operator (in 3D): ε_{ijk}∇_k = \begin{pmatrix} 0 & \frac{\partial}{\partial z} & -\frac{\partial}{\partial y}\\ -\frac{\partial}{\partial z} & 0 & \frac{\partial}{\partial x}\\ \frac{\partial}{\partial y} & -\frac{\partial}{\partial x} & 0 \end{pmatrix} have a formal name and a more...
Back
Top