<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\documentclass[a4paper,12pt]{article}
\usepackage{epsfig}
\newcommand{\dci}{\rlap{$\displaystyle\int\!\!\!\int_{B_{a,b,c}}$}
{\hspace{2.2pt}\bigcirc} \ \ }
\newcommand{\un}{\underline}
\begin{document}
\parindent=0pt

\begin{center}
\textbf{Vector Calculus}

\textit{\textbf{Grad, Div and Curl}}
\end{center}

\textbf{Question}


Calculate $\textbf{\textrm{div}F}$ and $\textbf{\textrm{curl}F}$ for
the vector field

$\un{F}(r, \theta) = r\un{i} + \sin \theta\un{j}$

Given that $(r,\theta)$ are polar coordinates in the plane.


\textbf{Answer}

Since $x=r\cos\theta$ and $y=r\sin\theta$, we have $r^2=x^2+y^2$.

So
\begin{eqnarray*}
\frac{\partial r}{\partial x} &amp; = &amp; \frac{x}{r} = \cos \theta\\
\frac{\partial r}{\partial y} &amp; = &amp; \frac{y}{r} = \sin \theta\\
\frac{\partial}{\partial x}\sin\theta &amp; = &amp; \frac{\partial}{\partial
x}\frac{y}{r} = -\frac{xy}{r^3}\\
&amp; = &amp; -\frac{\cos\theta \sin\theta}{r}\\
\frac{\partial}{\partial y} \sin \theta &amp; = &amp; \frac{\partial}{\partial
y} \frac{y}{r} = \frac{1}{r} - \frac{y^2}{r^3} = \frac{x^2}{t^3}\\
&amp; = &amp; \frac{\cos^2\theta}{r}\\
\frac{\partial}{\partial x} \cos\theta &amp; = &amp; \frac{partial}{\partial
x} \frac{x}{r} = \frac{1}{r} - \frac{x^2}{r^3}= \frac{y^2}{r^3}\\
&amp; = &amp; \frac{\sin^2 \theta}{r}\\
\frac{\partial}{\partial y} \cos \theta &amp; = &amp; \frac{\partial}{\partial
y} \frac{x}{r} = -\frac{xy}{r^3}\\
&amp; = &amp; -\frac{\cos\theta \sin \theta}{r}
\end{eqnarray*}
$\Rightarrow$

\begin{eqnarray*}
\textrm{div}\un{F} &amp; = &amp; \frac{\partial r}{\partial x} 
+\frac{\partial}{\partial y}\sin\theta
= \cos\theta + \frac{\cos^2\theta}{r}\\
\textrm{curl}\un{F} &amp; = &amp; \left | \begin{array}{ccc} \un{i} &amp; \un{j} &amp;
\un{k}\\ \frac{\partial}{\partial x} &amp; \frac{\partial}{\partial y} &amp;
\frac{\partial}{\partial z}\\
r &amp; \sin\theta &amp; 0
\end{array}
\right |\\
&amp; = &amp; \left ( -\frac{\sin\theta \cos\theta}{r} -\sin\theta \right ) \un{k}
\end{eqnarray*}

\end{document}
</pre></body></html>