ArticleslgStudy

mathematics

Gradient

Gradient is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Gradient rather than just read about it. In short: In vector calculus, the gradient of a scalar-valued differentiable function f {\displaystyle f} of several variables is the vector field (or vector-valued function) ∇ f {\displaystyle \nabla f} whose value at a point p {\displaystyle p} gives the direction and the rate of fastest increase. The gradient transforms like a vector under change of basis of the space of variables of f {\displaystyle f} .

Gradient — main illustration
Gradient — illustration

Key takeaways

  • Gradient belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Gradient to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Gradient from memory before moving on to harder problems.

Reference excerpt

In vector calculus, the gradient of a scalar-valued differentiable function f {\displaystyle f} of several variables is the vector field (or vector-valued function) ∇ f {\displaystyle \nabla f} whose value at a point p {\displaystyle p} gives the direction and the rate of fastest increase. The gradient transforms like a vector under change of basis of the space of variables of f {\displaystyle f} . If the gradient of a function is non-zero at a point p {\displaystyle p} , the direction of the gradient is the direction in which the function increases most quickly from p {\displaystyle p} , and the magnitude of the gradient is the rate of increase in that direction, the greatest absolute directional derivative. Further, a point where the gradient is the zero vector is known as a stationary point. The gradient thus plays a fundamental role in optimization theory, machine learning, and artificial intelligence, where it is used to minimize a function by gradient descent. In coordinate-free terms, the gradient of a function f ( r ) {\displaystyle f(\mathbf {r} )} may be defined by:

d f = ∇ f ⋅ d r {\displaystyle df=\nabla f\cdot d\mathbf {r} }

where d f {\displaystyle df} is the total infinitesimal change in f {\displaystyle f} for an infinitesimal displacement d r {\displaystyle d\mathbf {r} } , and is seen to be maximal when d r {\displaystyle d\mathbf {r} } is in the direction of the gradient ∇ f {\displaystyle \nabla f} . The nabla symbol ∇ {\displaystyle \nabla } , written as an upside-down triangle and pronounced "del", denotes the vector differential operator. When a coordinate system is used in which the basis vectors are not functions of position, the gradient is given by 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

… excerpt ends here. Continue reading the full article.

Illustrations

Gradient: The gradient, represented by the blue arrows, denotes the direction of greatest change of a scalar function. The values of the function are represented in greyscale and increase in value from white (low) to dark (high).
The gradient, represented by the blue arrows, denotes the direction of greatest change of a scalar function. The values of the function are represented in greyscale and increase in value from white (low) to dark (high).
Gradient: Gradient of the 2D function f(x, y) = xe−(x2 + y2) is plotted as arrows over the pseudocolor plot of the function.
Gradient of the 2D function f(x, y) = xe−(x2 + y2) is plotted as arrows over the pseudocolor plot of the function.
Gradient: The gradient of the function f(x,y) = −(cos2x + cos2y)2 depicted as a projected vector field on the bottom plane.
The gradient of the function f(x,y) = −(cos2x + cos2y)2 depicted as a projected vector field on the bottom plane.

Worked examples

Example 1 — a first encounter with Gradient

Start with the simplest possible case. Write down what Gradient claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Gradient before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Gradient ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Gradient

In research
Gradient appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Gradient in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Gradient is common in secondary-school and first-year university syllabi. It links to neighbouring topics Differential calculus, Differential operators, Generalizations of the derivative, so understanding it makes those chapters shorter.
In everyday life
Look for Gradient outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Gradient” →

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Gradient in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Gradient means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Gradient out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Gradient in simple terms?

In vector calculus, the gradient of a scalar-valued differentiable function f {\displaystyle f} of several variables is the vector field (or vector-valued function) ∇ f {\displaystyle \nabla f} whose value at a point p {\displaystyle p} gives the direction and the rate of fastest increase. The grad…

Why does Gradient matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Gradient?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Gradient.

Tags

  • Differential calculus
  • Differential operators
  • Generalizations of the derivative
  • Linear operators in calculus
  • Rates
  • Vector calculus

Keep exploring