Appendix A Solutions¶
← Back to problems | Back to chapter
Table of Contents
Basic
- B-1. Evaluating the Value of a Functional
- B-2. Basic Calculation of Functional Derivatives
- B-3. Weighted Functional Derivative
- B-4. Functional Derivative Using the Delta Function
- B-5. Application of the Euler-Lagrange Equation (1D Harmonic Oscillator)
- B-6. Calculation of Canonical Momenta
- B-7. Construction of the Hamiltonian
- B-8. Application of the Field Euler-Lagrange Equation
- B-9. Equation of Motion for \(\phi^3\) Theory
- B-10. Chain Rule for Functional Derivatives
Medium
- M-1. Deriving Newton's Gravitational Equation of Motion from the Action Principle
- M-2. Canonical Momentum and Hamiltonian Density of a Field
- M-3. Poisson Brackets and Hamilton's Equations of Motion
- M-4. Legendre Transform for Systems with Multiple Degrees of Freedom
- M-5. Relationship Between Functional Derivatives and the Euler-Lagrange Equation
Advanced
Basic¶
B-1. Evaluating the Value of a Functional¶
Solution strategy: Substitute \(f(x) = 2x\) into the functional \(H[f] = \int_0^3 [f(x)]^2\,dx\) and evaluate the definite integral.
Calculation:
Final answer:
Verification: Dimensional check: the integrand \(4x^2\) equals \(4 \times 9 = 36\) at \(x=3\) and \(0\) at \(x=0\). The average value is approximately \(4 \times (9/3) = 12\), and multiplying by the interval width of 3 gives \(36\). This is consistent.
B-2. Basic Calculation of Functional Derivatives¶
Solution Strategy: Apply the formula from Calculation Example 2 in the main text, \(\frac{\delta}{\delta f(x)}\int [f(y)]^p\,\varphi(y)\,dy = p[f(x)]^{p-1}\,\varphi(x)\), with \(p=4\) and \(\varphi(y)=1\).
Calculation:
For \(F[f] = \int_0^1 [f(x)]^4\,dx\), we make the replacement \(f(x) \to f(x) + \epsilon\,\delta(x - x_0)\):
Expanding to first order in \(\epsilon\):
Therefore:
By the sifting property of the delta function (when \(0 \leq x_0 \leq 1\)):
Final Answer:
Verification: This follows the same pattern as the ordinary derivative \(\frac{d}{dx}x^4 = 4x^3\). The power is reduced by one and the coefficient 4 is brought out front. This is consistent.
B-3. Weighted Functional Derivative¶
Solution strategy: Use the formula from Worked Example 2 with \(p = 2\), \(\varphi(y) = e^{-y^2}\).
Calculation:
For \(G[f] = \int_{-\infty}^{\infty} [f(y)]^2\,e^{-y^2}\,dy\), substitute \(f(y) \to f(y) + \epsilon\,\delta(y - x)\):
Extract the terms first-order in \(\epsilon\):
Apply the sifting property of the delta function:
Final answer:
Verification: The weight function \(e^{-y^2}\) remains in the result as \(e^{-x^2}\). Setting \(\varphi(y) = 1\) gives \(2f(x)\), which agrees with D2 when \(p=2\). Consistent.
B-4. Functional Derivative Using the Delta Function¶
Solution strategy: Express \(F[f] = f(a) = \int f(y)\,\delta(y-a)\,dy\) in integral form, and compute the functional derivative according to the definition.
Calculation:
Substitute \(f(y) \to f(y) + \epsilon\,\delta(y - x)\):
Here we used \(\int \delta(y-x)\,\delta(y-a)\,dy = \delta(x-a)\) (the composition property of the delta function).
Therefore:
Final answer:
Verification: This reflects the fact that "\(f(a)\) depends only on the value of \(f\) at \(y=a\)." There is sensitivity only at \(x = a\), and zero sensitivity everywhere else. It is natural that this is expressed by a delta function. Furthermore, \(\frac{\delta f(a)}{\delta f(x)} = \delta(x-a)\) is known as a fundamental formula of functional differentiation.
B-5. Application of the Euler-Lagrange Equation (1D Harmonic Oscillator)¶
Solution strategy: For \(L = \frac{1}{2}m\dot{x}^2 - \frac{1}{2}kx^2\), compute each partial derivative in sequence.
Calculation:
1.
2.
3.
4. Substituting into the Euler-Lagrange equation \(\frac{d}{dt}\left(\frac{\partial L}{\partial \dot{x}}\right) - \frac{\partial L}{\partial x} = 0\):
That is:
Verification: This is the equation of motion for a harmonic oscillator, describing simple harmonic motion with angular frequency \(\omega = \sqrt{k/m}\). It is consistent with Newton's second law \(F = -kx = ma\).
B-6. Calculation of Canonical Momenta¶
(a) Free Fall in a Uniform Gravitational Field¶
\(L = \frac{1}{2}m\dot{q}^2 - mgq\)
(b) 2-Dimensional Polar Coordinates¶
\(L = \frac{1}{2}m(\dot{r}^2 + r^2\dot{\theta}^2) - V(r)\)
Verification: \(p_r = m\dot{r}\) is the radial linear momentum. \(p_\theta = mr^2\dot{\theta}\) corresponds to the angular momentum \(L_z\). Since \(V(r)\) does not depend on \(\theta\), \(\theta\) is a cyclic coordinate, and \(p_\theta\) is a conserved quantity (conservation of angular momentum). This is physically correct.
B-7. Construction of the Hamiltonian¶
\(L = \frac{1}{2}m\dot{q}^2 - \frac{1}{2}m\omega^2 q^2\)
1. Canonical momentum:
2. Express \(\dot{q}\) in terms of \(p\):
3. Construct the Hamiltonian \(H = p\dot{q} - L\):
Final answer:
Verification: This has the form \(H = T + V\) (total energy). That the Legendre transform of \(L = T - V\) yields \(H = T + V\) is a general result. Furthermore, this agrees with the classical version of the quantum mechanical harmonic oscillator Hamiltonian \(\hat{H} = \frac{\hat{p}^2}{2m} + \frac{1}{2}m\omega^2\hat{q}^2\).
B-8. Application of the Field Euler-Lagrange Equation¶
Solution strategy: Apply the field Euler-Lagrange equation \(\partial_\mu\left(\frac{\partial\mathcal{L}}{\partial(\partial_\mu\phi)}\right) - \frac{\partial\mathcal{L}}{\partial\phi} = 0\) to \(\mathcal{L} = \frac{1}{2}\partial_\mu\phi\,\partial^\mu\phi\).
Calculation:
Since \(\mathcal{L}\) does not contain \(\phi\) itself:
Partial derivative with respect to \(\partial_\mu\phi\):
(Here, differentiating \(\frac{1}{2}\partial_\nu\phi\,g^{\nu\rho}\partial_\rho\phi\) with respect to \(\partial_\mu\phi\) gives \(g^{\mu\rho}\partial_\rho\phi = \partial^\mu\phi\).)
Substituting into the field Euler-Lagrange equation:
Final answer: This is the wave equation (massless Klein-Gordon equation). Written in components:
Verification: Since there is no mass term \(\frac{m^2}{2}\phi^2\), we should obtain the equation for a massless free field. \(\Box\phi = 0\) is indeed the massless Klein-Gordon equation (= wave equation). This is consistent.
B-9. Equation of Motion for \(\phi^3\) Theory¶
Solution strategy: Apply the field Euler-Lagrange equation to \(\mathcal{L} = \frac{1}{2}\partial_\mu\phi\,\partial^\mu\phi - \frac{m^2}{2}\phi^2 - \frac{g}{3!}\phi^3\).
Calculation:
Field Euler-Lagrange equation \(\partial_\mu\left(\frac{\partial\mathcal{L}}{\partial(\partial_\mu\phi)}\right) - \frac{\partial\mathcal{L}}{\partial\phi} = 0\):
Or in an equivalent form:
Final answer: The equation of motion for \(\phi^3\) theory is as given above. The left-hand side is the free Klein-Gordon equation operator, and the right-hand side is the nonlinear interaction term.
Verification: Setting \(g = 0\) reduces to the free Klein-Gordon equation \((\Box + m^2)\phi = 0\). Also, comparing with the \(\phi^4\) theory example in the text, where \(\frac{\lambda}{4!}\phi^4\) gives \(\frac{\lambda}{3!}\phi^3\) on the right-hand side following the same pattern, \(\frac{g}{3!}\phi^3\) yields \(\frac{g}{2}\phi^2\). This is consistent.
B-10. Chain Rule for Functional Derivatives¶
Solution strategy: Substitute \(q(t) \to q(t) + \epsilon\,\delta(t-t')\) into \(S[q] = \int_{t_1}^{t_2}\frac{1}{2}m[\dot{q}(t)]^2\,dt\) and extract the terms first order in \(\epsilon\).
Calculation:
Under \(q(t) \to q(t) + \epsilon\,\delta(t-t')\), we have \(\dot{q}(t) \to \dot{q}(t) + \epsilon\,\frac{d}{dt}\delta(t-t')\).
Expanding to first order in \(\epsilon\):
The first-order term in \(\epsilon\):
Integrating by parts (\(u = m\dot{q}(t)\), \(dv = \frac{d}{dt}\delta(t-t')\,dt\)):
Corresponding to the endpoint conditions \(\delta q(t_1) = \delta q(t_2) = 0\), the surface term vanishes when \(t'\) lies in the interior of the interval (since \(\delta(t-t')\) is zero at \(t = t_1, t_2\)).
Applying the sifting property of the delta function:
Final answer:
Verification: The Euler-Lagrange equation for \(L = \frac{1}{2}m\dot{q}^2\) (with \(V = 0\)) is \(m\ddot{q} = 0\). Setting the functional derivative \(\frac{\delta S}{\delta q(t')} = 0\) gives \(-m\ddot{q}(t') = 0\), i.e., \(m\ddot{q} = 0\), which is consistent.
Medium¶
M-1. Deriving Newton's Gravitational Equation of Motion from the Action Principle¶
Solution strategy: Compute the variation of the action for \(L = \frac{1}{2}m\dot{z}^2 - mgz\), and derive the Euler-Lagrange equation through integration by parts.
1. Variation of the Action¶
The action is \(S[z] = \int_{t_1}^{t_2}\left(\frac{1}{2}m\dot{z}^2 - mgz\right)dt\).
We displace the path as \(z(t) \to z(t) + \delta z(t)\) (with boundary conditions \(\delta z(t_1) = \delta z(t_2) = 0\)).
Computing each partial derivative:
Substituting:
We integrate the second term by parts. Since \(\delta\dot{z} = \frac{d}{dt}(\delta z)\):
The boundary conditions \(\delta z(t_1) = \delta z(t_2) = 0\) cause the surface term to vanish:
Therefore:
2. Euler-Lagrange Equation¶
For \(\delta S = 0\) to hold for arbitrary \(\delta z(t)\), the integrand must vanish:
3. Agreement with Newton's Equation of Motion¶
The force acting on a particle of mass \(m\) in a uniform gravitational field is \(F = -mg\) (taking the vertically upward direction as positive). Newton's second law \(F = ma\) gives:
This is in complete agreement with the result obtained above.
Verification: Dimensional analysis: \([m\ddot{z}] = \text{kg}\cdot\text{m/s}^2 = \text{N}\), \([mg] = \text{kg}\cdot\text{m/s}^2 = \text{N}\). Consistent. Furthermore, taking \(g \to 0\) yields \(m\ddot{z} = 0\) (uniform rectilinear motion), which is physically correct.
M-2. Canonical Momentum and Hamiltonian Density of a Field¶
1. Canonical Momentum Density¶
2. Hamiltonian Density¶
Substituting \(\dot{\phi} = \pi\):
3. Verification of Positive Definiteness¶
\(\mathcal{H}\) is the sum of three terms:
- \(\frac{1}{2}\pi^2 \geq 0\) (square of a real number)
- \(\frac{1}{2}(\nabla\phi)^2 \geq 0\) (squared norm of a vector)
- \(\frac{m^2}{2}\phi^2 \geq 0\) (\(m^2 > 0\) and square of a real number)
Therefore \(\mathcal{H} \geq 0\), and the energy density is positive definite (strictly speaking, non-negative definite). The equality \(\mathcal{H} = 0\) holds only when \(\pi = 0\), \(\nabla\phi = 0\), and \(\phi = 0\).
Consistency check: This has the same structure as the harmonic oscillator in particle mechanics, where \(H = \frac{p^2}{2m} + \frac{1}{2}m\omega^2 q^2\) (positive definite). This is consistent with the fact that each mode of the field is an independent harmonic oscillator. Furthermore, it agrees with the classical version of the Hamiltonian \(\hat{H} = \int d^3x\,\hat{\mathcal{H}}\) obtained when quantizing the Klein-Gordon field in Ch. 4.
M-3. Poisson Brackets and Hamilton's Equations of Motion¶
1. Verification of \(\{q, p\}_{\mathrm{PB}} = 1\)¶
2. Hamilton's Equations of Motion¶
For \(H = \frac{p^2}{2m} + V(q)\):
Equation for \(\dot{q}\):
Equation for \(\dot{p}\):
3. Canonical Quantization Prescription¶
Applying the prescription \(\{A, B\}_{\mathrm{PB}} \to \frac{1}{i\hbar}[\hat{A}, \hat{B}]\) to \(\{q, p\}_{\mathrm{PB}} = 1\):
Verification: This is the fundamental commutation relation of quantum mechanics, and served as the starting point for canonical quantization of fields in Ch. 4. Combining \(\dot{q} = p/m\) and \(\dot{p} = -dV/dq\) reproduces \(m\ddot{q} = -dV/dq = F\) (Newton's second law).
M-4. Legendre Transform for Systems with Multiple Degrees of Freedom¶
1. Proof that \(H\) is a function of \((q_i, p_i)\) only¶
We compute the total differential of \(H = \sum_{i=1}^N p_i\dot{q}_i - L(q_i, \dot{q}_i)\):
Using the definition of canonical momentum \(p_i = \frac{\partial L}{\partial \dot{q}_i}\), the terms containing \(d\dot{q}_i\) are:
Therefore the \(d\dot{q}_i\) terms cancel completely:
Since \(dH\) is written solely in terms of \(dp_i\) and \(dq_i\), \(H\) is a function of \((q_i, p_i)\) only. It does not depend on \(\dot{q}_i\). \(\square\)
2. Derivation of Hamilton's canonical equations¶
Since \(H\) is a function of \((q_i, p_i)\), its total differential is:
We compare this with the expression obtained above:
Comparing the coefficients of \(dp_i\):
Comparing the coefficients of \(dq_i\):
From the Euler-Lagrange equations, \(\frac{\partial L}{\partial q_i} = \frac{d}{dt}\frac{\partial L}{\partial \dot{q}_i} = \dot{p}_i\), so:
Summarizing, we obtain Hamilton's canonical equations:
Verification: We check with \(N=1\), \(H = \frac{p^2}{2m} + V(q)\): \(\dot{q} = \frac{\partial H}{\partial p} = \frac{p}{m}\), \(\dot{p} = -\frac{\partial H}{\partial q} = -\frac{dV}{dq}\). This agrees with the results from S3.
M-5. Relationship Between Functional Derivatives and the Euler-Lagrange Equation¶
Solution strategy: Substitute \(q(t) \to q(t) + \epsilon\,\delta(t-t')\) and extract the terms first-order in \(\epsilon\) from the action.
Calculation:
Under \(q(t) \to q(t) + \epsilon\,\delta(t-t')\), we have \(\dot{q}(t) \to \dot{q}(t) + \epsilon\,\frac{d}{dt}\delta(t-t')\).
Expanding \(L\) to first order in \(\epsilon\):
Extracting the terms first-order in \(\epsilon\):
The first term, by the sifting property of the delta function:
Integrating the second term by parts:
When \(t'\) is in the interior of the interval, the boundary terms vanish (\(\delta(t_1 - t') = \delta(t_2 - t') = 0\)). Applying the sifting property of the delta function to the remaining term:
Combining everything:
Therefore, \(\frac{\delta S}{\delta q(t')} = 0\) (for all \(t'\)) is equivalent to:
That is, the Euler-Lagrange equation.
Verification: In D10, for the case \(L = \frac{1}{2}m\dot{q}^2\), we obtained \(\frac{\delta S}{\delta q(t')} = -m\ddot{q}(t')\). Checking with the formula above: \(\frac{\partial L}{\partial q} = 0\), \(\frac{d}{dt}\frac{\partial L}{\partial \dot{q}} = m\ddot{q}\). Therefore \(\frac{\delta S}{\delta q(t')} = 0 - m\ddot{q}(t') = -m\ddot{q}(t')\). This agrees.
Advanced¶
A-1. Charged Particle in an Electromagnetic Field and Gauge Dependence of Canonical Momentum¶
1. Canonical Momentum¶
The \(i\)-th component of the canonical momentum:
In vector notation:
This differs from the mechanical momentum \(m\dot{\mathbf{r}}\). The difference is \(e\mathbf{A}\), which depends on the vector potential.
2. Construction of the Hamiltonian¶
Using \(\dot{\mathbf{r}} = \frac{\mathbf{p} - e\mathbf{A}}{m}\):
Computing each term:
Therefore:
Defining \(\boldsymbol{\Pi} \equiv \mathbf{p} - e\mathbf{A}\):
3. Verification of Gauge Invariance¶
Gauge transformation:
Change in canonical momentum:
Therefore the canonical momentum is gauge-dependent:
However, the combination \(\mathbf{p} - e\mathbf{A}\) appearing in the Hamiltonian transforms as:
Gauge invariant! Furthermore:
At first glance it appears that \(H\) changes, but this corresponds to the fact that \(H\) transforms under a canonical transformation in the case of a time-dependent gauge transformation. The equations of motion (the physical equations written in terms of \(\dot{\mathbf{r}}\) and \(\ddot{\mathbf{r}}\)) are gauge invariant. Indeed, the mechanical momentum \(m\dot{\mathbf{r}} = \mathbf{p} - e\mathbf{A}\) is gauge invariant, and the Lorentz force equation:
is gauge invariant because \(\mathbf{E} = -\nabla V - \frac{\partial\mathbf{A}}{\partial t}\) and \(\mathbf{B} = \nabla\times\mathbf{A}\) are gauge invariant.
4. Relation to Minimal Coupling¶
Upon quantization, the canonical momentum is promoted to an operator: \(\mathbf{p} \to \hat{\mathbf{p}}\). The Hamiltonian becomes:
This is nothing other than the minimal coupling prescription: "in the free-particle Hamiltonian \(\frac{\hat{\mathbf{p}}^2}{2m}\), replace \(\hat{\mathbf{p}} \to \hat{\mathbf{p}} - e\mathbf{A}\)."
In Ch. 6 (quantization of QED) of the main text, we introduced the covariant derivative \(\partial_\mu \to D_\mu = \partial_\mu + ieA_\mu\) in covariant form. Looking at the spatial components, this corresponds to \(-i\hbar\nabla \to -i\hbar\nabla - e\mathbf{A}\), i.e., \(\hat{\mathbf{p}} \to \hat{\mathbf{p}} - e\mathbf{A}\).
In other words, the minimal coupling prescription of QED originates from the distinction between canonical momentum and mechanical momentum in classical analytical mechanics. Gauge-invariant physical quantities always appear in the combination \(\mathbf{p} - e\mathbf{A}\) (mechanical momentum), and this naturally requires gauge-covariant coupling in quantum theory as well.
Consistency checks: - Dimensions: \([e\mathbf{A}] = \text{C}\cdot\text{V·s/m} = \text{kg·m/s}\), which has dimensions of momentum. Consistent. - In the limit \(\mathbf{A} = 0\), we recover \(H = \frac{p^2}{2m} + eV\) (a particle in an electrostatic potential). - Lorentz covariance: In four-vector form, \(p^\mu - eA^\mu\) is the covariant combination.
A-2. From Field Poisson Brackets to Canonical Quantization¶
1. Verification of \(\{\phi(\mathbf{x}), \pi(\mathbf{y})\}_{\mathrm{PB}} = \delta^3(\mathbf{x} - \mathbf{y})\)¶
Definition of the Poisson bracket for fields:
Let \(A = \phi(\mathbf{x})\), \(B = \pi(\mathbf{y})\).
Computing the functional derivatives:
Substituting:
Using the sifting property of the delta function (the \(\mathbf{z}\) integration picks out \(\mathbf{z} = \mathbf{x}\)):
2. \(\{\phi(\mathbf{x}), \phi(\mathbf{y})\}_{\mathrm{PB}} = 0\) and \(\{\pi(\mathbf{x}), \pi(\mathbf{y})\}_{\mathrm{PB}} = 0\)¶
\(\phi\)-\(\phi\):
\(\pi\)-\(\pi\):
3. Derivation of \(\dot{\phi} = \pi\)¶
With \(H = \int d^3y\,\mathcal{H}\) where \(\mathcal{H} = \frac{1}{2}\pi^2 + \frac{1}{2}(\nabla\phi)^2 + \frac{m^2}{2}\phi^2\):
Computing \(\frac{\delta H}{\delta\pi(\mathbf{z})}\). The only term in \(H\) containing \(\pi\) is \(\int d^3y\,\frac{1}{2}\pi(\mathbf{y})^2\):
Therefore:
4. Derivation of \(\dot{\pi} = \nabla^2\phi - m^2\phi\) and the Klein-Gordon Equation¶
The first term vanishes since \(\frac{\delta\pi(\mathbf{x})}{\delta\phi(\mathbf{z})} = 0\). The second term gives:
Computing \(\frac{\delta H}{\delta\phi(\mathbf{x})}\). The terms in \(H\) containing \(\phi\) are:
Functional derivative of the second term:
Functional derivative of the first term. For \((\nabla\phi)^2 = \nabla_i\phi\,\nabla_i\phi\):
Substituting \(\phi(\mathbf{y}) \to \phi(\mathbf{y}) + \epsilon\,\delta^3(\mathbf{y}-\mathbf{x})\) gives \(\nabla_i\phi(\mathbf{y}) \to \nabla_i\phi(\mathbf{y}) + \epsilon\,\nabla_i^{(y)}\delta^3(\mathbf{y}-\mathbf{x})\). The first-order term in \(\epsilon\):
Integrating by parts (the surface term vanishes at infinity):
Therefore:
Hence:
Recovery of the Klein-Gordon equation:
From \(\dot{\phi} = \pi\), we have \(\dot{\pi} = \ddot{\phi}\). Therefore:
This is the Klein-Gordon equation.
5. The Canonical Quantization Prescription¶
Applying the prescription \(\{A, B\}_{\mathrm{PB}} \to \frac{1}{i\hbar}[\hat{A}, \hat{B}]\).
Applying it to the result of part 1, \(\{\phi(\mathbf{x}), \pi(\mathbf{y})\}_{\mathrm{PB}} = \delta^3(\mathbf{x}-\mathbf{y})\):
Similarly, from the results of part 2:
These are precisely the equal-time commutation relations introduced in Ch. 4 of the main text.
Consistency checks: - Correspondence with particle mechanics: \(\{q, p\}_{\mathrm{PB}} = 1 \to [\hat{q}, \hat{p}] = i\hbar\) and \(\{\phi(\mathbf{x}), \pi(\mathbf{y})\}_{\mathrm{PB}} = \delta^3(\mathbf{x}-\mathbf{y}) \to [\hat{\phi}(\mathbf{x}), \hat{\pi}(\mathbf{y})] = i\hbar\,\delta^3(\mathbf{x}-\mathbf{y})\) represent a natural extension replacing the discrete index \(i\) with the continuous index \(\mathbf{x}\) (Kronecker delta \(\delta_{ij}\) → Dirac delta \(\delta^3(\mathbf{x}-\mathbf{y})\)). - The fact that Hamilton's equations of motion reproduce the Klein-Gordon equation confirms the equivalence between the Hamiltonian and Lagrangian formulations. - Lorentz covariance: The equal-time commutation relations single out a particular time slice, but the Klein-Gordon equation itself is Lorentz covariant. In the quantum theory, these are extended to covariant commutation relations (the Pauli-Jordan function) (see Ch. 4 in the main text).
Feedback on this page
Let us know if something was unclear, incorrect, or could be improved.