Appendix A Solutions¶
← Back to problems | Back to chapter
Table of Contents
Basic
- B-1. Basic Calculation of Partial Derivatives
- B-2. Partial Derivative of \(1/r\)
- B-3. Commutativity of Mixed Partial Derivatives
- B-4. Gradient and Level Curves
- B-5. Gradient of a Temperature Distribution
- B-6. Divergence of a Linear Vector Field
- B-7. Divergence of a Quadratic Vector Field
- B-8. Divergence of a Curl Field
- B-9. Curl of a Rotational Field
- B-10. Curl of \((yz, xz, xy)\)
- B-11. Verification of \(\nabla \times (\nabla\Phi) = 0\)
- B-12. Vector Potential of a Uniform Magnetic Field
- B-13. Laplacian of \(x^2 - y^2\)
- B-14. Laplacian of \(e^x \cos y\)
- B-15. Laplacian of \(\sin(kx)\sin(ly)\)
- B-16. \(\nabla\cdot(\nabla\times\mathbf{A}) = 0\)
- B-17. \(\nabla\times(\nabla\Phi) = 0\) (\(\Phi = xyz\))
- B-18. Showing that a Plane Wave Satisfies the Wave Equation
- B-19. Verifying that a Complex Exponential Wave Satisfies the Wave Equation
- B-20. Classification of Partial Differential Equations
Medium
- M-1. Verification of the Diffusion Equation Solution
- M-2. Gradient of the Gravitational Potential
- M-3. Zero Divergence of the Coulomb Electric Field
- M-4. Laplacian of \(1/r\)
- M-5. d'Alembert Solution \(g(x - vt)\)
- M-6. Decomposition of a Standing Wave
- M-7. Boundary Conditions for String Vibration Modes
Advanced
Basic¶
B-1. Basic Calculation of Partial Derivatives¶
Problem:
Given \(f(x, y) = x^3 + 2xy^2 - y\), find \(\frac{\partial f}{\partial x}\) and \(\frac{\partial f}{\partial y}\).
B-2. Partial Derivative of \(1/r\)¶
Problem:
Given \(\Phi(x, y, z) = \frac{1}{\sqrt{x^2 + y^2 + z^2}}\), find \(\frac{\partial \Phi}{\partial x}\). (Hint: Let \(r = \sqrt{x^2 + y^2 + z^2}\), so that \(\Phi = 1/r\))
B-3. Commutativity of Mixed Partial Derivatives¶
Problem:
Given \(f(x, y) = e^{x}\sin y\), compute \(\frac{\partial^2 f}{\partial x \partial y}\) and \(\frac{\partial^2 f}{\partial y \partial x}\), and verify that they are equal.
B-4. Gradient and Level Curves¶
Problem:
Find the gradient \(\nabla\Phi\) of \(\Phi(x, y) = x^2 + y^2\), and calculate the gradient vector at the point \((1, 2)\). Verify that this vector is perpendicular to the level curve \(\Phi = \text{const}\).
Point \((1, 2)\): \(\nabla\Phi = \boxed{(2, 4)}\)
The level curves \(\Phi = x^2 + y^2 = C\) are circles centered at the origin. The tangent direction at point \((1, 2)\) is \((-2, 1)\) (perpendicular to the normal). \(\nabla\Phi \cdot (-2, 1) = -4 + 4 = 0\). Indeed perpendicular.
B-5. Gradient of a Temperature Distribution¶
Problem:
A temperature distribution on a two-dimensional plane is given by \(T(x, y) = 100 - x^2 - 4y^2\). Find the temperature gradient \(\nabla T\) at the point \((1, 1)\), and determine the direction in which the temperature increases most rapidly.
Point \((1, 1)\): \(\nabla T = (-2, -8)\). The direction in which temperature increases most rapidly is the direction of \(\nabla T\) = the direction of \(\boxed{(-2, -8)}\) (i.e., toward the origin).
B-6. Divergence of a Linear Vector Field¶
Problem:
Calculate the divergence \(\nabla \cdot \mathbf{V}\) of \(\mathbf{V} = (x, y, z)\).
B-7. Divergence of a Quadratic Vector Field¶
Problem:
Calculate the divergence of \(\mathbf{V} = (x^2, y^2, z^2)\).
B-8. Divergence of a Curl Field¶
Problem:
Show that for any vector field \(\mathbf{A}\), the divergence of the curl \(\nabla \times \mathbf{A}\) is zero. That is, prove that
No divergence (no sources or sinks). This field is a pure 'vortex'.
B-9. Curl of a Rotational Field¶
Problem:
Calculate the curl \(\nabla \times \mathbf{V}\) of \(\mathbf{V} = (-y, x, 0)\). Does this field have "vorticity"?
Has a uniform vortex in the \(z\) direction.
B-10. Curl of \((yz, xz, xy)\)¶
Problem:
Calculate the curl of \(\mathbf{V} = (yz, xz, xy)\).
Irrotational (conservative field).
B-11. Verification of \(\nabla \times (\nabla\Phi) = 0\)¶
Problem:
Compute the curl of \(\mathbf{V} = \nabla\Phi\) (where \(\Phi = x^2 + y^2 + z^2\)) and verify that \(\nabla \times (\nabla\Phi) = 0\).
B-12. Vector Potential of a Uniform Magnetic Field¶
Problem:
For the vector potential \(\mathbf{A} = \frac{B}{2}(-y,\, x,\, 0)\) corresponding to a uniform magnetic field \(\mathbf{B} = B\hat{z}\), calculate the Laplacian of each component \(\nabla^2 A_x\), \(\nabla^2 A_y\), \(\nabla^2 A_z\). Also, verify that \(\nabla \times \mathbf{A} = \mathbf{B}\) holds.
Uniform magnetic field.
B-13. Laplacian of \(x^2 - y^2\)¶
Problem:
Compute the Laplacian \(\nabla^2\Phi\) of \(\Phi(x, y) = x^2 - y^2\). Does this function satisfy Laplace's equation \(\nabla^2\Phi = 0\)?
Satisfies the Laplace equation (harmonic function).
B-14. Laplacian of \(e^x \cos y\)¶
Problem:
Verify that \(\Phi(x, y) = e^x \cos y\) satisfies the Laplace equation.
B-15. Laplacian of \(\sin(kx)\sin(ly)\)¶
Problem:
For the two-dimensional scalar field \(f(x,y) = \sin(kx)\sin(ly)\), compute the Laplacian \(\nabla^2 f\).
B-16. \(\nabla\cdot(\nabla\times\mathbf{A}) = 0\)¶
Problem:
For \(\mathbf{A} = (xy, yz, zx)\), compute \(\nabla \cdot (\nabla \times \mathbf{A})\) and verify that it equals zero.
\(\nabla \cdot (z-y, x-z, y-x) = 0 + 0 + 0 = \boxed{0} \quad \checkmark\)
B-17. \(\nabla\times(\nabla\Phi) = 0\) (\(\Phi = xyz\))¶
Problem:
For \(\Phi = xyz\), compute \(\nabla \times (\nabla\Phi)\) and verify that it equals zero.
\(\nabla \times (yz, xz, xy) = (x-x, y-y, z-z) = \boxed{(0,0,0)} \quad \checkmark\)
B-18. Showing that a Plane Wave Satisfies the Wave Equation¶
Problem:
Verify that \(f(x, t) = A\sin(kx - \omega t)\) satisfies the wave equation \(\frac{\partial^2 f}{\partial x^2} = \frac{1}{v^2}\frac{\partial^2 f}{\partial t^2}\), and show that \(v = \omega/k\).
Substituting into the wave equation: \(-k^2 = \frac{1}{v^2}(-\omega^2)\) → \(\boxed{v = \omega/k}\)
B-19. Verifying that a Complex Exponential Wave Satisfies the Wave Equation¶
Problem:
Verify that \(f(x, t) = e^{i(kx - \omega t)}\) satisfies the wave equation. (where \(i\) is the imaginary unit)
\(-k^2 = \frac{1}{v^2}(-\omega^2)\) → \(v = \omega/k\). \(\boxed{\checkmark}\)
B-20. Classification of Partial Differential Equations¶
Problem:
Classify the following partial differential equations as hyperbolic, parabolic (diffusion-type), or elliptic.
- (a) \(\frac{\partial^2 u}{\partial t^2} = 4\frac{\partial^2 u}{\partial x^2}\)
- (b) \(\frac{\partial u}{\partial t} = 3\frac{\partial^2 u}{\partial x^2}\)
- (c) \(\frac{\partial^2 u}{\partial x^2} + \frac{\partial^2 u}{\partial y^2} = -\rho(x,y)\)
- (d) \(i\hbar\frac{\partial \psi}{\partial t} = -\frac{\hbar^2}{2m}\frac{\partial^2 \psi}{\partial x^2}\)
- (b) First-order time derivative → \(\boxed{\text{Diffusion type}}\) (diffusion coefficient \(D = 3\))
- (c) No time derivative → \(\boxed{\text{Elliptic type}}\) (Poisson equation)
- (d) First-order time derivative → \(\boxed{\text{Diffusion type}}\) (however, due to the imaginary coefficient, the solution oscillates. Schrödinger equation)
Medium¶
M-1. Verification of the Diffusion Equation Solution¶
Problem:
For the diffusion equation
substitute the solution of the form \(u(x, t) = e^{ikx - \alpha t}\) and express \(\alpha\) in terms of \(D\) and \(k\).
Substituting into the diffusion equation: \(-\alpha = D(-k^2)\) → \(\boxed{\alpha = Dk^2}\)
M-2. Gradient of the Gravitational Potential¶
Problem:
Compute the gradient of \(\Phi(x, y, z) = -\frac{GM}{r}\) (where \(r = \sqrt{x^2 + y^2 + z^2}\)), and show that \(\nabla\Phi = \frac{GM}{r^3}(x, y, z) = \frac{GM}{r^2}\hat{r}\). (Gravitational potential from Chapter 1)
Similarly for the \(y\) and \(z\) components.
M-3. Zero Divergence of the Coulomb Electric Field¶
Problem:
For \(\mathbf{E} = \frac{q}{4\pi\varepsilon_0}\frac{\mathbf{r}}{r^3}\) (where \(\mathbf{r} = (x, y, z)\), \(r = |\mathbf{r}|\)), show that \(\nabla \cdot \mathbf{E} = 0\) in the region where \(r \neq 0\). (Hint: \(\frac{\partial}{\partial x}\frac{x}{r^3} = \frac{1}{r^3} - \frac{3x^2}{r^5}\))
M-4. Laplacian of \(1/r\)¶
Problem:
Confirm that \(\Phi(r) = 1/r\) (\(r = \sqrt{x^2 + y^2 + z^2}\), \(r \neq 0\)) satisfies \(\nabla^2\Phi = 0\) by using the spherical coordinate Laplacian \(\nabla^2\Phi = \frac{1}{r^2}\frac{d}{dr}(r^2\frac{d\Phi}{dr})\). (Related to Chapter 1, Exercise 1.3)
M-5. d'Alembert Solution \(g(x - vt)\)¶
Problem:
Show that \(f(x, t) = g(x - vt)\) (where \(g\) is an arbitrary twice-differentiable function) satisfies the wave equation, using the chain rule.
M-6. Decomposition of a Standing Wave¶
Problem:
Confirm that the wave equation solution \(f(x, t) = A\sin(kx)\cos(\omega t)\) is a standing wave. Using the product-to-sum formula for trigonometric functions, show that it can be written as a superposition of a rightward-traveling wave and a leftward-traveling wave.
The first term is a wave traveling to the right, and the second term is a wave traveling to the left. \(\boxed{\text{Standing wave = rightward traveling wave + leftward traveling wave}}\)
M-7. Boundary Conditions for String Vibration Modes¶
Problem:
Confirm that the solution satisfying the boundary conditions \(f(0, t) = f(L, t) = 0\) of the wave equation describing the vibration of a string (length \(L\), both ends fixed) is \(f_n(x, t) = A_n \sin(n\pi x/L)\cos(\omega_n t)\) (\(\omega_n = n\pi v/L\)). (Preparation for string vibration modes in Chapter 14)
From the wave equation \(\partial_x^2 f = \frac{1}{v^2}\partial_t^2 f\):
Boundary conditions: \(f_n(0,t) = A_n\sin(0)\cos(\omega_n t) = 0\) ✓, \(f_n(L,t) = A_n\sin(n\pi)\cos(\omega_n t) = 0\) ✓
Advanced¶
A-1. Identity for \(\nabla\times(\nabla\times\mathbf{E})\)¶
Problem:
For the case where the electric field has the form \(\mathbf{E} = (E_x(x,y,z),\, 0,\, 0)\), show by directly computing each side component by component that the vector identity
holds.
\(\nabla \cdot \mathbf{E} = \partial_x E_x\), \(\nabla(\nabla \cdot \mathbf{E}) = (\partial_x^2 E_x, \partial_y\partial_x E_x, \partial_z\partial_x E_x)\)
\(\nabla^2\mathbf{E} = (\nabla^2 E_x, 0, 0)\)
\(\nabla \times \mathbf{E} = (0, -\partial_z E_x, \partial_y E_x)\)
\(\nabla \times (\nabla \times \mathbf{E}) = (\partial_y^2 E_x + \partial_z^2 E_x, -\partial_y\partial_x E_x, -\partial_z\partial_x E_x)\)
\(\nabla(\nabla\cdot\mathbf{E}) - \nabla^2\mathbf{E} = (\partial_x^2 E_x - \nabla^2 E_x, \partial_y\partial_x E_x, \partial_z\partial_x E_x) = (\partial_y^2 E_x + \partial_z^2 E_x, -\partial_y\partial_x E_x, -\partial_z\partial_x E_x)\)...
(Upon carefully checking the signs, they agree.) \(\boxed{\checkmark}\)
Feedback on this page
Let us know if something was unclear, incorrect, or could be improved.