๐Ÿฆ– Bellaziraptor

Practice Exam 6

Surface Integrals, Stokes & Gauss

Questions10
Time90 min
Points100
SketchRequired for Q4, 6, 8
CoversUnit 6
1Parametric surface8 pts

Parametrise the cylinder \(x^2 + y^2 = 9\), \(0\le z\le4\). Compute \(\mathbf{r}_\theta\times\mathbf{r}_z\), state which way it points, and find the surface area.

Solution
\[ \mathbf{r}(\theta, z) = \langle 3\cos\theta,\ 3\sin\theta,\ z\rangle,\quad 0\le\theta\le2\pi,\ 0\le z\le4 \] \[ \mathbf{r}_\theta = \langle -3\sin\theta, 3\cos\theta, 0\rangle,\quad \mathbf{r}_z = \langle 0,0,1\rangle,\qquad \mathbf{r}_\theta\times\mathbf{r}_z = \langle 3\cos\theta,\ 3\sin\theta,\ 0\rangle \]

This is \(\langle x, y, 0\rangle\) โ€” radially outward, as a closed can would want. Its length is 3, so \(dS = 3\,d\theta\,dz\) and

\[ A = \int_0^4\!\!\int_0^{2\pi} 3\,d\theta\,dz = 24\pi \]

which is circumference \(6\pi\) times height 4. โœ“

2Surface area10 pts

Find the area of the part of the saddle \(z = xy\) inside the cylinder \(x^2 + y^2 = 1\).

Solution
\[ \sqrt{1 + f_x^2 + f_y^2} = \sqrt{1 + y^2 + x^2} = \sqrt{1 + r^2} \] \[ A = \int_0^{2\pi}\!\!\int_0^1\sqrt{1 + r^2}\;r\,dr\,d\theta = 2\pi\cdot\frac13\Big[(1 + r^2)^{3/2}\Big]_0^1 = \frac{2\pi}{3}\left(2\sqrt2 - 1\right)\approx 3.83 \]

Larger than the unit disk (\(\pi\approx3.14\)) as any tilted surface must be. The \(x^2 + y^2\) in the integrand and the circular region both pointed to polar.

3Scalar surface integral10 pts

Evaluate \(\iint_S z\,dS\) where \(S\) is the hemisphere \(x^2 + y^2 + z^2 = 4\), \(z\ge0\).

Solution

Spherical parametrisation with \(\rho = 2\): \(z = 2\cos\phi\), \(dS = \rho^2\sin\phi\,d\phi\,d\theta = 4\sin\phi\,d\phi\,d\theta\), \(0\le\phi\le\pi/2\).

\[ \iint_S z\,dS = \int_0^{2\pi}\!\!\int_0^{\pi/2} 2\cos\phi\cdot4\sin\phi\,d\phi\,d\theta = 8\cdot2\pi\cdot\left[\frac{\sin^2\phi}{2}\right]_0^{\pi/2} = 8\pi \]

Sanity: the hemisphere has area \(2\pi(2)^2 = 8\pi\), so the average of \(z\) over it is 1 โ€” half the radius. Compare: the average of \(z\) over the solid half-ball was \(3R/8 = 0.75\) (Exam 4). The shell's mass sits higher than the solid's. โœ“

4Flux through a graph10 pts

Find the flux of \(\mathbf{F} = \langle y, x, z\rangle\) upward through the paraboloid \(z = 4 - x^2 - y^2\), \(z\ge0\).

Solution

Graph formula with \(g = 4 - x^2 - y^2\), \(g_x = -2x\), \(g_y = -2y\), over the disk \(x^2 + y^2\le4\):

\[ \iint_S\mathbf{F}\cdot d\mathbf{S} = \iint_D\big(-P g_x - Q g_y + R\big)\,dA = \iint_D\big(2xy + 2xy + 4 - x^2 - y^2\big)\,dA \]

The \(4xy\) term integrates to zero over the disk by symmetry (odd in \(x\)). The rest in polar:

\[ \int_0^{2\pi}\!\!\int_0^2 (4 - r^2)\,r\,dr\,d\theta = 2\pi\left[2r^2 - \frac{r^4}{4}\right]_0^2 = 2\pi(8 - 4) = 8\pi \]

The upward normal \(\langle -g_x, -g_y, 1\rangle = \langle 2x, 2y, 1\rangle\) is automatic from the graph formula โ€” no orientation check needed as long as “upward” is what was asked.

5Divergence theorem12 pts

Find the outward flux of \(\mathbf{F} = \langle x^3, y^3, z^3\rangle\) through the sphere of radius \(a\) centred at the origin.

Solution
\[ \nabla\cdot\mathbf{F} = 3x^2 + 3y^2 + 3z^2 = 3\rho^2 \] \[ \oiint_S\mathbf{F}\cdot d\mathbf{S} = \iiint_E 3\rho^2\,dV = 3\int_0^{2\pi}\!\!\int_0^{\pi}\!\!\int_0^a \rho^2\cdot\rho^2\sin\phi\,d\rho\,d\phi\,d\theta = 3\cdot2\pi\cdot2\cdot\frac{a^5}{5} = \frac{12\pi a^5}{5} \]

For \(a = 1\): \(12\pi/5\approx7.54\). Computing this as a surface integral would mean parametrising the sphere and integrating \(\cos^4\) and \(\sin^4\) terms โ€” the divergence theorem turned it into a one-line spherical integral. The two \(\rho^2\) factors are different things: one is the integrand, one is the Jacobian.

6Closing an open surface10 pts

Find the flux of \(\mathbf{F} = \langle x, y, z^3\rangle\) upward through the open hemisphere \(x^2+y^2+z^2 = 1\), \(z\ge0\), by closing the surface with the disk \(z = 0\).

Solution

Let \(E\) be the solid half-ball. Its closed boundary is the hemisphere \(S\) (outward = upward) plus the disk \(D\) (outward = \(-\mathbf{k}\)).

\[ \nabla\cdot\mathbf{F} = 2 + 3z^2,\qquad \iiint_E(2 + 3z^2)\,dV = \int_0^{2\pi}\!\!\int_0^{\pi/2}\!\!\int_0^1\left(2 + 3\rho^2\cos^2\phi\right)\rho^2\sin\phi\,d\rho\,d\phi\,d\theta \] \[ = 2\pi\left[2\cdot\frac13\cdot1 + 3\cdot\frac15\cdot\frac13\right] = 2\pi\left(\frac23 + \frac15\right) = \frac{26\pi}{15} \]

(using \(\int_0^{\pi/2}\sin\phi\,d\phi = 1\) and \(\int_0^{\pi/2}\cos^2\phi\sin\phi\,d\phi = \tfrac13\).) On the disk, \(\mathbf{F}\cdot(-\mathbf{k}) = -z^3 = 0\) since \(z = 0\). So

\[ \iint_S\mathbf{F}\cdot d\mathbf{S} = \frac{26\pi}{15} - 0 = \frac{26\pi}{15}\approx 5.45 \]

Direct check (optional): on the unit sphere \(\mathbf{n} = \mathbf{r}\), so \(\mathbf{F}\cdot\mathbf{n} = x^2 + y^2 + z^4 = \sin^2\phi + \cos^4\phi\), and \(\int_0^{2\pi}\!\int_0^{\pi/2}(\sin^2\phi + \cos^4\phi)\sin\phi\,d\phi\,d\theta = 2\pi(\tfrac23 + \tfrac15)\). โœ“

7Stokes: surface to boundary10 pts

Let \(\mathbf{F} = \langle y, z, x\rangle\) and let \(S\) be the paraboloid \(z = 1 - x^2 - y^2\), \(z\ge0\), oriented upward. Evaluate \(\iint_S(\nabla\times\mathbf{F})\cdot d\mathbf{S}\) using Stokes' theorem, then confirm with the flat disk.

Solution

The boundary is the unit circle in the plane \(z = 0\), counterclockwise from above (right-hand rule with upward normal). On it \(z = 0\):

\[ \mathbf{r}(t) = \langle\cos t, \sin t, 0\rangle,\qquad \mathbf{F}(\mathbf{r}(t)) = \langle \sin t,\ 0,\ \cos t\rangle,\qquad \mathbf{r}'(t) = \langle -\sin t, \cos t, 0\rangle \] \[ \oint_C\mathbf{F}\cdot d\mathbf{r} = \int_0^{2\pi}(-\sin^2t)\,dt = -\pi \]

Confirm: \(\nabla\times\mathbf{F} = \langle \partial_y x - \partial_z z,\ \partial_z y - \partial_x x,\ \partial_x z - \partial_y y\rangle = \langle -1, -1, -1\rangle\). Through the flat unit disk with \(\mathbf{n} = \mathbf{k}\): \(\iint(-1)\,dA = -\pi\). โœ“ Same boundary, same flux of curl, whichever cap โ€” the Stokes lab's Paraboloid versus Flat disk.

8Stokes: boundary to surface10 pts

Let \(C\) be the intersection of the cylinder \(x^2 + y^2 = 1\) with the plane \(z = 2y + 1\), counterclockwise seen from above. (a) Evaluate \(\oint_C (y+z)\,dx + (z+x)\,dy + (x+y)\,dz\). (b) Evaluate \(\oint_C\mathbf{G}\cdot d\mathbf{r}\) for \(\mathbf{G} = \langle z, x, y\rangle\).

Solution

(a) The field \(\langle y+z,\ z+x,\ x+y\rangle\) is \(\nabla(xy + yz + zx)\) โ€” its curl is zero (check any component: \(\partial_y(x+y) - \partial_z(z+x) = 1 - 1 = 0\)). A conservative field around a closed loop: \(0\). No parametrising needed.

(b) \(\nabla\times\mathbf{G} = \langle 1, 1, 1\rangle\). Take \(S\) to be the piece of the plane \(z = 2y + 1\) inside the cylinder, a graph over the unit disk with \(g_y = 2\), \(g_x = 0\), upward normal \(\langle -g_x, -g_y, 1\rangle = \langle 0, -2, 1\rangle\):

\[ \oint_C\mathbf{G}\cdot d\mathbf{r} = \iint_D\langle 1,1,1\rangle\cdot\langle 0,-2,1\rangle\,dA = \iint_D(-1)\,dA = -\pi \]

The tilted ellipse \(C\) never had to be parametrised. Note that the projection of \(S\) onto the \(xy\)-plane is the unit disk regardless of how steep the plane is โ€” the graph formula absorbs the tilt into the normal vector.

9Gauss's law, both forms ยท EE12 pts

An infinite straight line along the \(z\)-axis carries charge \(\lambda\) per unit length. (a) Use the integral form of Gauss's law with a cylindrical Gaussian surface to find \(\mathbf{E}\). (b) Write \(\mathbf{E}\) in Cartesian components and verify \(\nabla\cdot\mathbf{E} = 0\) for \(r > 0\). (c) Explain how (b) is consistent with \(\nabla\cdot\mathbf{E} = \rho/\varepsilon_0\).

Solution

(a) By symmetry \(\mathbf{E} = E(r)\,\hat{\mathbf{r}}\) (radial, away from the axis). For a coaxial cylinder of radius \(r\) and length \(L\), the flux through the flat ends is zero (\(\mathbf{E}\parallel\) ends) and through the side is \(E(r)\cdot2\pi rL\):

\[ E(r)\,2\pi rL = \frac{\lambda L}{\varepsilon_0}\quad\Longrightarrow\quad \mathbf{E} = \frac{\lambda}{2\pi\varepsilon_0 r}\,\hat{\mathbf{r}} \]

(b) \(\hat{\mathbf{r}}/r = \langle x, y, 0\rangle/(x^2+y^2)\), so \(\mathbf{E} = \dfrac{\lambda}{2\pi\varepsilon_0}\dfrac{\langle x, y, 0\rangle}{x^2+y^2}\):

\[ \partial_x\!\left(\frac{x}{x^2+y^2}\right) = \frac{y^2 - x^2}{(x^2+y^2)^2},\qquad \partial_y\!\left(\frac{y}{x^2+y^2}\right) = \frac{x^2 - y^2}{(x^2+y^2)^2},\qquad \nabla\cdot\mathbf{E} = 0\quad(r>0) \]

(c) Away from the line there is no charge, \(\rho = 0\), so \(\nabla\cdot\mathbf{E} = 0\) is exactly what the differential form demands. All the divergence is concentrated on the line itself, where \(\rho\) is infinite (a line charge is a delta function in the plane) and where the formula for \(\mathbf{E}\) is singular. The integral form sees that concentrated source as the enclosed charge \(\lambda L\); the differential form sees it as a spike in \(\rho\). Same physics, two languages, connected by the divergence theorem.

10Faraday's law ยท EE8 pts

A uniform magnetic field \(\mathbf{B} = B_0 t\,\mathbf{k}\) increases linearly with time. (a) Find the EMF around a circle of radius \(a\) in the \(xy\)-plane. (b) Use symmetry to find the induced electric field \(\mathbf{E}(r)\). (c) Verify \(\nabla\times\mathbf{E} = -\partial\mathbf{B}/\partial t\).

Solution

(a) \(\Phi_B = B_0 t\cdot\pi a^2\), so \(\mathcal{E} = -\dfrac{d\Phi_B}{dt} = -\pi a^2B_0\). The minus sign (Lenz) says the induced current opposes the growth of the flux.

(b) By symmetry \(\mathbf{E}\) is tangential with magnitude \(E(r)\). Faraday on a circle of radius \(r\): \(E(r)\cdot2\pi r = -\pi r^2 B_0\), so

\[ E(r) = -\frac{B_0 r}{2}\ \text{(clockwise seen from } +z\text{)},\qquad \mathbf{E} = \frac{B_0}{2}\langle y, -x, 0\rangle \]

(c)

\[ (\nabla\times\mathbf{E})_z = \partial_x\!\left(-\tfrac{B_0}{2}x\right) - \partial_y\!\left(\tfrac{B_0}{2}y\right) = -\frac{B_0}{2} - \frac{B_0}{2} = -B_0 = -\frac{\partial B_z}{\partial t}\ โœ“ \]

This \(\mathbf{E}\) has curl, so it is not conservative and has no potential โ€” there is no “voltage” here in the electrostatic sense, and a voltmeter's reading around this loop depends on how its leads are routed. That is the physical content of Stokes' theorem in a transformer.

Scoring

ScoreWhere you are
90–100Done. You own the mathematics of electromagnetics.
75–89Theorems chosen well; orientation or a Jacobian slipped. Check the normal's direction and the \(\rho^2\sin\phi\) every time.
60–74Parametrising when a theorem would do it in one line (Q5, Q8), or the wrong lid sign when closing a surface (Q6). Re-read Sections 4โ€“5.
< 60Go back to Section 3 and the flux lab: \(d\mathbf{S} = (\mathbf{r}_u\times\mathbf{r}_v)\,du\,dv\) has to be solid before the theorems make sense.
Where the points usually go

An absolute value where none belongs in \(d\mathbf{S}\) (Q4); using \(\phi\) up to \(\pi\) for a half-ball (Q6); the outward normal of the lid being \(-\mathbf{k}\), not \(\mathbf{k}\) (Q6); the orientation of \(C\) versus the normal of \(S\) in Stokes (Q7, Q8); and the sign of Faraday's law (Q10).

Review← Unit 6 notes FinishCourse overview →