Variational Method Applied to Stepped-Infinite-Square-Well Energies

This Demonstration is computationally intensive and may take some time to complete when . An basis set (see figure subtitles) approximation of the wavefunction for the stepped box yields approximations to the lowest energies of the system. The approximations generally improve with increasing . The energy unit for the axis is the same as that for the axis, which has been stretched. The tick marks on the axis are labeled with the squares of the quantum numbers for a flat box of width .


  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


The variational principle guarantees that the expectation value of the Hamiltonian using an approximate wavefunction is an upper bound to the true ground state energy value. Using an approximate wavefunction that is a linear combination of basis functions with adjustable coefficients leads to a secular determinant of dimension , which can be solved for approximate energies. The smallest of these is the best approximation to the ground state energy with the other solutions approximating excited states.
The potential for the stepped-infinite-square well can be described with the Mathematica command
V[y_] := Which[0≤y≤π, 0, π<y≤2π, vo, True, ∞].
Some adjustment of parameters in the source code could include the eighth energy level in the display.
This Demonstration had its origin in a problem suggested by C. Bardeen.
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.

Mathematica »
The #1 tool for creating Demonstrations
and anything technical.
Wolfram|Alpha »
Explore anything with the first
computational knowledge engine.
MathWorld »
The web's most extensive
mathematics resource.
Course Assistant Apps »
An app for every course—
right in the palm of your hand.
Wolfram Blog »
Read our views on math,
science, and technology.
Computable Document Format »
The format that makes Demonstrations
(and any information) easy to share and
interact with.
STEM Initiative »
Programs & resources for
educators, schools & students.
Computerbasedmath.org »
Join the initiative for modernizing
math education.
Step-by-Step Solutions »
Walk through homework problems one step at a time, with hints to help along the way.
Wolfram Problem Generator »
Unlimited random practice problems and answers with built-in step-by-step solutions. Practice online or make a printable study sheet.
Wolfram Language »
Knowledge-based programming for everyone.
Powered by Wolfram Mathematica © 2018 Wolfram Demonstrations Project & Contributors  |  Terms of Use  |  Privacy Policy  |  RSS Give us your feedback
Note: To run this Demonstration you need Mathematica 7+ or the free Mathematica Player 7EX
Download or upgrade to Mathematica Player 7EX
I already have Mathematica Player or Mathematica 7+