The University of Hong Kong · FACULTY OF PHYSICS

PHYS2150 Chap.6 Gradient, Divergence and Curl

- one subject, every graph, every model, every mark
7 Chapters3-page Bible
Our own words - no uploaded lecturer files
Updated for this semester
Chapter 6 of 10 · PHYS2150

Gradient, Divergence and Curl

Begin by identifying the field type

A scalar field assigns one number to every point, such as temperature, pressure, density or potential. A vector field assigns a vector, such as velocity, gravitational acceleration or electric field. The del operator combines with these fields in different ways. Gradient accepts a scalar and returns a vector. Divergence accepts a vector and returns a scalar.

Curl accepts a three-dimensional vector field and returns another vector. Checking input and output types before differentiating prevents many notation errors.

Gradient gives steepest increase and surface normals

For a differentiable scalar field φ, grad φ=∇φ is built from its partial derivatives. The directional derivative in a unit direction u is Duφ=∇φ·u.

Its largest possible value is ||∇φ|| and occurs in the gradient direction; the smallest occurs in the opposite direction. On a level surface f(x,y,z)=k, the gradient is normal to the surface, so it supplies the normal vector for a tangent plane and the direction of a normal line.

Divergence measures local source strength

For F=(P,Q,R), div F=∇·F=P_x+Q_y+R_z.

In a fluid-velocity model it represents net outflow per unit volume near a point. Positive divergence resembles a source, negative divergence a sink, and zero divergence means locally balanced inflow and outflow. A divergence-free field can still be nonzero and can still rotate.

Applying divergence to a gradient gives the Laplacian, ∇²φ=φ_xx+φ_yy+φ_zz, which reappears in heat, wave and Laplace equations.

Curl measures local rotational tendency

Curl is the cross product ∇×F written through component derivatives. Its direction follows the right-hand rule and its magnitude measures local twisting. A field with zero curl is irrotational.

For rigid-body rotation, curl of the velocity field equals twice the angular-velocity vector. Curl and divergence describe independent features: a circulating field may have zero divergence and nonzero curl, while another field can have nonzero divergence and zero curl.

Potentials are established constructively

If F=∇U, then F is conservative and U is a scalar potential.

The course proves that every sufficiently smooth gradient field has zero curl, so nonzero curl rules out a potential. In the zero-curl examples treated here, construct U directly: integrate one component, retain an unknown function of untouched variables, compare the remaining components, and verify by differentiating the completed potential.

This method supplies the requested scalar and checks every sign rather than stopping at an irrotationality test.

Vector identities provide checks

Important identities include curl grad φ=0, div curl F=0, product rules for scalar–vector products, and curl curl F=grad div F−∇²F. Their smoothness assumptions matter because mixed partial derivatives must agree.

These identities can expose an algebra error or prove that a proposed field cannot be a curl, but they do not replace a requested component calculation.

State the identity and conditions before using it as a shortcut.

Curvilinear coordinates include scale factors

Cylindrical and spherical unit vectors vary with position, so their gradient, divergence and curl formulas contain factors absent in Cartesian coordinates. In cylindrical coordinates, for example, divergence begins with (1/r)∂(rF_r)/∂r and the angular derivative carries 1/r.

Spherical formulas include r² and sinθ factors. First write the field in the correct coordinate basis, use the course angle convention, and retain every scale factor. A Cartesian conversion can verify simple examples but may be longer for genuinely symmetric fields.

In this chapter

What this chapter covers

  • 01

    Scalar and vector fields

  • 02

    Gradient and level surfaces

  • 03

    Divergence and sources

  • 04

    Curl and rotation

  • 05

    Conservative fields and potentials

  • 06

    Laplacian and del identities

  • 07

    Cylindrical and spherical operators

Worked example · free

Recover a field potential

Q [8 marks]. AskSia independently created this revision question and its point allocation; the allocation is not an official University marking scheme. Test zero curl and integrate components consistently.
The three panels distinguish a steepest-rise arrow, outward source flow, and circulating flow, matching gradient, divergence, and curl respectively.The three panels distinguish a steepest-rise arrow, outward source flow, and circulating flow, matching gradient, divergence, and curl respectively.gradientdivergencecurl
The three panels distinguish a steepest-rise arrow, outward source flow, and circulating flow, matching gradient, divergence, and curl respectively.
  • 2Compute curl and inspect the domain.
  • 4Integrate one component with a function remainder.
  • 2Differentiate the potential to verify.
First compute every component of curl. A nonzero result would rule out a potential because every sufficiently smooth gradient field is irrotational. When curl is zero, construct the potential directly. Integrate the first field component with respect to its coordinate; the integration remainder is a function of every untouched variable, not merely a constant. Differentiate that expression and compare the second and third components to determine the remainder. Add one arbitrary constant, then take the full gradient to verify every component and sign.
Sia tip — An integration constant can still depend on every variable not used in that integration.
Glossary

Key terms

Conservative Field
A vector field equal to the gradient of a scalar potential on its domain.
Irrotational Field
A vector field whose curl vanishes throughout the region considered.
Directional Derivative
The scalar rate ∇φ·u at which a scalar field changes in a specified unit direction.
Divergence
A scalar measuring local net outward tendency of a vector field.
Curl
A vector whose direction and magnitude describe local rotational tendency.
Laplacian
The scalar operator ∇² obtained by taking divergence of a gradient.
Potential Function
A scalar field U whose gradient equals the given conservative vector field.
Incompressible Field
A vector field with zero divergence throughout the region considered.
FAQ

Gradient, Divergence and Curl FAQ

Does zero divergence mean a field is zero?

No. It means local outward and inward flux balance. A circulating field can have zero divergence while remaining nonzero everywhere and may also have nonzero curl. For example, F=(-y,x,0) has zero divergence but curl (0,0,2). Always compute or interpret curl separately; the two operators measure independent local features of a field.

How should zero curl be used in a potential problem?

Use it as the irrotational check, not as the final deliverable. The course proves that every sufficiently smooth gradient field has zero curl, so a nonzero curl rules out a potential. When curl is zero, integrate the components consistently to construct a scalar U, retain functions of untouched variables, and verify the result by checking ∇U=F.

Why are curvilinear formulas longer?

Cylindrical and spherical unit vectors and scale factors change with position. Their derivatives add terms absent in Cartesian coordinates, so treating those basis vectors as constants loses physical contributions. Write the field components in the curvilinear basis first, check the course convention for the two spherical angles, and then apply the complete formula including every r and sinθ factor.

Study strategy

Exam move

Translate the wording before doing algebra: steepest increase or a level-surface normal means gradient; source, sink or incompressible means divergence; rotation, vorticity or irrotational means curl; potential means component integration plus a domain check. Write the expected answer type—scalar or vector—in the margin.

Practise one Cartesian field and one cylindrical or spherical field side by side so the scale factors become visible. For potential problems, always retain a function of untouched variables and finish with a full gradient verification. Build a compact identity sheet, but include smoothness assumptions and never use an identity to skip a computation the question explicitly requests.

Working through Gradient, Divergence and Curl in PHYS2150? Sia is AskSia’s AI Physics tutor — ask any PHYS2150 Gradient, Divergence and Curl question and get a clear, step-by-step explanation grounded in how PHYS2150 is taught and assessed. Read this chapter free, then take your hardest questions to Sia.

A+Everything unlocked
Unlocks this Bible + all 26 of your The University of Hong Kong subjects - and 1,000+ Bibles across every Australian university.
Sia - your PHYS2150 tutor, unlimited, worked the way the exam marks it
The full 3-page Bible + practice bank with worked solutions
Chrome extension - sync your LMS so Sia knows your deadlines
Bilingual EN / Chinese on every Bible and every Sia answer
$0.99 Trial
30-day money-back · cancel in one tap · how it works