Particle in a Box
In one sentence: A particle trapped between two walls can have only certain energies, like steps on a ladder, and the narrower the box, the higher those steps are.
Read it out loud: “E sub n equals n squared times h squared, all over 8 times m times L squared, with n equal to 1, 2, 3 and so on. E sub n is the energy of level n, in joules. n is the level number, starting at 1 and counting up by whole numbers. h is Planck's constant, m is the particle's mass in kilograms, and L is the width of the box in meters.”
Before you start
The ideas and signs this page uses, explained from zero. For powers of ten, Greek letters and other notation in general, see Math basics.
- Powers of ten, like and
Many numbers in this formula are tiny, so they use powers of ten. A negative exponent means divide by ten that many times. So is one billionth, and a 1.0 nm box has width m. Planck’s constant is J s, which has 33 zeros after the decimal point before its first digit. To multiply powers of ten, add the exponents: .
- Energy levels are quantized
A quantum particle in a box cannot have any energy it likes. Its energies come in a list of allowed values, called energy levels. The particle is found at one level at a time, and it cannot sit between two levels. Physicists say the energy is quantized, which means it comes in fixed steps like the rungs of a ladder instead of changing smoothly.
- Standing waves, half-waves and the walls
The particle’s wave must have zero height at both walls, because the particle cannot be outside the box. Only some wave patterns fit between the walls. The simplest pattern is one half-wave, a single hump from wall to wall. The next pattern has two half-waves, then three, and so on. A wave that stays in place while its height changes is called a standing wave.
- Joules, electron volts and the unit J s
The joule (J) is the unit of energy. One joule is roughly the energy needed to lift a small apple one meter. An electron volt (eV) is a much smaller energy, J, which is the energy an electron gains when pushed through one volt. The unit J s, joule seconds, belongs to Planck’s constant . Multiplying joule seconds by one per second gives joules, which is a handy check.
- Mass in kilograms, length in meters and the nanometer
Mass is the amount of matter, and its unit is the kilogram (kg). An electron has a mass of kg, which is extremely small. Length is measured in meters (m). A nanometer (nm) is one billionth of a meter, so m. A box 1.0 nm wide is small enough to fit only a few atoms across.
- Momentum and the de Broglie wavelength
Momentum, written , is mass multiplied by speed. A moving particle has a wavelength given by , which is called the de Broglie wavelength. A bigger momentum gives a shorter wavelength, so a faster electron has a shorter wave. This link between particles and waves is the reason the box allows only certain half-wave patterns.
What each symbol means
| Symbol | Meaning |
|---|---|
| The energy of level , in joules (J). Atoms and molecules are often described in electron volts (eV) instead, where J. The energy is always positive, and each level has one fixed value. | |
| The level number, a whole number starting at 1, so . The dots mean the list goes on, with the next whole number each time. It counts the half-waves that fit in the box, and it has no unit. | |
| Planck’s constant, J s, read as joule seconds. Its value is exact by definition in the SI system, which means it is fixed by definition and not measured with error. It links energy to frequency for light and for matter. | |
| The mass of the particle, in kilograms (kg). For an electron, kg, a very small mass. A heavier particle has lower energy levels, because the mass sits in the bottom of the formula. | |
| The width of the box, the distance between the two walls, in meters (m). The particle stays between the walls. A width of 1.0 nm equals m. Halving makes every energy four times larger, because is squared. |
The formula piece by piece
Start with the level number , a whole number 1, 2, 3 and so on. It counts the half-waves that fit inside the box. Level 1 has one half-wave, level 2 has two, and level 3 has three.
Square it, so means times . Level 2 gives , and level 3 gives . The energies grow faster than the level number, so the steps between levels get bigger as you go up the ladder.
Next, is Planck’s constant multiplied by itself. It is extremely small, about J s. Quantum constants this small make the energy steps tiny for everyday objects, which is why we do not notice the steps for a baseball or a car.
The bottom of the fraction is , which is 8 times the mass times the width squared. A heavier particle or a wider box makes this bottom bigger, which makes the energy smaller. Because is squared, halving the width makes the bottom four times smaller and the energy four times bigger.
Put the top over the bottom: divided by . The units work out, because joule seconds squared divided by kilogram meters squared equals joules. So this fraction is an energy.
The whole formula in one sentence: the energy of level in a box equals squared times squared, divided by eight times the particle’s mass times the box width squared, for and so on.
What the formula is doing, and why
A particle trapped between two walls is one of the first problems in quantum mechanics. What goes in is the particle’s mass, the box width and the level number. What comes out is the energy of that level. The wave of the particle must be zero at both walls. Only certain wave patterns fit between them, and each pattern has one energy, so the particle can have only certain energies.
Why , and why ? Level has half-waves in the box, so its wavelength is . A particle with wavelength has momentum . A moving particle’s energy is . Putting the momentum in gives . That is why energy grows with the square of .
Why the box width matters so much. The energy depends on in the bottom line, so halving the width makes every energy four times bigger. Shrinking the box pushes the levels up quickly. A heavier particle has lower energies, because is in the bottom line too. This matters at the nanometer scale, where electron energies are in the electron-volt range. In a box one meter wide, the levels are packed so tightly that they look like a smooth range of energies.
Why is the lowest energy above zero? The lowest level, , is not zero. A wave that must vanish at both walls cannot be flat, so it has to bend between the walls. Bending means the particle carries some kinetic energy, which is energy of motion. A particle with zero energy would have to be perfectly still and flat, and that is impossible in a box.
Where does it apply? This is an idealized model with walls that are infinitely high and a particle that moves freely between them. Real walls are finite, so the wave leaks into them a little and the levels shift. The formula is exact for the ideal box, and it is a good first picture of electrons trapped in tiny regions.
An everyday picture
Think of a ladder whose rungs spread out as you climb. The particle can stand only on the rungs, never between them. The first rung sits low, the second is four times as high above the floor, and the third is nine times as high. A narrower box is like a ladder with wider gaps between the rungs, so every rung is higher and the steps between them are bigger.
Worked example: An electron in a 1.0 nm box
An electron, with mass kg, is trapped in a box of width nm m. We find the energies of the first three levels in electron volts (eV), and the energy needed to move from level 1 to level 2. The box width is chosen for easy numbers, so this is an idealized example.
- Write the level 1 formula with the numbers. For level 1, , so the formula becomes . Put in J s, kg and m. Squaring means multiplying its power of ten by two, so .
- Square the top and multiply the bottom. The top, , has front number , and the exponent doubles to . Tidying gives J s. The bottom is kg m.
- Divide to get the energy in joules. Dividing the top by the bottom gives . The powers of ten subtract: . Moving the decimal point one place to the right gives J, about J.
- Convert to electron volts. One electron volt is J, so divide: eV. The power of ten in the bottom is one bigger, so the result shrinks by a factor of ten, and the front numbers give . So eV.
- Find level 2 and level 3 by squaring the level number. Level 2 has , so eV. Level 3 has , so eV. The levels rise much faster than the level number does.
- Find the energy needed to move from level 1 to level 2. The gap is eV. An electron that absorbs about 1.13 eV, for example from a photon of that energy, can jump up one level.
Answer: The first three levels of this electron are 0.376 eV, 1.50 eV and 3.38 eV. Moving from level 1 to level 2 takes about 1.13 eV. The lowest level sits above zero, because a wave that must vanish at both walls cannot be flat.
The numbers in this example are recomputed by script every time the site is built.
Common mistakes
- Leaving the width in nanometers. Convert 1.0 nm to m before squaring. Using as if it were meters makes the energy times too small.
- Assuming the lowest energy can be zero. Level is above zero, because a wave that must vanish at both walls cannot be flat.
- Starting the count at . That would give zero energy and a wave that is zero everywhere, which means no particle. The level numbers start at 1.
- Doubling the energy when doubles. The energy depends on , so and , not and .
Where you will meet it
- Quantum dots, tiny semiconductor crystals whose color depends on their size, because the size sets how far apart the trapped electron levels are.
- Quantum well lasers and LEDs, which use very thin semiconductor layers to trap electrons in one direction, with energy levels set by the same idea.
- Estimating the energies of electrons along the long chains of carbon atoms in some dye molecules, using a one-dimensional box as a simple model.
Questions people ask
Why does the level count start at 1 and not 0?
With the wave would be zero everywhere, so there would be no particle in the box. The lowest allowed wave has one half-wave, which is .
Why does the energy grow as $n^2$?
For level the wave number , which measures how many radians the wave’s phase turns per meter, is . The energy depends on , and carries the factor .
Is a real electron trapped in a box like this?
Not exactly. Real walls are finite, so the levels shift a little and the wave leaks into the walls. The ideal box is the simplest model that shows why energy comes in discrete levels.
Related formulas
- Schrödinger Equation: The Schrödinger equation says how a quantum particle’s wave changes from moment to moment, the way Newton’s laws say how a moving ball changes its position.
- Quantum Harmonic Oscillator: A tiny particle on a spring can have only certain energies, spaced evenly like the steps of a staircase, and even its lowest step is above zero.
- Hydrogen Energy Levels: An electron in a hydrogen atom can sit only on certain energy steps, and when it jumps between steps it gives off or takes in light of one exact color.