26.2. Examples#

Contents

26.2.1. Shortest path#

Shortest path between two given points \(A\), \(B\). The length of a curve \(\gamma_{AB}\) connecting the two points reads

\[L_{\gamma_{AB}} = \int_{\gamma_{AB}} ds \ ,\]

with \(s\) the arc-length parameter. The value of \(s\) at the extremes of integration is not independent on the curve \(\gamma_{AB}\), and thus on the result. In order to write the integrals w.r.t. a parameter with given values at the extreme points, a change of parameter is required. Let’s define a parameter \(\ell\), so that the curve in space can be represented as \(\gamma: \, \mathbf{r}(t)\), \(t \in [t_A, t_B]\), with \(t_A\), \(t_B\) given, and \(\mathbf{r}(t_A) = \mathbf{r}_A\), \(\mathbf{r}(t_B) = \mathbf{r}_B\) given. The elementary length \(ds\) becomes

\[| d \mathbf{r} | = \underbrace{| \mathbf{r}'(s)|}_{=1, \, \text{by def of $s$}} ds = | \mathbf{r}'(\ell) | \, d \ell \ .\]

The integral thus becomes

\[L_{\gamma_{AB}} = L[\mathbf{r}(\ell)] = \int_{\ell_A}^{\ell_B} |\mathbf{r}'(\ell)| \, d \ell \ ,\]

where the dependence on the curve \(\mathbf{r}(\ell)\) is made explicit, and the values of the parameter \(\ell\) at the extreme is given. Variation of the functional reads

\[\begin{split}\begin{aligned} \delta L & = \delta \int_{\ell_A}^{\ell_B} |\mathbf{r}'(\ell)| \, d \ell = \\ & = \int_{\ell_A}^{\ell_B} \delta |\mathbf{r}'(\ell)| \, d \ell = \\ & = \int_{\ell_A}^{\ell_B} \delta \mathbf{r}' \cdot \dfrac{\mathbf{r}'}{|\mathbf{r}'|} d \ell = \\ & = \underbrace{ \left.\delta \mathbf{r} \cdot \hat{\mathbf{t}} \right|_{\ell_A}^{\ell_B}}_{= 0} - \int_{\ell_A}^{\ell_B} \delta \mathbf{r} \cdot \dfrac{d \hat{\mathbf{t}}}{d \ell} d \ell \ , \end{aligned}\end{split}\]

being \(\hat{\mathbf{t}}(\ell) = \frac{\mathbf{r}'(\ell)}{|\mathbf{r}'(\ell)|}\), the unit-length tangent vector to the curve. Stationariety of \(L\), for any possible variation \(\delta \mathbf{r}(\ell)\) implies

\[\dfrac{d \hat{\mathbf{t}}}{d \ell} = \mathbf{0} \ ,\]

Thus, the solution reads \(\mathbf{r}(\ell) = \alpha \hat{\mathbf{t}} \, \ell + \mathbf{r}_0\), and prescribing the boundary conditions

\[\mathbf{r}(\ell) = \mathbf{r}_A + \frac{\ell-\ell_A}{\ell_B-\ell_A} \left( \mathbf{r}_B-\mathbf{r}_A \right) \ .\]
Details about the integration

26.2.2. Fermat principle#

In geometrical optics, Fermat principles asserts that a light ray between two points represent the path with the shortest travelling time connecting them. Let \(\gamma\) a curve in space. The travelling time of a light ray with speed \(c\) reads

\[T = \int_{\gamma_{AB}} dt = \int_{\gamma_{AB}} \dfrac{1}{c} d s \ ,\]

begin \(ds = c dt\). Let \(\ell\) be a parameter, so that \(\gamma: \, \mathbf{r}(\ell)\) is a parametrization of the curve, with the extreme points independent from the result. The speed of light may depend on the position in space, \(c(\mathbf{r})\), and it can be written as a function of the speed of light in vacuum and the refractive index \(n(\mathbf{r})\) as \(c(\mathbf{r}) = \frac{c_0}{n(\mathbf{r})}\). Making the dependence on \(\mathbf{r}(\ell)\), \(\mathbf{r}'(\ell)\) explicit in the functional,

\[T[\mathbf{r}(\ell)] = \int_{\ell_A}^{\ell_B} n(\mathbf{r}(\ell)) \, |\mathbf{r}'(\ell)| \, d \ell \ .\]

Fermat principle reads

\[\begin{split}\begin{aligned} 0 & = \delta T = \\ & = \delta \int_{\ell_A}^{\ell_B} n(\mathbf{r}(\ell)) \, |\mathbf{r}'(\ell)| \, d \ell = \\ & = \int_{\ell_A}^{\ell_B} \left\{ \delta \mathbf{r} \cdot \nabla_{\mathbf{r}} n |\mathbf{r}|' + \delta \mathbf{r}' \cdot \frac{\mathbf{r}'}{|\mathbf{r}'|} n(\mathbf{r}) \right\} \, d \ell = \\ & = \int_{\ell_A}^{\ell_B} \delta \mathbf{r} \cdot \left\{ \nabla_{\mathbf{r}} n \, |\mathbf{r}|' - \dfrac{d}{d \ell} \left( \frac{\mathbf{r}'}{|\mathbf{r}'|} n(\mathbf{r}) \right) \right\} \, d \ell + \underbrace{ \left. \delta \mathbf{r} \cdot \frac{\mathbf{r}'}{|\mathbf{r}'|} n(\mathbf{r}) \right|_{\ell_A}^{\ell_B}}_{=0} \ , \end{aligned}\end{split}\]

From the arbitrarieness of \(\delta \mathbf{r}\),

\[\begin{split}\begin{aligned} 0 & = \dfrac{d}{d \ell} \left( n(\mathbf{r}(\ell)) \dfrac{\mathbf{r}'(\ell)}{|\mathbf{r}'(\ell)|} \right) - |\mathbf{r}'(\ell)| \, \nabla n(\mathbf{r}(\ell)) = \\ & = \dfrac{\mathbf{r}'}{|\mathbf{r}|} \mathbf{r}' \cdot \nabla n - n \dfrac{d}{d \ell} \left( \dfrac{\mathbf{r}'}{|\mathbf{r}'|} \right) - |\mathbf{r}'| \nabla n = \\ & = | \mathbf{r}' | \left[ \mathbb{I} - \dfrac{\mathbf{r}' \cdot \mathbf{r}'}{|\mathbf{r}'|^2} \right] \cdot \nabla n - n \dfrac{d}{d\ell} \left( \dfrac{\mathbf{r}'}{|\mathbf{r}'|} \right) \ . \end{aligned}\end{split}\]

and thus

\[\mathbb{P}_{\perp \hat{\mathbf{t}}} \cdot \nabla n = \dfrac{n}{|\mathbf{r}'|} \dfrac{d \hat{\mathbf{t}}}{d \ell} \ ,\]

or, re-introducting the “physical” variable \(s\) (the arc-length is the parameter with physical, geometrical, non arbitrary meaning; the equations should be invariant from the parametrization, so we should be happy of the following result, written in invariant form),

(26.1)#\[\mathbb{P}_{\perp \hat{\mathbf{t}}} \cdot \nabla n = n \dfrac{d \hat{\mathbf{t}}}{ds} \ .\]

being \(\mathbb{P}_{\perp \hat{\mathbf{t}}}\) the orthogonal projector in the direction perpendicular to the unit tangent vector \(\hat{\mathbf{t}}\). Using the results of geometry of curves, the derivative \(\hat{\mathbf{t}}'(s) = \kappa(s) \hat{\mathbf{n}}(s)\), being \(\hat{\mathbf{n}}\) the unit normal vector pointing towards the local center of curvature (center of the osculator circle, tangent with the same second order derivative), and \(\kappa(s) = \frac{1}{R(s)}\) is the local curvature, and \(R(s)\) the radius of curvature (the radius of the osculator circle). Thus

\[\kappa \hat{\mathbf{n}} = \left[ \mathbb{I} - \hat{\mathbf{t}} \otimes \hat{\mathbf{t}} \right] \cdot \frac{\nabla n}{n}\]

Projecting this equation on the local Frenet basis \(\{ \hat{\mathbf{t}}, \hat{\mathbf{n}}, \hat{\mathbf{b}} \}\),

\[\begin{split}\left\{ \begin{aligned} t: & \, 0 = \frac{1}{n} \hat{\mathbf{t}} \cdot \nabla n \\ n: & \, \kappa = \frac{1}{n} \hat{\mathbf{n}} \cdot \nabla n \\ b: & \, 0 = \frac{1}{n} \hat{\mathbf{b}} \cdot \nabla n \\ \end{aligned} \right.\end{split}\]

26.2.3. Lagrange equations in classical mechanics#

For a detailed treatment of system of point masses and rigid bodies in classical mechanics, see [Basics: Classical Mechanics], in particular Classical Mechanics: Analytical Mechanics: Lagrange Equations of the Second Kind, and its subsection. Here, only the Lagrangian approach to the a point mass system is shown.

Let \(\mathbf{r}(q^k(t), t)\) the position of the mass point, as a function of a set of generalized coordinates \(q^k(t)\) and time \(t\). The velocity of the mass can be written as

\[\mathbf{v} = \dot{\mathbf{r}}(t) = \dot{q}^k \partial_{q^k} \mathbf{r} + \partial_t \mathbf{r} \ .\]

The velocity field can be interpreted as a function \(\mathbf{v}\left( q^k, \dot{q}^k, t\right)\). From the latter relation, as \(\partial_{q^k} \mathbf{r}\) is independent from the \(\dot{q}^k\), it follows

\[\partial_{q^k} \mathbf{r} = \partial_{\dot{q}^k} \dot{\mathbf{r}} \ .\]

Following Newton’s mechanics, the equation of motion of a point mass with mass \(m\) in a force field with potential \(V(\mathbf{r})\) reads

\[m \ddot{\mathbf{r}} = - \nabla_{\mathbf{r}} V(\mathbf{r}) \ .\]

Multiplyig the equation of motion by \(\partial_{q^k} \mathbf{r}\),

\[\begin{split}\begin{aligned} 0 & = \partial_{q^k} \mathbf{r} \cdot \left\{ m \ddot{\mathbf{r}} + \nabla_{\mathbf{r}} V \right\} = \\ & = \dfrac{d}{dt} \left( \partial_{q^k} \mathbf{r} \cdot m \dot{\mathbf{r}} \right) - \dfrac{d}{dt} \partial_{q^k} \mathbf{r} \cdot m \dot{\mathbf{r}} + \partial_{q^k} V = && \text{(1)} \\ & = \dfrac{d}{dt} \left( \partial_{\dot{q}^k} \dot{\mathbf{r}} \cdot m \dot{\mathbf{r}} \right) - \partial_{q^k} \dot{\mathbf{r}} \cdot m \dot{\mathbf{r}} + \partial_{q^k} V = \\ & = \dfrac{d}{dt} \dfrac{\partial}{\partial \dot{q}^k} \left( \frac{1}{2} m \dot{\mathbf{r}} \cdot \dot{\mathbf{r}} \right) - \dfrac{\partial}{\partial q^k} \left( \frac{1}{2} m \dot{\mathbf{r}} \cdot \dot{\mathbf{r}} - V \right) = \\ & = \dfrac{d}{dt} \dfrac{\partial \mathscr{L}}{\partial \dot{q}^k} - \dfrac{\partial \mathscr{L}}{\partial q^k} \ , \end{aligned}\end{split}\]

with the Lagrangian function \(\mathscr{L}(\mathbf{r}; \dot{\mathbf{r}}, t) = \frac{1}{2} m |\dot{\mathbf{r}}|^2 - V(\mathbf{r})\). Here, in \(\text{(1)}\) the details about mixed derivatives are used to write \(\frac{d}{dt} \partial_{q^k} \mathbf{r} = \partial_{q^k} \mathbf{v}\).

Details about mixed derivatives
\[\begin{split}\begin{aligned} \dfrac{d}{dt} \partial_{q^k} \mathbf{r}\left( q^l\left(\mathbf{r}, t\right), t\right) & = \dot{q}^l \partial_{q^l} \partial_{q^k} \mathbf{r} + \partial_t \partial_{q^k} \mathbf{r} = \\ & = \partial_{q^k} \left\{ \dot{q}^l \partial_{q^l} \mathbf{r} + \partial_t \mathbf{r} \right\} = \\ & = \partial_{q^k} \mathbf{v} \ . \end{aligned}\end{split}\]

26.2.4. Lagrange equations in special relativity#

26.2.4.1. Using tensor formalism#

Equations of motion and physical principles must be written using physical properties, and thus be independent from an arbitrary parametrization.

Strong formulation. Let the equation of motion of a particle be

\[m \dfrac{d \mathbf{U}}{d \tau} = \mathbf{K} \ ,\]

with \(m\) the rest mass, \(\tau\) the proper time, \(\mathbf{U} = \frac{d \mathbf{X}}{d \tau}\) the 4-velocity, and \(\mathbf{K}\) the 4-force.

Weak formulation. Multiplying by an arbitrary test 4-vector \(\mathbf{W}(\tau)\) and integrating over an arbitrary interval \(\tau \in [ \tau_0, \tau_1]\),

\[\begin{aligned} 0 & = \int_{\tau_0}^{\tau_1} \mathbf{W} \cdot \left\{ m \dfrac{d \mathbf{U}}{d \tau} - \mathbf{K} \right\} d \tau \ . \end{aligned}\]

The parametrization of the trajectory is changed from \(\tau\) to an arbitrary parameter \(\lambda\), so that \(\mathbf{X}_{0,1} = \mathbf{X}(\tau_{0,1}) = \mathbf{X}(\tau(\lambda_{0,1}))\) are prescribed for given values \(\lambda_{0,1}\). As the invariant \(d \tau\) is defined through

\[c^2 d \tau^2 = d s^2 = d \mathbf{X} \cdot d \mathbf{X} = \mathbf{X}'(\lambda) \cdot \mathbf{X}'(\lambda) \, d \lambda^2 \ ,\]

the relation between the differentials and the rule of derivation of composite functions read

\[d \tau = \dfrac{\sqrt{\mathbf{X}' \cdot \mathbf{X}'}}{c} \, d \lambda \qquad , \qquad \dfrac{d}{d \tau} = \dfrac{d \lambda}{d \tau} \dfrac{d}{d \lambda} = \dfrac{c}{\sqrt{\mathbf{X}' \cdot \mathbf{X}'}} \dfrac{d}{d \lambda} \ .\]

The velocity vector becomes

\[\mathbf{U} = \dfrac{d \mathbf{X}}{d \tau} = \dfrac{d \lambda}{d \tau} \dfrac{d \mathbf{X}}{d \lambda} = \dfrac{c}{\sqrt{\mathbf{X}' \cdot \mathbf{X}'}} \mathbf{X}' \ . \]

The integral thus becomes

\[\begin{split}\begin{aligned} 0 & = \int_{\tau_0}^{\tau_1} \mathbf{W} \cdot \left\{ m \dfrac{d \mathbf{U}}{d \tau} - \mathbf{K} \right\} d \tau = \\ & = \int_{\lambda_0}^{\lambda_1} \mathbf{W} \cdot \left\{ m \dfrac{c}{\sqrt{\mathbf{X}' \cdot \mathbf{X}'}} \left( \dfrac{c}{\sqrt{\mathbf{X}' \cdot \mathbf{X}'}} \mathbf{X}' \right)' - \mathbf{K} \right\} \dfrac{\sqrt{\mathbf{X}' \cdot \mathbf{X}'}}{c} d \lambda = \\ & = \int_{\lambda_0}^{\lambda_1} \mathbf{W} \cdot \left( \dfrac{mc}{\sqrt{\mathbf{X}' \cdot \mathbf{X}'}} \mathbf{X}' \right)' \, d \lambda - \int_{\lambda_0}^{\lambda_1} \mathbf{W} \cdot \mathbf{K} \dfrac{\sqrt{\mathbf{X}' \cdot \mathbf{X}'}}{c} d \lambda = \\ \end{aligned}\end{split}\]

Lagrange mechanics immediately follows choosing the test function \(\mathbf{W} = \delta \mathbf{X}\).

  • Free particle. For a free particle, \(\mathbf{K} = \mathbf{0}\).

    \[\begin{split}\begin{aligned} 0 & = \int_{\lambda_0}^{\lambda_1} \delta \mathbf{X} \cdot \left( \dfrac{mc}{\sqrt{\mathbf{X}' \cdot \mathbf{X}'}} \mathbf{X}' \right)' \, d \lambda = \\ & = \underbrace{\left. \left[ \delta \mathbf{X} \cdot \dfrac{mc}{\sqrt{\mathbf{X}' \cdot \mathbf{X}'}} \mathbf{X}' \right) \right|_{\lambda_0}^{\lambda_1}}_{= 0} - \int_{\lambda_0}^{\lambda_1} \delta \mathbf{X}' \cdot \dfrac{mc}{\sqrt{\mathbf{X}' \cdot \mathbf{X}'}} \mathbf{X}' \, d \lambda = \\ & = - \delta \int_{\lambda_0}^{\lambda_1} mc \, \sqrt{\mathbf{X}' \cdot \mathbf{X}'} \, d \lambda = \\ & = - \delta \int_{\tau_0}^{\tau_1} mc^2 \, d \tau = \\ & = - \delta \int_{s_0}^{s_1} mc \, d s = \\ & = \delta S \ , \end{aligned}\end{split}\]

    where the change of the independent parameters is made after the variation is put outside the integral \(\int_{\lambda_0}^{\lambda_1}\), with given extreme values.

  • Particle subjecd to Lorentz force,

    \[\mathbf{K} = q \mathbf{F}(\mathbf{X}) \cdot \mathbf{U} = q \mathbf{F}(\mathbf{X}) \frac{c}{\sqrt{\mathbf{X}' \cdot \mathbf{X}'}} \mathbf{X}' \ .\]

    The second integral becomes

    \[\begin{split}\begin{aligned} - \int_{\lambda_0}^{\lambda_1} \delta \mathbf{X} \cdot \mathbf{K} \dfrac{\sqrt{\mathbf{X}' \cdot \mathbf{X}'}}{c} d \lambda & = - q \int_{\lambda_0}^{\lambda_1} \delta \mathbf{X} \cdot \mathbf{F} \cdot \mathbf{U} \dfrac{\sqrt{\mathbf{X}' \cdot \mathbf{X}'}}{c} d \lambda = \\ & = - q \int_{\lambda_0}^{\lambda_1} \delta \mathbf{X} \cdot \mathbf{F} \cdot \mathbf{X}' \, d \lambda = \\ & = - q \int_{\lambda_0}^{\lambda_1} \delta \mathbf{X} \cdot \left[ \nabla \mathbf{A} - \nabla^T \mathbf{A} \right] \cdot \mathbf{X}' \, d \lambda = && \text{(see details, below)} \\ & = - \delta \int_{\lambda_0}^{\lambda_1} q \mathbf{A}(\mathbf{X}) \cdot \mathbf{X}' \, d \lambda = \\ & = - \delta \int_{\tau_0}^{\tau_1} q \mathbf{A}(\mathbf{X}) \cdot \mathbf{U} \, d \tau \end{aligned}\end{split}\]

    The variational principle thus reads

    \[\begin{split}\begin{aligned} 0 & = \delta S = \\ & = \delta \int_{\tau_0}^{\tau_1} \left\{ - m c^2 - q \mathbf{A}(\mathbf{X}(\tau)) \cdot \mathbf{U}(\tau) \right\} \, d \tau = \\ & = \delta \int_{\lambda_0}^{\lambda_1} \left\{ - m c \sqrt{\mathbf{X}'(\lambda) \cdot \mathbf{X}'(\lambda)} - q \mathbf{A}\left(\mathbf{X}(\lambda)\right) \cdot \mathbf{X}'(\lambda) \right\} \, d \lambda \ . \end{aligned}\end{split}\]
    EM field force - details
    \[\begin{split}\begin{aligned} \delta \int_{\lambda_0}^{\lambda_1} \mathbf{A}(\mathbf{X}) \cdot \mathbf{X}' \, d \lambda & = \int_{\lambda_0}^{\lambda_1} \delta \mathbf{X} \cdot \nabla \mathbf{A}(\mathbf{X}) \cdot \mathbf{X}' \, d \lambda + \int_{\lambda_0}^{\lambda_1} \mathbf{A}(\mathbf{X}) \cdot \delta \mathbf{X}' \, d \lambda \\ & = \int_{\lambda_0}^{\lambda_1} \delta \mathbf{X} \cdot \nabla \mathbf{A}(\mathbf{X}) \cdot \mathbf{X}' \, d \lambda + \left[ \mathbf{A}(\mathbf{X}) \cdot \delta \mathbf{X} \right]_{\lambda_0}^{\lambda_1} - \int_{\lambda_0}^{\lambda_1} \dfrac{d}{d \lambda} \mathbf{A}(\mathbf{X}(\lambda)) \cdot \delta \mathbf{X} = \\ & = \int_{\lambda_0}^{\lambda_1} \delta \mathbf{X} \cdot \nabla \mathbf{A}(\mathbf{X}) \cdot \mathbf{X}' \, d \lambda - \int_{\lambda_0}^{\lambda_1} \mathbf{X}' \cdot \mathbf{A}(\mathbf{X}(\lambda)) \cdot \delta \mathbf{X} = \\ & = \int_{\lambda_0}^{\lambda_1} \delta \mathbf{X} \cdot \left[ \nabla \mathbf{A}(\mathbf{X}) - \nabla^T \mathbf{A}(\mathbf{X}) \right] \cdot \mathbf{X}' \, d \lambda \end{aligned}\end{split}\]
    From the variational principle to the equations of motion
    \[\begin{split}\begin{aligned} 0 & = \delta \int_{\lambda_0}^{\lambda_1} \mathcal{L}\left( \mathbf{X}(\lambda), \mathbf{X}'(\lambda), \lambda \right) \, d \lambda = \\ & = \int_{\lambda_0}^{\lambda_1} \left\{ \delta \mathbf{X}'(\lambda) \cdot \nabla_{\mathbf{X}'} \mathcal{L} + \delta \mathbf{X}(\lambda) \cdot \nabla_{\mathbf{X}} \mathcal{L} \right\} \, d \lambda = \\ & = \underbrace{\left.\left[ \delta \mathbf{X} \cdot \nabla_{\mathbf{X}'} \mathcal{L} \right]\right|_{\lambda_0}^{\lambda_1}}_{=0} - \int_{\lambda_0}^{\lambda_1} \delta \mathbf{X} \cdot \left\{ \dfrac{d}{d\lambda} \left( \nabla_{\mathbf{X}'} \mathcal{L} \right) - \nabla_{\mathbf{X}} \mathcal{L} \right\} \, d \lambda \ , \end{aligned}\end{split}\]

    and, since \(\delta \mathbf{X}\) must be arbitary, Lagrange equations follow

    \[\dfrac{d}{d\lambda} \left( \nabla_{\mathbf{X}'} \mathcal{L} \right) - \nabla_{\mathbf{X}} \mathcal{L} = \mathbf{0} \ .\]

    If the Lagrangian funcion is

    \[\mathcal{L}(\mathbf{X}, \mathbf{X}', \lambda) = - m c \sqrt{\mathbf{X}'(\lambda) \cdot \mathbf{X}'(\lambda)} - q \mathbf{A}\left(\mathbf{X}(\lambda)\right) \cdot \mathbf{X}'(\lambda) \ ,\]

    its derivatives are

    \[\begin{split}\begin{aligned} \nabla_{\mathbf{X}'} \mathcal{L} & = - \dfrac{m c}{\sqrt{\mathbf{X}' \cdot \mathbf{X}'}} \mathbf{X}' - q \mathbf{A}(\mathbf{X}) = - m \mathbf{U} - q \mathbf{A} \\ \nabla_{\mathbf{X} } \mathcal{L} & = - q \nabla \mathbf{A} \cdot \mathbf{X}' = - q \nabla \mathbf{A} \cdot \mathbf{U} \dfrac{\sqrt{\mathbf{X}' \cdot \mathbf{X}'}}{c} \\ \end{aligned}\end{split}\]

    and

    \[\begin{split}\begin{aligned} \dfrac{d}{d\lambda} \nabla_{\mathbf{X}'} \mathcal{L} & = \dfrac{d \tau}{d\lambda} \dfrac{d}{d \tau} \left( - m \mathbf{U} - q \mathbf{A} \right) = \\ & = \dfrac{\sqrt{\mathbf{X}' \cdot \mathbf{X}'}}{c} \dfrac{d }{d \tau} \left(- m \mathbf{U} - q \mathbf{A}(\mathbf{X}) \right) = \\ & = \dfrac{\sqrt{\mathbf{X}' \cdot \mathbf{X}'}}{c} \left(- m \dfrac{d }{d \tau}\mathbf{U} - q \mathbf{U} \cdot \nabla \mathbf{A}(\mathbf{X}) \right) \ . \end{aligned}\end{split}\]

    Putting together all the pieces of the Lagrange equations, and dividing by \(\frac{\sqrt{\mathbf{X}' \cdot \mathbf{X}'}}{c}\) - different from zero, if the 3-velocity of the particle is \(|\mathbf{v}| < c\) -,

    \[0 = - m \dfrac{d \mathbf{U}}{d \tau} - q \mathbf{U} \cdot \nabla \mathbf{A} + q \nabla \mathbf{A} \cdot \mathbf{U} \ ,\]

    and thus

    \[m \dfrac{d \mathbf{U}}{d \tau} = q \left[ \nabla \mathbf{A} - \nabla^T \mathbf{A} \right] \cdot \mathbf{U} \ ,\]

    or with the definition of the anti-symmetric tensor \(\mathbf{F} = \nabla \mathbf{A} - \nabla^T \mathbf{A}\),

    \[m \dfrac{d \mathbf{U}}{d \tau} = q \, \mathbf{F} \cdot \mathbf{U} \ .\]

Using coordinates \(\{ q^\mu(\tau) \}\) to parametrize the position \(\mathbf{X}(q^\mu(\tau))\), the velocity reads

\[\mathbf{U} = \frac{d \mathbf{X}}{d \tau} = \dfrac{d q^{\mu}}{d \tau} \dfrac{\partial \mathbf{X}}{\partial q^{\mu}} = \dot{q}^{\mu} \mathbf{b}_{\mu} \ .\]

and the acceleration becomes

\[\dfrac{d \mathbf{U}}{d \tau} = \frac{d}{d \tau} \left( \dot{q}^{\mu} \mathbf{b}_{\mu} \right) = \left\{ \ddot{q}^{\mu} + \Gamma_{\nu \xi}^{\mu} \dot{q}^{\nu} \dot{q}^{\xi}\right\} \mathbf{b}_{\mu} \ .\]

The electromagnetic force per unit charge reads

\[\mathbf{F} \cdot \mathbf{U} = \left( F^{\mu}_{\ \ \nu} \mathbf{b}_{\mu} \otimes \mathbf{b}^{\nu} \right) \cdot \left( \dot{q}^{\xi} \mathbf{b}_{\xi} \right) = F^{\mu}_{\ \ \nu} \dot{q}^{\nu} \mathbf{b}_{\mu} \ .\]

Thus, the equation of motion in coordinates and parametrized with the proper time \(\tau\) is

\[m \left( \ddot{q}^{\mu} + \Gamma_{\nu \xi}^{\mu} \dot{q}^{\nu} \dot{q}^{\xi} \right) = q F^{\mu}_{\ \ \nu} \dot{q}^{\nu} \ .\]
Components of the tensor \(\ \mathbf{F}\)

The components of the tensor \(\mathbf{F}\) are immediately found considering its action on a vector \(\mathbf{V}\)

\[\mathbf{F} \cdot \mathbf{V} = \nabla \mathbf{A} \cdot \mathbf{V} - \nabla^T \mathbf{A} \cdot \mathbf{V} = \nabla \mathbf{A} \cdot \mathbf{V} - \mathbf{V} \cdot \nabla \mathbf{A} \ ,\]

Recalling that the gradient of a vector field can be written as

\[\nabla \mathbf{A} = \mathbf{b}^{\nu} \partial_{\nu} \mathbf{A} = \mathbf{b}^{\nu} \partial_{\nu} \left( A^{\mu} \mathbf{b}_{\mu} \right) = \mathbf{b}^{\nu} \otimes \mathbf{b}_{\mu} \left( \partial_{\nu} A^{\mu} + \Gamma_{\nu \xi}^{\mu} A^{\xi} \right) \ ,\]

it follows

\[\begin{split}\begin{aligned} \mathbf{F} \cdot \mathbf{V} & = \nabla \mathbf{A} \cdot \mathbf{V} - \mathbf{V} \cdot \nabla \mathbf{A} = \\ & = \left( \partial_{\nu} A^{\mu} + \Gamma_{\nu \xi}^{\mu} A^{\xi} \right) \mathbf{b}^{\nu} \otimes \underbrace{\mathbf{b}_{\mu} \cdot \mathbf{b}_{\eta}}_{ g_{\mu \eta} } V^{\eta} - V^{\eta} \underbrace{\mathbf{b}_{\eta} \cdot \mathbf{b}^{\nu}}_{\delta_{\eta}^{\nu}} \otimes \mathbf{b}_{\mu} \left( \partial_{\nu} A^{\mu} + \Gamma_{\nu \xi}^{\mu} A^{\xi} \right) = \\ & = g_{\mu \eta} \left( \partial_{\nu} A^{\mu} + \Gamma_{\nu \xi}^{\mu} A^{\xi} \right) V^{\eta} \mathbf{b}^{\nu} - V^{\nu}\left( \partial_{\nu} A^{\mu} + \Gamma_{\nu \xi}^{\mu} A^{\xi} \right) \mathbf{b}_{\mu} = \\ & = g_{\mu \eta} \left( \partial_{\nu} A^{\mu} + \Gamma_{\nu \xi}^{\mu} A^{\xi} \right) V^{\eta} g^{\nu \chi} \mathbf{b}_{\chi} - V^{\nu}\left( \partial_{\nu} A^{\mu} + \Gamma_{\nu \xi}^{\mu} A^{\xi} \right) \mathbf{b}_{\mu} = \\ & = \mathbf{b}_{\mu} \left\{ g_{\chi \eta} \left( \partial_{\nu} A^{\chi} + \Gamma_{\nu \xi}^{\chi} A^{\xi} \right) V^{\eta} g^{\nu \mu} - V^{\nu}\left( \partial_{\nu} A^{\mu} + \Gamma_{\nu \xi}^{\mu} A^{\xi} \right) \right\} = \\ & = \mathbf{b}_{\mu} \left\{ g_{\chi \nu} \left( \partial_{\eta} A^{\chi} + \Gamma_{\eta \xi}^{\chi} A^{\xi} \right) g^{\eta \mu} - \left( \partial_{\nu} A^{\mu} + \Gamma_{\nu \xi}^{\mu} A^{\xi} \right) \right\} V^{\nu} = \\ & = \mathbf{b}_{\mu} \left\{ g^{\eta \mu} g_{\chi \nu} \partial_{\eta} A^{\chi} - \partial_{\nu} A^{\mu} + g_{\chi \nu} g^{\eta \mu} \Gamma_{\eta \xi}^{\chi} A^{\xi} + \Gamma_{\nu \xi}^{\mu} A^{\xi} \right\} V^{\nu} \ . \end{aligned}\end{split}\]

26.2.4.2. Using coordinates#

See Physics: General Relativity: Geodesics

26.2.5. Quantum Mechanics#

26.2.5.1. Schrodinger equation#

\[i \hbar \dfrac{d}{dt} | \Psi(t) \rangle = \hat{H} | \Psi \rangle \ , \]

Schrodinger equation for a particle with mass \(m\) in a conservative force field with potential energy \(V(\mathbf{r})\),in position representation, becomes

\[i \hbar \partial_t \Psi = - \dfrac{\hbar^2}{2 m} \nabla^2 \Psi + V(\mathbf{r}) \Psi \ ,\]

with \(\Psi(\mathbf{r},t): \Omega \times T \rightarrow \mathbb{C}\).

Derivative w.r.t. a complex number and its complex conjugate
Derivative w.r.t. the conjugate conjugate variable

Let a function \(f(z) = u(z) + i v(z) = U(x,y) + i V(x,y)\), with \(x\), \(y\) independent variables. With a change of variables, and treating \(z\) and \(w := z^*\) as independent variables1

\[\begin{split} \left\{ \begin{aligned} z & = x + i y \\ z^* & = x - i y \end{aligned}\right. \qquad , \qquad \left\{ \begin{aligned} x & = \frac{1}{2} \left( z + z^* \right) \\ y & = \frac{1}{2i} \left( z - z^* \right) \end{aligned}\right. \end{split}\]

a function of \(z\), and thus \(x\), \(y\) is written as a function of \(z\), \(z^*\)

\[\begin{split}\begin{aligned} \mathscr{u}(z, z^*) & = U(x(z,z^*), y(z,z^*)) \\ \mathscr{v}(z, z^*) & = V(x(z,z^*), y(z,z^*)) \end{aligned}\end{split}\]

The partial derivatives of a function \(f = u + i v = F(x,y) = \mathscr{f}(z,z^*)\) read

\[\begin{split}\begin{aligned} \partial_{z } f |_{z^*} & = \partial_{z } x |_{z^*} \partial_x f |_{y} + \partial_{z } y |_{z^*} \partial_y f |_{x} = \\ & = \frac{1}{2} \partial_x f |_{y} - i \frac{1}{2} \partial_y f |_{x} = \\ & = \frac{1}{2} \left( \partial_x u + \partial_y v \right) + i \frac{1}{2} \left( \partial_x v - \partial_y u \right) \\ \partial_{z^*} f |_{z } & = \partial_{z^*} x |_{z } \partial_x f |_{y} + \partial_{z^*} y |_{z } \partial_y f |_{x} = \\ & = \frac{1}{2} \partial_x f |_{y} + i \frac{1}{2} \partial_y f |_{x} = \\ & = \frac{1}{2} \left( \partial_x u - \partial_y v \right) + i \frac{1}{2} \left( \partial_x v + \partial_y u \right) = \\ & = \frac{1}{2} \left( \partial_x u - \partial_y v \right) - i \frac{1}{2} \left( - \partial_x v - \partial_y u \right) \ . \end{aligned}\end{split}\]

Remark 1. If \(f^{holo}(z)\) is holomorphic, then Cauchy-Riemann conditions hold, \(u_{/x} = v_{/y}\), \(u_{/y} = - v_{/x}\) and thus

\[\partial_z \mathscr{f}^{holo} |_{z^*} = \partial_x u + i \partial_x v = \partial_y v - i \partial_y u \qquad , \qquad \partial_{z^*} \mathscr{f}^{holo} |_{z} = 0 \ .\]

Remark 2. Comparing the expressions of \(\partial_z f|_{z^*}\), and \(\partial_{z^*} f|_z\), then

\[\left.\left( \frac{\partial f}{\partial z^*} \right)\right|_{z} = \left.\left( \frac{\partial f^*}{\partial z} \right)^*\right|_{z} \ .\]

Thus, if \(f^{real}\) is real-valued, then \(f^{real} = f^{real \, *}\),

\[\left.\left( \frac{\partial f^{real}}{\partial z^*} \right)\right|_{z} = \left.\left( \frac{\partial f^{real}}{\partial z} \right)^*\right|_{z} \ .\]
Free-style approach

Multiplying Schrodinger equation by the c.c. of a test function \(f(z)\), and integrating in both time and space domain,

\[\begin{split}\begin{aligned} 0 & = \int_{T} \int_{\Omega} f^* \left\{ - i \hbar \partial_t \Psi - \frac{\hbar^2}{2m} \partial_{kk} \Psi + V \Psi \right\} d \mathbf{r} \, dt = \\ & = \int_{T} \int_{\Omega} \left\{ - i \hbar \, f^* \partial_t \Psi + \frac{\hbar^2}{2m} \partial_k f^* \, \partial_{k} \Psi + f^* V \Psi \right\} d \mathbf{r} \, dt - \int_{T} \oint_{\partial \Omega} \dfrac{\hbar^2}{2m} f^* n_k \partial_k \Psi \, d \mathbf{r} \, dt \ . \end{aligned}\end{split}\]

Now, let’s

  • add the complex conjugate

  • define \(f = \partial \Psi\)

  • set the test function equal to zero on \(\partial \Omega\)

\[\begin{split}\begin{aligned} 0 & = \int_{T} \int_{\Omega} \left\{ - i \hbar \, \delta \Psi^* \partial_t \Psi + \frac{\hbar^2}{2m} \partial_k \delta \Psi^* \, \partial_{k} \Psi + \delta \Psi^* V \Psi \right\} d \mathbf{r} \, dt + \\ & + \int_{T} \int_{\Omega} \left\{ i \hbar \, \delta \Psi \partial_t \Psi^* + \frac{\hbar^2}{2m} \partial_k \delta \Psi \, \partial_{k} \Psi^* + \delta \Psi V \Psi^* \right\} d \mathbf{r} \, dt = \\ \end{aligned}\end{split}\]

Last two pairs of terms can be written as… while the first pair

\[\begin{split}\begin{aligned} \delta \left( \Psi^* \partial_t \Psi - \Psi \partial_t \Psi^* \right) & = \delta \Psi^* \partial_t \Psi + \Psi^* \delta \partial_t \Psi - \delta \Psi \partial_t \Psi^* - \Psi \partial_t \delta \Psi^* = \\ & = \delta \Psi^* \partial_t \Psi + \partial_t \left( \Psi^* \delta \Psi \right) - \delta \Psi^* \partial_t \Psi - \delta \Psi \partial_t \Psi^* - \partial_t \left( \Psi \delta \Psi^* \right) + \partial_t \Psi \delta \Psi^* = \\ & = 2 \left( \delta \Psi^* \partial_t \Psi - \delta \Psi \partial_t \Psi^* \right) + \partial_t \left( \dots \right) \ . \end{aligned}\end{split}\]

having used integration by parts and switched the variation and the partial derivative w.r.t. time (but, is that legal? See below (26.6)). Thus the variational principle - with prescribed \(\delta \Psi\) at boundary of space and time domain - reads

\[0 = - \delta \int_{T} \int_{\Omega} \left\{ i \frac{\hbar}{2} \left( \Psi^* \partial_t \Psi - \Psi \partial_t \Psi^* \right) - \dfrac{\hbar^2}{2 m } \nabla \Psi^* \cdot \nabla \Psi - \Psi^* V(\mathbf{r}) \Psi \right\} d \mathbf{r} \, d t \ .\]
Lagrange equations

The function inside the integral is defined as the Lagrangian function

(26.2)#\[\mathcal{L}\left( \Psi, \partial_t \Psi, \partial_k \Psi; \Psi^*, \partial_t \Psi^*, \partial_k \Psi^* \right) = i \frac{\hbar}{2} \left( \Psi^* \partial_t \Psi - \Psi \partial_t \Psi^* \right) - \dfrac{\hbar^2}{2 m } \nabla \Psi^* \cdot \nabla \Psi - \Psi^* V(\mathbf{r}) \Psi \ ,\]

treating the wave function, its derivatives and the complex conjugate functions as independent variables, as done for Wirtinger derivatives. Schrodinger equation can be retrieved from Lagrange equation

\[0 = \partial_t \left( \dfrac{\partial \mathcal{L}}{\partial \left( \partial_t \Psi^* \right)} \right) + \partial_k \left( \dfrac{\partial \mathcal{L}}{\partial \left( \partial_k \Psi^* \right)} \right) - \dfrac{\partial \mathcal{L}}{\partial \Psi^*} \ ,\]

taking the derivatives of the Lagrangian function \(\mathcal{L}\left( \Psi, \partial_t \Psi, \partial_k \Psi \right)\) in formula (26.2).

Proof.

The partial derivatives w.r.t. the complex conjugate functions,

\[\begin{split}\begin{aligned} \partial_t \left( \dfrac{\partial \mathcal{L}}{\partial \left( \partial_t \Psi^* \right)} \right) & = \partial_t \left( - i \frac{\hbar}{2} \Psi \right) = - i\frac{\hbar}{2} \partial_t \Psi \\ \partial_t \left( \dfrac{\partial \mathcal{L}}{\partial \left( \partial_k \Psi^* \right)} \right) & = \partial_t \left( -\frac{\hbar^2}{2 m} \Psi_k \right) = - \frac{\hbar^2}{2 m} \partial_{kk} \Psi \\ \dfrac{\partial \mathcal{L}}{\partial \Psi^*} & = i \frac{\hbar}{2} \partial_t \Psi - V(\mathbf{r}) \Psi \ , \end{aligned}\end{split}\]

it immediately follows

\[\begin{split}\begin{aligned} 0 & = \partial_t \left( \dfrac{\partial \mathcal{L}}{\partial \left( \partial_t \Psi^* \right)} \right) + \partial_k \left( \dfrac{\partial \mathcal{L}}{\partial \left( \partial_k \Psi^* \right)} \right) - \dfrac{\partial \mathcal{L}}{\partial \Psi^*} = \\ & = - i\frac{\hbar}{2} \partial_t \Psi - \frac{\hbar^2}{2 m} \partial_{kk} \Psi - \left( i \frac{\hbar}{2} \partial_t \Psi - V(\mathbf{r}) \Psi \right) = \\ & = - i \hbar \partial_t \Psi - \frac{\hbar^2}{2 m} \partial_{kk} \Psi + V(\mathbf{r}) \Psi \ . \end{aligned}\end{split}\]
A more rigorous approach

Let \(\psi(\mathbf{r},t) = \Psi(q^j(\mathbf{r},t), \mathbf{r},t)\) be a function of generalized coordinates \(q^j(\mathbf{r},t)\), function of the independent variables \(\mathbf{r}\), t. Its partial time and space derivatives read

\[\begin{split}\begin{aligned} \left.\partial_{t} \psi\right|_{\mathbf{r}} & = \left.\partial_{t} \Psi\right|_{\mathbf{r}} = \partial_t q^j \, \partial_{q^j} \Psi|_{\mathbf{r}, t} + \partial_t \Psi|_{\mathbf{q}, \mathbf{r}} \\ \left.\partial_{k} \psi\right|_{t} & = \left.\partial_{k} \Psi\right|_{t} = \partial_k q^j \, \partial_{q^j} \Psi|_{\mathbf{r}, t} + \partial_k \Psi|_{\mathbf{q}, \mathbf{r}} \\ \end{aligned}\end{split}\]

Thus, the derivatives of the wave function \(\partial_t \Psi\), and \(\partial_k \Psi\) are functions of the independent variables \(\mathbf{r}\), \(t\), the generalized functions \(q^j\) and their derivatives \(\partial_t q^j\), \(\partial_k q^j\) respectively. The following relations follow

\[\begin{split}\begin{aligned} \partial_{q^j} \Psi & = \dfrac{\partial \, ( \partial_t \psi )}{\partial \, ( \partial_t q^j )} \\ \partial_{q^j} \Psi & = \dfrac{\partial \, ( \partial_k \psi )}{\partial \, ( \partial_k q^j )} \ . \end{aligned}\end{split}\]

Multiplying Schrodinger equation

\[\begin{split}\begin{aligned} 0 & = \partial_{q^j} \Psi^* \left\{ - i \hbar \partial_t \psi - \frac{\hbar^2}{2m} \nabla^2 \psi + V(\mathbf{r}) \psi \right\} + \partial_{q^j} \Psi \left\{ i \hbar \partial_t \psi^* - \frac{\hbar^2}{2m} \nabla^2 \psi^* + V(\mathbf{r}) \psi^* \right\} = \\ & = - i \hbar \partial_{q^j} \Psi^* \partial_t \psi - \frac{\hbar^2}{2m} \partial_{q^j} \Psi^* \partial_{kk} \psi + \partial_{q^j} \Psi^* V(\mathbf{r}) \psi + i \hbar \partial_{q^j} \Psi \partial_t \psi^* - \frac{\hbar^2}{2m} \partial_{q^j} \Psi \partial_{kk} \psi^* + \partial_{q^j} \Psi V(\mathbf{r}) \psi^* = \\ & = - i \hbar \left( \partial_{q^j} \Psi^* \partial_t \psi - \partial_{q^j} \Psi \partial_t \psi^* \right) - \dfrac{\hbar^2}{2m} \left( \partial_{q^j} \Psi^* \partial_{kk} \psi + \partial_{q^j} \Psi \partial_{kk} \psi^* \right) + \partial_{q^j} \Psi^* V \Psi + \Psi^* V \partial_{q^j} \Psi = \\ & = \partial_{q^j} \left\{ - \frac{i \hbar}{2} \left( \Psi^* \partial_t \Psi - \Psi \partial_t \Psi^* \right) + \dfrac{\hbar^2}{2m} \left( \nabla \Psi \cdot \nabla \Psi^* \right) + \Psi^* V(\mathbf{r}) \Psi \right\} + \\ & \quad \ - \partial_t \left\{ \dfrac{\partial}{\partial (\partial_t q^i)} \left\{ - \frac{i \hbar}{2} \left( \Psi^* \partial_t \Psi - \Psi \partial_t \Psi^* \right) \right\} \right\} + \\ & \quad \ - \partial_k \left\{ \dfrac{\partial}{\partial (\partial_k q^i)} \left\{ \dfrac{\hbar^2}{2m} \nabla \Psi \cdot \nabla \Psi^* \right\} \right\} = \\ & = - \partial_{q^j} \mathcal{L} + \partial_{t} \dfrac{\partial \mathcal{L}}{\partial (\partial_t q^i)} + \partial_{k} \dfrac{\partial \mathcal{L}}{\partial (\partial_k q^i)} \ , \end{aligned}\end{split}\]

where the Lagrangian function \(\mathcal{L}\) defined as

\[\mathcal{L}(q^j(\mathbf{r},t), \partial_t q^j(\mathbf{r},t), \partial_k q^j(\mathbf{r},t), \mathbf{r}, t) = i \frac{\hbar}{2} \left( \Psi^* \partial_t \Psi - \Psi \partial_t \Psi^* \right) - \dfrac{\hbar^2}{2 m } \nabla \Psi^* \cdot \nabla \Psi - \Psi^* V(\mathbf{r}) \Psi \ .\]

Details are given in the following box. The second and the third term in the Lagrangian function don’t depend on \(\partial_t q^i\), the first and the third term don’t depend on \(\partial_k q^i\).

Details
  • First pair of terms

    \[\begin{split}\begin{aligned} \partial_{q^j} \Psi^* \partial_{t} \psi - \partial_{q^j} \Psi \partial_{t} \psi^* & = \dfrac{1}{2} 2 \left( \partial_{q^j} \Psi^* \partial_{t} \psi - \partial_{q^j} \Psi \partial_{t} \psi^* \right) = \\ & = \dfrac{1}{2} \left( \partial_{q^j} \left( \Psi^* \partial_{t} \psi \right) - \Psi^* \partial_{q^j} \partial_t \Psi - \partial_{t} \left( \Psi^* \partial_{q^j} \Psi \right) + \partial_t \partial_{q^j} \Psi^* \psi - \text{c.c.} \right) = \\ & = \dfrac{1}{2} \left( \partial_{q^j} \left( \Psi^* \partial_{t} \psi \right) - \Psi^* \partial_{q^j} \partial_t \Psi - \partial_{t} \left( \Psi^* \partial_{q^j} \Psi \right) + \partial_t \partial_{q^j} \Psi^* \psi - \text{c.c.} \right) = \\ & = \dfrac{1}{2} \left( \partial_{q^j} \left( \Psi^* \partial_{t} \psi - \Psi \partial_t \psi^* \right) - \partial_{t} \left( \Psi^* \partial_{q^j} \Psi - \Psi \partial_{q^j} \Psi^* \right) \right) = \\ & = \dfrac{1}{2} \left( \partial_{q^j} \left( \Psi^* \partial_{t} \psi - \Psi \partial_t \psi^* \right) - \partial_{t} \left( \Psi^* \dfrac{ \partial (\partial_t \Psi)}{\partial (\partial_{t} q^j)} - \Psi \dfrac{\partial(\partial_{t} \Psi^*)}{\partial(\partial_t q^j)} \right) \right) = \\ & = \dfrac{1}{2} \partial_{q^j} \left( \Psi^* \partial_{t} \psi - \Psi \partial_t \psi^* \right) - \dfrac{1}{2} \partial_{t} \dfrac{\partial}{\partial(\partial_t q^j)} \left( \Psi^* \partial_t \Psi - \Psi \partial_t\Psi^* \right) = \\ \end{aligned}\end{split}\]
  • Second pair of terms

    \[\begin{split}\begin{aligned} - \partial_{q^j} \Psi^* \partial_{kk} \psi - \partial_{q^j} \Psi \partial_{kk} \psi^* & = - \partial_k \left( \partial_{q^j} \Psi^* \partial_k \psi \right) + \partial_k \partial_{q^j} \Psi^* \partial_k \psi - \partial_k \left( \partial_{q^j} \Psi \partial_k \psi^* \right) + \partial_k \partial_{q^j} \Psi \partial_k \psi^* = \\ & = - \partial_k \left( \partial_{q^j} \Psi^* \partial_k \psi + \partial_{q^j} \Psi \partial_k \psi^* \right) + \partial_k \partial_{q^j} \Psi^* \partial_k \psi + \partial_k \partial_{q^j} \Psi \partial_k \psi^* = \\ & = - \partial_k \left( \dfrac{\partial (\partial_k \psi^*)}{\partial (\partial_k q^j)} \partial_k \psi + \dfrac{\partial (\partial_k \psi)}{\partial(\partial_k q^j)} \partial_k \psi^* \right) + \partial_k \partial_{q^j} \Psi^* \partial_k \psi + \partial_k \partial_{q^j} \Psi \partial_k \psi^* = \\ & = - \partial_k \dfrac{\partial}{\partial (\partial_k q^j)} \left( \partial_k \psi^* \partial_k \psi \right) + \partial_{q^j} \partial_k \psi^* \partial_k \psi + \partial_{q^j} \partial_k \psi \partial_k \psi^* = \\ & = - \partial_k \dfrac{\partial}{\partial (\partial_k q^j)} \left( \partial_k \psi^* \partial_k \psi \right) + \partial_{q^j} \left( \partial_k \psi^* \partial_k \psi \right) \ . \end{aligned}\end{split}\]
  • Third pair of terms

    \[\begin{split}\begin{aligned} \partial_{q^j} \Psi^* V \psi + \partial_{q^j} \Psi V \psi^* & = \partial_{q^j} \Psi^* V \Psi + \partial_{q^j} \Psi V \Psi^* = \\ & = \partial_{q^j} \left\{ \Psi^* V \Psi \right\} \ . \end{aligned}\end{split}\]

The variation of function \(\Psi\)

\[\delta \Psi = \delta q^j \partial_{q^j} \Psi \ .\]
Mixed derivatives
\[\begin{split}\begin{aligned} \left. \partial_k \left( \left.\partial_{q^j} \Psi \right|_{\mathbf{r}, t} \right) \right|_{t} & = \partial_k q^m \partial_{q^m} \partial_{q^j} \Psi + \partial_k \partial_{q^j} \Psi = \\ & = \partial_{q^j} \left( \partial_k q^m \partial_{q^m} \Psi + \partial_k \Psi \right) = \\ & = \left.\partial_{q^j} \left( \left. \partial_k \psi \right|_{t} \right)\right|_{\mathbf{r},t} \ . \end{aligned}\end{split}\]
Variation of a function

Function of 1-variable \(t\). Let \(f\) be a function of \(t\), \(q(t)\) and its first \(n\) derivatives \(q^{k}(t)\), i.e.

\[f\left(q^{(n)}(t), \dots, q(t), t \right) \ .\]

The variation of this function w.r.t. \(q(t)\) is defined through an arbitrary variation \(\delta q(t)\) as

(26.3)#\[\delta f = \sum_{k} \delta q^{(k)} \, \partial_{q^{(k)}} f \ .\]

…todo Add the definitions for multi-dimensional functions, and independent variables,…

Exchanging derivatives and variation of the function \(\ f\left( q^i(x^k), x^k \right)\)

Let \(F\left(x^k \right) = f( q^i(x^k), x^k)\) be a function of the \(x^k\), through \(q^k\) - or not, if there’s no explicit dependence on \(x^k\),

\[\begin{split}\begin{aligned} \partial_{x^k} f & = \partial_{x^k} q^j \partial_{q^j} f + \partial_{x^k} f \\ \delta f & = \delta q^i \partial_{q^i} f \end{aligned}\end{split}\]

The derivative \(\partial_{x^k} f\) is a function of \(x^k\), \(q^i(x^k)\), \(\partial_{x^m} q^i(x^k)\). Thus, using the definition (26.3), it follows

(26.4)#\[\begin{split}\begin{aligned} \delta \partial_{x^k} f & = \delta \left( \partial_{x^k} q^j \partial_{q^j} f + \partial_{x^k} f \right) = \\ & = \delta q^i \partial_{q^i} \left( \dots \right) + \partial_{x^m} \delta q^i \, \partial_{\partial_{x^m} q^i} \left( \dots \right) = \\ & = \delta q^i \left( \partial_x q^j \partial_{q^i q^j} f + \partial_{q^i x^k} f \right) + \partial_{x^m} \delta q^i \delta^m_k \delta^j_i \partial_{q^j} f = \\ & = \delta q^i \left( \partial_x q^j \partial_{q^i q^j} f + \partial_{q^i x^k} f \right) + \partial_{x^k} \delta q^i \partial_{q^i} f \ . \end{aligned}\end{split}\]
(26.5)#\[\begin{split}\begin{aligned} \partial_{x^k} \delta f & = \partial_{x^k} \left( \delta q^i \partial_{q^i} f \right) = \\ & = \partial_{x^k} \delta q^i \partial_{q^i} f + \delta q^i \left( \partial_{q^j q^i} f \partial_{x^k} q^j + \partial_{x^k q^i} f \right) \ . \end{aligned}\end{split}\]

Comparing the expressions (26.4) and (26.5), it follows that

\[\delta \partial_{x^k} f = \partial_{x^k} \delta f \ .\]

If the variation is performed only on the function \(q^i(x^k)\), a similar property holds for any pair of indices \(i\), \(k\)

(26.6)#\[\delta_{q^i} \partial_{x^k} f = \partial_{x^k} \delta_{q^i} f \ ,\]

with the definition \(\delta q^i f = \delta q^i \partial_{q^i} f\), wtihout summing on the pair of repeated.


1

This is the process leading to Wirtinger’s derivative, see Wikipedia: Wirtinger derivative and Stack Exchange: What is the intuition behind the Wirtinger derivatives?. Does this assumption have any consequence? \(x,y \in \mathbb{R}\), while \(z, z^* \in \mathbb{C}\), and \(z\), \(w := z^*\) treated as independent.