Skip to main content

6.1 Quantum bound states

Source: Ideas from Computational Physics (Landau, Páez, Bordeianu), Ch. 6 intro–§6.1. Rewritten in original wording. Continues 5.9 Integration reference sketches. Next algorithm: 6.2 Bisection search.

Chapter 6 is about searching and fitting. Many physics problems do not hand you xx explicitly — they hand you a nonlinear condition f(x)=0f(x)=0 (or a table of measurements) and ask you to recover a parameter. Two themes run through the chapter:

  1. Trial-and-error search — guess a value, evaluate a residual, improve the guess (bisection, Newton, …).
  2. Fitting — later sections interpolate or fit tabulated data (Lagrange §6.5, splines §6.6).

The first concrete search problem is a finite square well: find the allowed energies by solving a transcendental matching condition.

The square-well eigenvalue problem​

A particle in a finite square well of depth V0V_0 and half-width aa has even and odd bound stationary states. Continuity of ψ\psi and ψ′\psi' at the wall produces a transcendental equation for the bound energy EE.

Work in the book's convenient units

ℏ=1,2m=1,a=1,V0=10,\hbar=1,\qquad 2m=1,\qquad a=1,\qquad V_0=10,

Bound energies sit below the continuum; write E=−EBE=-E_B with binding energy 0<EB<V00<E_B<V_0. In what follows EE means that positive EBE_B (book notation), so 0<E<V0=100<E<V_0=10. Define

κ=V0−E=10−E.\kappa=\sqrt{V_0-E}=\sqrt{10-E}.

Even parity states obey

10−E tan⁡10−E=E,\sqrt{10-E}\,\tan\sqrt{10-E}=\sqrt{E},

or the algebraically equivalent residual (same zeros, fewer tan⁡\tan poles to trip over)

g(E)=E cot⁡10−E−10−E=0.g(E)=\sqrt{E}\,\cot\sqrt{10-E}-\sqrt{10-E}=0.

Odd parity uses the companion matching condition

10−E cot⁡10−E=E,\sqrt{10-E}\,\cot\sqrt{10-E}=\sqrt{E},

or the residual form (same zeros)

godd(E)=E tan⁡10−E−10−E=0.g_{\mathrm{odd}}(E)=\sqrt{E}\,\tan\sqrt{10-E}-\sqrt{10-E}=0.

(Even used cot⁡\cot; odd flips to tan⁡\tan — poles sit in different places, so pick a fresh bracket.)

The numerical job is the same: find roots of a continuous residual on a safe bracket. There is no closed-form EE — evaluate gg at trial energies and hunt for sign changes (bisection in §6.2).

Drag EE in the explorer until the even residual crosses zero — that energy is a candidate bound state for V0=10V_0=10.

A safe even-root bracket​

For V0=10V_0=10, the even residual g(E)g(E) changes sign on

[8.0, 8.8]:g(8.0)<0,g(8.8)>0.[8.0,\,8.8]:\qquad g(8.0)<0,\quad g(8.8)>0.

Halving that interval until the width is tiny yields the bound energy

EB≈8.5927852752.E_{B}\approx 8.5927852752.

(Use cot⁡θ=cos⁡θ/sin⁡θ\cot\theta=\cos\theta/\sin\theta with math.sin / math.cos. Near sin⁡κ=0\sin\kappa=0 the residual has poles — stay inside a bracket that already has opposite signs.)

Deepening the well to V0=20V_0=20 adds more even roots (near ∼6.11\sim 6.11 and ∼18.36\sim 18.36). The same g(E)g(E) with 10→2010\to 20 and a fresh bracket finds them.

Figure 6.1 — bisection traps a sign change; same idea for g(E) or g_{\mathrm{odd}}(E).

Takeaway​

ParityMatching ideaResidual to root-find
Evenκtan⁡κ=E\kappa\tan\kappa=\sqrt{E}g=E cot⁡κ−κg=\sqrt{E}\,\cot\kappa-\kappa
Oddκcot⁡κ=E\kappa\cot\kappa=\sqrt{E}godd=E tan⁡κ−κg_{\mathrm{odd}}=\sqrt{E}\,\tan\kappa-\kappa
EitherNo closed EEBracket → bisect (§6.2) → check ∥g∥\|g\|

Here κ=V0−E\kappa=\sqrt{V_0-E} (with V0=10V_0=10 in the explorer).

Quiz

Bound states and search

1 / 4

In units ħ=1, 2m=1, a=1, V₀=10, the even residual we root-find is…

Pick an answer to see if you are right.

Next: 6.2 Bisection search — turn the sign-change into a reliable algorithm. Labs follow in 6.2b.