Homework 2 · Potential and Local Field Laws
All assignments · Previous · Next.
Ch. 3, Ex. 2 · Field from an exponential potential
Problem. Given \(V=V_0\exp[-(x^2+y^2+az)/a^2]\), where \(V_0>0\) is a potential and \(a>0\) a length, find \(\mathbf E(x,y,z)\).
Method: Recovering the field from potential.
Solution. Differentiate the exponent component by component:
Therefore
The original exponent contains \(az\), not \(z^2\)(不要按球对称势处理). Each coefficient has units of inverse length.
Ch. 3, Ex. 4 · Potential of a thick spherical shell
Problem. A spherical shell occupies \(R_1<r<R_2\) and has uniform volume charge density \(\rho\). With \(V(\infty)=0\), find \(V(r)\) everywhere.
Method: Gauss's law, then field-to-potential integration.
Solution. Enclosed charge gives
Use \(V(r)=\int_r^\infty E_r(s)\,ds\), splitting the integral at \(R_1,R_2\). In the material, for example,
The result is
Both \(V\) and \(-dV/dr=E_r\) match at the boundaries. 内腔中场为零,但电势为非零常数;不能给每段积分独立选择零点。
Ch. 3, Ex. 7 · Paths and equipotentials
Problem. \(\mathbf E=(E_0/a)(y\hat{\mathbf x}+x\hat{\mathbf y})\) everywhere, with \(E_0,a>0\) and \(V(0)=0\). (a) Find \(V(x,y,0)\) along the two axis-aligned paths, first along \(x\) then \(y\), and in reverse order. (b) Find the equipotential branch through \((a,a,0)\) and show the field is perpendicular to it.
Method: Potential as a line integral and equipotentials.
Solution. (a) On the first leg of either path the tangential field vanishes. Thus
(b) At \((a,a)\), \(V=-E_0a\). The required connected branch is
Since \(dy/dx=-y/x\), a tangent is \(\mathbf t=(1,-y/x,0)\). Then \(\mathbf E\cdot\mathbf t=(E_0/a)(y-y)=0\). Only the first-quadrant branch contains the specified point.
Ch. 4, Ex. 2 · Quadratic potential, curl, and charge
Problem. \(V=A(x^2+y^2)+Bz^2\), with \(A,B>0\). (a) Find \(\mathbf E\). (b) Show \(\nabla\times\mathbf E=0\). (c) Find \(\rho(x,y,z)\) using local Gauss's law.
Method: Gradient, curl, and Poisson's equation.
Solution. (a) \(\boxed{\mathbf E=-2Ax\hat{\mathbf x}-2Ay\hat{\mathbf y}-2Bz\hat{\mathbf z}}\).
(b) Each component depends only on its own coordinate, so all cross derivatives vanish: \(\boxed{\nabla\times\mathbf E=0}\).
(c)
This also follows from \(\rho=-\epsilon_0\nabla^2V\). The density is uniform and negative; the field converges toward the origin.
Ch. 4, Ex. 5 · Six-face flux versus volume charge
Problem. In a region containing the box below, \(\mathbf E=E_0[(1+xy/a^2)\hat{\mathbf x}+x^2\hat{\mathbf y}/(2a^2)]\), with \(E_0,a>0\). (a) Find \(\rho\), and evaluate \(\rho,\mathbf E\) at the origin. (b) Directly sum the outward flux through the six faces of \(0\leq x\leq a\), \(0\leq y\leq b\), \(0\leq z\leq c\), where \(b,c>0\). (c) Integrate \(\rho\) over the box and verify Gauss's theorem and law.
Method: Local Gauss's law and divergence theorem.
Solution. (a)
局部电荷密度为零,并不意味着该点电场为零。
(b) Keep each outward normal's sign:
| Face | Outward flux |
|---|---|
| \(x=a\) | \(E_0c\int_0^b(1+y/a)dy=E_0bc+E_0b^2c/(2a)\) |
| \(x=0\) | \(-E_0bc\) |
| \(y=b\) | \(E_0c\int_0^a x^2/(2a^2)dx=E_0ac/6\) |
| \(y=0\) | \(-E_0ac/6\) |
| \(z=c\) and \(z=0\) | \(0\) on each |
Hence \(\boxed{\Phi=E_0b^2c/(2a)}\).
(c)
Thus the direct surface integral equals both \(\int\nabla\cdot\mathbf E\,dV\) and \(Q_{\rm enc}/\epsilon_0\).