Skip to main content

Quantum core · institution-dependent · Interactive lesson

Piecewise potentials and matching

Almost every solvable one-dimensional problem is built the same way: chop the axis wherever V jumps, write down the only two solutions a constant potential allows, then let continuity at the joins do the physics. Learn the bookkeeping once and the well, the step and the barrier all become the same calculation.

UPIV-07.01 · Lesson 1 of 9 in this unit. Position is not a completion score.
Starting model: Piecewise potentials and matchingHard wall at x = 0, a flat floor to x = 0.50 nm, then a step to V₀ = 6.0 eV. Inside, E = 2.00 eV sits above V, so ψ oscillates with k = 7.24 nm⁻¹; beyond the step E is below V₀, so ψ decays with κ = 10.25 nm⁻¹. ψ is matched at the step by construction; the two arrows give the slope from each side, and they agree only at a bound state.V₀ = 6.0 eVE = 2.00 eVE > V k = 7.24 nm⁻¹E < V₀ κ = 10.25 nm⁻¹ψ(0) = 0 at the wallψ′ mismatch = −11.16 nm⁻¹
Start with a picture. Change the model in the lab below.

Quantum core · institution-dependent. Departments differ in how much quantum mechanics they include in Physics IV or teach in a dedicated course. Follow your university’s required mathematical depth and assessment; these numbered units are not automatically optional.

1

Build the model

Constant V turns Schrödinger into three ODEs you already know.

The key idea

A piecewise-constant potential is flat inside each of a few regions and jumps between them, so the Schrödinger equation is solved separately in every region and the pieces are joined by demanding that ψ and ψ′ agree at each boundary.

Example. For an electron ħ²/2m = 0.0381 eV nm², so 1.0 eV above a flat floor gives k = √(1.0/0.0381) = 5.12 nm⁻¹ and λ = 1.23 nm, while 1.0 eV below it gives κ = 5.12 nm⁻¹ and the wave dies to 1/e in 0.195 nm.

The complete physical model and assumptions

A piecewise-constant potential is a deliberate caricature: replace whatever V(x) really does by a staircase of flat treads, and inside each tread the time-independent Schrödinger equation collapses to ψ″ = (2m/ħ²)(V − E)ψ with a constant coefficient — an equation you met in first-year calculus. Where E lies above the tread the coefficient is negative and ψ oscillates with wavenumber k = √(2m(E − V))/ħ; where E lies below it the coefficient is positive and ψ is a sum of real exponentials with decay constant κ = √(2m(V − E))/ħ. All the physics has been pushed into the joins. Integrating the equation across a step shows that ψ and ψ′ are both continuous whenever V is finite, and those two conditions per boundary are what stitch the local solutions into one global state — and, by refusing to be satisfied at most energies, are what quantise the spectrum. The cost is honest: a real step is smooth over a finite length, the model is one-dimensional, static and single-particle, and the matching rules themselves break exactly where V stops being finite.

1Constant V collapses the equation

Start from −(ħ²/2m)ψ″ + V(x)ψ = Eψ and move everything to one side: ψ″ = (2m/ħ²)(V − E)ψ. Nothing is approximate yet. Now suppose V is constant across some interval. The bracket is a fixed number and the equation is a linear ODE with constant coefficients, with three cases. If E > V, write (2m/ħ²)(V − E) = −k², so ψ″ = −k²ψ and ψ = A e(ikx) + B e(−ikx), or equivalently A′ sin kx + B′ cos kx. If E < V, write it as +κ², so ψ″ = +κ²ψ and ψ = C e(κx) + D e(−κx); the sines are gone. If E = V exactly, ψ″ = 0 and ψ is a straight line, A + Bx. Which pair you write is bookkeeping, not physics: e(±ikx) for waves arriving and leaving, sin and cos for a standing wave, and cosh and sinh in place of e(±κx) when a region is closed on both sides. Two constants per region, always — and that count is the currency the rest of the method spends.

2The sign of ψ″/ψ is the whole picture

Rearranged once more, ψ″/ψ = (2m/ħ²)(V − E): the curvature of ψ measured relative to ψ itself is fixed by how far E sits from the local floor. Where E > V the ratio is negative, so ψ curves back towards the axis — which is what oscillation is. Where E < V it is positive, so ψ curves away from the axis: a positive ψ that is falling either flattens and turns back up or crosses the axis and runs away below it, and only one exact slope lets it sink smoothly towards zero as a pure decaying exponential. That is why nothing wiggles in a classically forbidden region, and why you can never write a sine there. The same expression gives the local wavelength λ = 2πħ/√(2m(E − V)): as the floor rises towards E the wave stretches out, and at a turning point where E = V the curvature vanishes and ψ has an inflection. Sketch the solution before computing it and most sign errors die on the page. A companion rule from the semiclassical limit runs the other way for amplitude — a slower particle lingers, so |ψ|² tends to be larger where E − V is smaller.

3Where the two matching conditions come from

The rules are derived, not assumed. Integrate ψ″ = (2m/ħ²)(V − E)ψ from x₀ − ε to x₀ + ε. The left side gives ψ′(x₀ + ε) − ψ′(x₀ − ε); the right side is a bounded function integrated over an interval of width 2ε. If V is finite — however big the jump — the right side vanishes as ε → 0, so ψ′ is continuous. Continuity of ψ itself follows one step earlier: if ψ jumped, ψ′ would contain a delta and ψ″ the derivative of a δ, and no finite (V − E)ψ could match that. So the ordinary rules are ψ continuous everywhere, ψ′ continuous wherever V is bounded. The derivation also tells you when they fail. Against an infinite wall the bound is gone and only ψ = 0 survives, with ψ′ unconstrained. Across V = −α δ(x) the right-hand integral does not vanish; it leaves ψ′(0⁺) − ψ′(0⁻) = −(2mα/ħ²)ψ(0), a fixed kink whose size is the strength of the δ.

4Divide, don't solve twice

Each boundary hands you two homogeneous equations in the region constants. Solving them as a pair drags the overall normalisation through the algebra for no reason, so divide one by the other and match the logarithmic derivative ψ′/ψ instead. It has dimension 1/length, it is unchanged if you rescale ψ, and it turns two equations into one condition plus a leftover amplitude ratio you can fix at the end. Take an infinite wall at x = 0, a flat floor of width a, and a step of height V₀ beyond it. Then ψI = A sin kx and ψII = B e(−κ(x−a)) are already continuous once B = A sin ka, and equating ψ′/ψ at x = a gives k cot ka = −κ, one transcendental equation in E with no amplitudes in sight. Symmetry buys the same saving twice over: if V(−x) = V(x), every non-degenerate eigenstate is even or odd, so you solve on half the axis and match at one boundary instead of two.

5Count the constants and you know whether E is free

With N regions you have 2N constants plus one unknown energy. Each of the N − 1 internal boundaries supplies two equations, so 2(N − 1) in all. For a bound state the two outer regions run to infinity and normalisability kills the growing exponential in each, removing two constants and leaving 2N − 2 unknown coefficients against 2N − 2 homogeneous equations. A homogeneous system has only the trivial solution unless its determinant vanishes, and that determinant depends on E: the discrete spectrum is exactly the set of energies where it does, and the one remaining freedom is fixed by normalisation. A scattering state is counted differently. On one side you set the incoming amplitude by hand — you choose how intense the incident beam is — so no eigenvalue condition survives and E is continuous. A three-region barrier has N = 3: six constants, four matching equations, one incoming amplitude set to 1 and no wave arriving from the right, leaving exactly four unknowns for four equations at every E.

6What the staircase costs

The model is a caricature, and it is worth naming the price. Real potentials are smooth: the image-charge barrier at a metal surface, or the band edge at a semiconductor heterojunction, changes over a length d of a few tenths of a nanometre rather than jumping. Treating it as a sharp step is safe only when d is small compared with the local de Broglie wavelength; for a 1 eV electron λ = 1.23 nm, so d = 0.3 nm is already marginal and the true reflection comes out smaller than the step formula predicts. Push the other way — V varying slowly over many wavelengths — and reflection becomes exponentially weak, which is the WKB limit. The remaining assumptions are structural: one dimension, one particle, a static V with no explicit time dependence, no spin, and non-relativistic kinematics. One rule genuinely changes in a solid. Where the effective mass differs across the junction, matching ψ′ is wrong; continuity of (1/m*)ψ′ is what conserves probability flux.

2

Key equations

Read the units, assumptions and limits before substituting.

The equation inside one region

ψ″ = (2m/ħ²)(V − E) ψ, V constant

The sign of V − E, not its size, decides whether ψ wiggles or grows.

x in m, V and E in J, ψ in m(−1/2); the bracket is one fixed number in the region

Classically allowed region, E > V

ψ = A e(ikx) + B e(−ikx), k = √(2m(E − V))/ħ

Two travelling waves, right and left; the real sin/cos pair is the same solution and is handier for bound states.

k in m⁻¹, λ = 2π/k. Electron 1.0 eV above the floor: k = 5.12 nm⁻¹, λ = 1.23 nm.

Classically forbidden region, E < V

ψ = C e(κx) + D e(−κx), κ = √(2m(V − E))/ħ

Keep both terms unless the region runs to infinity; only then does one of them fail to be normalisable.

κ in m⁻¹, 1/κ is the penetration depth. Electron 1.0 eV below: 1/κ = 0.195 nm.

Matching at a finite step

ψ(x₀⁻) = ψ(x₀⁺) and ψ′(x₀⁻) = ψ′(x₀⁺)

True for any finite jump in V, however large — the height of the step enters only through k and κ.

Two equations per boundary, complex in general, in the units of ψ and of ψ per metre

The logarithmic derivative

(ψ′/ψ)|₋ = (ψ′/ψ)|₊, both sides in m⁻¹

Divides out the unknown amplitude, turning two equations into one condition on E alone.

The ratio of the two matching equations; invariant under rescaling ψ

Where ψ′ is allowed to jump

ψ′(0⁺) − ψ′(0⁻) = −(2mα/ħ²) ψ(0)

The jump is 2m/ħ² times the integral of Vψ across the point, and vanishes unless V is unbounded there.

For V = −α δ(x) with α in J m; at an infinite wall ψ = 0 and ψ′ is not matched at all
3

Interactive lab

Predict first. Explore the model. Compare the result.

Explore the model

2.00 eV
0.4 to 3 eV; steps of 0.05.
6.0 eV
5 to 12 eV; steps of 0.5.

Try this. Hold V₀ at 6.0 eV and walk E up from 0.40 eV: the two slope arrows scissor together and the ψ′ mismatch passes through zero near E = 1.10 eV — the ground state; a second level near 4.25 eV lies beyond the slider. Past 1.5 eV, ψ crosses zero before the step and the decaying tail flips sign.

Live results

k (E > V region)
7.24 nm⁻¹
κ (E < V₀ region)
10.25 nm⁻¹
ψ′ MISMATCH AT STEP
-11.16 nm⁻¹
PENETRATION 1/κ
0.098 nm

Results follow this lesson’s model and assumptions. Displayed values are rounded.

Interactive Physics IV modelHard wall at x = 0, a flat floor to x = 0.50 nm, then a step to V₀ = 6.0 eV. Inside, E = 2.00 eV sits above V, so ψ oscillates with k = 7.24 nm⁻¹; beyond the step E is below V₀, so ψ decays with κ = 10.25 nm⁻¹. ψ is matched at the step by construction; the two arrows give the slope from each side, and they agree only at a bound state.V₀ = 6.0 eVE = 2.00 eVE > V k = 7.24 nm⁻¹E < V₀ κ = 10.25 nm⁻¹ψ(0) = 0 at the wallψ′ mismatch = −11.16 nm⁻¹
Hard wall at x = 0, a flat floor to x = 0.50 nm, then a step to V₀ = 6.0 eV. Inside, E = 2.00 eV sits above V, so ψ oscillates with k = 7.24 nm⁻¹; beyond the step E is below V₀, so ψ decays with κ = 10.25 nm⁻¹. ψ is matched at the step by construction; the two arrows give the slope from each side, and they agree only at a bound state.

Predict → change one variable → check

Plan a change before running it. Every other input stays at the saved baseline.

Saved baseline. Energy E: 2.00 eV; Step height V₀: 6.0 eV

Baseline 2.00; choose 0.4 to 3, in steps of 0.05.
4. Compared with the saved baseline, this result will…

This experiment is kept only while this page is open. It does not change saved course progress.

4

Catch the common trap

That ψ′ must be continuous is not an axiom; it is a consequence of V being finite. Integrate ψ″ = (2m/ħ²)(V − E)ψ from x₀ − ε to x₀ + ε and the right-hand side is a bounded function over a vanishing interval, so the jump in ψ′ goes to zero with ε. Remove the bound and the argument dies with it. At an infinite wall ψ is driven to zero but ψ′ is never matched: the infinite-well ground state arrives at the wall with slope √(2/L)(π/L), plainly discontinuous with the zero outside. At a delta well the integral survives and leaves a fixed kink, ψ′(0⁺) − ψ′(0⁻) = −(2mα/ħ²)ψ(0). ψ itself stays continuous in both cases: the worst either one puts into ψ″ is a δ, which makes ψ′ jump but leaves ψ whole.

5

Practice & worked examples

3 authored examples. Make an attempt, then reveal the reasoning one step at a time.

EasyExample 1

An electron moves through a region where V = 0 with energy 2.0 eV, then meets a flat region where V = 5.0 eV that extends to infinity. Write the form of ψ in each region, and give the wavelength on the left and the penetration depth on the right. Use ħ²/2m = 0.0381 eV nm².

Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.

0 of 5 steps revealed.

MediumExample 2

The same electron, now at E = 3.0 eV, arrives from the left at a step up to V₀ = 8.0 eV located at x = 0. Write ψI = e(ikx) + r e(−ikx) and ψII = t e(−κx), impose the matching conditions, and find |r|² and |t|².

Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.

0 of 6 steps revealed.

HardExample 3

An electron is confined between infinite walls at x = 0 and x = 0.80 nm. Inside, V = 0 for 0 < x < 0.40 nm and V = 5.0 eV for 0.40 nm < x < 0.80 nm. Find the ground-state energy to three significant figures and check it against the two rigid-box limits.

Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.

0 of 5 steps revealed.

6

Quick check

Select an answer and explain it before checking.

An electron of energy E tunnels through a rectangular barrier of height V₀ > E and finite width L. Which form should you write for ψ inside the barrier, and why?
7

Review & continue

A piecewise-constant potential is flat inside each of a few regions and jumps between them, so the Schrödinger equation is solved separately in every region and the pieces are joined by demanding that ψ and ψ′ agree at each boundary.

  • Explain the relationship without looking at the equation.
  • Check a sign, a unit and a model assumption in your working.
  • Return to the lab or worked example if a step is still unclear.

Extra challenging questions

Connect several ideas, explore supplied data, and compare your reasoning with a worked solution.