---
title: Rigorous Coupled-Wave Analysis (RCWA)
url: https://www.emergentmind.com/topics/rigorous-coupled-wave-analysis-rcwa
type: topic
---

# Rigorous Coupled-Wave Analysis (RCWA)

Rigorous coupled-wave analysis (RCWA), also called the rigorous coupled-wave approach and often identified with the Fourier modal method, is a semi-analytical frequency-domain method for solving Maxwell boundary-value problems in structures that are periodic in one or two in-plane directions and layered along a stratification direction. Its central operation is the Fourier expansion of both material parameters and electromagnetic fields, which converts Maxwell’s equations into coupled ordinary differential systems or matrix eigenproblems along the layer-normal coordinate. In this form, RCWA is used to compute diffraction, reflection, transmission, absorptance, near fields, guided and leaky resonances, optical forces, and even lasing thresholds in periodic photonic structures [1904.12822], [2306.17016], [1806.07997].

## 1. Fourier–modal formulation

RCWA begins from the frequency-domain Maxwell curl equations, with either an \(e^{-i\omega t}\) or an \(e^{+i\omega t}\) convention depending on the formulation. For a structure periodic in \(x\) or in \(x,y\), the relative permittivity and the electromagnetic fields are expanded in Fourier harmonics indexed by reciprocal-lattice vectors. In a 2D-periodic photonic crystal slab, for example, one writes
\[
\varepsilon(\mathbf r)=\sum_G \varepsilon_G(z)e^{iG\cdot \rho},\qquad
\mathbf E(\mathbf r)=\sum_G \mathbf E_G(z)e^{i(\mathbf k+G)\cdot \rho},\qquad
\mathbf H(\mathbf r)=\sum_G \mathbf H_G(z)e^{i(\mathbf k+G)\cdot \rho},
\]
with \(\rho=(x,y)\) and \(\mathbf k\) the conserved in-plane Bloch wavevector. In one-dimensional gratings, the same idea specializes to quasi-periodic Fourier series in the periodic coordinate, with Floquet shifts \(\alpha_n=\alpha+2\pi n/L\) or \(K_n=K_0+2\pi n/\Lambda\) [1806.07997], [1904.12822], [2001.09866].

After substitution into Maxwell’s equations and projection onto each Fourier harmonic, the full vector PDE becomes a coupled system in the stratification variable. In different notational conventions this appears as
\[
\frac{d\Psi}{dz}=Q(\omega)\Psi
\]
or
\[
\frac{d\mathbf f}{dz}=i\,\mathbf P(z)\mathbf f,
\]
where the state vector collects the retained Fourier coefficients of tangential electric and magnetic fields. The matrices are built from diagonal wavevector matrices such as \(K_x\) and \(K_y\) together with Toeplitz or convolution matrices of \(\varepsilon\), \(\varepsilon^{-1}\), \(\mu_r\), or \(\mu_r^{-1}\) [1806.07997], [2306.17016], [1808.01312].

For one-dimensional gratings, polarization reductions are available. For s-polarization, the electric field component \(u(x,z)=E_y(x,z)\) satisfies the scalar Helmholtz equation
\[
\Delta u + k^2 \varepsilon(x,z)u=0,
\]
whereas for p-polarization the formulation becomes
\[
\nabla\!\cdot\!\bigl(\varepsilon_r^{-1}\nabla H_y\bigr)+k_0^2 H_y=f.
\]
These scalar reductions support rigorous variational analyses of RCWA as a Galerkin method for the corresponding boundary-value problems [1904.12822], [2001.09866].

## 2. Layer eigenproblems and scattering matrices

Within each uniform layer, the Fourier coefficients of the material profile are independent of \(z\), so the coupled-wave system has constant coefficients and can be diagonalized. This yields a modal basis of forward and backward eigenwaves, with field evolution expressed as exponentials of the corresponding propagation constants. In 2D formulations, the layer solution is commonly written in terms of eigendecompositions of products such as \(MN\) or of a first-order system matrix; in 1D and 2D alike, the field in a layer is a superposition of modal amplitudes multiplied by \(e^{\pm qz}\) or \(e^{\pm \kappa z}\) factors [2306.17016], [1810.12968].

Continuity of tangential \(E\) and \(H\) at every interface produces the global coupling between layers. Although transfer matrices can be written directly, stable RCWA implementations usually assemble scattering matrices for individual layers and then cascade them. In the standard notation,
\[
\mathbf b=S(\mathbf k,\omega)\,\mathbf a,
\]
where \(\mathbf a\) and \(\mathbf b\) are incoming and outgoing plane-wave amplitude vectors over all retained diffraction channels. For multilayer stacks, layer matrices are combined by the Redheffer star product, a construction used both in conventional RCWA and in hybrid variants such as dipole-augmented Fourier-modal schemes [1806.07997], [1812.11359].

This scattering-matrix architecture is important numerically. Several formulations explicitly note that direct transfer-matrix multiplication becomes unstable when many layers or strongly evanescent channels are present, whereas stable S-matrix cascading avoids numerical overflow and permits treatment of thick gratings, metallic layers, and high-contrast structures [1806.02854], [2101.00901]. The same framework underlies software implementations such as "RETICOLO" [2101.00901].

## 3. Resonances, poles, and spectral singularities

In RCWA, resonant states are naturally encoded in the analytic structure of the scattering matrix. For passive periodic slabs, the total \(S\)-matrix is a meromorphic function of complex frequency, and its poles \(\omega_p\) satisfy
\[
\det[S^{-1}(\mathbf k,\omega_p)]=0.
\]
These poles correspond to the structure’s natural resonances. In a lossless passive system, the cited formulation states that \(\operatorname{Im}\omega_p\ge 0\) by causality [1806.07997].

This pole picture extends RCWA from passive scattering to active devices. In photonic crystal surface-emitting lasers, gain can be introduced by replacing
\[
\varepsilon(\mathbf r)\rightarrow \varepsilon(\mathbf r)+i\,\varepsilon_i(\mathbf r),
\]
or, more realistically, by a Lorentz model analytically continued to complex \(\omega\). As the gain parameter increases, the relevant \(S\)-matrix pole moves downward in the complex-frequency plane, and lasing threshold is reached when a pole crosses the real axis:
\[
\operatorname{Im}\omega_p(\varepsilon_{i,\mathrm{th}})=0.
\]
This gives a first-principles threshold criterion without a round-trip cavity argument and is particularly useful for surface-emitting laser systems with complex in-plane structures [1806.07997].

Related eigenvalue viewpoints appear in other RCWA extensions. In the modified treatment of twisted bilayer photonic slabs, guided eigenmodes are identified from a round-trip operator in the gap-modal space,
\[
M\Psi=\lambda \Psi,
\]
with resonances occurring as \(\lambda\to 1\). In plasmonic grating structures with a \(\delta\)-thin conductive channel, resonant absorption is resolved through modified boundary conditions incorporating a surface-current admittance, and RCWA recovers the corresponding far-field and near-field resonance structure [2505.09908], [2101.05002].

## 4. Convergence theory, numerical errors, and near-field reconstruction

A major development in the mathematical analysis of RCWA is the identification of the method as a Galerkin scheme. For s-polarized gratings, Civiletti, Lakhtakia, and Monk show that RCWA with \(2M+1\) retained Fourier modes and a stairstep approximation in \(z\) is exactly the variational discretization of a perturbed problem. Under non-trapping hypotheses, the analysis yields
\[
\|u^h-u^{h,M}\|_{H^s(\Omega)}\le C(k,\varepsilon)\,M^{s-2}\|f\|_{L^2(\Omega)},\qquad s=0,1,
\]
that is, \(O(M^{-2})\) in \(L^2\) and \(O(M^{-1})\) in \(H^1\). For the stairstep approximation, the general bound is \(O(h^{1/2})\) in \(H^1\), improving to \(O(h)\) when \(\varepsilon\) is smooth in \(z\). Their numerical experiments show measured \(L^2\)-error \(\sim O(M^{-2})\) and slice-thickness decay approximately \(O(h^{1.5\text{–}1.7})\) [1904.12822].

For p-polarized gratings, the same authors derive a Galerkin interpretation for a perturbed problem with approximate permittivity and obtain a combined estimate
\[
\|u-u^{h,M}\|_{H^s(\Omega)}\le C\Bigl(h^{\,s_1/2}+M^{(s-2)s_2}\Bigr),\qquad s=0,1.
\]
Representative numerical examples show \(h\)-convergence roughly \(\mathcal O(h^{0.7\text{–}0.9})\) and \(M\)-convergence \(\mathcal O(M^{-1.0})\), while the authors state that the numerical results suggest further work [2001.09866].

A recurring misconception is that RCWA’s known near-field difficulties imply comparable far-field inaccuracy. The cited studies separate these effects. Far-field quantities such as reflectance, transmittance, and absorptance typically converge rapidly with Fourier order, whereas direct Fourier reconstruction of discontinuous field components suffers Gibbs oscillations at material boundaries [1507.06364], [1810.12968]. The principal pathology is the reconstruction of the discontinuous normal electric field. Schuster et al. therefore propose a “reconstruct \(D_n\), then divide” formulation,
\[
\tilde E_n^{(N)}(x)=\frac{D_n^{(N)}(x)}{\varepsilon_0\varepsilon(x)},
\]
and its 2D analogue based on a normal-vector field, so that only continuous combinations such as \(D_n\) and \(E_{\mathrm{tan}}\) are reconstructed in Fourier space [1507.06364].

For nanowire solar cells, Robertson et al. introduce two additional remedies: the Continuous-Variable Formulation (CVF), which reconstructs continuous quantities \(E_T\) and \(D_N\), and a far-field-based rescaling
\[
F_i(\omega)=A_{\mathrm{ff}}^i(\omega)/A_{\mathrm{nf}}^i(\omega),
\]
used to force agreement between layer-integrated near-field and far-field absorptance. In their test cell, far-field absorptance converges very rapidly, with \(N_G\approx 75\) giving \(|\Delta A|<0.5\%\), whereas unmodified near fields at short wavelengths remain poorly converged even at \(N_G\approx 1000\). With CVF and rescaling, \(N_G\approx 200\) yields \(<1\%\) total-generation error under AM1.5G and enables computational speedups between \(30\) and \(1000\) times for spectrally integrated calculations [1810.12968]. The same separation between robust far-field momentum fluxes and unreliable boundary-local stress integrals motivates optical-force calculations based on momentum conservation rather than direct Maxwell-stress integration [2306.17016].

## 5. Extensions, hybridizations, and generalized formulations

Several extensions modify the standard Fourier-modal workflow to address geometries for which bare RCWA converges slowly or requires excessive slicing. One limitation arises in nanoparticle arrays: small, high-contrast inclusions generate local fields with large spatial gradients, so the Fourier series converges very slowly and may require \(N_g\sim10^3\text{–}10^4\) harmonics. Fradkin et al. therefore combine RCWA with the discrete dipole approximation (DDA), replacing the problematic particle layer by an effective dipole-sheet scattering matrix built from the lattice-corrected polarizability
\[
\hat\alpha_{\rm eff}(\omega,\mathbf k_\parallel)=\bigl[\alpha_0^{-1}(\omega)-\hat C(\omega,\mathbf k_\parallel)\bigr]^{-1}.
\]
In the cited examples, the DDA-augmented scheme typically converges for \(N_g\sim 50\text{–}200\) and captures localized surface plasmon resonances, lattice plasmon resonances, and their hybridization with guided modes [1812.11359].

A different limitation is longitudinal variation of the cross section. Standard RCWA treats \(z\)-variation by staircasing into many thin layers. "VarRCWA: An Adaptive High-Order Rigorous Coupled Wave Analysis Method" [2201.12341] reinterprets constant-cross-section RCWA as a zeroth-order approximation and derives a Born-series-style perturbative expansion in the variation of \(\mathbf P(z)\) and \(\mathbf Q(z)\). Using a reference cross section and adaptive subdivision, VarRCWA reduces the number of required sections while meeting a user-specified tolerance. In the reported benchmarks, speedups for \(\varepsilon\approx10^{-4}\) range from \(3.5\times\) up to \(10\times\), and a linear taper is solved with four adaptive sections and first-order expansion in under \(1/5\) of the time needed by conventional RCWA with \(256\) slices [2201.12341].

A more radical approach appears in "A rigorous coupled-wave analysis of birefringent holographic gratings with periodically-modulated dielectric tensor along an in-plane direction and tensor variations in the thickness direction" [2510.01214]. Mansuripur and Jakobsen avoid slicing entirely by expanding the dielectric tensor in both \(x\) and \(z\), producing one augmented \(4T\times 4T\) eigenproblem with \(T=(2M+1)(2N+1)\). This unsliced formulation introduces a \((2N+1)\)-fold degeneracy for each physical diffraction order, but the cited numerical results report stable solutions, energy conservation \(\sum R+\sum T=1\) to better than \(10^{-4}\), and matrix sizes up to \(4\times41\times41\approx 6.7\times10^3\) [2510.01214].

Other generalized formulations incorporate singular sheets or modified basis functions. Lyaschuk et al. embed a \(\delta\)-thin two-dimensional electron gas in RCWA by replacing the usual tangential-field continuity with jump conditions involving a boundary admittance \(\hat\Gamma^{2D}\), which enables percent-level accurate modeling of THz plasmonic grating structures in less than \(1\) s on a desktop for \(M\sim50\text{–}100\) [2101.05002]. Xie et al. replace evanescent gap harmonics in twisted bilayer photonic slabs by flux-carrying basis functions and obtain a modified eigenmode analysis, together with a five-layer uniform-slab approximation of accuracy around \(0.04a/c\) [2505.09908]. These developments suggest that RCWA is best understood not as a fixed algorithmic recipe but as a family of Fourier-domain scattering and eigenvalue formulations.

## 6. Applications, software, and inverse design

RCWA is widely used wherever periodicity and layered structure coincide. In thin-film photovoltaics, it has been coupled to differential evolution for geometry and bandgap optimization of three-dimensional corrugated tandem solar cells. In the cited optimization study, the population size is \(N_p=70\), the crossover is \(C_R=0.7\), the differential weight is \(\alpha=0.8\), and \(50\) generations were found sufficient for near-convergence [1808.01312]. In a related study of a two-dimensional periodically corrugated metallic backreflector, RCWA is used to separate total absorptance from useful semiconductor absorptance and to correlate spectral peaks with surface-plasmon-polariton waves and waveguide modes, emphasizing that not every resonance enhancing total absorption is useful for the photovoltaic junctions [1806.02854].

In subwavelength coronagraphy, RCWA is used to design and reverse-engineer annular groove phase masks. The cited AGPM study reports that coronagraphic performance is very sensitive to small errors in etch depth and grating profile; after post-fabrication re-etch optimization, starlight rejection up to \(1000{:}1\) is demonstrated in a broadband L filter, corresponding to a raw contrast of about \(1e{-}5\) at two resolution elements from the star for a perfect input wave front on a circular, unobstructed aperture [1610.05065]. In graded chiral TiO\(_2\) thin films, RCWA combined with Bruggeman homogenization predicts filtering frequency and polarization selectivity, with a reported theoretical Bragg wavelength of \(694\) nm versus an experimental \(690\) nm and maximum selectivity of about \(80\%\) for the stated deposition geometry [1010.5088].

For optical-force calculations on periodic nanophotonic actuators, RCWA is presented as a practical alternative to FDTD. In the benchmark asymmetric Si–SiO\(_2\) dimer, RCWA converges at \(N_{\rm modes}=41\times41\) Fourier harmonics, gives \(<1\%\) difference from FDTD, and costs about \(60\) s per single-wavelength evaluation on an Nvidia P100, versus about \(400\) s for FDTD on the cited HPC configuration. Across a geometry sweep of \(21\) gap positions, RCWA requires about \(21\) min versus about \(3.25\) h for FDTD, and on consumer laptops with CUDA GPUs the single-precision RCWA runtime is about \(50\) s per simulation while remaining \(\gtrsim10\times\) faster than FDTD [2306.17016].

The software ecosystem around RCWA includes "RETICOLO software for grating analysis" [2101.00901], a MATLAB implementation for 1D classical and conical diffraction and 2D crossed gratings, with Bloch-mode and field-visualization toolboxes and, in version V9 and later, a toolbox for arbitrarily anisotropic multilayer thin films. More recently, surrogate models have been built directly on RCWA outputs. In "Physics-constrained neural networks for surrogate modeling of lossless periodic structures" [2606.28119], Prehn and Jung treat the block Jones matrix predicted by RCWA as a point on the complex Stiefel manifold, enforce energy conservation by differentiable symmetric orthogonalization, and report test-set mean-squared errors on the order of \(10^{-5}\) to \(10^{-6}\), energy-conservation error of order \(10^{-6}\), and about \(5\times10^6\) Jones-matrix predictions per iteration in approximately \(0.5\) s on an NVIDIA A100 GPU. A plausible implication is that RCWA now functions both as a direct solver and as a generator of physically constrained reduced models for large-scale inverse design [2606.28119].

Source: https://www.emergentmind.com/topics/rigorous-coupled-wave-analysis-rcwa