Fundamentals / Physics / Quantum mechanics / Notebooks

Can changing a Gaussian width repair a missing cusp?

Two normalisable trial families compete for the ground state of a one-dimensional attractive contact potential. Each can vary its width. Predict which family can satisfy the derivative jump before inspecting its lowest energy.

Try it · Cusp trial

Change the inputs and compare the recalculated curves with the preceding derivation and baseline figure. The axes give the units; the numerical readout states the model assumptions and any limiting cases. Reset the inputs to return to the reference setting.

Download the corresponding editable notebook. The browser recalculates the reduced equations directly; the notebook exposes the full calculation and its checks.

Save notebook (.ipynb)

Python runs on this device. The first run loads the scientific libraries.

Compute the energy functional

Use the quadratic-form kinetic energy ∫|ψ'|²/2 and the contact expectation −g|ψ(0)|². The Gaussian parameter b is defined by exp(−b² x²/2); the cusp parameter a appears in exp(−a|x|).

Compare shapes and upper bounds

Plot probability densities and energies versus the same scaled inverse-length parameter. Inspect where the smooth trial loses contact probability as it spreads its kinetic cost.