What Makes an Action Stationary, and What Happens at a Boundary?
Ordinary calculus finds the point where a function stops changing to first order. The calculus of variations does the same for a whole path or field. The terms left at the boundary are where an atom in a molecule enters.
Prerequisites. Partial derivatives and the chain rule, integration by parts, multiple integrals, Gauss's theorem, complex numbers, and the stationary Schrödinger equation. Section 5 also uses Hermitian operators.
1. Functionals and the First Variation
A functional assigns a number to a function. An example is the integral
Arc length has . To vary , replace it by , where is any smooth function. The first variation is the ordinary derivative with respect to the number :
- .
- Chain rule at : .
- Integrate the second term by parts, with and : .
- Collect: .
- With fixed end values, . If for every such , the bracket under the integral vanishes at every point: if a continuous bracket were positive near some point, choosing as a positive bump there would make , and likewise for a negative one.
For arc length, , so is constant, hence is constant: a straight line.
2. The Action
For a particle, the action is with . The Euler–Lagrange equation is . For it reads .
- Take and . The solution is .
- Since and , the action is .
- Vary with . The term linear in vanishes, leaving .
A stationary solution need not be a minimum: it can be a maximum or a saddle. Nor need it have the symmetry of the problem: a symmetric functional can have solutions that break the symmetry, in sets that the symmetry operations map into one another, and a solution found inside a symmetric trial family may have lower neighbours outside it. The Euler–Lagrange equation alone decides none of this.
3. Fields and the Lagrangian Density
For a field the Lagrangian is an integral of a density, , with . The same steps, with Gauss's theorem , give, for a variation of ,
With at the two times and on the wall, only the last term remains, and arbitrary inside gives
Schrödinger's Equation from ℒ
For one electron in atomic units, treat and as independent:
- Vary : .
- Time, by parts: .
- Space, by parts: .
- With at the two times, and over all space with decaying, both boundary terms vanish: .
- Arbitrary gives . Varying gives the conjugate equation.
4. Natural Boundary Conditions
If an end value is not prescribed, is free there. Stationarity still forces the integral term to vanish, and then the end term must vanish by itself: at that end. This is a natural boundary condition: the variational problem supplies it.
- Take with and free.
- Euler–Lagrange: . Natural condition: .
- Solution: , with .
- Prescribing instead gives and . Freeing the end lowers the minimum.
For on a fixed region with free wall values, the natural condition from the spatial integration by parts in section 3 is at every wall point. That is not the zero-flux condition of an atom.
5. An Open Region: Schwinger's Principle and Bader's Atom
Schwinger's principle does not demand under all variations. It equates to the values of generators of infinitesimal transformations on the boundary of the space-time region. Bader's question was for which regions of real space the principle keeps that form (Bader 1990, chs. 5 and 8; Bader 1994). The steps below treat one electron in a stationary state of energy , with real parameter .
- Stationary Lagrangian of the region: with .
- On a solution, . Using with , the density becomes .
- Total variation, function and wall: , where is the outward normal displacement of the wall. The bulk terms vanish on a solution. The second integral is the first-order change of the region: in one dimension ; in three dimensions the end value becomes times the outward displacement, summed over the wall.
- Restrict the regions. Every trial function , to first order , must come with a region satisfying , as a region bounded by a zero-flux surface of its own density does. Here denotes the derivative with respect to at , so ; is held fixed.
- Differentiate that constraint: .
- So the wall term is .
- Add the term of step 3: .
- For a transformation generated by a Hermitian , , the complex-conjugate group of step 7 is , with .
What remains is a flux of the generator current through the wall. The terms from the motion of the wall have been absorbed by the constraint. The sufficient condition adopted for an atom is the local one, imposed on each trial density:
6. Two Walls Through One Bond Point in LiH
By Gauss's theorem the net Lagrangian of any region is a wall integral, . For the half space below the plane this is , evaluated here by quadrature of the libqtaim gradient.
| Region | L(Ω) | gross flux |
|---|---|---|
| below the plane through the bond point | −0.043593 | 0.043594 |
| below a net-zero plane, c = −0.0006 | 1.6 × 10−14 | 0.0391 |
| below a net-zero plane, c = 1.1002 | −8.5 × 10−16 | 0.0560 |
| below a net-zero plane, c = 2.9379 | −2.5 × 10−15 | 0.0275 |
| zero-flux Li atom, angular grid (48, 96) | 3.0 × 10−5 | not computed |
| zero-flux Li atom, angular grid (144, 288) | 2.9 × 10−5 | not computed |
On an exact zero-flux surface the wall integrand vanishes by definition.
| Grid | N(Li) | N(H) | sum minus 4 | L(Li) | L(H) |
|---|---|---|---|---|---|
| (48, 96) | 2.10249 | 1.90332 | 5.8 × 10−3 | 3.0 × 10−5 | −1.5 × 10−3 |
| (72, 144) | 2.10249 | 1.89533 | −2.2 × 10−3 | 2.9 × 10−5 | 4.8 × 10−4 |
| (96, 192) | 2.10249 | 1.89749 | −2.0 × 10−5 | 2.9 × 10−5 | 1.5 × 10−5 |
| (144, 288) | 2.10249 | 1.90003 | 2.5 × 10−3 | 2.9 × 10−5 | −6.5 × 10−4 |
- N(Li) agrees on all four grids to five decimals. Agreement between angular grids measures consistency, not accuracy: L(Li) stays near 3 × 10−5 on every grid, a residual that angular refinement does not remove. N(H) does not settle as the angular grid is refined: it ranges from 1.8953 to 1.9033, and the sum rule and L(H) move with it. That spread is the quadrature uncertainty of the hydrogen basin here, and no grid is singled out. The radial rule of this integrator is adaptive, so only the two angular counts are varied.
- The plane-wall integral through the bond point is −0.04359327, and −0.04359327 with twice the radial points.
- A vanishing net flux therefore does not by itself identify an atom. The zero-flux surface makes the integrand vanish at every point.
7. Exercises
- Find the Euler–Lagrange equation of .
Answer
.
- Show that if has no explicit , then is constant on a solution.
Answer
Its derivative is .
- What is the natural condition for ?
Answer
The end term is , so .
- For , what does the boxed variation of section 5 give?
Answer
is the probability current. In a stationary state it is divergence free, so its net flux through a closed wall vanishes and under a global phase change, which leaves unchanged.
- J. Schwinger, Phys. Rev. 82, 914 (1951) [record].
- R. F. W. Bader, Atoms in Molecules: A Quantum Theory (Oxford University Press, 1990), chs. 5 & 8 [record].
- R. F. W. Bader, Phys. Rev. B 49, 13348 (1994) [record].