PhysicsScore

Vector algebra and vector calculus

  • CSIR NET
  • UP Assistant Professor
  • UP GDC Mains

4 minute read · Updated 2026-11-15

Picking up from

In Dimensional analysis, we saw that dimensions constrain magnitudes but leave directions unspecified. How do we describe direction and local change?

In one line

Vector methods describe directions and measure how scalar and vector fields vary through space.

The idea, explained

A scalar field assigns one number to each point, like temperature. A vector field assigns both size and direction, like velocity. Their derivatives answer different physical questions. The gradient points toward the fastest increase of a scalar field. Divergence measures local outward flow per volume. Curl measures local circulation. These operations turn a picture of a field into quantities that equations can use. Work in Cartesian coordinates first, where the unit directions do not change with position.

Picture a small box placed in a flowing fluid. Divergence compares the amount leaving its faces with the amount entering; uniform flow has zero divergence even though fluid is moving. Now imagine a tiny paddle wheel: curl measures the local tendency to rotate, rather than the fluid’s overall speed. Gradient answers a different question because its input is a scalar: it tells you which way to move to increase that scalar fastest. Choosing the operator begins with identifying the field type and the physical question.

Core ideas

  • The dot product measures parallel components; the cross product gives an oriented area perpendicular to two vectors.
  • A gradient is perpendicular to a surface on which the scalar field is constant.
  • Positive divergence means local net outward flux, not necessarily that every field line points radially outward.
  • A nonzero curl means local circulation; zero curl implies a potential locally in a smooth region.
  • For smooth fields, the curl of a gradient and the divergence of a curl vanish.
  • A directional derivative measures the change of a scalar along a chosen unit direction: project the gradient onto that direction. The greatest positive change occurs along the gradient.
  • A field with zero curl has a scalar potential locally. Extending that potential throughout a region also requires attention to the region’s holes and any excluded singularities.

Key formulas

Gradient of a scalar field — Cartesian coordinates

∇f=(∂xf,∂yf,∂zf)\nabla f=(\partial_x f,\partial_y f,\partial_z f)

Here f is a scalar field; its gradient gives the direction and rate of steepest spatial increase.

Divergence of a vector field — Cartesian coordinates

∇⋅A=∂xAx+∂yAy+∂zAz\nabla\cdot\mathbf A=\partial_xA_x+\partial_yA_y+\partial_zA_z

A is a vector field; this Cartesian expression measures local net outward flow.

Curl of a vector field — Cartesian coordinates

∇×A=∣x^y^z^∂x∂y∂zAxAyAz∣\nabla\times\mathbf A=\begin{vmatrix}\hat{\mathbf x}&\hat{\mathbf y}&\hat{\mathbf z}\\\partial_x&\partial_y&\partial_z\\A_x&A_y&A_z\end{vmatrix}

The hats denote Cartesian unit vectors; curl measures the oriented circulation density.

For a gradient, differentiate the same scalar with respect to each coordinate and collect the results as vector components. For divergence, add only matching component derivatives. For curl, keep the cross-component derivatives and their signs. The determinant is a Cartesian mnemonic; it cannot be copied unchanged into cylindrical or spherical coordinates.

Quick worked example

Take A=(x2,y,0)\mathbf A=(x^2,y,0) in Cartesian coordinates. Differentiate each matching component: ∇⋅A=2x+1\nabla\cdot\mathbf A=2x+1. At x=1x=1 the divergence is 33 in the corresponding field units.

Where this leads

Continue to Gauss and Stokes theorems, orthogonal and curvilinear coordinates (cylindrical, spherical), differential vector operators, because integral theorems connect these local derivatives to measurable boundary fluxes.

Related: Dimensional analysis — consistent dimensions before field calculations.

Related: Newton's laws — vector components determine the direction of force and acceleration.

Related: Rotating frames, Coriolis force — cross-product direction fixes Coriolis and centrifugal signs.

Related: Vector potential, localized current distributions — a curl representation automatically has zero divergence for smooth fields.

Practice this topic

Practice this topic

21 questions in Assistant Professor · Physics · Physics. Sign in and practice access may be required.

Other exam sections