Topper Copies

Verify Stoke's theorem for the function $\vec{F} = x^2\hat{i} + xy\,\hat{j}$ integrated along the rectangle (in the plane $z = 0$), whose sides are along the lines $x = 0, y = 0, x = a$ and $y = b$.

Aakash Om Trivedi, AIR 73, 2025

Stoke's theorem states that,

[a rectangle in the first quadrant with a marked on the x axis and b on the y axis, sides labelled C1 (bottom), C2 (right), C3 (top), C4 (left), with arrows for the direction of traversal]

$\vec{F} = x^2\hat{i} + xy\hat{j}$

$\therefore \vec{\nabla}\times\vec{F} = \begin{vmatrix} \hat{i} & \hat{j} & \hat{k} \\ \frac{\partial}{\partial x} & \frac{\partial}{\partial y} & \frac{\partial}{\partial z} \\ x^2 & xy & 0 \end{vmatrix}$

$= \hat{i}(0) - \hat{j}(0) + \hat{k}(y)$

$= y\hat{k}$ --- (1)

To calculate,

$\oint_C \vec{F}\cdot d\vec{r}$

$\Rightarrow \oint_C (x^2 dx\,\hat{i} + xy\hat{j}).(dx\,\hat{i} + dy\,\hat{j})$

$= \int_{C=C_1+C_2+C_3+C_4} (x^2\,dx + xy\,dy)$

$= \int_{C_1} x^2\,dx + xy\,dy + \int_{C_2} x^2\,dx + xy\,dy + \int_{C_3} x^2\,dx + xy\,dy + \int_{C_4} x^2\,dx + xy\,dy$

with $y=0$ on $C_1$, $x=a$ on $C_2$, $y=b$ on $C_3$, $x=0$ on $C_4$.

Now,

- $c_1$ is $y=0$ and $x$ from $0$ to $a$ - $c_2$ is $x=a$ and $y$ from $0$ to $b$ - $c_3$ is $y=b$ and $x$ from $a$ to $0$ - $c_4$ is $x=0$ and $y$ from $b$ to $0$

$= \int_0^a x^2\,dx + \int_0^b a.y\,dy + \int_a^0 x^2\,dx + \int 0\,dx$

$= \frac{ab^2}{2}$ ...(2)

To calculate,

$\iint_S (\vec{\nabla}\times\vec{F}).\vec{ds}$

$= \iint y\,\hat{k}.\vec{ds}$ (Using 1)

Now, $\vec{ds} = dx\,dy\,\hat{k}$

$\Rightarrow \iint y\,\hat{k}.(dx\,dy)\hat{k}$

$\Rightarrow \int_0^b\int_0^a y\,dx\,dy$

$= \int_0^a dx \int_0^b y\,dy = \frac{ab^2}{2}$ ...(3)

Now, as $\int_C \vec{F}\cdot d\vec{r} = \frac{ab^2}{2}$ (by equation 2)

and $\iint_S (\vec{\nabla}\times\vec{F})\cdot d\vec{s} = \frac{ab^2}{2}$ (by equation 3)

$\therefore \oint_C \vec{F}\cdot d\vec{r} = \iint_S \vec{\nabla}\times\vec{F}\cdot d\vec{s}$

$\therefore$ Stoke's theorem

$\therefore$ Hence verified