IntermediateTopic 42 of 104Engineering Mathematics

Gradient

A vector of partial derivatives pointing in the direction of steepest increase.

In depth

The gradient ∇f=(f_x,f_y,f_z) points in the direction of steepest increase and its magnitude is the maximum rate. It is perpendicular to level curves. Heat flows opposite to ∇T and gradient descent optimises functions.

Key points

  • Directional derivative = ∇f·u
  • Normal vector to a surface
  • Force = -∇(potential energy)
Example

∇(x²+y²) at (1,2) = (2,4).

Why it matters

The gradient tells you how to change inputs to increase an output fastest, which drives optimisation and learning algorithms.

Where this is used

  • Finding the steepest descent direction when tuning design parameters.
  • Computing the direction of a heat flux from a temperature field.
  • Calculating the surface normal of a level set in a CAD model.

Frequently asked questions

What is Gradient?

A vector of partial derivatives pointing in the direction of steepest increase.

Why is it important to understand gradient?

The gradient tells you how to change inputs to increase an output fastest, which drives optimisation and learning algorithms.

Which direction does the gradient point?

It points in the direction of steepest increase, and its magnitude gives the rate of that increase.

Why is the gradient perpendicular to level curves?

Along a level curve the function does not change, so the gradient, which measures change, must be perpendicular to it.

How is Gradient used in practice?

Typical applications include finding the steepest descent direction when tuning design parameters, computing the direction of a heat flux from a temperature field and calculating the surface normal of a level set in a CAD model.

What should I learn before Gradient?

Study "Partial derivatives" first (topic 41 of 104 in Engineering Mathematics). It covers the groundwork this topic builds on.

What are the key points of Gradient?

Directional derivative = ∇f·u. Normal vector to a surface. Force = -∇(potential energy).

Can you give an example of Gradient?

∇(x²+y²) at (1,2) = (2,4).

What comes after Gradient?

The next topic is "Multiple integrals", which builds directly on this one.

How difficult is Gradient?

It is classed as Intermediate in Engineering Mathematics (topic 42 of 104). It is an intermediate topic. Work through the beginner topics in Engineering Mathematics first.

Learning path

Want to practise? Open the interactive course for quick checks, quizzes, simulations and progress tracking.

Related topics