The math optional, made finite. Daily Practice

Scalar and Vector Fields

At a Glance

Why This Chapter Matters

This atom appeared once (2016) in Section A. UPSC uses it to test the core vocabulary and verification skills of vector analysis: proving that a given vector field is conservative (irrotational + find a potential), solenoidal (zero divergence), or neither. The question typically gives an explicit F\mathbf{F} and asks you to compute ×F\nabla\times\mathbf{F} and/or F\nabla\cdot\mathbf{F}, then find the scalar potential if the field is conservative.

Minimum Theory

Scalar field

A scalar field is a function ϕ:R3R\phi: \mathbb{R}^3 \to \mathbb{R}, assigning a real number to each point, e.g., temperature, pressure.

Vector field

A vector field is a function F:R3R3\mathbf{F}: \mathbb{R}^3 \to \mathbb{R}^3, assigning a vector to each point:

F(x,y,z)=F1i^+F2j^+F3k^\mathbf{F}(x,y,z) = F_1\hat{i} + F_2\hat{j} + F_3\hat{k}

Gradient

For a scalar field ϕ\phi:

ϕ=ϕxi^+ϕyj^+ϕzk^\nabla\phi = \frac{\partial\phi}{\partial x}\hat{i} + \frac{\partial\phi}{\partial y}\hat{j} + \frac{\partial\phi}{\partial z}\hat{k}

ϕ\nabla\phi is a vector field; it points in the direction of steepest increase of ϕ\phi.

Divergence

For a vector field F=(F1,F2,F3)\mathbf{F} = (F_1, F_2, F_3):

F=F1x+F2y+F3z\nabla\cdot\mathbf{F} = \frac{\partial F_1}{\partial x} + \frac{\partial F_2}{\partial y} + \frac{\partial F_3}{\partial z}

F\mathbf{F} is solenoidal (or divergence-free) if F=0\nabla\cdot\mathbf{F} = 0.

Curl

×F=i^j^k^xyzF1F2F3=(F3yF2z)i^(F3xF1z)j^+(F2xF1y)k^\nabla\times\mathbf{F} = \begin{vmatrix}\hat{i} & \hat{j} & \hat{k} \\ \partial_x & \partial_y & \partial_z \\ F_1 & F_2 & F_3\end{vmatrix} = \left(\frac{\partial F_3}{\partial y}-\frac{\partial F_2}{\partial z}\right)\hat{i} - \left(\frac{\partial F_3}{\partial x}-\frac{\partial F_1}{\partial z}\right)\hat{j} + \left(\frac{\partial F_2}{\partial x}-\frac{\partial F_1}{\partial y}\right)\hat{k}

F\mathbf{F} is irrotational if ×F=0\nabla\times\mathbf{F} = \mathbf{0}.

Conservative field and scalar potential

F\mathbf{F} is conservative if F=ϕ\mathbf{F} = \nabla\phi for some scalar field ϕ\phi (the scalar potential or potential function).

Finding the scalar potential

Given F=ϕ\mathbf{F} = \nabla\phi, i.e., ϕ/x=F1\partial\phi/\partial x = F_1, ϕ/y=F2\partial\phi/\partial y = F_2, ϕ/z=F3\partial\phi/\partial z = F_3:

  1. Integrate F1F_1 with respect to xx: ϕ=F1dx+g(y,z)\phi = \int F_1\,dx + g(y,z).
  2. Differentiate with respect to yy; match with F2F_2 to find g/y\partial g/\partial y; integrate for gg.
  3. Differentiate with respect to zz; match with F3F_3 to determine any remaining function of zz.

Key identities

Question Archetypes

ArchetypeRecognition
conservative-solenoidal-check”Show that F\mathbf{F} is irrotational / conservative / solenoidal; find the scalar potential”

conservative-solenoidal-check (1 question; 2016)

Recognition Cues

Solution Template

  1. Compute ×F\nabla\times\mathbf{F}; show each component is zero to prove irrotational.
  2. Compute F\nabla\cdot\mathbf{F}; show it is zero to prove solenoidal (if asked).
  3. To find ϕ\phi: integrate F1F_1 w.r.t. xx, introducing g(y,z)g(y,z); differentiate and match F2F_2; differentiate and match F3F_3; write the final ϕ\phi.
  4. Verify: ϕ=F\nabla\phi = \mathbf{F}.

Worked Example

2016 Paper 1, 2016-P1-Q3a (10 marks)

Show that the vector field F=(2xy+z3)i^+x2j^+3xz2k^\mathbf{F} = (2xy + z^3)\hat{i} + x^2\hat{j} + 3xz^2\hat{k} is conservative, and find a scalar potential ϕ\phi such that F=ϕ\mathbf{F} = \nabla\phi.

Step 1. Compute ×F\nabla\times\mathbf{F}.

F1=2xy+z3,F2=x2,F3=3xz2F_1 = 2xy+z^3,\quad F_2 = x^2,\quad F_3 = 3xz^2

i^\hat{i} component: F3yF2z=00=0\dfrac{\partial F_3}{\partial y} - \dfrac{\partial F_2}{\partial z} = 0 - 0 = 0

j^\hat{j} component:  ⁣(F3xF1z)=(3z23z2)=0-\!\left(\dfrac{\partial F_3}{\partial x} - \dfrac{\partial F_1}{\partial z}\right) = -(3z^2 - 3z^2) = 0

k^\hat{k} component: F2xF1y=2x2x=0\dfrac{\partial F_2}{\partial x} - \dfrac{\partial F_1}{\partial y} = 2x - 2x = 0

Since ×F=0\nabla\times\mathbf{F} = \mathbf{0}, the field is irrotational, hence conservative (domain is all of R3\mathbb{R}^3, which is simply connected).

Step 2. Find the scalar potential ϕ\phi.

We need ϕ=F\nabla\phi = \mathbf{F}:

ϕx=2xy+z3,ϕy=x2,ϕz=3xz2.\frac{\partial\phi}{\partial x} = 2xy + z^3, \qquad \frac{\partial\phi}{\partial y} = x^2, \qquad \frac{\partial\phi}{\partial z} = 3xz^2.

Integrate (1) w.r.t. xx:

ϕ=x2y+xz3+g(y,z)\phi = x^2 y + xz^3 + g(y,z)

Differentiate w.r.t. yy and match (2):

ϕy=x2+gy=x2    gy=0    g=h(z)\frac{\partial\phi}{\partial y} = x^2 + \frac{\partial g}{\partial y} = x^2 \implies \frac{\partial g}{\partial y} = 0 \implies g = h(z)

Differentiate w.r.t. zz and match (3):

ϕz=3xz2+h(z)=3xz2    h(z)=0    h=C\frac{\partial\phi}{\partial z} = 3xz^2 + h'(z) = 3xz^2 \implies h'(z) = 0 \implies h = C

Step 3. Write the potential.

ϕ=x2y+xz3+C\boxed{\phi = x^2 y + xz^3 + C}

Verification: ϕ=(2xy+z3)i^+x2j^+3xz2k^=F\nabla\phi = (2xy + z^3)\hat{i} + x^2\hat{j} + 3xz^2\hat{k} = \mathbf{F}. ✓

Common Traps

Marks-Aware Writing

This is a 10-mark proof + computation. Examiners expect:

  1. Curl calculation — all three components computed and shown to be zero (4 marks).
  2. Statement that ×F=0\nabla\times\mathbf{F} = \mathbf{0} implies conservative (simply connected domain) (1 mark).
  3. Integration step — integrate F1F_1 w.r.t. xx with g(y,z)g(y,z) introduced (2 marks).
  4. Determination of gg and hh — matching F2F_2 and F3F_3 (2 marks).
  5. Final ϕ\phi written out and verified (1 mark).

Write every partial derivative explicitly; do not skip to the answer for the curl components.

Practice Set

Only one historical question on this atom (shown above).

We've mapped all 13 years of this exam. Get new chapters, tools, and solutions as we release them — free.