How this calculation works
A one-dimensional quantum barrier changes the amplitudes of reflected and transmitted waves even when the potential is constant within each layer. At interfaces, continuity conditions couple the traveling components. Below a barrier, the wave can be evanescent inside while still transmitting through a finite width.
Solve1DstationarySchrodinger[-hbar²/(2m)d²+V]ψ=Eψ withsameconstmassandpiecewiseconstantreallayers; propagatingleft/right exteriorE>VextrequiredforfluxTdefinition. k=sqrt(2m(E-V))/hbar,imaginaryforbarriers. Stable2portscatteringmatrixRedheffercomposition interfaceamplitude r=(kL-kR)/(kL+kR),t=2kL/(kL+kR); layerprop exp(ikL) decays evanescent,avoidgrowingtransferexp. Nearthresholdk0 requireanalyticlimit/adaptivereject; don'tdivide0. R=absr²,T=RekR/RekL*abst²;R+T≈1. Broadenergysweepoptional100bounded.A worked example
With the prefilled inputs, results = [{"energy":2,"reflectionProbability":0.08131229311729339,"transmissionProbability":0.918687706882707,"fluxResidual":4.440892098500626e-16,"reflectionAmplitude":[0.2439368793518801,-0.14767224522353442],"transmissionAmplitude":[0.4963690864014402,0.8199423375748484]}]. Rows [width,potential]. Both exterior potentials0,same mass. Kinetic coefficient hbar²/(2m).
Good to know
Real 1D piecewise-constant potential,zero potential exterior on BOTH sides,same mass;stable interface reflection recursion with evanescent propagation. Flux R+T checked;threshold energies rejected,no absorbing potentials.
Reference: Primary method reference or author-maintained documentation (opens in a new tab) ↗
Reflection and transmission of a quantum wave
A one-dimensional quantum barrier changes the amplitudes of reflected and transmitted waves even when the potential is constant within each layer. At interfaces, continuity conditions couple the traveling components. Below a barrier, the wave can be evanescent inside while still transmitting through a finite width.
The calculation solves the stationary equation for real piecewise-constant potentials and a declared mass and unit convention. It does not predict a localized wave packet's full time evolution or add absorption through an unspecified complex potential.
Compare with the Dirichlet Sturm Liouville eigenvalue and eigenfunction calculator. Computeopen-scatteringamplitudesacrosspiecewiseconstantpotentiallayers; closedeigenvalueBVPimposesdifferentboundaryconditions.
Layer widths and the kinetic coefficient
Rows [width,potential]. Both exterior potentials0,same mass. Kinetic coefficient hbar²/(2m).Enter one through twenty rows of positive width and real potential, plus one through one hundred positive incident energies. The exterior potential is fixed at zero on both sides, with a common mass convention. The single positive kinetic coefficient is hbar squared divided by twice the mass in the chosen consistent units.
This release does not accept different exterior potentials or a position-dependent mass. Energies too close to an entered layer potential are rejected because the zero-wave-number threshold limit is not implemented. A threshold warning therefore means an unsupported limiting calculation, not physical prohibition of an incident energy.
Matching waves without numerical overflow
Within each constant layer, the solution is a combination of elementary wave factors. A transfer matrix can contain exponentially growing terms for thick barriers, even when the observable transmission is tiny and finite. That representation can overflow before the physical answer becomes problematic.
A stable scattering composition instead combines interface reflections, transmissions and decaying propagation factors. Its convention must remain consistent across all layers. Reversing one interface's amplitude convention can preserve a plausible-looking curve while breaking conservation.
Probabilities and flux conservation
With the same zero-potential exterior on both sides, the incident and transmitted wave numbers agree. Reflection and transmission probabilities are therefore the squared magnitudes of the returned reflection and transmission amplitudes in this specific release.
For unequal exterior media a velocity-ratio factor would be required, but that is mathematical context rather than a supported selector here. The engine checks that reflection plus transmission differs from one by less than its numerical tolerance and rejects an unresolved conservation defect rather than clipping probabilities to force agreement.
A symmetric-barrier worked example
Choose hbar and mass equal to one, incident energy one, barrier height two and width one, with zero exterior potential. The evanescent rate is square root of two. The standard rectangular-barrier expression simplifies to one divided by cosh squared of square root of two.
The reflected probability is one minus that value. A zero-height layer gives transmission one and reflection zero. A very small positive width approaches the identity scatterer, although an exactly zero width is rejected by the input validation. These checks exercise different parts of the composition and normalization.
Reading an energy sweep
A static transmission curve can show resonances and threshold behavior across a bounded energy range. Each plotted point is a separate stationary solve. A narrow resonance may be missed by coarse sampling, so the graph must not imply that every peak has been located.
Display the conservation defect alongside the selected-energy amplitudes and probabilities. Amplitude phase is meaningful only with a stated reference convention. A probability plot alone should not be labeled as a full wavefunction inside every layer. A reflected amplitude is complex, while its reflection probability is the squared magnitude after the specified exterior normalization. A negative amplitude or a phase shift is therefore not a negative probability. The left and right exteriors have the same zero potential and mass here, which makes their wave-number ratio one. Interfaces with different exterior energies would require an additional transmitted-flux factor.
Scope and unresolved thresholds
The bounded model assumes a common constant mass unless a position-dependent matching convention is explicitly implemented. It excludes absorption, nonlinear interactions and arbitrary smooth potentials. Approximating a smooth potential by layers requires its own refinement study.
Numerical underflow can make a very small transmission round to zero without proving that it is mathematically zero. Threshold and overflow guards should preserve that distinction. A failed composition or conservation check requires an unresolved result rather than clipped probabilities that add to one. Real 1D piecewise-constant potential,zero potential exterior on BOTH sides,same mass;stable interface reflection recursion with evanescent propagation. Flux R+T checked;threshold energies rejected,no absorbing potentials.
A few questions, answered
Can a wave transmit below the barrier height?
Yes; a finite barrier permits tunneling through an evanescent interior region.
Why are squared amplitudes sufficient here?
Both exterior potentials are fixed at zero with the same mass, so their wave-number ratio is one. Unequal exterior media are not supported in this release.
Why avoid ordinary transfer matrices for thick barriers?
Their exponentially growing entries can overflow even when the physical scattering probabilities remain finite.
Can an energy exactly at a layer potential be used?
No; the zero-wave-number threshold limit is not implemented and near-threshold energies are rejected explicitly.