Practice Exam 6
Surface Integrals, Stokes & Gauss
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
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
which is circumference \(6\pi\) times height 4. โ
Find the area of the part of the saddle \(z = xy\) inside the cylinder \(x^2 + y^2 = 1\).
Solution
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.
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\).
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. โ
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\):
The \(4xy\) term integrates to zero over the disk by symmetry (odd in \(x\)). The rest in polar:
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.
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
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.
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}\)).
(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
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)\). โ
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\):
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.
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\):
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.
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\):
(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}\):
(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.
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
(c)
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
| Score | Where you are |
|---|---|
| 90–100 | Done. You own the mathematics of electromagnetics. |
| 75–89 | Theorems chosen well; orientation or a Jacobian slipped. Check the normal's direction and the \(\rho^2\sin\phi\) every time. |
| 60–74 | Parametrising 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. |
| < 60 | Go 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. |
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).