Transfer Matrix Method
The transfer matrix method is a compact way to solve one-dimensional scattering problems made from constant-potential regions. Instead of writing a large system of matching equations from scratch, one stores right-moving and left-moving amplitudes in a vector and multiplies matrices for interfaces and propagation through layers.
This page gives a practical wave-mechanics convention. Full scattering theory introduces related -matrix and Green-function methods, but the transfer matrix is often the quickest way to handle finite stacks of steps, wells, and barriers.
Helpful background. Potential Step to match open and evanescent scattering channels.
Region Amplitudes
Section titled “Region Amplitudes”In a region where the potential is constant,
the stationary Schrödinger equation has plane-wave solutions when :
The amplitude vector is
Here multiplies the right-moving component and multiplies the left-moving component. For matrix composition, measure position from a local reference point in each region: . Global coefficients are constant within a region; the local coefficients change when the reference point moves.
If , then with
The same algebra works, but the two exponentials become growing and decaying evanescent terms. This is useful analytically and potentially dangerous numerically.
Propagation Through a Constant Region
Section titled “Propagation Through a Constant Region”Across a constant-potential segment of length , the amplitudes acquire phases:
where
For an evanescent region with ,
The second entry grows with . That growth does not mean the physical wavefunction diverges; it means this amplitude basis is tracking a component that must cancel appropriately when matched to neighboring regions.
Interface Matrix
Section titled “Interface Matrix”At a finite potential jump, both and are continuous. Put the interface at , with wavenumber on the left and on the right. Then
and
Solving for the right-side amplitudes in terms of the left-side amplitudes gives
with
The mass is constant throughout, and the interface has no delta term. At an exact threshold , the traveling-wave basis becomes singular. Use the regular endpoint data and the zero-wavenumber solutions , or take a controlled limit.
Composition
Section titled “Composition”For a stack of layers, multiply the matrices in the order encountered from left to right. For example, suppose the wave crosses an interface from region to region , propagates across region for length , and then crosses into region . With the convention above,
The total transfer matrix is
Longer stacks are handled by inserting more propagation and interface matrices.
Extracting r and t
Section titled “Extracting r and t”For left incidence, set the incoming amplitude on the far left to :
If there is no incoming wave from the far right, then on the far right
Let
Then
so
The transmitted amplitude is
Equivalently,
If the left and right asymptotic wavenumbers differ, the transmission probability includes the velocity factor:
Here must be positive real open-channel wavenumbers. The transmitted coefficient is referenced to the right endpoint: if that point is at and the left reference is zero, the global convention has . Keep this phase when comparing different derivations or packet delays.
Since and , a full stack has ; equal exterior wavenumbers give determinant one.
The reflection probability is
for the standard one-channel left-incident setup.
Single Step Check
Section titled “Single Step Check”For one interface, . The no-incoming-from-right condition gives
and
These are exactly the amplitudes found in the Potential Step calculation. The transfer matrix therefore reproduces the elementary result before being trusted on more complicated stacks.
Multiple Barriers
Section titled “Multiple Barriers”For a double barrier, the total matrix has the schematic form
where denotes barrier regions and denotes the intermediate well region. The transmission probability can show sharp peaks when the phase accumulated in the well makes multiple reflected amplitudes interfere constructively. This is the transfer-matrix route to Resonant Transmission.
Numerical Stability
Section titled “Numerical Stability”Transfer matrices can be poorly conditioned for thick barriers or long stacks. Evanescent propagation contains factors such as
which may become enormous even when the physical transmission is tiny. Multiplying many such matrices can produce overflow, underflow, or severe cancellation.
For robust numerical work, one often uses:
- scattering matrices instead of transfer matrices;
- logarithmic derivatives;
- stable recursive algorithms;
- rescaling after each layer;
- arbitrary-precision arithmetic only after the formulation is checked.
A stable result should be checked against current conservation when the potential is real and the scattering is one-channel:
Failure of this check can signal physical absorption, but in a nominally conservative calculation it usually signals a numerical or convention error. Passing it does not certify the relative accuracy of a tiny : replacing by zero is invisible to a conservation test with an absolute tolerance of . Compare , or for very opaque barriers, with a stable formulation and with increased precision.
Use the known analytic determinant when extracting ; computing it by subtracting products of large entries introduces avoidable cancellation. This helps for a single barrier but does not make arbitrary long transfer-matrix products stable. Scattering-matrix composition instead joins the incoming and outgoing amplitudes of smaller pieces. Yin and Tao (2008) discuss the growing evanescent factors and stabilized alternatives. Exercise 3 makes the loss of transmission explicit; Conditioning and Stability explains why a small residual alone is insufficient.
Common Mistakes
Section titled “Common Mistakes”- Multiplying matrices in the wrong order.
- Mixing amplitude conventions from different texts.
- Forgetting the velocity factor in when asymptotic wavenumbers differ.
- Treating evanescent growth in the transfer basis as a physical divergence.
- Trusting raw transfer-matrix multiplication through very opaque barriers.
- Comparing before checking whether the model includes absorption or extra channels.
Exercises
Section titled “Exercises”- Derive the interface matrix from continuity of and at .
Solution
Continuity gives
and derivative continuity gives
Thus
Adding and subtracting these equations yields
and
This is exactly the stated matrix.
- Use the single-step transfer matrix to recover .
Solution
For left incidence,
The lower component of gives
Solving,
- Consider one rectangular barrier with equal exterior potentials, , and . Then the exterior wavenumber is . Derive its transfer matrix in the local endpoint convention, find and , and explain how an opaque barrier can pass numerically while its computed transmission is completely wrong. Give a formula for that avoids growing exponentials.
Solution
Multiplying the two interface matrices and the intervening propagation matrix gives
Thus
The global transmitted coefficient is ; the endpoint phase does not affect . Both evanescent components remain necessary inside the finite barrier.
The matrix is Hermitian and positive, with eigenvalues . Its Euclidean condition number is therefore . At , it is about , while the exact transmission is
In double precision, and can round to the same value. Evaluating then gives zero, so the determinant formula returns . Yet rounds to one, and the computed is also one. The transmission has a relative error despite this perfect conservation residual.
For this barrier, using the exact determinant gives . An expression that also avoids overflow in is
Evaluate the last term with a numerical function when available. The logarithm remains useful even when itself is too small to represent. The exponential ill conditioning of the transfer representation does not prevent this directly evaluated transmission from being accurate.
References
Section titled “References”- D. J. Griffiths and D. F. Schroeter, Introduction to Quantum Mechanics, 3rd ed., Cambridge University Press, 2018.
- R. Shankar, Principles of Quantum Mechanics, 2nd ed., Springer, 1994.
- J. R. Taylor, Scattering Theory: The Quantum Theory of Nonrelativistic Collisions, Dover, 2006.
- P. Yeh, Optical Waves in Layered Media, Wiley, 1988.
- H. Yin and R. Tao, “Improved transfer matrix method without numerical instability,” EPL 84, 57006 (2008), doi:10.1209/0295-5075/84/57006, arXiv:0709.3681.