notesonly.in

One notebook for every subject — open it anywhere.

Log in

Vector Calculus: Gradient, Divergence and Curl For students.

Vector calculus extends ordinary calculus to quantities with size and direction, such as velocity, force, and electric fields. Instead of one function of one variable, we study scalar fields (one number at each point, like temperature) and vector fields (an arrow at each point, like wind velocity).

It matters because the laws of physics are written in this language. Maxwell's equations, the equations of fluid flow, and the heat equation all use its three great operators: gradient, divergence, and curl. Learning them is like learning the grammar of engineering physics.

Key Concepts

  • Scalar field: a function f(x, y, z) giving one number at each point, for example temperature.
  • Vector field: a function F(x, y, z) giving a vector at each point, for example velocity. Written as P i plus Q j plus R k.
  • Del operator (nabla): the symbolic vector of partial derivatives.
  • Gradient (grad f = nabla f): a vector pointing in the direction of steepest increase of f; its length is the rate of increase.
  • Divergence (div F = nabla dot F): a scalar measuring how much the field spreads out from a point: positive means a source, negative a sink.
  • Curl (curl F = nabla cross F): a vector measuring the rotation of the field at a point, direction by the right-hand rule.

Formulas

  • Gradient: nabla f = (partial f by partial x) i plus (partial f by partial y) j plus (partial f by partial z) k. Result is a vector.
  • Divergence: for F = P i plus Q j plus R k, div F = partial P by partial x plus partial Q by partial y plus partial R by partial z. Result is a scalar.
  • Curl: nabla cross F, computed as a 3 by 3 determinant with rows i, j, k; partial derivatives; and P, Q, R.
  • Divergence theorem: the flux of F through a closed surface equals the volume integral of div F inside.

Worked Example

Given the scalar field f(x, y, z) = x squared plus y squared plus z squared, find its gradient and the gradient at the point (1, 2, 3).

  1. partial f by partial x = 2x, partial f by partial y = 2y, partial f by partial z = 2z.
  2. So nabla f = 2x i plus 2y j plus 2z k. The gradient points straight outward from the origin, which makes sense since f grows fastest moving away from the origin.
  3. At (1, 2, 3): nabla f = 2 i plus 4 j plus 6 k.
  4. Magnitude = square root of (4 plus 16 plus 36) = square root of 56, about 7.48: the steepest rate of increase of f at that point.

Common Misconceptions

  • The gradient is a single number. No: it is a vector with a direction (steepest ascent) and a magnitude (the slope there).
  • Positive divergence means field lines visibly spread apart everywhere. Divergence is a point property; a field can have positive divergence at a point even where nearby arrows look parallel.
  • Zero curl means the field is zero or boring. Wrong: F = x i plus y j plus z k has zero curl but is non-zero almost everywhere. Zero curl means no local rotation.

Real-World Applications

  • Electromagnetism: all four Maxwell equations are statements about divergence and curl of electric and magnetic fields.
  • Fluid dynamics: divergence locates sources and sinks in a flow, curl measures vorticity in whirlpools and turbulence.
  • Heat transfer: the heat equation uses the divergence of the temperature gradient to describe how heat spreads.

The divergence theorem links what happens inside a region to what crosses its boundary.