Introduction
Reaction-diffusion equations serve as fundamental mathematical models across physical, chemical, and biological sciences, describing multi-species interactions governed by local non-linear reaction kinetics and global spatial diffusion [18 ] . Numerical discretizations such as finite difference, finite element (FEM), finite volume, and spectral methods have been extensively developed for these systems [24 ] . Among them, finite element methods provide superior geometric flexibility and high-order accuracy. However, fine spatial discretizations, particularly when paired with high-order finite elements, give rise to massive matrix differential equations, rendering standard full-rank time-marching integrators practically infeasible.
Discretizing high-dimensional partial differential equations (PDEs) on fine spatial grids typically yields massive algebraic systems whose direct numerical integration is computationally prohibitive in terms of both execution time and memory footprint; see, e.g., [9 ] . Dynamical low-rank approximation (DLRA) [13 ] has emerged as an indispensable model-reduction paradigm to alleviate this severe computational bottleneck by exploiting the intrinsic low-dimensional manifold structure of evolving solutions. Rather than marching the full-order high-dimensional state, DLRA projects the governing dynamics onto a time-dependent low-rank manifold, advancing only the underlying low-dimensional factor matrices. This substantially reduces both the active degrees of freedom and memory requirements, establishing DLRA as a powerful approach for large-scale matrix differential equations across a wide range of applications, including kinetic equations [27 , 6 ] , wave propagation [11 , 28 ] , uncertainty quantification [19 , 14 ] , machine learning [23 , 22 ] , and diffusion-type equations [21 , 7 , 17 , 26 ] .
DLRA relies on robust splitting-based time integrators, among which the projector-splitting (PS) integrator [16 , 12 ] and the Basis-Update & Galerkin (BUG) integrators [4 , 2 , 3 ] are the most prominent. While the PS integrator performs remarkably well across various settings, its intermediate backward-in-time evolution step can induce severe numerical instabilities, particularly when applied to parabolic problems or systems with high stiffness. In contrast, BUG integrators overcome these limitations by updating the basis matrices in parallel and evolving the low-rank factors exclusively forward in time. This structural feature not only simplifies extensions to structure-preserving discretizations [3 ] but also accommodates implicit sub-steps to handle stiff dynamics robustly. A key milestone in this framework is the augmented BUG integrator [5 ] , which offers enhanced flexibility and rank adaptivity.
More recently, DLRA has gained increasing traction in solving diffusion-type problems [21 , 7 , 17 , 26 ] , with the BUG framework taking a central role. In BUG integrator [4 ] , the rank-constrained evolution decouples into independent K K K -, L L L -, and S S S -steps. However, spatial diffusion operators are inherently stiff. To overcome severe Courant–Friedrichs–Lewy (CFL) stability limits, implicit time discretizations are imperative. Consequently, the implicit update in both K K K - and L L L -steps requires solving large-scale Sylvester-type matrix equations at each time step. Standard dense solvers, such as the Bartels–Stewart algorithm [1 ] , incur an O ( m 3 + n 3 ) O(m^3+n^3) O ( m 3 + n 3 ) computational cost and O ( m 2 + n 2 ) O(m^2+n^2) O ( m 2 + n 2 ) memory footprint per time step, where m m m and n n n denote the spatial resolutions along the respective coordinate directions. For high-resolution spatial grids, these dense algebraic operations become the dominant computational bottleneck, largely canceling out the speedup achieved by the low-rank formulation.
To address this challenge, several low-rank implicit integrators have been explored. The Reduced Augmentation Implicit Low-rank (RAIL) method [21 ] and its 3D extension [20 ] reduce the memory footprint and computational cost to O ( m 2 r ) O(m^2r) O ( m 2 r ) by leveraging low-rank structures. For d d d -dimensional advection-diffusion problems, preconditioned adaptive-rank Krylov/GMRES solvers were introduced in [7 ] , achieving efficient solves with O ( m r 2 + r d + 1 ) O(mr^2+r^{d+1}) O ( m r 2 + r d + 1 ) complexity under second-order finite difference stencils. In addition, a preconditioned low-rank generalized minimal residual (GMRES) method for implicit discretizations of matrix differential equations was proposed in [17 ] , where a second-order finite difference discretization is employed in space. Exact low-rank solvers for the linear diffusion operator in Allen–Cahn equations were also developed in [26 ] , achieving O ( ( m 2 + n 2 ) r ) O((m^2+n^2)r) O (( m 2 + n 2 ) r ) computational complexity per time step.
Despite these notable advances, combining implicit low-rank integrators with high-order finite element methods presents non-trivial computational and analytical challenges. First, non-diagonal mass matrices originating from standard high-order finite elements introduce spatial couplings, which can restrict the direct applicability of fast banded Sylvester solvers. Second, iterative solvers often rely on problem-specific preconditioning, and their efficiency can be sensitive to solver convergence or temporary rank inflation during rapid transient dynamics. Finally, establishing rigorous discrete well-posedness and L 2 L^2 L 2 -stability remains a delicate question that warrants further formal analysis.
To overcome these fundamental mathematical and algorithmic challenges, this paper presents a BUG-MLFEM for 2D reaction-diffusion equations under Dirichlet, Neumann, and periodic BCs. By incorporating Gauss-Lobatto numerical quadrature into tensor-product finite element spaces, we obtain strictly diagonal mass matrices, preserving optimal O ( h k + 1 ) O(h^{k+1}) O ( h k + 1 ) spatial accuracy while completely eliminating mass coupling [15 ] . Our main contributions are as follows.
Theoretical rigor and well-posedness: By recasting the mass-lumped finite element system into the WDLRA framework, we demonstrate the exact equivalence between the BUG integrator and MLFEM on low-rank subspaces, thereby ensuring the rigorous well-posedness of the discrete subproblems at each time step.
High-order spatial discretization: By incorporating Gauss–Lobatto quadrature, the spatial mass matrices become strictly diagonal and positive definite, which eliminates inter-element mass coupling while retaining the optimal O ( h k + 1 ) O(h^{k+1}) O ( h k + 1 ) spatial error for P k P_k P k finite elements. Numerical experiments confirm first-order convergence in time and ( k + 1 ) (k+1) ( k + 1 ) th-order convergence in space in the L 2 L^2 L 2 -norm.
Low-cost non-iterative Sylvester solvers: For Dirichlet and Neumann BCs, the K / L K/L K / L -steps naturally reduce to sparse-by-small Sylvester equations A X + X B = C AX+XB=C A X + X B = C , where A A A is large and banded, and B ∈ R r × r B \in\mathbb{R}^{r \times r} B ∈ R r × r is small and symmetric. By diagonalizing the small matrix B B B , the system is completely decoupled into r r r independent, banded linear equations. This allows direct solving without any Krylov iterations, preconditioners, achieving optimal O ( ( m + n ) r 2 ) O((m+n)r^2) O (( m + n ) r 2 ) computational complexity.
Handling periodic BCs via Woodbury correction: For periodic BCs, corner wrap-around entries in stiffness matrices are handled using a rank-2 Sherman-Morrison-Woodbury update, preserving purely banded solves at negligible additional cost.
Optimal computational and storage complexity: The proposed solver reduces the computational complexity per time step from O ( m 3 + n 3 ) O(m^3+n^3) O ( m 3 + n 3 ) (or O ( ( m 2 + n 2 ) r ) O((m^2+n^2)r) O (( m 2 + n 2 ) r ) ) down to O ( ( m + n ) r 2 ) O((m+n)r^2) O (( m + n ) r 2 ) and the memory requirement down to O ( ( m + n ) r ) O((m+n)r) O (( m + n ) r ) . Numerical tests show up to an 81× computational speedup over full-rank integrators on fine grids (N = 160 N=160 N = 160 ).
The rest of this paper is organized as follows. In § 2 , we formulate the model problem, present its matrix differential equation, and introduce the full-rank MLFEM. In § 3 , we develop the WDLRA, establish the equivalence between the BUG integrator and the MLFEM, and prove the well-posedness of the resulting BUG scheme. § 4 presents low-cost, non-iterative Sylvester solvers for different boundary conditions and analyzes their computational complexity. § 5 presents numerical experiments on convergence rates and computational efficiency. Conclusions are given in § 6 . Finally, augmented BUG integrators enabled by the proposed non-iterative solvers are provided in Appendix B.
Model problem and matrix differential equation
In this paper, we consider the two-dimensional reaction-diffusion equation on the rectangular domain Ω = [ a , b ] × [ c , d ] ⊂ R 2 \Omega=[a,b]\times[c,d]\subset\mathbb{R}^{2} Ω = [ a , b ] × [ c , d ] ⊂ R 2 :
w t = Δ w + α w , ( x , y ) ∈ Ω , t ∈ ( 0 , T ] , (1) w_t=\Delta w+\alpha w,\qquad(x,y)\in\Omega,\ t\in(0,T], \tag*{(1)} w t = Δ w + α w , ( x , y ) ∈ Ω , t ∈ ( 0 , T ] , (1)
with the initial condition w ( x , y , 0 ) = w 0 ( x , y ) w(x,y,0)=w_0(x,y) w ( x , y , 0 ) = w 0 ( x , y ) , where α ≤ 0 \alpha\le0 α ≤ 0 is the reaction coefficient and w 0 w_0 w 0 is given. We consider one of the following BCs on ∂ Ω \partial\Omega ∂ Ω :
(i) Homogeneous Dirichlet: w = 0 w=0 w = 0 .
(ii) Homogeneous Neumann: ∂ w ∂ n = 0 \frac{\partial w}{\partial n}=0 ∂ n ∂ w = 0 , where n n n is the outward unit normal.
(iii) Periodic: w ( a , y , t ) = w ( b , y , t ) w(a,y,t)=w(b,y,t) w ( a , y , t ) = w ( b , y , t ) , w x ( a , y , t ) = w x ( b , y , t ) w_x(a,y,t)=w_x(b,y,t) w x ( a , y , t ) = w x ( b , y , t ) , w ( x , c , t ) = w ( x , d , t ) w(x,c,t)=w(x,d,t) w ( x , c , t ) = w ( x , d , t ) , and w y ( x , c , t ) = w y ( x , d , t ) w_y(x,c,t)=w_y(x,d,t) w y ( x , c , t ) = w y ( x , d , t ) .
Mass-lumped finite element space
We formulate the matrix differential equation associated with problem (2.1). We partition the rectangular domain Ω = [ a , b ] × [ c , d ] \Omega=[a,b]\times[c,d] Ω = [ a , b ] × [ c , d ] into M M M and N N N uniform elements in the x x x - and y y y -directions, respectively. Let
a = ξ 0 < ξ 1 < ⋯ < ξ M = b , c = η 0 < η 1 < ⋯ < η N = d a=\xi_0<\xi_1<\cdots<\xi_M=b,\qquad c=\eta_0<\eta_1<\cdots<\eta_N=d a = ξ 0 < ξ 1 < ⋯ < ξ M = b , c = η 0 < η 1 < ⋯ < η N = d
be the mesh nodes in each direction, with mesh sizes h x = b − a M h_x=\frac{b-a}{M} h x = M b − a , h y = d − c N h_y=\frac{d-c}{N} h y = N d − c . The corresponding one-dimensional subintervals are I i x = [ ξ i − 1 , ξ i ] I_i^x=[\xi_{i-1},\xi_i] I i x = [ ξ i − 1 , ξ i ] , i = 1 , … , M i=1,\ldots,M i = 1 , … , M , and I j y = [ η j − 1 , η j ] I_j^y=[\eta_{j-1},\eta_j] I j y = [ η j − 1 , η j ] , j = 1 , … , N j=1,\ldots,N j = 1 , … , N , respectively. Therefore, the domain is partitioned into rectangular cells as Ω = ⋃ i = 1 M ⋃ j = 1 N ( I i x × I j y ) \Omega=\bigcup_{i=1}^{M}\bigcup_{j=1}^{N}(I_i^x\times I_j^y) Ω = ⋃ i = 1 M ⋃ j = 1 N ( I i x × I j y ) .
In each coordinate direction, we use k + 1 k+1 k + 1 Gauss–Lobatto quadrature points on every mesh interval. More precisely, for I i x = [ ξ i − 1 , ξ i ] I_i^x=[\xi_{i-1},\xi_i] I i x = [ ξ i − 1 , ξ i ] , let x ( i − 1 ) k + ℓ x_{(i-1)k+\ell} x ( i − 1 ) k + ℓ , ω ℓ x \omega_\ell^x ω ℓ x , ℓ = 1 , … , k + 1 \ell=1,\ldots,k+1 ℓ = 1 , … , k + 1 , denote the Gauss–Lobatto quadrature points and the corresponding quadrature weights, respectively. Thus,
x ( i − 1 ) k + 1 = ξ i − 1 , x i k + 1 = ξ i . x_{(i-1)k+1}=\xi_{i-1},\qquad x_{ik+1}=\xi_i. x ( i − 1 ) k + 1 = ξ i − 1 , x ik + 1 = ξ i .
Similarly, for I j y = [ η j − 1 , η j ] I_j^y=[\eta_{j-1},\eta_j] I j y = [ η j − 1 , η j ] , let y ( j − 1 ) k + ℓ y_{(j-1)k+\ell} y ( j − 1 ) k + ℓ , ω ℓ y \omega_\ell^y ω ℓ y , ℓ = 1 , … , k + 1 \ell=1,\ldots,k+1 ℓ = 1 , … , k + 1 , denote the corresponding Gauss–Lobatto quadrature points and quadrature weights, with
y ( j − 1 ) k + 1 = η j − 1 , y j k + 1 = η j . y_{(j-1)k+1}=\eta_{j-1},\qquad y_{jk+1}=\eta_j. y ( j − 1 ) k + 1 = η j − 1 , y j k + 1 = η j .
The global quadrature weights are obtained by assembling the local Gauss–Lobatto weights at the coinciding mesh nodes. More precisely, for a direction with L L L elements, we define the assembled weights
ω ‾ ( i − 1 ) k + ℓ = { ω 1 , i = 1 , ℓ = 1 , ω ℓ , ℓ = 2 , … , k , ω k + 1 + ω 1 , i = 1 , … , L − 1 , ℓ = k + 1 , ω k + 1 , i = L , ℓ = k + 1. \overline{\omega}_{(i-1)k+\ell}=
\begin{cases}
\omega_1, & i=1,\ \ell=1,\\
\omega_\ell, & \ell=2,\ldots,k,\\
\omega_{k+1}+\omega_1, & i=1,\ldots,L-1,\ \ell=k+1,\\
\omega_{k+1}, & i=L,\ \ell=k+1.
\end{cases} ω ( i − 1 ) k + ℓ = ⎩ ⎨ ⎧ ω 1 , ω ℓ , ω k + 1 + ω 1 , ω k + 1 , i = 1 , ℓ = 1 , ℓ = 2 , … , k , i = 1 , … , L − 1 , ℓ = k + 1 , i = L , ℓ = k + 1.
Here, ω ℓ = ω ℓ x \omega_\ell=\omega_\ell^x ω ℓ = ω ℓ x and L = M L=M L = M in the x x x -direction, while ω ℓ = ω ℓ y \omega_\ell=\omega_\ell^y ω ℓ = ω ℓ y and L = N L=N L = N in the y y y -direction, for ℓ = 1 , … , k + 1 \ell=1,\ldots,k+1 ℓ = 1 , … , k + 1 . Since the Gauss–Lobatto endpoint weights satisfy ω 1 = ω k + 1 \omega_1=\omega_{k+1} ω 1 = ω k + 1 , the interior mesh interfaces receive the combined weight 2 ω k + 1 2\omega_{k+1} 2 ω k + 1 , while each physical boundary node receives only one endpoint contribution. Applying this definition in the x x x - and y y y -directions, respectively, gives the assembled global Gauss–Lobatto quadrature nodes and weights
{ ( x p , ω ˉ p ) } p = 1 M k + 1 , { ( y q , ω ˉ q ) } q = 1 N k + 1 , \{(x_p,\bar{\omega}_p)\}_{p=1}^{Mk+1}, \qquad\{(y_q,\bar{\omega}_q)\}_{q=1}^{Nk+1}, {( x p , ω ˉ p ) } p = 1 M k + 1 , {( y q , ω ˉ q ) } q = 1 N k + 1 ,
where the weights at coinciding element endpoints are summed.
Using the Gauss–Lobatto quadrature, we define the mass-lumped inner products in one and two dimensions, respectively, by
( f , g ) h = ∑ p ω ˉ p f ( x p ) g ( x p ) (2) (f,g)_h=\sum_p\bar{\omega}_p f(x_p)g(x_p) \tag*{(2)} ( f , g ) h = p ∑ ω ˉ p f ( x p ) g ( x p ) (2)
and
( f , g ) h = ∑ p = 1 M k + 1 ∑ q = 1 N k + 1 ω ˉ p x ω ˉ q y f ( x p , y q ) g ( x p , y q ) . (3) (f,g)_h=\sum_{p=1}^{Mk+1}\sum_{q=1}^{Nk+1}\bar{\omega}_p^x\bar{\omega}_q^y f(x_p,y_q)g(x_p,y_q). \tag*{(3)} ( f , g ) h = p = 1 ∑ M k + 1 q = 1 ∑ N k + 1 ω ˉ p x ω ˉ q y f ( x p , y q ) g ( x p , y q ) . (3)
The associated mass-lumped L 2 L^2 L 2 norm is ∥ f ∥ h = ( f , f ) h 1 / 2 \|f\|_h=(f,f)_h^{1/2} ∥ f ∥ h = ( f , f ) h 1/2 . Define the one-dimensional finite element spaces
V x , h = { φ ∈ V x : φ ∣ I i x ∈ P k , i = 1 , … , M } , (4) V_{x,h}=\left\{\varphi\in V_x:\left.\varphi\right|_{I_i^x}\in P_k,\quad i=1,\ldots,M\right\}, \tag*{(4)} V x , h = { φ ∈ V x : φ ∣ I i x ∈ P k , i = 1 , … , M } , (4)
V y , h = { ψ ∈ V y : ψ ∣ I j y ∈ P k , j = 1 , … , N } , (5) V_{y,h}=\left\{\psi\in V_y:\left.\psi\right|_{I_j^y}\in P_k,\quad j=1,\ldots,N\right\}, \tag*{(5)} V y , h = { ψ ∈ V y : ψ ∣ I j y ∈ P k , j = 1 , … , N } , (5)
where P k P_k P k denotes the space of polynomials of degree at most k k k . The spaces V x V_x V x and V y V_y V y incorporate the prescribed boundary conditions. Specifically, for homogeneous Dirichlet, homogeneous Neumann, and periodic BCs, respectively, we set
Table 1.
The two-dimensional space is defined by V = V x ⊗ V y V=V_x\otimes V_y V = V x ⊗ V y , and the corresponding tensor-product finite element space is
V h = V x , h ⊗ V y , h = { v ∈ V : v ∣ K ∈ Q k , ∀ K ∈ T h } , (6) V_h=V_{x,h}\otimes V_{y,h}=\{v\in V:v|_K\in Q_k,\ \forall K\in\mathcal{T}_h\}, \tag*{(6)} V h = V x , h ⊗ V y , h = { v ∈ V : v ∣ K ∈ Q k , ∀ K ∈ T h } , (6)
where T h = { K i j = I i x × I j y : 1 ≤ i ≤ M , 1 ≤ j ≤ N } \mathcal{T}_h=\{K_{ij}=I_i^x\times I_j^y:1\leq i\leq M,\ 1\leq j\leq N\} T h = { K ij = I i x × I j y : 1 ≤ i ≤ M , 1 ≤ j ≤ N } is the rectangular mesh, and Q k = P k ⊗ P k Q_k=P_k\otimes P_k Q k = P k ⊗ P k is the tensor-product polynomial space consisting of polynomials of degree at most k k k in each coordinate.
Depending on the boundary conditions, we denote
m = M k + δ x , n = N k + δ y , (7) m=Mk+\delta_x,\qquad n=Nk+\delta_y, \tag*{(7)} m = M k + δ x , n = N k + δ y , (7)
where
( δ x , δ y ) = { ( − 1 , − 1 ) , homogeneous Dirichlet , ( + 1 , + 1 ) , homogeneous Neumann , ( 0 , 0 ) , periodic . (\delta_x,\delta_y)=
\begin{cases}
(-1,-1), & \text{homogeneous Dirichlet},\\
(+1,+1), & \text{homogeneous Neumann},\\
(0,0), & \text{periodic}.
\end{cases} ( δ x , δ y ) = ⎩ ⎨ ⎧ ( − 1 , − 1 ) , ( + 1 , + 1 ) , ( 0 , 0 ) , homogeneous Dirichlet , homogeneous Neumann , periodic .
Let { φ i ( x ) } i = 1 m ⊂ V x , h k \{\varphi_i(x)\}_{i=1}^{m} \subset V_{x,h}^{k} { φ i ( x ) } i = 1 m ⊂ V x , h k and { ψ j ( y ) } j = 1 n ⊂ V y , h k \{\psi_j(y)\}_{j=1}^{n} \subset V_{y,h}^{k} { ψ j ( y ) } j = 1 n ⊂ V y , h k denote the nodal basis functions satisfying
φ i ( x p ) = δ i p , ψ j ( y q ) = δ j q . (8) \varphi_i(x_p)=\delta_{ip},\qquad\psi_j(y_q)=\delta_{jq}. \tag*{(8)} φ i ( x p ) = δ i p , ψ j ( y q ) = δ j q . (8)
The corresponding vector-valued basis functions are
Φ ( x ) = [ φ 1 ( x ) , … , φ m ( x ) ] T , Ψ ( y ) = [ ψ 1 ( y ) , … , ψ n ( y ) ] T . (9) \Phi(x)=[\varphi_1(x),\ldots,\varphi_m(x)]^{\mathsf{T}},\qquad\Psi(y)=[\psi_1(y),\ldots,\psi_n(y)]^{\mathsf{T}}. \tag*{(9)} Φ ( x ) = [ φ 1 ( x ) , … , φ m ( x ) ] T , Ψ ( y ) = [ ψ 1 ( y ) , … , ψ n ( y ) ] T . (9)
The one-dimensional lumped mass matrices are defined by
M x = ( ( φ i , φ p ) h x ) i , p = 1 m , M y = ( ( ψ j , ψ q ) h y ) j , q = 1 n , (10) M_x=\left((\varphi_i,\varphi_p)_h^x\right)_{i,p=1}^{m},\qquad M_y=\left((\psi_j,\psi_q)_h^y\right)_{j,q=1}^{n}, \tag*{(10)} M x = ( ( φ i , φ p ) h x ) i , p = 1 m , M y = ( ( ψ j , ψ q ) h y ) j , q = 1 n , (10)
where ( ⋅ , ⋅ ) h x (\mathord{\cdot},\mathord{\cdot})_h^x ( ⋅ , ⋅ ) h x and ( ⋅ , ⋅ ) h y (\mathord{\cdot},\mathord{\cdot})_h^y ( ⋅ , ⋅ ) h y denote the one-dimensional mass-lumped inner products in the x x x - and y y y -directions, respectively. These matrices are diagonal and positive definite as a consequence of the Gauss–Lobatto mass lumping.
The corresponding one-dimensional stiffness matrices are
A x = ( ( ∂ x φ i , ∂ x φ p ) h ) i , p = 1 m , A y = ( ( ∂ y ψ j , ∂ y ψ q ) h ) j , q = 1 n . (11) A_x=\left((\partial_x\varphi_i,\partial_x\varphi_p)_h\right)_{i,p=1}^{m},\qquad A_y=\left((\partial_y\psi_j,\partial_y\psi_q)_h\right)_{j,q=1}^{n}. \tag*{(11)} A x = ( ( ∂ x φ i , ∂ x φ p ) h ) i , p = 1 m , A y = ( ( ∂ y ψ j , ∂ y ψ q ) h ) j , q = 1 n . (11)
Both A x A_x A x and A y A_y A y are sparse for all three types of boundary conditions, while their bandwidth depends on the boundary conditions and the polynomial degree.
Semi-discrete formulation and matrix differential equation
We seek a semi-discrete finite element solution w h ( t ) ∈ V h w_h(t)\in V_h w h ( t ) ∈ V h in the form
w h ( x , y , t ) = ∑ i = 1 m ∑ j = 1 n W i j φ i ( x ) ψ j ( y ) = Φ ( x ) T W ( t ) Ψ ( y ) , (12) w_h(x,y,t)=\sum_{i=1}^{m}\sum_{j=1}^{n}W_{ij}\varphi_i(x)\psi_j(y)=\Phi(x)^{\mathsf{T}}W(t)\Psi(y), \tag*{(12)} w h ( x , y , t ) = i = 1 ∑ m j = 1 ∑ n W ij φ i ( x ) ψ j ( y ) = Φ ( x ) T W ( t ) Ψ ( y ) , (12)
where W ( t ) ∈ R m × n W(t)\in\mathbb{R}^{m\times n} W ( t ) ∈ R m × n is the time-dependent coefficient matrix. The semi-discrete MLFEM is to find w h ( t ) ∈ V h w_h(t)\in V_h w h ( t ) ∈ V h such that
( w h , t , v h ) h = − ( ∇ w h , ∇ v h ) h + α ( w h , v h ) h , ∀ v h ∈ V h , (13) (w_{h,t},v_h)_h=-(\nabla w_h,\nabla v_h)_h+\alpha(w_h,v_h)_h,\qquad\forall v_h\in V_h, \tag*{(13)} ( w h , t , v h ) h = − ( ∇ w h , ∇ v h ) h + α ( w h , v h ) h , ∀ v h ∈ V h , (13)
with the initial condition
( w h ( 0 ) , v h ) h = ( w 0 , v h ) h , ∀ v h ∈ V h . (14) (w_h(0),v_h)_h=(w_0,v_h)_h,\qquad\forall v_h\in V_h. \tag*{(14)} ( w h ( 0 ) , v h ) h = ( w 0 , v h ) h , ∀ v h ∈ V h . (14)
For z h , w h ∈ V h z_h,w_h\in V_h z h , w h ∈ V h , let Z , W ∈ R m × n Z,W\in\mathbb{R}^{m\times n} Z , W ∈ R m × n denote their coefficient matrices with
z h = Φ T Z Ψ , w h = Φ T W Ψ . (15) z_h=\Phi^{\mathsf{T}}Z\Psi,\qquad w_h=\Phi^{\mathsf{T}}W\Psi. \tag*{(15)} z h = Φ T Z Ψ , w h = Φ T W Ψ. (15)
We introduce the M M M -weighted Frobenius inner product and norm
( Z , W ) M : = ( M x Z M y , W ) F , ∥ Z ∥ M 2 = ( Z , Z ) M , (16) (Z,W)_M:=(M_x ZM_y,W)_F,\qquad\lVert Z\rVert_M^2=(Z,Z)_M, \tag*{(16)} ( Z , W ) M := ( M x Z M y , W ) F , ∥ Z ∥ M 2 = ( Z , Z ) M , (16)
where ( ⋅ , ⋅ ) F (\mathord{\cdot},\mathord{\cdot})_F ( ⋅ , ⋅ ) F denotes the Frobenius inner product.
We recall the following matrix representation of inner products.
Lemma 2.1. [26 ] For z h , w h ∈ V h z_h,w_h\in V_h z h , w h ∈ V h with coefficient matrices Z , W ∈ R m × n Z,W\in\mathbb{R}^{m\times n} Z , W ∈ R m × n , the mass-lumped inner products satisfy
( z h , w h ) h = ( Z , W ) M , (17) (z_h,w_h)_h=(Z,W)_M, \tag*{(17)} ( z h , w h ) h = ( Z , W ) M , (17) ( ∇ z h , ∇ w h ) h = − ( L x Z + Z L y T , W ) M , (18) (\nabla z_h,\nabla w_h)_h=-(L_xZ+ZL_y^{\mathsf{T}},W)_M, \tag*{(18)} ( ∇ z h , ∇ w h ) h = − ( L x Z + Z L y T , W ) M , (18) where the matrices
L x = − M x − 1 A x , L y = − M y − 1 A y . (19) L_x=-M_x^{-1}A_x,\qquad L_y=-M_y^{-1}A_y. \tag*{(19)} L x = − M x − 1 A x , L y = − M y − 1 A y . (19)
Substituting (12) into (13) and applying Lemma 2.1 yields the matrix variational problem: find W ( t ) ∈ R m × n W(t) \in\mathbb{R}^{m \times n} W ( t ) ∈ R m × n such that
( ∂ t W ( t ) , V ) M = ( L x W ( t ) + W ( t ) L y T , V ) M + α ( W ( t ) , V ) M , ∀ V ∈ R m × n (20) (\partial_t W(t),V)_M=(L_xW(t)+W(t)L_y^{\mathsf{T}},V)_M+\alpha(W(t),V)_M,\quad\forall V\in\mathbb{R}^{m\times n} \tag*{(20)} ( ∂ t W ( t ) , V ) M = ( L x W ( t ) + W ( t ) L y T , V ) M + α ( W ( t ) , V ) M , ∀ V ∈ R m × n (20)
with initial matrix W 0 W^0 W 0 obtained by the mass-lumped projection of w 0 w_0 w 0 onto V h V_h V h .
Since the M M M -weighted Frobenius inner product is positive definite, (20) is equivalent to the following matrix differential equation:
∂ t W ( t ) = L ( W ( t ) ) , W ( 0 ) = W 0 , (21) \partial_tW(t)=\mathcal{L}(W(t)),\qquad W(0)=W^0, \tag*{(21)} ∂ t W ( t ) = L ( W ( t )) , W ( 0 ) = W 0 , (21)
where the matrix reaction-diffusion operator L : R m × n → R m × n \mathcal{L}:\mathbb{R}^{m\times n}\to\mathbb{R}^{m\times n} L : R m × n → R m × n is defined by
L ( W ) = L x W + W L y T + α W . (22) \mathcal{L}(W)=L_xW+WL_y^{\mathsf{T}}+\alpha W. \tag*{(22)} L ( W ) = L x W + W L y T + α W . (22)
Thus, the two-dimensional mass-lumped finite element discretization (13) is equivalent to the linear matrix differential equation (21) .
FR-MLFEM with conventional Sylvester solver
We consider the fully discrete scheme corresponding to (13) , which we refer to as the full-rank MLFEM (FR-MLFEM). For the temporal discretization, we employ the backward Euler method with time step size Δ t > 0 \Delta t>0 Δ t > 0 and set t n = n Δ t t^n=n\Delta t t n = n Δ t . For each n ≥ 0 n\geq0 n ≥ 0 , let w h n : = w h ( x , y , t n ) ∈ V h w_h^n:=w_h(x,y,t^n)\in V_h w h n := w h ( x , y , t n ) ∈ V h . For simplicity, we denote
D t v n + 1 = v n + 1 − v n Δ t , (23) D_tv^{n+1}=\frac{v^{n+1}-v^n}{\Delta t}, \tag*{(23)} D t v n + 1 = Δ t v n + 1 − v n , (23)
where v v v can be any function (or matrix in the later sections). Given w h n ∈ V h w_h^n\in V_h w h n ∈ V h , the first-order implicit FR-MLFEM seeks w h n + 1 ∈ V h w_h^{n+1}\in V_h w h n + 1 ∈ V h such that,
( D t w h n + 1 , v h ) h + ( ∇ w h n + 1 , ∇ v h ) h − α ( w h n + 1 , v h ) h = 0 , v h ∈ V h . (24) (D_tw_h^{n+1},v_h)_h+(\nabla w_h^{n+1},\nabla v_h)_h-\alpha(w_h^{n+1},v_h)_h=0,\quad v_h\in V_h. \tag*{(24)} ( D t w h n + 1 , v h ) h + ( ∇ w h n + 1 , ∇ v h ) h − α ( w h n + 1 , v h ) h = 0 , v h ∈ V h . (24)
The well-posedness and stability of the FR-MLFEM scheme (24) are summarized in the following result.
Proposition 2.2 (Well-Posedness and L 2 L^2 L 2 -Stability). For any Δ t > 0 \Delta t>0 Δ t > 0 , let w h n ∈ V h w_h^n\in V_h w h n ∈ V h be given. The FR-MLFEM scheme (24) admits a unique solution w h n + 1 ∈ V h w_h^{n+1}\in V_h w h n + 1 ∈ V h . Moreover, the solution satisfies the L 2 L^2 L 2 -stability estimate
∥ w h n + 1 ∥ h ≤ ∥ w h n ∥ h . (25) \lVert w_h^{n+1}\rVert_h\leq\lVert w_h^n\rVert_h. \tag*{(25)} ∥ w h n + 1 ∥ h ≤ ∥ w h n ∥ h . (25)
The matrix equation of the first-order FR-MLFEM (24) is to solve for W n + 1 ∈ R m × n W^{n+1}\in\mathbb{R}^{m\times n} W n + 1 ∈ R m × n from
( 1 − Δ t α ) W n + 1 − Δ t L x W n + 1 − Δ t W n + 1 L y T = W n , (26) (1-\Delta t\alpha)W^{n+1}-\Delta tL_xW^{n+1}-\Delta tW^{n+1}L_y^{\mathsf{T}}=W^n, \tag*{(26)} ( 1 − Δ t α ) W n + 1 − Δ t L x W n + 1 − Δ t W n + 1 L y T = W n , (26)
which can be written as the Sylvester equation
A W n + 1 + W n + 1 B = W n , (27) AW^{n+1}+W^{n+1}B=W^n, \tag*{(27)} A W n + 1 + W n + 1 B = W n , (27)
where A : = ( 1 − Δ t α ) I m − Δ t L x A:=(1-\Delta t\alpha)I_m-\Delta tL_x A := ( 1 − Δ t α ) I m − Δ t L x , B : = − Δ t L y T B:=-\Delta tL_y^{\mathsf{T}} B := − Δ t L y T . Since L x L_x L x and L y L_y L y inherit the banded sparsity of A x A_x A x and A y A_y A y defined in (19) , both A ∈ R m × m A\in\mathbb{R}^{m\times m} A ∈ R m × m and B ∈ R n × n B\in\mathbb{R}^{n\times n} B ∈ R n × n are sparse, but not symmetric. More specifically, they are banded under homogeneous Dirichlet and Neumann BCs, with additional wrap-around entries under periodic BCs. Moreover, A A A and B B B depend only on L x L_x L x , L y L_y L y , α \alpha α , and Δ t \Delta t Δ t , and remain fixed in time marching.
Solving (27) using the Bartels–Stewart algorithm [1 ] requires O ( m 3 + n 3 ) O(m^3+n^3) O ( m 3 + n 3 ) operations to compute the Schur factorizations of A A A and B B B , followed by O ( m 2 n + m n 2 ) O(m^2n+mn^2) O ( m 2 n + m n 2 ) operations for the transformations and the solution of the resulting triangular Sylvester equation. Since A A A and B B B are independent of the time step n n n , their Schur factorizations need to be computed only once and can be reused at all subsequent time steps. Therefore, after this one-time preprocessing cost, the computational complexity per time step is O ( m 2 n + m n 2 ) O(m^2n+mn^2) O ( m 2 n + m n 2 ) .
Although the banded matrices A A A and B B B require only O ( m + n ) O(m+n) O ( m + n ) storage, their Schur factors are generally dense [8 ] and therefore require O ( m 2 + n 2 ) O(m^2+n^2) O ( m 2 + n 2 ) storage. These factors can be computed once and reused throughout the time integration. In addition, storing the solution matrix W n ∈ R m × n W^n \in\mathbb{R}^{m \times n} W n ∈ R m × n requires O ( m n ) O(mn) O ( mn ) storage. Hence, the overall storage requirement is O ( m 2 + n 2 ) O(m^2+n^2) O ( m 2 + n 2 ) .
Weighted dynamical low-rank approximation
Let M r \mathcal{M}_r M r denote the manifold of rank-r r r matrices (r ≪ min { m , n } r \ll\min\{m,n\} r ≪ min { m , n } ). Throughout this work, calligraphic notation denotes low-rank matrices, while hat notation indicates their corresponding finite element approximations. Specifically, for a finite element function z h ∈ V h z_h \in V_h z h ∈ V h with coefficient matrix Z ∈ R m × n Z \in\mathbb{R}^{m \times n} Z ∈ R m × n , we approximate Z Z Z by a rank-r r r matrix Z ∈ M r \mathcal{Z} \in\mathcal{M}_r Z ∈ M r . The dynamical low-rank finite element function associated with Z \mathcal{Z} Z is denoted by z ^ h \widehat{z}_h z h , which lies in a subspace of V h V_h V h .
WDLRA formulations
The Weighted Dynamical Low-Rank Approximation (WDLRA) is a variant of DLRA that incorporates M M M -weighted norm, thereby ensuring the equivalence between its Galerkin formulation and the corresponding matrix variational problem (20) .
Definition 3.1 (WDLRA). The WDLRA of the matrix differential equation (21) is defined as the rank-r r r matrix Z ( t ) ∈ M r \mathcal{Z}(t) \in\mathcal{M}_r Z ( t ) ∈ M r satisfying
∂ t Z = arg min δ Z ∈ T Z M r ∥ δ Z − L ( Z ) ∥ M , (28) \partial_t \mathcal{Z} = \underset{\delta\mathcal{Z} \in T_{\mathcal{Z}}\mathcal{M}_r}{\arg\min}\ \lVert\delta\mathcal{Z} - \mathcal{L}(\mathcal{Z}) \rVert_M, \tag*{(28)} ∂ t Z = δ Z ∈ T Z M r arg min ∥ δ Z − L ( Z ) ∥ M , (28) with initial condition Z ( 0 ) = Z 0 ∈ M r \mathcal{Z}(0) = \mathcal{Z}_0 \in\mathcal{M}_r Z ( 0 ) = Z 0 ∈ M r , where T Z M r T_{\mathcal{Z}}\mathcal{M}_r T Z M r denotes the tangent space of M r \mathcal{M}_r M r at Z \mathcal{Z} Z .
Let Z = U S V T ∈ M r \mathcal{Z} = USV^{\mathsf{T}} \in\mathcal{M}_r Z = U S V T ∈ M r satisfy the weighted orthogonality conditions
U T M x U = V T M y V = I r , U^{\mathsf{T}}M_xU = V^{\mathsf{T}}M_yV = I_r, U T M x U = V T M y V = I r , where U ∈ R m × r U \in\mathbb{R}^{m \times r} U ∈ R m × r , S ∈ R r × r S \in\mathbb{R}^{r \times r} S ∈ R r × r , and V ∈ R n × r V \in\mathbb{R}^{n \times r} V ∈ R n × r . The tangent space of M r \mathcal{M}_r M r at Z \mathcal{Z} Z is
T Z M r = { δ U S V T + U δ S V T + U S δ V T : U T M x δ U = 0 , V T M y δ V = 0 } , T_{\mathcal{Z}}\mathcal{M}_r = \left\{ \delta U S V^{\mathsf{T}} + U \delta S V^{\mathsf{T}} + U S \delta V^{\mathsf{T}} : U^{\mathsf{T}}M_x\delta U = 0,\ V^{\mathsf{T}}M_y\delta V = 0 \right\}, T Z M r = { δ U S V T + U δ S V T + U S δ V T : U T M x δ U = 0 , V T M y δ V = 0 } , where δ U ∈ R m × r \delta U \in\mathbb{R}^{m \times r} δ U ∈ R m × r , δ S ∈ R r × r \delta S \in\mathbb{R}^{r \times r} δ S ∈ R r × r , and δ V ∈ R n × r \delta V \in\mathbb{R}^{n \times r} δ V ∈ R n × r . Under the gauge conditions
U T M x δ U = 0 , V T M y δ V = 0 , U^{\mathsf{T}}M_x\delta U = 0,\qquad V^{\mathsf{T}}M_y\delta V = 0, U T M x δ U = 0 , V T M y δ V = 0 , each δ Z ∈ T Z M r \delta\mathcal{Z} \in T_{\mathcal{Z}}\mathcal{M}_r δ Z ∈ T Z M r admits the unique decomposition
δ Z = δ U S V T + U δ S V T + U S δ V T = P U ⊥ M x δ Z M y P V + P U M x δ Z M y P V + P U M x δ Z M y P V ⊥ , (29) \begin{aligned}
\delta\mathcal{Z} &= \delta U S V^{\mathsf{T}} + U \delta S V^{\mathsf{T}} + U S \delta V^{\mathsf{T}} \\
&= P_U^\perp M_x \delta\mathcal{Z} M_y P_V + P_U M_x \delta\mathcal{Z} M_y P_V + P_U M_x \delta\mathcal{Z} M_y P_V^\perp, \tag*{(29)}
\end{aligned} δ Z = δ U S V T + U δ S V T + U S δ V T = P U ⊥ M x δ Z M y P V + P U M x δ Z M y P V + P U M x δ Z M y P V ⊥ , (29)
where the corresponding components are given by
δ U = P U ⊥ M x δ Z M y V S − 1 , δ S = U T M x δ Z M y V , δ V = P V ⊥ M y δ Z T M x U S − T . (30) \begin{aligned}
\delta U &= P_U^\perp M_x\delta ZM_yVS^{-1},\\
\delta S &= U^\mathsf{T}M_x\delta ZM_yV,\\
\delta V &= P_V^\perp M_y\delta Z^\mathsf{T}M_xUS^{-\mathsf{T}}. \tag*{(30)}
\end{aligned} δ U δ S δ V = P U ⊥ M x δ Z M y V S − 1 , = U T M x δ Z M y V , = P V ⊥ M y δ Z T M x U S − T . (30)
The associated weighted projection operators are defined by
P U = U U T , P U ⊥ = M x − 1 − P U , P V = V V T , P V ⊥ = M y − 1 − P V . (31) P_U=UU^\mathsf{T},\qquad P_U^\perp=M_x^{-1}-P_U,\qquad P_V=VV^\mathsf{T},\qquad P_V^\perp=M_y^{-1}-P_V. \tag*{(31)} P U = U U T , P U ⊥ = M x − 1 − P U , P V = V V T , P V ⊥ = M y − 1 − P V . (31)
Proposition 3.2. Suppose that Z = U S V T ∈ M r \mathcal{Z}=USV^\mathsf{T}\in\mathcal{M}_r Z = U S V T ∈ M r satisfies Definition 3.1, with initial data
Z ( 0 ) = U 0 S 0 ( V 0 ) T ∈ M r , ( U 0 ) T M x U 0 = I r , ( V 0 ) T M y V 0 = I r . \mathcal{Z}(0)=U^0S^0(V^0)^\mathsf{T}\in\mathcal{M}_r,\qquad(U^0)^\mathsf{T}M_xU^0=I_r,\qquad(V^0)^\mathsf{T}M_yV^0=I_r. Z ( 0 ) = U 0 S 0 ( V 0 ) T ∈ M r , ( U 0 ) T M x U 0 = I r , ( V 0 ) T M y V 0 = I r . Then, WDLRA (3.1) is equivalent to the following formulations:
(i) Galerkin formulation. Find ∂ t Z ∈ T Z M r \partial_t\mathcal{Z}\in T_{\mathcal{Z}}\mathcal{M}_r ∂ t Z ∈ T Z M r such that
( ∂ t Z − L ( Z ) , δ Z ) M = 0 , ∀ δ Z ∈ T Z M r , (\partial_t\mathcal{Z}-\mathcal{L}(\mathcal{Z}),\delta\mathcal{Z})_M=0,\qquad\forall\ \delta\mathcal{Z}\in T_{\mathcal{Z}}\mathcal{M}_r, ( ∂ t Z − L ( Z ) , δ Z ) M = 0 , ∀ δ Z ∈ T Z M r , with the initial condition Z ( 0 ) = U 0 S 0 ( V 0 ) T \mathcal{Z}(0)=U^0S^0(V^0)^\mathsf{T} Z ( 0 ) = U 0 S 0 ( V 0 ) T .
(ii) Equations of motion. The factors U U U , S S S , and V V V satisfy
U ˙ = P U ⊥ M x L ( Z ) M y V S − 1 , S ˙ = U T M x L ( Z ) M y V , V ˙ = P V ⊥ M y L ( Z ) T M x U S − T , \begin{aligned}
\dot{U}&=P_U^\perp M_x\mathcal{L}(\mathcal{Z})M_yVS^{-1},\qquad
\dot{S}=U^\mathsf{T}M_x\mathcal{L}(\mathcal{Z})M_yV,\\
\dot{V}&=P_V^\perp M_y\mathcal{L}(\mathcal{Z})^\mathsf{T}M_xUS^{-\mathsf{T}},
\end{aligned} U ˙ V ˙ = P U ⊥ M x L ( Z ) M y V S − 1 , S ˙ = U T M x L ( Z ) M y V , = P V ⊥ M y L ( Z ) T M x U S − T , with initial conditions U ( 0 ) = U 0 U(0)=U^0 U ( 0 ) = U 0 , S ( 0 ) = S 0 S(0)=S^0 S ( 0 ) = S 0 , V ( 0 ) = V 0 V(0)=V^0 V ( 0 ) = V 0 .
(iii) KLS system. Let K = U S K=US K = U S and L = V S T L=VS^\mathsf{T} L = V S T . Then K K K , L L L , and S S S satisfy
K ˙ = L ( K V T ) M y V , L ˙ = L ( U L T ) T M x U , S ˙ = U T M x L ( U S V T ) M y V , (32) \begin{aligned}
\dot{K}&=\mathcal{L}(KV^\mathsf{T})M_yV,\qquad
\dot{L}=\mathcal{L}(UL^\mathsf{T})^\mathsf{T}M_xU,\\
\dot{S}&=U^\mathsf{T}M_x\mathcal{L}(USV^\mathsf{T})M_yV, \tag*{(32)}
\end{aligned} K ˙ S ˙ = L ( K V T ) M y V , L ˙ = L ( U L T ) T M x U , = U T M x L ( U S V T ) M y V , (32) with initial conditions K ( 0 ) = U 0 S 0 K(0)=U^0S^0 K ( 0 ) = U 0 S 0 , L ( 0 ) = V 0 ( S 0 ) T L(0)=V^0(S^0)^\mathsf{T} L ( 0 ) = V 0 ( S 0 ) T , S ( 0 ) = S 0 S(0)=S^0 S ( 0 ) = S 0 .
Implicit BUG integrator and BUG-MLFEM
To solve the WDLRA in Definition 3.1, we choose to solve the equivalent KLS system (3.5) using the basis-update & Galerkin (BUG) integrator [4 ] . The backward Euler method is employed for the time discretization, resulting in an implicit BUG integrator. Given Δ t > 0 \Delta t>0 Δ t > 0 and the factored rank-r r r matrix W n = U n S n ( V n ) T \mathcal{W}^n=U^nS^n(V^n)^\mathsf{T} W n = U n S n ( V n ) T , with factors satisfying
( U n ) T M x U n = ( V n ) T M y V n = I r , (U^n)^\mathsf{T}M_xU^n=(V^n)^\mathsf{T}M_yV^n=I_r, ( U n ) T M x U n = ( V n ) T M y V n = I r ,
one time step yields the new rank-r r r approximation at t n + 1 t^{n+1} t n + 1 ,
W n + 1 = U n + 1 S n + 1 ( V n + 1 ) T , (33) \mathcal{W}^{n+1}=U^{n+1}S^{n+1}(V^{n+1})^\mathsf{T}, \tag*{(33)} W n + 1 = U n + 1 S n + 1 ( V n + 1 ) T , (33)
where the updated factors satisfy
( U n + 1 ) T M x U n + 1 = ( V n + 1 ) T M y V n + 1 = I r . (U^{n+1})^\mathsf{T}M_xU^{n+1}=(V^{n+1})^\mathsf{T}M_yV^{n+1}=I_r. ( U n + 1 ) T M x U n + 1 = ( V n + 1 ) T M y V n + 1 = I r .
We recall the generalized QR (GQR) decomposition introduced in [27 ] . Given a symmetric positive definite matrix M ∈ R m × m M \in\mathbb{R}^{m \times m} M ∈ R m × m , the GQR decomposition of K ∈ R m × r K \in\mathbb{R}^{m \times r} K ∈ R m × r is given by
[ U , R ] = G Q R ( K , M ) , (34) [U,R] = GQR(K,M), \tag*{(34)} [ U , R ] = GQR ( K , M ) , (34)
where the resulting factors U ∈ R m × r U \in\mathbb{R}^{m \times r} U ∈ R m × r and R ∈ R r × r R \in\mathbb{R}^{r \times r} R ∈ R r × r satisfy
U R = K , U T M U = I r . (35) UR = K, \qquad U^{\mathsf{T}}MU = I_r. \tag*{(35)} U R = K , U T M U = I r . (35)
Then, the first-order implicit BUG integrator is presented in Algorithm 3.1.
Remark 3.3. The augmented BUG integrator [3 ] can also be incorporated into Algorithm 3.1, and the algorithm is shown in Algorithm B.1. Since our primary objective is to develop efficient solvers, we focus on the standard BUG integrator for simplicity. The proposed solvers remain unchanged when applied to the augmented BUG setting.
Algorithm 3.1 One step implicit BUG integrator for the KLS system (3.5).
Inputs: U n U^n U n , S n S^n S n , V n V^n V n , Δ t \Delta t Δ t , M x M_x M x , M y M_y M y .
Outputs: U n + 1 U^{n+1} U n + 1 , S n + 1 S^{n+1} S n + 1 , V n + 1 V^{n+1} V n + 1 .
// Step 1: Update U n → U n + 1 ∈ R m × r U^n \to U^{n+1} \in\mathbb{R}^{m \times r} U n → U n + 1 ∈ R m × r and V n → V n + 1 ∈ R n × r V^n \to V^{n+1} \in\mathbb{R}^{n \times r} V n → V n + 1 ∈ R n × r in parallel:
K K K -step: Fix V n V^n V n , and solve K n + 1 K^{n+1} K n + 1 from the m × r m \times r m × r matrix equation
D t K n + 1 = L ( K n + 1 ( V n ) T ) M y V n , K n = U n S n . (36) D_tK^{n+1} = \mathcal{L}\left(K^{n+1}(V^n)^{\mathsf{T}}\right)M_yV^n,\qquad K^n = U^nS^n. \tag*{(36)} D t K n + 1 = L ( K n + 1 ( V n ) T ) M y V n , K n = U n S n . (36) Compute [ U n + 1 , R K ] = G Q R ( K n + 1 , M x ) [U^{n+1},R_K] = GQR(K^{n+1},M_x) [ U n + 1 , R K ] = GQR ( K n + 1 , M x ) .
Compute the r × r r \times r r × r matrix M = ( U n + 1 ) T M x U n \mathcal{M} = (U^{n+1})^{\mathsf{T}}M_xU^n M = ( U n + 1 ) T M x U n .
L L L -step: Fix U n U^n U n , and solve L n + 1 L^{n+1} L n + 1 from the n × r n \times r n × r matrix equation
D t L n + 1 = L ( U n ( L n + 1 ) T ) T M x U n , L n = V n ( S n ) T . (37) D_tL^{n+1} = \mathcal{L}\left(U^n(L^{n+1})^{\mathsf{T}}\right)^{\mathsf{T}}M_xU^n,\qquad L^n = V^n(S^n)^{\mathsf{T}}. \tag*{(37)} D t L n + 1 = L ( U n ( L n + 1 ) T ) T M x U n , L n = V n ( S n ) T . (37) Compute [ V n + 1 , R L ] = G Q R ( L n + 1 , M y ) [V^{n+1},R_L] = GQR(L^{n+1},M_y) [ V n + 1 , R L ] = GQR ( L n + 1 , M y ) .
Compute the r × r r \times r r × r matrix N = ( V n + 1 ) T M y V n \mathcal{N} = (V^{n+1})^{\mathsf{T}}M_yV^n N = ( V n + 1 ) T M y V n .
// Step 2: Update S n → S n + 1 ∈ R r × r S^n \to S^{n+1} \in\mathbb{R}^{r \times r} S n → S n + 1 ∈ R r × r :
S S S -step: Set S n , ∗ = M S n N T ∈ R r × r S^{n,*} = \mathcal{M}S^n\mathcal{N}^{\mathsf{T}} \in\mathbb{R}^{r \times r} S n , ∗ = M S n N T ∈ R r × r .
Solve S n + 1 S^{n+1} S n + 1 from the r × r r \times r r × r matrix equation
S n + 1 − S n , ∗ Δ t = ( U n + 1 ) T M x L ( U n + 1 S n + 1 ( V n + 1 ) T ) M y V n + 1 . (38) \frac{S^{n+1}-S^{n,*}}{\Delta t} = (U^{n+1})^{\mathsf{T}}M_x\mathcal{L}\left(U^{n+1}S^{n+1}(V^{n+1})^{\mathsf{T}}\right)M_yV^{n+1}. \tag*{(38)} Δ t S n + 1 − S n , ∗ = ( U n + 1 ) T M x L ( U n + 1 S n + 1 ( V n + 1 ) T ) M y V n + 1 . (38)
As an implicit algorithm, Algorithm 3.1 raises two fundamental questions. The first is the well-posedness of the scheme, namely, whether a unique solution exists at each time step. The second concerns developing an efficient and low-cost solver for the resulting linear systems.
Well-Posedness
To address the first question for Algorithm 3.1, we introduce several subspaces of the finite element space (6) . Given the low-rank state at time t n t^n t n with the factorization W n = U n S n ( V n ) T W^n = U^nS^n(V^n)^{\mathsf{T}} W n = U n S n ( V n ) T , we define the following subspaces of V h V_h V h . These subspaces depend on the current low-rank factors and are dynamically updated at each time step:
V 0 n = { v ∣ v ( x , y ) = Φ ( x ) ⊤ U n S ( V n ) ⊤ Ψ ( y ) , ∀ S ∈ R r × r } (39) V_0^n = \left\{v \mid v(x,y) = \Phi(x)^\top U^n S(V^n)^\top\Psi(y),\quad\forall S \in\mathbb{R}^{r\times r}\right\} \tag*{(39)} V 0 n = { v ∣ v ( x , y ) = Φ ( x ) ⊤ U n S ( V n ) ⊤ Ψ ( y ) , ∀ S ∈ R r × r } (39)
V 1 n = { v ∣ v ( x , y ) = Φ ( x ) ⊤ K ( V n ) ⊤ Ψ ( y ) , ∀ K ∈ R m × r } (40) V_1^n = \left\{v \mid v(x,y) = \Phi(x)^\top K(V^n)^\top\Psi(y),\quad\forall K \in\mathbb{R}^{m\times r}\right\} \tag*{(40)} V 1 n = { v ∣ v ( x , y ) = Φ ( x ) ⊤ K ( V n ) ⊤ Ψ ( y ) , ∀ K ∈ R m × r } (40)
V 2 n = { v ∣ v ( x , y ) = Φ ( x ) ⊤ U n L ⊤ Ψ ( y ) , ∀ L ∈ R n × r } . (41) V_2^n = \left\{v \mid v(x,y) = \Phi(x)^\top U^n L^\top\Psi(y),\quad\forall L \in\mathbb{R}^{n\times r}\right\}. \tag*{(41)} V 2 n = { v ∣ v ( x , y ) = Φ ( x ) ⊤ U n L ⊤ Ψ ( y ) , ∀ L ∈ R n × r } . (41)
It is readily observed that
V i n ⊂ V h , i = 0 , 1 , 2 , V_i^n \subset V_h,\qquad i=0,1,2, V i n ⊂ V h , i = 0 , 1 , 2 ,
and
w ^ h n = Φ ( x ) ⊤ U n S n ( V n ) ⊤ Ψ ( y ) ∈ V 0 n ∩ V 1 n ∩ V 2 n . \widehat{w}_h^n = \Phi(x)^\top U^n S^n (V^n)^\top\Psi(y) \in V_0^n \cap V_1^n \cap V_2^n. w h n = Φ ( x ) ⊤ U n S n ( V n ) ⊤ Ψ ( y ) ∈ V 0 n ∩ V 1 n ∩ V 2 n .
In contrast, in general,
w ^ h n ∉ V 0 n + 1 , \widehat{w}_h^n \notin V_0^{n+1}, w h n ∈ / V 0 n + 1 ,
since the latter subspace is determined by the updated factors U n + 1 U^{n+1} U n + 1 and V n + 1 V^{n+1} V n + 1 . Nevertheless, it holds that
w S n , ∗ : = Φ ( x ) ⊤ U n + 1 S n , ∗ ( V n + 1 ) ⊤ Ψ ( y ) ∈ V 0 n + 1 , (42) w_S^{n,\ast} := \Phi(x)^\top U^{n+1} S^{n,\ast} (V^{n+1})^\top\Psi(y) \in V_0^{n+1}, \tag*{(42)} w S n , ∗ := Φ ( x ) ⊤ U n + 1 S n , ∗ ( V n + 1 ) ⊤ Ψ ( y ) ∈ V 0 n + 1 , (42)
where S n , ∗ S^{n,\ast} S n , ∗ is introduced in Algorithm 3.1. Moreover, w S n , ∗ w_S^{n,\ast} w S n , ∗ is the mass-lumped L 2 L^2 L 2 projection of w ^ h n \widehat{w}_h^n w h n onto V 0 n + 1 V_0^{n+1} V 0 n + 1 , characterized by
( w S n , ∗ , v ) h = ( w ^ h n , v ) h , ∀ v ∈ V 0 n + 1 . (43) (w_S^{n,\ast},v)_h = (\widehat{w}_h^n,v)_h,\qquad\forall v \in V_0^{n+1}. \tag*{(43)} ( w S n , ∗ , v ) h = ( w h n , v ) h , ∀ v ∈ V 0 n + 1 . (43)
The main advantage of WDLRA over DLRA is that each equation arising in the BUG integrator can be interpreted as an implicit MLFEM problem posed in a suitable subspace of the finite element space V h V_h V h . The following result establishes the equivalence of Algorithm 3.1 and the first-order MLFEM formulation on the subspaces defined above.
Lemma 3.4. The matrices K n + 1 K^{n+1} K n + 1 , L n + 1 L^{n+1} L n + 1 , and S n + 1 S^{n+1} S n + 1 solve (3.9), (3.10), and (3.11) in Algorithm 3.1, respectively, if and only if the functions
w K n + 1 : = Φ ( x ) ⊤ K n + 1 ( V n ) ⊤ Ψ ( y ) ∈ V 1 n , w_K^{n+1} := \Phi(x)^\top K^{n+1}(V^n)^\top\Psi(y) \in V_1^n, w K n + 1 := Φ ( x ) ⊤ K n + 1 ( V n ) ⊤ Ψ ( y ) ∈ V 1 n , w L n + 1 : = Φ ( x ) ⊤ U n ( L n + 1 ) ⊤ Ψ ( y ) ∈ V 2 n , w_L^{n+1} := \Phi(x)^\top U^n(L^{n+1})^\top\Psi(y) \in V_2^n, w L n + 1 := Φ ( x ) ⊤ U n ( L n + 1 ) ⊤ Ψ ( y ) ∈ V 2 n , w S n + 1 : = Φ ( x ) ⊤ U n + 1 S n + 1 ( V n + 1 ) ⊤ Ψ ( y ) ∈ V 0 n + 1 w_S^{n+1} := \Phi(x)^\top U^{n+1} S^{n+1}(V^{n+1})^\top\Psi(y) \in V_0^{n+1} w S n + 1 := Φ ( x ) ⊤ U n + 1 S n + 1 ( V n + 1 ) ⊤ Ψ ( y ) ∈ V 0 n + 1 solve the following first-order implicit BUG-MLFEM scheme:
( D t w K n + 1 , w 1 ) h + ( ∇ w K n + 1 , ∇ w 1 ) h − α ( w K n + 1 , w 1 ) h = 0 , ∀ w 1 ∈ V 1 n , (44) (D_t w_K^{n+1},w_1)_h + (\nabla w_K^{n+1},\nabla w_1)_h - \alpha(w_K^{n+1},w_1)_h = 0,\qquad\forall w_1 \in V_1^n, \tag*{(44)} ( D t w K n + 1 , w 1 ) h + ( ∇ w K n + 1 , ∇ w 1 ) h − α ( w K n + 1 , w 1 ) h = 0 , ∀ w 1 ∈ V 1 n , (44) ( D t w L n + 1 , w 2 ) h + ( ∇ w L n + 1 , ∇ w 2 ) h − α ( w L n + 1 , w 2 ) h = 0 , ∀ w 2 ∈ V 2 n , (45) (D_t w_L^{n+1},w_2)_h + (\nabla w_L^{n+1},\nabla w_2)_h - \alpha(w_L^{n+1},w_2)_h = 0,\qquad\forall w_2 \in V_2^n, \tag*{(45)} ( D t w L n + 1 , w 2 ) h + ( ∇ w L n + 1 , ∇ w 2 ) h − α ( w L n + 1 , w 2 ) h = 0 , ∀ w 2 ∈ V 2 n , (45) ( D t w S n + 1 , w 0 ) h + ( ∇ w S n + 1 , ∇ w 0 ) h − α ( w S n + 1 , w 0 ) h = 0 , ∀ w 0 ∈ V 0 n + 1 , (46) (D_t w_S^{n+1},w_0)_h + (\nabla w_S^{n+1},\nabla w_0)_h - \alpha(w_S^{n+1},w_0)_h = 0,\qquad\forall w_0 \in V_0^{n+1}, \tag*{(46)} ( D t w S n + 1 , w 0 ) h + ( ∇ w S n + 1 , ∇ w 0 ) h − α ( w S n + 1 , w 0 ) h = 0 , ∀ w 0 ∈ V 0 n + 1 , (46) where w K n = w L n = w S n = w ^ h n w_K^n = w_L^n = w_S^n = \widehat{w}_h^n w K n = w L n = w S n = w h n .
The proof of Lemma 3.4 follows from the matrix representations of the inner products established in Lemma 2.1, together with (3.14).
Definition 3.5. At time t n + 1 t^{n+1} t n + 1 , we define V 0 n + 1 V_0^{n+1} V 0 n + 1 as the BUG-MLFEM space and w ^ h n + 1 : = w S n + 1 ∈ V 0 n + 1 \widehat{w}_h^{n+1} := w_S^{n+1} \in V_0^{n+1} w h n + 1 := w S n + 1 ∈ V 0 n + 1 as the BUG-MLFEM solution.
Theorem 3.6 (Well-posedness). Given the BUG-MLFEM solution w ^ h n \widehat{w}_h^n w h n , with w K n = w L n = w S n = w ^ h n w_K^n = w_L^n = w_S^n = \widehat{w}_h^n w K n = w L n = w S n = w h n . Then, (i) for any Δ t > 0 \Delta t > 0 Δ t > 0 , the first-order implicit BUG-MLFEM scheme (3.15)–(3.17) admits a unique solution
( w K n + 1 , w L n + 1 , w S n + 1 ) ∈ V 1 n + 1 × V 2 n + 1 × V 0 n + 1 . (47) (w_K^{n+1},w_L^{n+1},w_S^{n+1}) \in V_1^{n+1} \times V_2^{n+1} \times V_0^{n+1}. \tag*{(47)} ( w K n + 1 , w L n + 1 , w S n + 1 ) ∈ V 1 n + 1 × V 2 n + 1 × V 0 n + 1 . (47) Equivalently, the matrix system in Algorithm 3.1 admits a unique solution
( K n + 1 , L n + 1 , S n + 1 ) ∈ R m × r × R n × r × R r × r . (48) (K^{n+1},L^{n+1},S^{n+1}) \in\mathbb{R}^{m\times r} \times\mathbb{R}^{n\times r} \times\mathbb{R}^{r\times r}. \tag*{(48)} ( K n + 1 , L n + 1 , S n + 1 ) ∈ R m × r × R n × r × R r × r . (48) (ii) The BUG-MLFEM solution satisfies the mass-lumped L 2 L^2 L 2 -stability
∥ w ^ h n + 1 ∥ h ≤ ∥ w ^ h n ∥ h . (49) \|\widehat{w}_h^{n+1}\|_h \leq\|\widehat{w}_h^n\|_h. \tag*{(49)} ∥ w h n + 1 ∥ h ≤ ∥ w h n ∥ h . (49)
Proof. (i) We present the proof for the S S S -step in detail; the K K K - and L L L -steps follow by the same reasoning. Since (3.17) is a finite-dimensional linear system, existence is equivalent to uniqueness. Thus, it suffices to prove uniqueness. Suppose that w S , 1 n + 1 w_{S,1}^{n+1} w S , 1 n + 1 and w S , 2 n + 1 w_{S,2}^{n+1} w S , 2 n + 1 are two solutions of (3.17) corresponding to the same data w ^ h n \widehat{w}_h^n w h n . Define δ w S n + 1 : = w S , 1 n + 1 − w S , 2 n + 1 ∈ V 0 n + 1 \delta w_S^{n+1} := w_{S,1}^{n+1} - w_{S,2}^{n+1} \in V_0^{n+1} δ w S n + 1 := w S , 1 n + 1 − w S , 2 n + 1 ∈ V 0 n + 1 . Subtracting the two equations gives
( D t δ w S n + 1 , w 0 ) h + A ( δ w S n + 1 , w 0 ) = α ( δ w S n + 1 , w 0 ) h , ∀ w 0 ∈ V 0 n + 1 . (D_t\delta w_S^{n+1},w_0)_h + A(\delta w_S^{n+1},w_0) = \alpha(\delta w_S^{n+1},w_0)_h,\quad\forall w_0 \in V_0^{n+1}. ( D t δ w S n + 1 , w 0 ) h + A ( δ w S n + 1 , w 0 ) = α ( δ w S n + 1 , w 0 ) h , ∀ w 0 ∈ V 0 n + 1 .
Since both solutions share the same previous-time data, δ w S n = 0 \delta w_S^n = 0 δ w S n = 0 , and hence
D t δ w S n + 1 = δ w S n + 1 Δ t . D_t\delta w_S^{n+1} = \frac{\delta w_S^{n+1}}{\Delta t}. D t δ w S n + 1 = Δ t δ w S n + 1 .
Taking w 0 = δ w S n + 1 w_0 = \delta w_S^{n+1} w 0 = δ w S n + 1 yields
1 Δ t ∥ δ w S n + 1 ∥ h 2 + ∥ ∇ δ w S n + 1 ∥ L 2 ( Ω ) 2 = α ∥ δ w S n + 1 ∥ h 2 , \frac{1}{\Delta t}\|\delta w_S^{n+1}\|_h^2 + \|\nabla\delta w_S^{n+1}\|_{L^2(\Omega)}^2 = \alpha\|\delta w_S^{n+1}\|_h^2, Δ t 1 ∥ δ w S n + 1 ∥ h 2 + ∥∇ δ w S n + 1 ∥ L 2 ( Ω ) 2 = α ∥ δ w S n + 1 ∥ h 2 ,
where we have used A ( v , v ) = ∥ ∇ v ∥ L 2 ( Ω ) 2 A(v,v) = \|\nabla v\|_{L^2(\Omega)}^2 A ( v , v ) = ∥∇ v ∥ L 2 ( Ω ) 2 . Therefore,
( 1 Δ t − α ) ∥ δ w S n + 1 ∥ h 2 + ∥ ∇ δ w S n + 1 ∥ L 2 ( Ω ) 2 = 0. \left(\frac{1}{\Delta t}-\alpha\right)\|\delta w_S^{n+1}\|_h^2 + \|\nabla\delta w_S^{n+1}\|_{L^2(\Omega)}^2 = 0. ( Δ t 1 − α ) ∥ δ w S n + 1 ∥ h 2 + ∥∇ δ w S n + 1 ∥ L 2 ( Ω ) 2 = 0.
Since Δ t > 0 \Delta t > 0 Δ t > 0 and α ≤ 0 \alpha\leq0 α ≤ 0 , we have 1 Δ t − α > 0 \frac{1}{\Delta t}-\alpha> 0 Δ t 1 − α > 0 . Both terms in the above identity are therefore nonnegative, which implies ∥ δ w S n + 1 ∥ h = 0 \|\delta w_S^{n+1}\|_h = 0 ∥ δ w S n + 1 ∥ h = 0 . Hence, δ w S n + 1 = 0 \delta w_S^{n+1} = 0 δ w S n + 1 = 0 , and consequently
w S , 1 n + 1 = w S , 2 n + 1 . w_{S,1}^{n+1} = w_{S,2}^{n+1}. w S , 1 n + 1 = w S , 2 n + 1 .
Thus, the S S S -step solution is unique. The existence and uniqueness of the solution ( K n + 1 , L n + 1 , S n + 1 ) (K^{n+1},L^{n+1},S^{n+1}) ( K n + 1 , L n + 1 , S n + 1 ) in Algorithm 3.1 then follow from those of (3.18) and Lemma 3.4.
(ii) Choose w 0 = w S n + 1 w_0 = w_S^{n+1} w 0 = w S n + 1 in (3.17) to obtain
( D t w S n + 1 , w S n + 1 ) h + ∥ ∇ w S n + 1 ∥ L 2 ( Ω ) 2 = α ∥ w S n + 1 ∥ h 2 . (D_t w_S^{n+1},w_S^{n+1})_h + \|\nabla w_S^{n+1}\|_{L^2(\Omega)}^2 = \alpha\|w_S^{n+1}\|_h^2. ( D t w S n + 1 , w S n + 1 ) h + ∥∇ w S n + 1 ∥ L 2 ( Ω ) 2 = α ∥ w S n + 1 ∥ h 2 .
Applying the polarization identity ( a − b , a ) = 1 2 ( ∥ a ∥ 2 − ∥ b ∥ 2 + ∥ a − b ∥ 2 ) (a-b,a)=\frac{1}{2}\left(\lVert a\rVert^2-\lVert b\rVert^2+\lVert a-b\rVert^2\right) ( a − b , a ) = 2 1 ( ∥ a ∥ 2 − ∥ b ∥ 2 + ∥ a − b ∥ 2 ) with a = w S n + 1 a=w_S^{n+1} a = w S n + 1 and b = w S n b=w_S^n b = w S n , and multiplying by 2 Δ t 2\Delta t 2Δ t , gives
∥ w S n + 1 ∥ h 2 − ∥ w S n ∥ h 2 + ∥ w S n + 1 − w S n ∥ h 2 + 2 Δ t ∥ ∇ w S n + 1 ∥ L 2 ( Ω ) 2 = 2 Δ t α ∥ w S n + 1 ∥ h 2 . \lVert w_S^{n+1}\rVert_h^2-\lVert w_S^n\rVert_h^2+\lVert w_S^{n+1}-w_S^n\rVert_h^2+2\Delta t\lVert\nabla w_S^{n+1}\rVert_{L^2(\Omega)}^2=2\Delta t\alpha\lVert w_S^{n+1}\rVert_h^2. ∥ w S n + 1 ∥ h 2 − ∥ w S n ∥ h 2 + ∥ w S n + 1 − w S n ∥ h 2 + 2Δ t ∥ ∇ w S n + 1 ∥ L 2 ( Ω ) 2 = 2Δ t α ∥ w S n + 1 ∥ h 2 .
Since Δ t > 0 \Delta t>0 Δ t > 0 and α ≤ 0 \alpha\leq0 α ≤ 0 , the right-hand side is nonpositive, while the third and fourth terms on the left-hand side are nonnegative. Hence,
∥ w S n + 1 ∥ h 2 ≤ ∥ w S n ∥ h 2 . \lVert w_S^{n+1}\rVert_h^2\leq\lVert w_S^n\rVert_h^2. ∥ w S n + 1 ∥ h 2 ≤ ∥ w S n ∥ h 2 .
By Definition 3.5, this is equivalent to (49) .
Solvers for the implicit BUG integator
To address the second question in Subsection 3.2 concerning Algorithm 3.1, we develop low-cost non-iterative Sylvester solvers for the linear systems arising in the K K K - and L L L -steps.
Structure of KLS linear systems
We begin by examining the structure of the linear systems involved. Substituting the operator L \mathcal{L} L from (22) into (36) gives
K n + 1 − K n Δ t = L x K n + 1 − K n + 1 ( ( V n ) T A y V n + α K n + 1 ) . \frac{K^{n+1}-K^n}{\Delta t}=L_xK^{n+1}-K^{n+1}\left((V^n)^\mathsf{T}A_yV^n+\alpha K^{n+1}\right). Δ t K n + 1 − K n = L x K n + 1 − K n + 1 ( ( V n ) T A y V n + α K n + 1 ) .
Rearranging the terms yields the K K K -equation
( − Δ t L x ) K n + 1 + K n + 1 ( ( 1 − Δ t α ) I + Δ t ( V n ) T A y V n ) = K n . (50) (-\Delta tL_x)K^{n+1}+K^{n+1}\left((1-\Delta t\alpha)I+\Delta t(V^n)^\mathsf{T}A_yV^n\right)=K^n. \tag*{(50)} ( − Δ t L x ) K n + 1 + K n + 1 ( ( 1 − Δ t α ) I + Δ t ( V n ) T A y V n ) = K n . (50)
Similarly, substituting (22) into (37) gives the L L L -equation
( − Δ t L y ) L n + 1 + L n + 1 ( ( 1 − Δ t α ) I + Δ t ( U n ) T A x U n ) = L n . (51) (-\Delta tL_y)L^{n+1}+L^{n+1}\left((1-\Delta t\alpha)I+\Delta t(U^n)^\mathsf{T}A_xU^n\right)=L^n. \tag*{(51)} ( − Δ t L y ) L n + 1 + L n + 1 ( ( 1 − Δ t α ) I + Δ t ( U n ) T A x U n ) = L n . (51)
Finally, (38) gives the S S S -equation
( ( 1 − Δ t α ) I + Δ t ( U n + 1 ) T A x U n + 1 ) S n + 1 + S n + 1 ( Δ t ( V n + 1 ) T A y V n + 1 ) = S n , ∗ . (52) \left((1-\Delta t\alpha)I+\Delta t(U^{n+1})^\mathsf{T}A_xU^{n+1}\right)S^{n+1}+S^{n+1}\left(\Delta t(V^{n+1})^\mathsf{T}A_yV^{n+1}\right)=S^{n,*}. \tag*{(52)} ( ( 1 − Δ t α ) I + Δ t ( U n + 1 ) T A x U n + 1 ) S n + 1 + S n + 1 ( Δ t ( V n + 1 ) T A y V n + 1 ) = S n , ∗ . (52)
Thus, all three linear matrix equations (50) –(52) can be expressed in the unified Sylvester form
A X + X B = C . (53) AX+XB=C. \tag*{(53)} A X + X B = C . (53)
More precisely, the corresponding coefficient matrices, unknowns, and right-hand sides are given as follows.
For the K K K -equation (50) ,
A = − Δ t L x ∈ R m × m A=-\Delta tL_x\in\mathbb{R}^{m\times m} A = − Δ t L x ∈ R m × m , B = ( 1 − Δ t α ) I r + Δ t ( V n ) T A y V n ∈ R r × r B=(1-\Delta t\alpha)I_r+\Delta t(V^n)^\mathsf{T}A_yV^n\in\mathbb{R}^{r\times r} B = ( 1 − Δ t α ) I r + Δ t ( V n ) T A y V n ∈ R r × r ,
X = K n + 1 ∈ R m × r X=K^{n+1}\in\mathbb{R}^{m\times r} X = K n + 1 ∈ R m × r , C = K n ∈ R m × r C=K^n\in\mathbb{R}^{m\times r} C = K n ∈ R m × r .
For the L L L -equation (51) ,
A = − Δ t L y ∈ R n × n A=-\Delta tL_y\in\mathbb{R}^{n\times n} A = − Δ t L y ∈ R n × n , B = ( 1 − Δ t α ) I r + Δ t ( U n ) T A x U n ∈ R r × r B=(1-\Delta t\alpha)I_r+\Delta t(U^n)^\mathsf{T}A_xU^n\in\mathbb{R}^{r\times r} B = ( 1 − Δ t α ) I r + Δ t ( U n ) T A x U n ∈ R r × r ,
X = L n + 1 ∈ R n × r X=L^{n+1}\in\mathbb{R}^{n\times r} X = L n + 1 ∈ R n × r , C = L n ∈ R n × r C=L^n\in\mathbb{R}^{n\times r} C = L n ∈ R n × r .
For the S S S -equation (52) ,
A = ( 1 − Δ t α ) I + Δ t ( U n + 1 ) T A x U n + 1 ∈ R r × r A=(1-\Delta t\alpha)I+\Delta t(U^{n+1})^\mathsf{T}A_xU^{n+1}\in\mathbb{R}^{r\times r} A = ( 1 − Δ t α ) I + Δ t ( U n + 1 ) T A x U n + 1 ∈ R r × r ,
B = Δ t ( V n + 1 ) T A y V n + 1 ∈ R r × r B=\Delta t(V^{n+1})^\mathsf{T}A_yV^{n+1}\in\mathbb{R}^{r\times r} B = Δ t ( V n + 1 ) T A y V n + 1 ∈ R r × r ,
X = S n + 1 ∈ R r × r X=S^{n+1}\in\mathbb{R}^{r\times r} X = S n + 1 ∈ R r × r , C = S n , ∗ ∈ R r × r C=S^{n,*}\in\mathbb{R}^{r\times r} C = S n , ∗ ∈ R r × r .
Conventional Sylvester solver
A direct application of a conventional dense Sylvester equation solver, such as the Bartels–Stewart algorithm [1 ] , would require Schur decompositions of the coefficient matrices. For the K K K - and L L L -equations, the resulting computational costs are O ( m 3 ) O(m^3) O ( m 3 ) and O ( n 3 ) O(n^3) O ( n 3 ) , respectively, while the S S S -equation incurs O ( r 3 ) O(r^3) O ( r 3 ) operations. Consequently, solving all three equations by a standard dense Sylvester solver would require O ( m 3 + n 3 + r 3 ) O(m^3+n^3+r^3) O ( m 3 + n 3 + r 3 ) operations. Since the rank r r r is typically much smaller than the spatial dimensions m m m and n n n , the dominant cost is O ( m 3 + n 3 ) O(m^3+n^3) O ( m 3 + n 3 ) . This is comparable to the computational complexity of the corresponding full-rank discretization and therefore does not fully exploit the low-rank structure.
For the S S S -equation, all coefficient matrices are of size r × r r \times r r × r , so a conventional Sylvester solver has a cost of only O ( r 3 ) O(r^3) O ( r 3 ) and is inexpensive when r ≪ m , n r \ll m,n r ≪ m , n . In contrast, the Sylvester equations (53) arising from the K K K - and L L L -steps possess additional structure that can be exploited to further reduce the computational cost. In particular, the spatial coefficient matrices in the K K K - and L L L -equations are A = − Δ t L x A=-\Delta t L_x A = − Δ t L x and A = − Δ t L y A=-\Delta t L_y A = − Δ t L y , respectively, and thus inherit the sparsity of the underlying one-dimensional spatial discretization operators. More specifically, since M x M_x M x and M y M_y M y are diagonal matrices, the matrices L x L_x L x and L y L_y L y defined in (2.19) have the same sparsity patterns as A x A_x A x and A y A_y A y , respectively. Meanwhile, the corresponding coefficient matrices B B B are only of size r × r r \times r r × r and are generally symmetric. Hence, the K K K - and L L L -equations exhibit a sparse-by-small structure that is not exploited by conventional dense Sylvester solvers, motivating the development of specialized solvers that take advantage of this structure.
The storage cost follows the same pattern. The Bartels–Stewart algorithm [1 ] requires the real Schur factors of A A A , which are generally dense m × m m \times m m × m matrices for the K K K -equation (resp. n × n n \times n n × n matrices for the L L L -equation). Thus, although A A A itself is banded, its Schur factors generally do not preserve this sparsity, resulting in O ( m 2 ) O(m^2) O ( m 2 ) and O ( n 2 ) O(n^2) O ( n 2 ) storage, respectively. For the S S S -equation, all coefficient matrices are of size r × r r \times r r × r , requiring only O ( r 2 ) O(r^2) O ( r 2 ) storage. Hence, the total storage cost is O ( m 2 + n 2 + r 2 ) = O ( m 2 + n 2 ) O(m^2+n^2+r^2)=O(m^2+n^2) O ( m 2 + n 2 + r 2 ) = O ( m 2 + n 2 ) , where the latter follows from r ≪ m , n r \ll m,n r ≪ m , n . In particular, the dense Schur factors lead to a storage requirement comparable to that of the corresponding full-rank discretization.
Low-cost non-iterative Sylvester solvers
Both K K K -equation (50) and L L L -equation (51) have the unified Sylvester form (53) , with the spatial coefficient matrix A A A sharing the same sparsity pattern as A x A_x A x and A y A_y A y in the K K K - and L L L -equations, respectively, while the corresponding low-dimensional coefficient matrix B B B is symmetric. We therefore develop a solver for (53) that exploits these sparsity and symmetry properties. We focus on the K K K -equation (50) , with the application for the L L L -equation following analogously.
Banded stiffness matrix: Dirichlet and Neumann BCs
Under the Neumann and Dirichlet BCs, both A x A_x A x and A y A_y A y in (2.11) are symmetric banded matrices with bandwidth 2 k + 1 2k+1 2 k + 1 and half-bandwidth k k k ; namely,
( A x ) i j = ( A y ) i j = 0 for all ∣ j − i ∣ > k . (A_x)_{ij}=(A_y)_{ij}=0 \qquad\text{for all } |j-i|>k. ( A x ) ij = ( A y ) ij = 0 for all ∣ j − i ∣ > k .
In the Sylvester equation (53) , the matrix A = − Δ t L x = Δ t M x − 1 A x ∈ R m × m A=-\Delta tL_x=\Delta tM_x^{-1}A_x\in\mathbb{R}^{m\times m} A = − Δ t L x = Δ t M x − 1 A x ∈ R m × m or A = − Δ t L y = Δ t M y − 1 A y ∈ R n × n A=-\Delta tL_y=\Delta tM_y^{-1}A_y\in\mathbb{R}^{n\times n} A = − Δ t L y = Δ t M y − 1 A y ∈ R n × n inherits the same bandwidth 2 k + 1 2k+1 2 k + 1 and half-bandwidth k k k . However, since M x − 1 M_x^{-1} M x − 1 and M y − 1 M_y^{-1} M y − 1 are generally not scalar multiples of the identity, A A A is generally nonsymmetric, despite the symmetry of A x A_x A x and A y A_y A y . In contrast, the matrix B ∈ R r × r B \in\mathbb{R}^{r \times r} B ∈ R r × r is symmetric.
The key idea is therefore to diagonalize the small matrix B B B rather than the large matrix A A A . Eigendecomposing B ∈ R r × r B \in\mathbb{R}^{r \times r} B ∈ R r × r costs O ( r 3 ) O(r^3) O ( r 3 ) , whereas diagonalizing A ∈ R m × m A \in\mathbb{R}^{m \times m} A ∈ R m × m would cost O ( m 3 ) O(m^3) O ( m 3 ) and, more importantly, destroy its banded structure, since the eigenvectors of a banded matrix are generally dense. Because r ≪ m r \ll m r ≪ m , diagonalizing B B B is therefore the natural choice: it preserves the sparsity of the large matrix A A A while restricting the eigendecomposition to the small matrix B B B .
The steps for solving the unified Sylvester equation (53) are as follows.
Step 1: Eigendecomposition of B B B . Since B B B is symmetric, it admits a real orthogonal eigendecomposition
B = Q Λ Q T , Λ = diag ( λ 1 , … , λ r ) , Q T Q = I r , B Q = Q Λ . (54) B = Q\Lambda Q^{\mathsf{T}}, \qquad\Lambda= \operatorname{diag}(\lambda_1,\ldots,\lambda_r), \qquad Q^{\mathsf{T}}Q = I_r, \qquad BQ = Q\Lambda. \tag*{(54)} B = Q Λ Q T , Λ = diag ( λ 1 , … , λ r ) , Q T Q = I r , B Q = Q Λ. (54)
Here, the columns q 1 , … , q r q_1,\ldots,q_r q 1 , … , q r of Q Q Q form an orthonormal basis of eigenvectors of B B B , satisfying B q j = λ j q j Bq_j = \lambda_j q_j B q j = λ j q j , where the eigenvalues λ 1 , … , λ r \lambda_1,\ldots,\lambda_r λ 1 , … , λ r are real.
Step 2: Diagonalization of the Sylvester equation. Right-multiplying (53) by Q Q Q and using B Q = Q Λ BQ = Q\Lambda B Q = Q Λ gives
A X Q + X B Q = C Q ⟹ A ( X Q ) + ( X Q ) Λ = C Q . (55) AXQ + XBQ = CQ \implies A(XQ) + (XQ)\Lambda= CQ. \tag*{(55)} A X Q + X B Q = C Q ⟹ A ( X Q ) + ( X Q ) Λ = C Q . (55)
Introducing
Y : = X Q , C ~ : = C Q , Y := XQ, \qquad\widetilde{C} := CQ, Y := X Q , C := C Q ,
the unified Sylvester equation (4.4) can be equivalently written as
A Y + Y Λ = C ~ , (56) AY + Y\Lambda= \widetilde{C}, \tag*{(56)} A Y + Y Λ = C , (56)
in which the dense symmetric matrix B B B is replaced by the diagonal matrix Λ \Lambda Λ .
Step 3: Column-wise solution of the new Sylvester equation. Let y j , c ~ j ∈ R m y_j,\widetilde{c}_j \in\mathbb{R}^m y j , c j ∈ R m denote the j j j -th columns of Y Y Y and C ~ \widetilde{C} C , respectively. Since Λ \Lambda Λ is diagonal, (4.7) decouples into r r r independent shifted linear systems:
( A + λ j I ) y j = c ~ j , j = 1 , … , r . (57) (A + \lambda_j I)y_j = \widetilde{c}_j, \qquad j = 1,\ldots,r. \tag*{(57)} ( A + λ j I ) y j = c j , j = 1 , … , r . (57)
Each matrix A + λ j I A + \lambda_j I A + λ j I differs from A A A only in its diagonal entries and therefore retains the half-bandwidth k k k . The well-posedness of (4.8) is guaranteed by Theorem 3.6. Consequently, each system in {xref}(4.8) can be solved independently by banded Gaussian elimination.
Step 4: Back transformation. After solving (4.8), assemble
Y = [ y 1 , … , y r ] ∈ R m × r . Y = [y_1,\ldots,y_r] \in\mathbb{R}^{m \times r}. Y = [ y 1 , … , y r ] ∈ R m × r .
Since Y = X Q Y = XQ Y = X Q and Q Q Q is orthogonal, the solution is recovered by
X = Y Q T . (58) X = YQ^{\mathsf{T}}. \tag*{(58)} X = Y Q T . (58)
Algorithm 4.1 summarizes the above procedure. It replaces a dense Sylvester solve whenever an equation of the form A X + X B = C AX + XB = C A X + X B = C arises with banded A A A and symmetric B B B . In particular, it is applied to the K- and L-step equations (36) and (37) of the BUG integrator after they are cast into the unified form (53) .
Algorithm 4.1 Low-cost solver for (4.4) with A A A banded and B B B symmetric.
Inputs: A ∈ R m × m A \in\mathbb{R}^{m \times m} A ∈ R m × m banded with half-bandwidth k k k , B = B T ∈ R r × r B = B^{\mathsf{T}} \in\mathbb{R}^{r \times r} B = B T ∈ R r × r , C ∈ R m × r C \in\mathbb{R}^{m \times r} C ∈ R m × r .
Outputs: X ∈ R m × r X \in\mathbb{R}^{m \times r} X ∈ R m × r satisfying A X + X B = C AX + XB = C A X + X B = C .
// Step 1: Eigendecomposition of B B B :
1: Compute the real orthogonal eigendecomposition B = Q Λ Q T B = Q\Lambda Q^{\mathsf{T}} B = Q Λ Q T , where Λ = diag ( λ 1 , … , λ r ) \Lambda= \operatorname{diag}(\lambda_1,\ldots,\lambda_r) Λ = diag ( λ 1 , … , λ r ) and Q T Q = I r Q^{\mathsf{T}}Q = I_r Q T Q = I r .
// Step 2: Diagonalization of the Sylvester equation:
2: Set C ~ = C Q \widetilde{C} = CQ C = C Q and Y = X Q Y = XQ Y = X Q , so that A Y + Y Λ = C ~ AY + Y\Lambda= \widetilde{C} A Y + Y Λ = C .
// Step 3: Column-wise solution of the new Sylvester equation:
3: for j = 1 , … , r j = 1,\ldots,r j = 1 , … , r do
4: Solve ( A + λ j I ) y j = c ~ j (A + \lambda_j I)y_j = \widetilde{c}_j ( A + λ j I ) y j = c j by banded Gaussian elimination.
5: end for
6: Assemble Y = [ y 1 , … , y r ] Y = [y_1,\ldots,y_r] Y = [ y 1 , … , y r ] .
// Step 4: Back transformation:
7: Recover the solution by X = Y Q T X = YQ^{\mathsf{T}} X = Y Q T .
Remark 4.1. Algorithm 4.1 can also be applied to mixed boundary conditions involving homogeneous Dirichlet and Neumann conditions.
The computational complexity of Algorithm 4.1 is mainly determined by the four steps. Since B ∈ R r × r B \in\mathbb{R}^{r \times r} B ∈ R r × r is symmetric, its eigendecomposition costs O ( r 3 ) O(r^3) O ( r 3 ) . The two matrix multiplications C ~ = C Q \widetilde{C} = CQ C = C Q and X = Y Q T X = YQ^{\mathsf{T}} X = Y Q T each require O ( m r 2 ) O(mr^2) O ( m r 2 ) operations. In Step 3, each shifted matrix A + λ j I A + \lambda_j I A + λ j I has the same half-bandwidth k k k as A A A and can therefore be factorized using banded Gaussian elimination in O ( m k 2 ) O(mk^2) O ( m k 2 ) operations, while the corresponding forward and backward substitutions require O ( m k ) O(mk) O ( mk ) operations. Since the r r r shifted systems are independent, their total cost is O ( r m k 2 ) O(rmk^2) O ( r m k 2 ) , with O ( r m k ) O(rmk) O ( r mk ) additional work for the triangular solves. The back transformation X = Y Q T X = YQ^{\mathsf{T}} X = Y Q T in Step 4 requires O ( m r 2 ) O(mr^2) O ( m r 2 ) operations. Consequently, the overall computational complexity of Algorithm 4.1 is O ( r 3 + m r 2 + r m k 2 ) O(r^3 + mr^2 + rmk^2) O ( r 3 + m r 2 + r m k 2 ) , where the lower-order O ( r m k ) O(rmk) O ( r mk ) term has been omitted. In particular, since k k k is typically fixed and r ≪ m r \ll m r ≪ m , the overall computational complexity is dominated by O ( m r 2 ) O(mr^2) O ( m r 2 ) .
Regarding the storage cost, the banded matrix A A A requires O ( m k ) O(mk) O ( mk ) storage, while the symmetric matrix B B B and its eigenvector matrix Q Q Q require O ( r 2 ) O(r^2) O ( r 2 ) storage. The matrices C C C , Y Y Y , and X X X each require O ( m r ) O(mr) O ( m r ) storage. Since the r r r shifted banded systems in Step 3 can be solved sequentially, only one banded LU factorization needs to be stored at a time, requiring O ( m k ) O(mk) O ( mk ) additional storage. Hence, the overall storage requirement is O ( m k + m r + r 2 ) O(mk + mr + r^2) O ( mk + m r + r 2 ) . In particular, since k k k is typically fixed and r ≪ m r \ll m r ≪ m , the storage cost is essentially O ( m r ) O(mr) O ( m r ) .
Banded stiffness matrix with wrap-around entries: periodic BCs
Since the basis functions associated with the nodes at the two ends of the domain are identified under periodic BCs, the periodicity introduces additional couplings between the first and last degrees of freedom. Consequently, the matrices A x A_x A x and A y A_y A y in (2.11) retain the same 2 k + 1 2k+1 2 k + 1 banded structure as in the Neumann and Dirichlet cases, but acquire additional nonzero entries outside the band. Nevertheless, both A x A_x A x and A y A_y A y remain symmetric.
Lemma 4.2. Let A x A_x A x and A y A_y A y denote the stiffness matrices associated with the one-dimensional periodic finite element discretizations in the x x x - and y y y -directions, respectively. Then, the following results hold.
(i) A x A_x A x and A y A_y A y are positive semidefinite, namely,
A x ⪰ 0 , A y ⪰ 0. A_x \succeq0,\qquad A_y \succeq0. A x ⪰ 0 , A y ⪰ 0. (ii) Let A ^ x \widehat{A}_x A x and A ^ y \widehat{A}_y A y denote the ( 2 k + 1 ) (2k+1) ( 2 k + 1 ) -banded parts of A x A_x A x and A y A_y A y , respectively, obtained by retaining only the entries within the ( 2 k + 1 ) (2k+1) ( 2 k + 1 ) banded diagonals. Then, A ^ x \widehat{A}_x A x and A ^ y \widehat{A}_y A y are also positive semidefinite, namely,
A ^ x ⪰ 0 , A ^ y ⪰ 0. \widehat{A}_x \succeq0,\qquad\widehat{A}_y \succeq0. A x ⪰ 0 , A y ⪰ 0.
Proof. It suffices to prove the assertions for A x A_x A x and A ^ x \widehat{A}_x A x ; the arguments for A y A_y A y and A ^ y \widehat{A}_y A y are analogous.
(i) Let v = ( v 1 , … , v m ) T ∈ R m \boldsymbol{v}=(v_1,\ldots,v_m)^{\mathsf{T}}\in\mathbb{R}^m v = ( v 1 , … , v m ) T ∈ R m be arbitrary, and let v h v_h v h be the corresponding finite element function, v h ( x ) = ∑ j = 1 m v j ϕ j ( x ) v_h(x)=\sum_{j=1}^{m}v_j\phi_j(x) v h ( x ) = ∑ j = 1 m v j ϕ j ( x ) , where { ϕ j } j = 1 m \{\phi_j\}_{j=1}^{m} { ϕ j } j = 1 m denotes the finite element basis. By the definition of the stiffness matrix,
v T A x v = ∑ i = 1 M ∫ I i x ( v h ′ ( x ) ) 2 d x ≥ 0. (59) \boldsymbol{v}^{\mathsf{T}}A_x\boldsymbol{v}=\sum_{i=1}^{M}\int_{I_i^x}\left(v_h'(x)\right)^2\,\mathrm{d}x\geq0. \tag*{(59)} v T A x v = i = 1 ∑ M ∫ I i x ( v h ′ ( x ) ) 2 d x ≥ 0. (59)
Hence,
(ii) For each element I i x I_i^x I i x , let
K ( i ) = [ ∫ I i x ϕ ( i − 1 ) k + p ′ ( x ) ϕ ( i − 1 ) k + q ′ ( x ) d x ] p , q = 1 k + 1 ∈ R ( k + 1 ) × ( k + 1 ) K^{(i)}=\left[\int_{I_i^x}\phi'_{(i-1)k+p}(x)\phi'_{(i-1)k+q}(x)\,\mathrm{d}x\right]_{p,q=1}^{k+1}\in\mathbb{R}^{(k+1)\times(k+1)} K ( i ) = [ ∫ I i x ϕ ( i − 1 ) k + p ′ ( x ) ϕ ( i − 1 ) k + q ′ ( x ) d x ] p , q = 1 k + 1 ∈ R ( k + 1 ) × ( k + 1 )
denote the corresponding local stiffness matrix. For any z = ( z 1 , … , z k + 1 ) T ∈ R k + 1 \boldsymbol{z}=(z_1,\ldots,z_{k+1})^{\mathsf{T}}\in\mathbb{R}^{k+1} z = ( z 1 , … , z k + 1 ) T ∈ R k + 1 ,
z T K ( i ) z = ∫ I i x ( ∑ p = 1 k + 1 z p ϕ ( i − 1 ) k + p ′ ( x ) ) 2 d x ≥ 0. \boldsymbol{z}^{\mathsf{T}}K^{(i)}\boldsymbol{z}=\int_{I_i^x}\left(\sum_{p=1}^{k+1}z_p\phi'_{(i-1)k+p}(x)\right)^2\,\mathrm{d}x\geq0. z T K ( i ) z = ∫ I i x ( p = 1 ∑ k + 1 z p ϕ ( i − 1 ) k + p ′ ( x ) ) 2 d x ≥ 0.
Thus,
K ( i ) ⪰ 0 , i = 1 , … , M . K^{(i)}\succeq0,\qquad i=1,\ldots,M. K ( i ) ⪰ 0 , i = 1 , … , M .
For i = 1 , … , M − 1 i=1,\ldots,M-1 i = 1 , … , M − 1 , the standard finite element assembly gives
R i T K ( i ) R i , R_i^{\mathsf{T}}K^{(i)}R_i, R i T K ( i ) R i ,
where R i ∈ R ( k + 1 ) × m R_i\in\mathbb{R}^{(k+1)\times m} R i ∈ R ( k + 1 ) × m denotes the local-to-global restriction matrix.
For the last element I M x I_M^x I M x , the periodic identification of the endpoints causes the last local degree of freedom to coincide with the first global degree of freedom. Consequently, the corresponding entries coupling these two sets of degrees of freedom appear in the corner blocks of A x A_x A x and lie outside the ( 2 k + 1 ) (2k+1) ( 2 k + 1 ) banded diagonals. Removing these entries amounts to replacing K ( M ) K^{(M)} K ( M ) by
K ^ ( M ) = ( K 1 : k , 1 : k ( M ) 0 0 K k + 1 , k + 1 ( M ) ) . \widehat{K}^{(M)}=
\begin{pmatrix}
K^{(M)}_{1:k,1:k} & 0\\
0 & K^{(M)}_{k+1,k+1}
\end{pmatrix}. K ( M ) = ( K 1 : k , 1 : k ( M ) 0 0 K k + 1 , k + 1 ( M ) ) .
Since K ( M ) ⪰ 0 K^{(M)} \succeq0 K ( M ) ⪰ 0 , its principal submatrix satisfies
K 1 : k , 1 : k ( M ) ⪰ 0. K^{(M)}_{1:k,1:k} \succeq0. K 1 : k , 1 : k ( M ) ⪰ 0.
Moreover,
K k + 1 , k + 1 ( M ) = ∫ I M ∣ ϕ m ′ ( x ) ∣ 2 d x ≥ 0. K^{(M)}_{k+1,k+1}=\int_{I_M}|\phi'_m(x)|^2\,\mathrm{d}x\ge0. K k + 1 , k + 1 ( M ) = ∫ I M ∣ ϕ m ′ ( x ) ∣ 2 d x ≥ 0.
Therefore,
K ^ ( M ) ⪰ 0. \widehat{K}^{(M)}\succeq0. K ( M ) ⪰ 0.
It follows that the ( 2 k + 1 ) (2k+1) ( 2 k + 1 ) -banded part of A x A_x A x admits the decomposition
A ^ x = ∑ i = 1 M − 1 R i T K ( i ) R i + R M T K ^ ( M ) R M , \widehat{A}_x=\sum_{i=1}^{M-1}R_i^{\mathsf{T}}K^{(i)}R_i+R_M^{\mathsf{T}}\widehat{K}^{(M)}R_M, A x = i = 1 ∑ M − 1 R i T K ( i ) R i + R M T K ( M ) R M ,
where R M R_M R M denotes the local-to-global restriction matrix without the periodic wrap-around contribution. Therefore, for any v ∈ R m v\in\mathbb{R}^m v ∈ R m ,
v T A ^ x v = ∑ i = 1 M − 1 ( R i v ) T K ( i ) ( R i v ) + ( R M v ) T K ^ ( M ) ( R M v ) ≥ 0. (60) v^{\mathsf{T}}\widehat{A}_xv=\sum_{i=1}^{M-1}(R_iv)^{\mathsf{T}}K^{(i)}(R_iv)+(R_Mv)^{\mathsf{T}}\widehat{K}^{(M)}(R_Mv)\ge0. \tag*{(60)} v T A x v = i = 1 ∑ M − 1 ( R i v ) T K ( i ) ( R i v ) + ( R M v ) T K ( M ) ( R M v ) ≥ 0. (60)
Hence,
A ^ x ⪰ 0. \widehat{A}_x\succeq0. A x ⪰ 0.
The proof is complete.
The matrix A A A in (53) inherits the sparsity pattern of A x A_x A x and A y A_y A y for the K K K - and L L L -equations (50) and (51) , respectively. However, unlike A x A_x A x and A y A_y A y , the matrix A A A is generally nonsymmetric. In particular, A A A has a banded structure with bandwidth 2 k + 1 2k+1 2 k + 1 and half-bandwidth k k k , together with 2 k 2k 2 k additional nonzero entries induced by the periodic coupling. More specifically, these 2 k 2k 2 k additional nonzero entries occur at
A ( 1 , m − ℓ + 1 ) ≠ 0 , A ( m − ℓ + 1 , 1 ) ≠ 0 , ℓ = 1 , … , k , A(1,m-\ell+1)\ne0,\qquad A(m-\ell+1,1)\ne0,\qquad\ell=1,\ldots,k, A ( 1 , m − ℓ + 1 ) = 0 , A ( m − ℓ + 1 , 1 ) = 0 , ℓ = 1 , … , k ,
which are the last k k k entries in the first row and first column, respectively. Thus, A A A can be viewed as a matrix with half-bandwidth k k k and additional nonzero entries connecting the two ends of the domain. As in the Neumann and Dirichlet cases, the matrix B ∈ R r × r B\in\mathbb{R}^{r\times r} B ∈ R r × r in (53) remains symmetric.
Because of the additional nonzero entries outside the 2 k + 1 2k+1 2 k + 1 banded diagonals of A A A , the solver for (53) developed in Algorithm 4.1 is no longer directly applicable. Therefore, additional treatment is required to account for these extra terms. To take advantage of Algorithm 4.1, we decompose A A A as
A = A ^ + U ^ V ^ T , (61) A=\widehat{A}+\widehat{U}\widehat{V}^{\mathsf{T}}, \tag*{(61)} A = A + U V T , (61)
where A ^ ∈ R m × m \widehat{A}\in\mathbb{R}^{m\times m} A ∈ R m × m denotes the 2 k + 1 2k+1 2 k + 1 -banded part of A A A , and U ^ , V ^ ∈ R m × 2 \widehat{U},\widehat{V}\in\mathbb{R}^{m\times2} U , V ∈ R m × 2 are the rank-2 Woodbury factors given by
U ^ = ( e 1 v ) , V ^ = ( u e 1 ) . (62) \widehat{U}=(e_1\ \ v),\qquad\widehat{V}=(u\ \ e_1). \tag*{(62)} U = ( e 1 v ) , V = ( u e 1 ) . (62)
Here, e 1 ∈ R m e_1 \in\mathbb{R}^m e 1 ∈ R m is the first canonical basis vector, i.e.,
e 1 ( j ) = δ 1 j , (63) e_1(j) = \delta_{1j}, \tag*{(63)} e 1 ( j ) = δ 1 j , (63)
where δ i j \delta_{ij} δ ij denotes the Kronecker delta. The vectors u , v ∈ R m u,v \in\mathbb{R}^m u , v ∈ R m are defined by
u = ( 0 m − k A 1 , m − k + 1 A 1 , m − k + 2 ⋮ A 1 , m ) , v = ( 0 m − k A m − k + 1 , 1 A m − k + 2 , 1 ⋮ A m , 1 ) . (64) u =
\begin{pmatrix}
0_{m-k}\\
A_{1,m-k+1}\\
A_{1,m-k+2}\\
\vdots\\
A_{1,m}
\end{pmatrix},
\qquad
v =
\begin{pmatrix}
0_{m-k}\\
A_{m-k+1,1}\\
A_{m-k+2,1}\\
\vdots\\
A_{m,1}
\end{pmatrix}. \tag*{(64)} u = 0 m − k A 1 , m − k + 1 A 1 , m − k + 2 ⋮ A 1 , m , v = 0 m − k A m − k + 1 , 1 A m − k + 2 , 1 ⋮ A m , 1 . (64)
Consequently,
U ^ V ^ T = ( e 1 v ) ( u T e 1 T ) = e 1 u T + v e 1 T , (65) \widehat{U}\widehat{V}^{\mathsf{T}}
=
\begin{pmatrix} e_1 & v \end{pmatrix}
\begin{pmatrix} u^{\mathsf{T}} \\ e_1^{\mathsf{T}} \end{pmatrix}
=
e_1u^{\mathsf{T}}+ve_1^{\mathsf{T}}, \tag*{(65)} U V T = ( e 1 v ) ( u T e 1 T ) = e 1 u T + v e 1 T , (65)
so that the rank-2 correction accounts for the additional nonzero entries of A A A outside its 2 k + 1 2k+1 2 k + 1 banded diagonals.
To solve (4.4) with A A A of the structure (4.12), we only need to modify Step 3 of the algorithm proposed for the Neumann and Dirichlet boundary cases. This can be achieved using the Sherman–Morrison–Woodbury identity [25 ] , whereby each shifted linear system is reduced to a purely banded solve plus a correction.
For the algorithm with periodic BCs, we first repeat Steps 1 and 2 of Algorithm 4.1 for the Neumann and Dirichlet boundary cases. The modified Step 3 for the periodic boundary case is then given as follows.
Step 3: Woodbury-corrected banded solve. Let y j , c ~ j ∈ R m y_j,\widetilde{c}_j \in\mathbb{R}^m y j , c j ∈ R m denote the j j j -th columns of Y Y Y and C ~ \widetilde{C} C , respectively. Since Λ \Lambda Λ obtained in Step 1 is diagonal, (4.7) decouples into r r r independent shifted linear systems:
( A + λ j I ) y j = c ~ j , j = 1 , … , r . (66) (A+\lambda_j I)y_j=\widetilde{c}_j,\qquad j=1,\ldots,r. \tag*{(66)} ( A + λ j I ) y j = c j , j = 1 , … , r . (66)
Using the decomposition (4.12), we have
A + λ j I = A ^ j + U ^ V ^ T , A ^ j : = A ^ + λ j I . (67) A+\lambda_j I=\widehat{A}_j+\widehat{U}\widehat{V}^{\mathsf{T}},
\qquad
\widehat{A}_j:=\widehat{A}+\lambda_j I. \tag*{(67)} A + λ j I = A j + U V T , A j := A + λ j I . (67)
Since the shift λ j I \lambda_j I λ j I only modifies the diagonal entries, A ^ j \widehat{A}_j A j remains a purely banded matrix with half-bandwidth k k k .
Lemma 4.3. For each j = 1 , … , r j=1,\ldots,r j = 1 , … , r ,
(i) the matrices A ^ j \widehat{A}_j A j and A ^ j + U ^ V ^ T \widehat{A}_j+\widehat{U}\widehat{V}^{\mathsf{T}} A j + U V T in (4.18) are nonsingular;
(ii) the matrix I 2 + V ^ T A ^ j − 1 U ^ ∈ R 2 × 2 I_2+\widehat{V}^{\mathsf{T}}\widehat{A}_j^{-1}\widehat{U}\in\mathbb{R}^{2\times2} I 2 + V T A j − 1 U ∈ R 2 × 2 is nonsingular.
Proof. (i) Recall that
A = − Δ t L x = Δ t M x − 1 A x or A = − Δ t L y = Δ t M y − 1 A y . A=-\Delta t\,L_x=\Delta t\,M_x^{-1}A_x
\qquad\text{or}\qquad
A=-\Delta t\,L_y=\Delta t\,M_y^{-1}A_y. A = − Δ t L x = Δ t M x − 1 A x or A = − Δ t L y = Δ t M y − 1 A y .
Let A ^ x \widehat{A}_x A x and A ^ y \widehat{A}_y A y be the matrices defined in Lemma 4.2. Then, for the matrix A ^ \widehat{A} A defined in (4.12), we have
A ^ = Δ t M x − 1 A ^ x or A ^ = Δ t M y − 1 A ^ y . \widehat{A}=\Delta t\,M_x^{-1}\widehat{A}_x
\qquad\text{or}\qquad
\widehat{A}=\Delta t\,M_y^{-1}\widehat{A}_y. A = Δ t M x − 1 A x or A = Δ t M y − 1 A y .
Since M x ≻ 0 M_x \succ0 M x ≻ 0 and A ^ x ⪰ 0 \widehat{A}_x \succeq0 A x ⪰ 0 by Lemma 4.2,
M x − 1 A ^ x ∼ M x − 1 / 2 A ^ x M x − 1 / 2 ⪰ 0. M_x^{-1}\widehat{A}_x \sim M_x^{-1/2}\widehat{A}_xM_x^{-1/2} \succeq0. M x − 1 A x ∼ M x − 1/2 A x M x − 1/2 ⪰ 0.
Hence, all eigenvalues of A ^ \widehat{A} A are real and nonnegative. The same conclusion follows when
A ^ = Δ t M y − 1 A ^ y . \widehat{A} = \Delta t\,M_y^{-1}\widehat{A}_y. A = Δ t M y − 1 A y .
Moreover, since α ≤ 0 \alpha\le0 α ≤ 0 and A y ⪰ 0 A_y \succeq0 A y ⪰ 0 by Lemma 4.2, we have
B = ( 1 − Δ t α ) I r + Δ t ( V n ) T A y V n ≻ 0. B = (1-\Delta t\,\alpha)I_r + \Delta t\,(V^n)^\mathsf{T}A_yV^n \succ0. B = ( 1 − Δ t α ) I r + Δ t ( V n ) T A y V n ≻ 0.
Therefore, all eigenvalues λ j \lambda_j λ j of B B B satisfy
λ j > 0 , j = 1 , … , r . \lambda_j > 0,\qquad j=1,\ldots,r. λ j > 0 , j = 1 , … , r .
By (67) , each A ^ j \widehat{A}_j A j is a positive shift of A ^ \widehat{A} A , namely,
A ^ j = A ^ + λ j I . \widehat{A}_j = \widehat{A} + \lambda_j I. A j = A + λ j I .
Thus, if μ \mu μ is any eigenvalue of A ^ \widehat{A} A , then μ ≥ 0 \mu\ge0 μ ≥ 0 , and the corresponding eigenvalue of A ^ j \widehat{A}_j A j is
μ + λ j > 0. \mu+ \lambda_j > 0. μ + λ j > 0.
Hence, A ^ j \widehat{A}_j A j is nonsingular for every j = 1 , … , r j=1,\ldots,r j = 1 , … , r .
Finally, by (67) ,
A ^ j + U ^ V ^ T = A + λ j I . \widehat{A}_j + \widehat{U}\widehat{V}^{\mathsf{T}} = A + \lambda_j I. A j + U V T = A + λ j I .
Since M x ≻ 0 M_x \succ0 M x ≻ 0 and A x ⪰ 0 A_x \succeq0 A x ⪰ 0 by Lemma 4.2,
M x − 1 A x ∼ M x − 1 / 2 A x M x − 1 / 2 ⪰ 0. M_x^{-1}A_x \sim M_x^{-1/2}A_xM_x^{-1/2} \succeq0. M x − 1 A x ∼ M x − 1/2 A x M x − 1/2 ⪰ 0.
Therefore, all eigenvalues of A A A are real and nonnegative. The same conclusion follows from
A = Δ t M y − 1 A y A = \Delta t\,M_y^{-1}A_y A = Δ t M y − 1 A y
using M y ≻ 0 M_y \succ0 M y ≻ 0 and A y ⪰ 0 A_y \succeq0 A y ⪰ 0 . Consequently, all eigenvalues of
A + λ j I = A ^ j + U ^ V ^ T A + \lambda_j I = \widehat{A}_j + \widehat{U}\widehat{V}^{\mathsf{T}} A + λ j I = A j + U V T
are strictly positive, since λ j > 0 \lambda_j > 0 λ j > 0 . Hence, A ^ j + U ^ V ^ T \widehat{A}_j + \widehat{U}\widehat{V}^{\mathsf{T}} A j + U V T is nonsingular for every j = 1 , … , r j=1,\ldots,r j = 1 , … , r .
(ii) By (i), both A ^ j \widehat{A}_j A j and A ^ j + U ^ V ^ T \widehat{A}_j+\widehat{U}\widehat{V}^{\mathsf{T}} A j + U V T are nonsingular. Since A ^ j \widehat{A}_j A j is nonsingular,
det ( A ^ j + U ^ V ^ T ) = det ( A ^ j ) det ( I m + A ^ j − 1 U ^ V ^ T ) . \det\left(\widehat{A}_j+\widehat{U}\widehat{V}^{\mathsf{T}}\right)
= \det\left(\widehat{A}_j\right)
\det\left(I_m+\widehat{A}_j^{-1}\widehat{U}\widehat{V}^{\mathsf{T}}\right). det ( A j + U V T ) = det ( A j ) det ( I m + A j − 1 U V T ) .
By Sylvester’s determinant theorem,
det ( I m + X Y ) = det ( I 2 + Y X ) , \det(I_m+XY)=\det(I_2+YX), det ( I m + X Y ) = det ( I 2 + Y X ) ,
with
X = A ^ j − 1 U ^ ∈ R m × 2 , Y = V ^ T ∈ R 2 × m . X=\widehat{A}_j^{-1}\widehat{U}\in\mathbb{R}^{m\times2},\qquad
Y=\widehat{V}^{\mathsf{T}}\in\mathbb{R}^{2\times m}. X = A j − 1 U ∈ R m × 2 , Y = V T ∈ R 2 × m .
Hence,
det ( I m + A ^ j − 1 U ^ V ^ T ) = det ( I 2 + V ^ T A ^ j − 1 U ^ ) . \det\left(I_m+\widehat{A}_j^{-1}\widehat{U}\widehat{V}^{\mathsf{T}}\right)=\det\left(I_2+\widehat{V}^{\mathsf{T}}\widehat{A}_j^{-1}\widehat{U}\right). det ( I m + A j − 1 U V T ) = det ( I 2 + V T A j − 1 U ) .
Consequently,
det ( A ^ j + U ^ V ^ T ) = det ( A ^ j ) det ( I 2 + V ^ T A ^ j − 1 U ^ ) . \det\left(\widehat{A}_j+\widehat{U}\widehat{V}^{\mathsf{T}}\right)=\det\left(\widehat{A}_j\right)\det\left(I_2+\widehat{V}^{\mathsf{T}}\widehat{A}_j^{-1}\widehat{U}\right). det ( A j + U V T ) = det ( A j ) det ( I 2 + V T A j − 1 U ) .
By (i), the determinants of A ^ j \widehat{A}_j A j and A ^ j + U ^ V ^ T \widehat{A}_j+\widehat{U}\widehat{V}^{\mathsf{T}} A j + U V T are both nonzero. Therefore,
det ( I 2 + V ^ T A ^ j − 1 U ^ ) ≠ 0. \det\left(I_2+\widehat{V}^{\mathsf{T}}\widehat{A}_j^{-1}\widehat{U}\right)\ne0. det ( I 2 + V T A j − 1 U ) = 0.
Thus, the conclusion (ii) holds.
Based on Lemma 4.3, we have the following result.
Lemma 4.4. For matrix A ^ j + U ^ V ^ T \widehat{A}_j+\widehat{U}\widehat{V}^{\mathsf{T}} A j + U V T in (67) , it holds the Sherman–Morrison–Woodbury [25 ] identity,
( A ^ j + U ^ V ^ T ) − 1 = A ^ j − 1 − A ^ j − 1 U ^ ( I 2 + V ^ T A ^ j − 1 U ^ ) − 1 V ^ T A ^ j − 1 . (68) \left(\widehat{A}_j+\widehat{U}\widehat{V}^{\mathsf{T}}\right)^{-1}
=\widehat{A}_j^{-1}-\widehat{A}_j^{-1}\widehat{U}
\left(I_2+\widehat{V}^{\mathsf{T}}\widehat{A}_j^{-1}\widehat{U}\right)^{-1}
\widehat{V}^{\mathsf{T}}\widehat{A}_j^{-1}. \tag*{(68)} ( A j + U V T ) − 1 = A j − 1 − A j − 1 U ( I 2 + V T A j − 1 U ) − 1 V T A j − 1 . (68)
By Lemma 4.4, the solution of (66) can be given analytically by
y j = A ^ j − 1 c ~ j − A ^ j − 1 U ^ ( I 2 + V ^ T A ^ j − 1 U ^ ) − 1 V ^ T A ^ j − 1 c ~ j , j = 1 , … , r . (69) y_j=\widehat{A}_j^{-1}\widetilde{c}_j-\widehat{A}_j^{-1}\widehat{U}
\left(I_2+\widehat{V}^{\mathsf{T}}\widehat{A}_j^{-1}\widehat{U}\right)^{-1}
\widehat{V}^{\mathsf{T}}\widehat{A}_j^{-1}\widetilde{c}_j,\qquad j=1,\ldots,r. \tag*{(69)} y j = A j − 1 c j − A j − 1 U ( I 2 + V T A j − 1 U ) − 1 V T A j − 1 c j , j = 1 , … , r . (69)
In practice, A ^ j − 1 \widehat{A}_j^{-1} A j − 1 is not formed explicitly, since it would generally be dense. Instead, all required operations are performed using banded linear solves. Specifically, for each j = 1 , … , r j=1,\ldots,r j = 1 , … , r , we first solve
A ^ j y ^ j = c ~ j , y ^ j ∈ R m (70) \widehat{A}_j\widehat{y}_j=\widetilde{c}_j,\qquad\widehat{y}_j\in\mathbb{R}^{m} \tag*{(70)} A j y j = c j , y j ∈ R m (70)
and then solve the matrix-valued banded system
A ^ j Z ^ j = U ^ , Z ^ j ∈ R m × 2 . (71) \widehat{A}_j\widehat{Z}_j=\widehat{U},\qquad\widehat{Z}_j\in\mathbb{R}^{m\times2}. \tag*{(71)} A j Z j = U , Z j ∈ R m × 2 . (71)
The two columns of Z ^ j \widehat{Z}_j Z j can be obtained simultaneously using the same banded factorization of A ^ j \widehat{A}_j A j . The solution y j y_j y j is then computed as
y j = y ^ j − Z ^ j ( I 2 + V ^ T Z ^ j ) − 1 V ^ T y ^ j . (72) y_j=\widehat{y}_j-\widehat{Z}_j\left(I_2+\widehat{V}^{\mathsf{T}}\widehat{Z}_j\right)^{-1}\widehat{V}^{\mathsf{T}}\widehat{y}_j. \tag*{(72)} y j = y j − Z j ( I 2 + V T Z j ) − 1 V T y j . (72)
Thus, the periodic shifted system is reduced to banded linear solves with A ^ j \widehat{A}_j A j plus a low-rank correction. Repeating this procedure for j = 1 , … , r j=1,\ldots,r j = 1 , … , r yields Y = [ y 1 , … , y r ] Y=[y_1,\ldots,y_r] Y = [ y 1 , … , y r ] . The solution of the original Sylvester equation is then recovered by the same back transformation (Step 4) X = Y Q T X=YQ^{\mathsf{T}} X = Y Q T .
The implementation of the low-cost solver for periodic BCs is given in Algorithm 4.2.
Remark 4.5. Algorithm 4.2 applies to mixed BCs with a periodic BC in one spatial direction. The homogeneous Dirichlet and Neumann cases are also included as special cases. In these cases, U ^ V ^ T = 0 \widehat{U}\widehat{V}^{\mathsf{T}}=0 U V T = 0 in (67) , so that the correction term in (72) vanishes.
Algorithm 4.2 Low-cost solver for (53) under periodic BCs.
Inputs: A ∈ R m × m A \in\mathbb{R}^{m \times m} A ∈ R m × m with the periodic structure (61) , where A ^ \widehat{A} A is banded with half-bandwidth k k k and U ^ , V ^ ∈ R m × 2 \widehat{U},\widehat{V} \in\mathbb{R}^{m \times2} U , V ∈ R m × 2 ; B = B T ∈ R r × r B = B^{\mathsf{T}} \in\mathbb{R}^{r \times r} B = B T ∈ R r × r ; C ∈ R m × r C \in\mathbb{R}^{m \times r} C ∈ R m × r .
Outputs: X ∈ R m × r X \in\mathbb{R}^{m \times r} X ∈ R m × r satisfying A X + X B = C AX + XB = C A X + X B = C .
// Step 1: Eigendecomposition of B B B :
Compute the real orthogonal eigendecomposition B = Q Λ Q T B = Q\Lambda Q^{\mathsf{T}} B = Q Λ Q T , where Λ = diag ( λ 1 , … , λ r ) \Lambda= \operatorname{diag}(\lambda_{1},\ldots,\lambda_{r}) Λ = diag ( λ 1 , … , λ r ) and Q T Q = I r Q^{\mathsf{T}}Q = I_{r} Q T Q = I r .
// Step 2: Diagonalization of the Sylvester equation:
Set C ~ = C Q \widetilde{C} = CQ C = C Q .
Let Y = X Q Y = XQ Y = X Q , so that A Y + Y Λ = C ~ AY + Y\Lambda= \widetilde{C} A Y + Y Λ = C .
// Step 3: Woodbury-corrected shifted solves:
for j = 1 , … , r j = 1,\ldots,r j = 1 , … , r do
Form the banded matrix A ^ j = A ^ + λ j I \widehat{A}_{j} = \widehat{A} + \lambda_{j}I A j = A + λ j I .
Compute a banded factorization of A ^ j \widehat{A}_{j} A j .
Solve A ^ j y ^ j = c ~ j \widehat{A}_{j}\widehat{y}_{j} = \widetilde{c}_{j} A j y j = c j .
Solve Z ^ j ∈ R m × 2 \widehat{Z}_{j} \in\mathbb{R}^{m \times2} Z j ∈ R m × 2 from A ^ j Z ^ j = U ^ \widehat{A}_{j}\widehat{Z}_{j} = \widehat{U} A j Z j = U .
Form the matrix R j = I 2 + V ^ T Z ^ j ∈ R 2 × 2 R_{j} = I_{2} + \widehat{V}^{\mathsf{T}}\widehat{Z}_{j} \in\mathbb{R}^{2 \times2} R j = I 2 + V T Z j ∈ R 2 × 2 .
Compute g j = R j − 1 V ^ T y ^ j g_{j} = R_{j}^{-1}\widehat{V}^{\mathsf{T}}\widehat{y}_{j} g j = R j − 1 V T y j .
Compute y j = y ^ j − Z ^ j g j y_{j} = \widehat{y}_{j} - \widehat{Z}_{j}g_{j} y j = y j − Z j g j .
end for
Assemble Y = [ y 1 , … , y r ] Y = [y_{1},\ldots,y_{r}] Y = [ y 1 , … , y r ] .
// Step 4: Back transformation:
Recover the solution by X = Y Q T X = YQ^{\mathsf{T}} X = Y Q T .
The computational complexity of Algorithm 4.2 is mainly determined by the four steps. Since B ∈ R r × r B \in\mathbb{R}^{r \times r} B ∈ R r × r is symmetric, its eigendecomposition costs O ( r 3 ) O(r^{3}) O ( r 3 ) . The two matrix multiplications C ~ = C Q \widetilde{C} = CQ C = C Q and X = Y Q T X = YQ^{\mathsf{T}} X = Y Q T each require O ( m r 2 ) O(mr^{2}) O ( m r 2 ) operations. In Step 3, for each eigenvalue λ j \lambda_{j} λ j , the shifted matrix A ^ j = A ^ + λ j I \widehat{A}_{j} = \widehat{A} + \lambda_{j}I A j = A + λ j I has the same half-bandwidth k k k as A ^ \widehat{A} A and can therefore be factorized using banded Gaussian elimination in O ( m k 2 ) O(mk^{2}) O ( m k 2 ) operations. The corresponding systems with one and two right-hand sides require O ( m k ) O(mk) O ( mk ) operations for the forward and backward substitutions. The formation of I 2 + V ^ T Z ^ j I_{2}+\widehat{V}^{\mathsf{T}}\widehat{Z}_{j} I 2 + V T Z j requires O ( m ) O(m) O ( m ) additional operations, while the subsequent solution of the 2 × 2 2 \times2 2 × 2 linear system requires O ( 1 ) O(1) O ( 1 ) operations. Since the r r r shifted systems are independent, their total cost is O ( r m k 2 ) O(rmk^{2}) O ( r m k 2 ) , with O ( r m k ) O(rmk) O ( r mk ) additional work for the triangular solves and Woodbury corrections. The back transformation X = Y Q T X = YQ^{\mathsf{T}} X = Y Q T in Step 4 requires O ( m r 2 ) O(mr^{2}) O ( m r 2 ) operations. Consequently, the overall computational complexity of Algorithm 4.2 is O ( r 3 + m r 2 + r m k 2 ) O(r^{3} + mr^{2} + rmk^{2}) O ( r 3 + m r 2 + r m k 2 ) , where the lower-order O ( r m k ) O(rmk) O ( r mk ) and O ( r m ) O(rm) O ( r m ) terms have been omitted. In particular, since k k k is typically fixed and r ≪ m r \ll m r ≪ m , the overall computational complexity is dominated by O ( m r 2 ) O(mr^{2}) O ( m r 2 ) .
Regarding the storage cost, the banded matrix A ^ \widehat{A} A requires O ( m k ) O(mk) O ( mk ) storage, while the Woodbury factors U ^ , V ^ ∈ R m × 2 \widehat{U},\widehat{V} \in\mathbb{R}^{m \times2} U , V ∈ R m × 2 require O ( m ) O(m) O ( m ) storage. The symmetric matrix B B B and its eigenvector matrix Q Q Q require O ( r 2 ) O(r^{2}) O ( r 2 ) storage. The matrices C C C , Y Y Y , and X X X each require O ( m r ) O(mr) O ( m r ) storage. Since the r r r shifted banded systems in Step 3 can be solved sequentially, only one banded LU factorization needs to be stored at a time, requiring O ( m k ) O(mk) O ( mk ) additional storage. The intermediate matrix Z ^ j ∈ R m × 2 \widehat{Z}_j \in\mathbb{R}^{m \times2} Z j ∈ R m × 2 requires O ( m ) O(m) O ( m ) storage. Hence, the overall storage requirement is O ( m k + m r + r 2 ) O(mk+mr+r^2) O ( mk + m r + r 2 ) . In particular, since k k k is typically fixed and r ≪ m r \ll m r ≪ m , the storage cost is essentially O ( m r ) O(mr) O ( m r ) .
Computational and storage costs
4.4. Computational and storage costs. Finally, we summarize the computational and storage costs of the three approaches considered in this work. For clarity, we classify the methods as follows:
Approach I: FR-MLFEM with the conventional Sylvester solver;
Approach II: BUG-MLFEM with the conventional Sylvester solver;
Approach III (Proposed): BUG-MLFEM utilizing the proposed low-cost non-iterative Sylvester solver. The K / L K/L K / L -equations are solved via Algorithm 4.1 (Dirichlet/Neumann) and Algorithm 4.2 (periodic), while the S S S -equation uses the conventional Sylvester solver.
In Approach I, the full-rank matrix equation (2.26) arising from FR-MLFEM is solved using the Bartels–Stewart algorithm [1 ] . In Approach II, the same algorithm is applied to the matrix equations arising in Algorithm 3.1, yielding the conventional Sylvester solver. In Approach III, these equations are solved using the proposed low-cost, non-iterative Sylvester solvers. The computational and storage costs per time step for the three approaches are summarized in Table 1. As shown in Table 1, Approach III substantially reduces both computational and storage costs relative to Approaches I and II. Specifically, its computational and storage complexities per time step are O ( ( m + n ) ( r 2 + r k 2 ) + r 3 ) O((m+n)(r^2+rk^2)+r^3) O (( m + n ) ( r 2 + r k 2 ) + r 3 ) and O ( ( m + n ) ( k + r ) + r 2 ) O((m+n)(k+r)+r^2) O (( m + n ) ( k + r ) + r 2 ) , respectively. When the polynomial degree k k k is fixed and the rank satisfies r ≪ m , n r \ll m,n r ≪ m , n , these bounds simplify to O ( ( m + n ) r 2 ) O((m+n)r^2) O (( m + n ) r 2 ) for computation and O ( ( m + n ) r ) O((m+n)r) O (( m + n ) r ) for storage, highlighting the efficiency of the proposed approach in the low-rank regime.
Table 1 (PDF p. 23). Computational and storage costs per time step.
Numerical Experiments
5. Numerical Experiments. We assess the accuracy, convergence behavior, and computational efficiency of the proposed BUG-MLFEM with low-cost, non-iterative Sylvester solvers. Unless otherwise stated, all numerical experiments are based on the two-dimensional reaction-diffusion equation (2.1) with α = − 1 \alpha=-1 α = − 1 on the unit square Ω = [ 0 , 1 ] 2 \Omega=[0,1]^2 Ω = [ 0 , 1 ] 2 over the time interval [ 0 , T ] [0,T] [ 0 , T ] , with T = 0.1 T=0.1 T = 0.1 . We consider three types of boundary conditions: homogeneous Dirichlet, homogeneous Neumann, and periodic. For each type of boundary condition, the spatial discretization employs P k P_k P k finite element spaces with polynomial degrees k = 1 , 2 , 3 k=1,2,3 k = 1 , 2 , 3 with the grid size M = N M=N M = N . In time, we use the backward Euler method, resulting in first-order implicit FR-MLFEM and BUG-MLFEM schemes. The BUG-MLFEM scheme is equivalent to the first-order implicit BUG integrator for WDLRA. We use the time step size Δ t = 0.05 h k + 1 \Delta t=0.05h^{k+1} Δ t = 0.05 h k + 1 and fix the low rank at r = 10 r = 10 r = 10 in all low-rank computations. The numerical tests are conducted on a desktop equipped with an Intel® Core™ Ultra 7 265 processor and 64 GB of RAM.
To examine the solvers’ applicability for the boundary conditions, we consider the following three test cases, corresponding to homogeneous Dirichlet, homogeneous Neumann, and periodic BCs. In each case, the initial condition is selected such that an exact solution is available.
Test Case 1: Homogeneous Dirichlet BC. We consider the homogeneous Dirichlet BC, with the initial condition chosen as w ( x , y , 0 ) = sin ( π x ) sin ( π y ) w(x,y,0) = \sin(\pi x)\sin(\pi y) w ( x , y , 0 ) = sin ( π x ) sin ( π y ) , which gives the exact solution
w ( x , y , t ) = e − ( 2 π 2 + 1 ) t sin ( π x ) sin ( π y ) . (73) w(x,y,t) = e^{-(2\pi^{2}+1)t}\sin(\pi x)\sin(\pi y). \tag*{(73)} w ( x , y , t ) = e − ( 2 π 2 + 1 ) t sin ( π x ) sin ( π y ) . (73)
Test Case 2: Homogeneous Neumann BC. We consider the homogeneous Neumann BC, with the initial condition taken as w ( x , y , 0 ) = cos ( π x ) cos ( π y ) w(x,y,0) = \cos(\pi x)\cos(\pi y) w ( x , y , 0 ) = cos ( π x ) cos ( π y ) , with the corresponding exact solution
w ( x , y , t ) = e − ( 2 π 2 + 1 ) t cos ( π x ) cos ( π y ) . (74) w(x,y,t) = e^{-(2\pi^{2}+1)t}\cos(\pi x)\cos(\pi y). \tag*{(74)} w ( x , y , t ) = e − ( 2 π 2 + 1 ) t cos ( π x ) cos ( π y ) . (74)
Test Case 3: Periodic BCs. Finally, we consider periodic BCs in both spatial directions, with the initial condition chosen as w ( x , y , 0 ) = sin ( 2 π x ) cos ( 2 π y ) w(x,y,0) = \sin(2\pi x)\cos(2\pi y) w ( x , y , 0 ) = sin ( 2 π x ) cos ( 2 π y ) , and the exact solution is
w ( x , y , t ) = e − ( 8 π 2 + 1 ) t sin ( 2 π x ) cos ( 2 π y ) . (75) w(x,y,t) = e^{-(8\pi^{2}+1)t}\sin(2\pi x)\cos(2\pi y). \tag*{(75)} w ( x , y , t ) = e − ( 8 π 2 + 1 ) t sin ( 2 π x ) cos ( 2 π y ) . (75)
Example 5.1. (Accuracy and convergence tests). In this example, we assess the spatial and temporal convergence properties of the FR-MLFEM and BUG-MLFEM schemes.
We first investigate the spatial convergence of the FR-MLFEM and BUG-MLFEM schemes. The spatial discretization uses P k P_k P k finite elements with k = 1 , 2 , 3 k = 1, 2, 3 k = 1 , 2 , 3 , and the error is measured in the mass-lumped L 2 ( Ω ) L^2(\Omega) L 2 ( Ω ) norm at the final time T = 0.1 T = 0.1 T = 0.1 . For the spatial convergence tests, we take the default time step size. The spatial convergence results are presented in Figure 1 . For both FR-MLFEM and BUG-MLFEM, the numerical errors decrease at the optimal rate k + 1 k + 1 k + 1 for the P k P_k P k finite element approximations. More importantly, the optimal spatial convergence behavior is consistently maintained for all three types of boundary conditions. The BUG-MLFEM scheme exhibits the same asymptotic convergence rates as the corresponding FR-MLFEM scheme. This agreement confirms that the low-rank dynamical formulation does not degrade the spatial accuracy of the underlying finite element discretization.
We next investigate the temporal convergence of the FR-MLFEM and BUG-MLFEM schemes. We fix the spatial mesh sufficiently fine and use P 2 P_2 P 2 finite elements. The error is again measured in the mass-lumped L 2 ( Ω ) L^2(\Omega) L 2 ( Ω ) norm at the final time. The temporal convergence results are shown in Figure 2 . Both FR-MLFEM and BUG-MLFEM exhibit the expected first-order temporal convergence. The same first-order behavior is observed for all three types of boundary conditions, confirming that the low-rank formulation preserves the temporal accuracy of the underlying first-order time integrator.
Example 5.2. We continue the test cases above to compare the computational costs of the FR-MLFEM and BUG-MLFEM schemes using the different
Figure 1. Spatial convergence of the FR-MLFEM (top row) and BUG-MLFEM (bottom row) schemes using P k P_k P k elements with k = 1 , 2 , 3 k = 1, 2, 3 k = 1 , 2 , 3 at T = 0.1 T = 0.1 T = 0.1 . From left to right, the columns correspond to homogeneous Dirichlet, homogeneous Neumann, and periodic boundary conditions.
Figure 2. Temporal convergence of the FR-MLFEM and BUG-MLFEM schemes for P 2 P_2 P 2 polynomials. From left to right: homogeneous Dirichlet, homogeneous Neumann, and periodic BCs.
approaches described in Subsection 4.4. All tests employ P 2 P_2 P 2 finite elements, the default time step, and a final time of T = 0.01 T = 0.01 T = 0.01 . The CPU-time results in Table 2 demonstrate the substantial computational advantage of Approach III over Approaches I and II for all three boundary conditions. For the relatively coarse mesh (N = 40 N = 40 N = 40 ), Approach III reduces the CPU time from 74.93–126.57 seconds for Approach I to 8.14–22.70 seconds, achieving speedups ranging from 5.58 × 5.58\times 5.58 × to 9.21 × 9.21\times 9.21 × . In comparison, Approach II provides only modest improvements, with speedups of 1.06 × 1.06\times 1.06 × –1.12 × 1.12\times 1.12 × . As the mesh is refined to N = 80 N = 80 N = 80 , the computational advantage of Approach III becomes more pronounced. While Approaches I and II require approximately 6.9 × 10 3 6.9 \times10^{3} 6.9 × 1 0 3 –1.2 × 10 4 1.2 \times10^{4} 1.2 × 1 0 4 seconds, Approach III completes the computations in 178.03–471.14 seconds, yielding speedups of 25.49 × 25.49\times 25.49 × –38.80 × 38.80\times 38.80 × . The advantage is even more significant for the finest mesh, N = 160 N = 160 N = 160 , where Approaches I and II require approximately 2.1 × 10 5 2.1 \times10^{5} 2.1 × 1 0 5 –3.6 × 10 5 3.6 \times10^{5} 3.6 × 1 0 5 seconds, whereas Approach III requires only 2838.81–6576.58 seconds. The resulting speedups reach 54.35 × 54.35\times 54.35 × –81.38 × 81.38\times 81.38 × , with the largest gain observed for homogeneous Neumann boundary conditions. These results demonstrate that the computational savings of the proposed Approach III increase substantially with mesh refinement, whereas Approach II offers only limited improvements over Approach I. The speedup for periodic boundary conditions is comparatively smaller than those for homogeneous Dirichlet and Neumann boundary conditions on the finer meshes, which is consistent with the additional low-rank correction required to account for the periodic wrap-around entries in Algorithm 4.2.
Table 2. CPU time and speedup for P 2 P_2 P 2 finite elements. The speedup is measured relative to Approach I for each boundary condition and mesh size.
Example 5.3. To further examine the computational cost of the proposed Sylvester solvers, we investigate the dependence of the CPU time, excluding the initial GSVD of W 0 W^{0} W 0 , on the spatial grid size N N N and rank r r r . Here, the spatial discretization is based on the P 1 P_1 P 1 polynomials. First, we fix r = 2 r = 2 r = 2 and increase N N N from 10 to 320, with the results reported in Table 3 . For all three types of boundary conditions, the CPU time remains nearly unchanged for small N N N , where the fixed computational overhead is dominant. As N N N increases, the CPU time grows more rapidly, and the observed scaling rates approach or exceed one at the finest mesh. In particular, at N = 320 N = 320 N = 320 , the CPU times are 97.73, 87.12, and 119.48 seconds for the Dirichlet, Neumann, and Periodic BCs, respectively. The results demonstrate that the computational cost exhibits approximately linear growth with respect to N N N in the practically relevant large-N N N regime, consistent with the linear dependence on the number of spatial degrees of freedom in the proposed solver.
Next, we fix N = 320 N = 320 N = 320 and vary the rank from r = 1 r = 1 r = 1 to r = 10 r = 10 r = 10 , as shown in Table 4 . The CPU time increases steadily with r r r for all three boundary condi-
Table 3. CPU time (excluding the initial step) for the proposed Sylvester solver as the number of elements N ( = M ) N(=M) N ( = M ) increases, with fixed rank r = 2 r=2 r = 2 .
Table 4. CPU time (excluding the initial step) and observed computational scaling with respect to the rank r r r for M = N = 320 M=N=320 M = N = 320 using P 1 P_1 P 1 finite elements.
tions. For example, for the Dirichlet case, the CPU time increases from 76.53 seconds at r = 1 r=1 r = 1 to 204.42 seconds at r = 10 r=10 r = 10 , while the corresponding increase is from 72.39 to 200.87 seconds for the Neumann case. The periodic case requires additional computational work due to the low-rank correction in Algorithm 4.2, resulting in consistently higher CPU time. The observed scaling rates with respect to r r r remain below the quadratic rate associated with the O ( ( m + n ) r 2 ) O((m+n)r^2) O (( m + n ) r 2 ) complexity. This is consistent with the overall complexity of the proposed solver, which also contains lower-order terms in r r r and rank-independent operations. Consequently, the measured CPU time grows more slowly than quadratically over the tested range of r r r .
Example 5.4. Following [2 ] , we assess the accuracy, computational efficiency, and rank adaptivity of the augmented BUG integrator Algorithm B.1 for a stiff, forced heat equation on the two-dimensional torus Ω = [ − π , π ) \Omega=[-\pi,\pi) Ω = [ − π , π ) :
∂ t u ( x , y , t ) = 1 2 ( ∂ x x u ( x , y , t ) + ∂ y y u ( x , y , t ) ) + g ( x , y ) , (76) \partial_{t}u(x,y,t)=\frac{1}{2}\left(\partial_{xx}u(x,y,t)+\partial_{yy}u(x,y,t)\right)+g(x,y), \tag*{(76)} ∂ t u ( x , y , t ) = 2 1 ( ∂ xx u ( x , y , t ) + ∂ y y u ( x , y , t ) ) + g ( x , y ) , (76) subject to periodic boundary conditions in both spatial directions. The time-
independent forcing term and the initial condition are, respectively, given by
g ( x , y ) = ∑ j = 1 11 10 − ( j − 1 ) exp ( − j ( x 2 + y 2 ) ) (77) g(x,y) = \sum_{j=1}^{11} 10^{-(j-1)}\exp\left(-j\left(x^2+y^2\right)\right) \tag*{(77)} g ( x , y ) = j = 1 ∑ 11 1 0 − ( j − 1 ) exp ( − j ( x 2 + y 2 ) ) (77)
and
u ( x , y , 0 ) = sin ( x ) sin ( y ) . (78) u(x,y,0) = \sin(x)\sin(y). \tag*{(78)} u ( x , y , 0 ) = sin ( x ) sin ( y ) . (78)
We first examine spatial convergence. We fix the time step at Δ t = 10 − 5 \Delta t = 10^{-5} Δ t = 1 0 − 5 and set the initial rank to r 0 = 10 r^0 = 10 r 0 = 10 . For polynomial degrees k = 1 , 2 , 3 k = 1, 2, 3 k = 1 , 2 , 3 , we refine the spatial mesh and measure the L 2 ( Ω ) L^2(\Omega) L 2 ( Ω ) error at T = 1 T = 1 T = 1 . Since the exact solution is unavailable, we use the FR-MLFEM solution on a fine mesh with N = 160 N = 160 N = 160 as the reference solution. The results are presented in Figure 3 . Both FR-MLFEM and augmented BUG-MLFEM (ABUG-MLFEM) exhibit the optimal spatial convergence rate k + 1 k + 1 k + 1 . Moreover, their error curves are nearly indistinguishable, suggesting that the low-rank approximation introduces no discernible error beyond that associated with spatial discretization.
Figure 3. Spatial convergence at T = 1 T = 1 T = 1 for polynomial degrees k = 1 , 2 , 3 k = 1, 2, 3 k = 1 , 2 , 3 , with Δ t = 10 − 5 \Delta t = 10^{-5} Δ t = 1 0 − 5 and initial rank r 0 = 10 r^0 = 10 r 0 = 10 . Left: FR-MLFEM; right: ABUG-MLFEM.
We next compare the computational costs of the two methods using the approaches described in Subsection 4.4. All runs employ P 2 \mathbb{P}^2 P 2 finite elements, Δ t = 10 − 5 \Delta t = 10^{-5} Δ t = 1 0 − 5 , and final time T = 1 T = 1 T = 1 . The measured CPU times and the speedups relative to Approach I are reported in Table 5 . Approach III is the most efficient of the three approaches at every mesh resolution. Its speedup increases from 2.67 × 2.67\times 2.67 × for N = 40 N = 40 N = 40 to 15.63 × 15.63\times 15.63 × for N = 80 N = 80 N = 80 and 38.09 × 38.09\times 38.09 × for N = 160 N = 160 N = 160 . In particular, for N = 160 N = 160 N = 160 , the CPU time decreases from 24294.81 seconds for Approach I to 637.83 seconds for Approach III. By comparison, Approach II yields only modest speedups, ranging from 1.02 × 1.02\times 1.02 × to 1.09 × 1.09\times 1.09 × . These results demonstrate the substantial computational advantage of Approach III for this stiff test problem, with the advantage becoming more pronounced as the mesh is refined.
Table 5. CPU times and speedups for the stiff heat equation (76) with periodic boundary conditions, using P 2 P_2 P 2 finite elements. Speedups are measured relative to Approach I at each mesh resolution.
We then investigate temporal convergence. We fix N = 80 N = 80 N = 80 , k = 2 k = 2 k = 2 , and r 0 = 10 r^0 = 10 r 0 = 10 , and successively halve the time step from Δ t = 10 − 2 \Delta t = 10^{-2} Δ t = 1 0 − 2 to Δ t = 6.25 × 10 − 4 \Delta t = 6.25 \times10^{-4} Δ t = 6.25 × 1 0 − 4 . The L 2 ( Ω ) L^2(\Omega) L 2 ( Ω ) error is evaluated at T = 1 T = 1 T = 1 . As shown in the left panel of Figure 4 , both FR-MLFEM and ABUG-MLFEM exhibit first-order convergence in time. Their errors are nearly identical for all tested time steps, indicating that the augmented BUG integrator preserves the temporal accuracy of the underlying time discretization in these experiments.
Figure 4. Stiff heat equation ( 5.4 ) (5.4) ( 5.4 ) . Left: temporal convergence at T = 1 T=1 T = 1 for FR-MLFEM and ABUG-MLFEM, with N = 80 N=80 N = 80 , k = 2 k=2 k = 2 , and r 0 = 10 r^{0}=10 r 0 = 10 . Right: rank evolution of ABUG-MLFEM up to T = 2.5 T=2.5 T = 2.5 for k = 1 , 2 , 3 k=1,2,3 k = 1 , 2 , 3 , with Δ t = 10 − 2 \Delta t=10^{-2} Δ t = 1 0 − 2 and truncation tolerance ϑ = 10 − 12 \vartheta=10^{-12} ϑ = 1 0 − 12 .
Finally, we examine the rank evolution of ABUG-MLFEM for polynomial degrees k = 1 , 2 , 3 k = 1, 2, 3 k = 1 , 2 , 3 up to T = 2.5 T = 2.5 T = 2.5 , using Δ t = 10 − 2 \Delta t = 10^{-2} Δ t = 1 0 − 2 and truncation tolerance ϑ = 10 − 12 \vartheta= 10^{-12} ϑ = 1 0 − 12 . The rank histories are shown in the right panel of Figure 4 . Each term in (77) is separable, since exp ( − j ( x 2 + y 2 ) ) = exp ( − j x 2 ) exp ( − j y 2 ) \exp(-j(x^2+y^2)) = \exp(-jx^2)\exp(-jy^2) exp ( − j ( x 2 + y 2 )) = exp ( − j x 2 ) exp ( − j y 2 ) . Consequently, the forcing term has separation rank at most 11. The geometrically decreasing coefficients 10 − ( j − 1 ) 10^{-(j-1)} 1 0 − ( j − 1 ) produce modes of progressively smaller amplitude. As these modes contribute to the evolving solution, the adaptive integrator increases the rank in discrete steps, from 8 to 9 and then to 10. The rank subsequently remains at 10 over the simulated interval, with the remaining modes not retained under the prescribed truncation tolerance. The rank histories are similar for all three polynomial degrees, although the times at which the rank increases differ: the P 2 P^2 P 2 computation reaches rank 10 at approximately t = 0.2 t = 0.2 t = 0.2 , whereas the P 1 P^1 P 1 and P 3 P^3 P 3 computations reach this rank at approximately t = 0.6 t = 0.6 t = 0.6 . This behavior suggests that the adaptive rank is primarily determined by the effective low-rank structure of the evolving solution, while the spatial discretization can affect the timing of rank enrichment.
Conclusions
We have presented a BUG-MLFEM coupled with fast, non-iterative Sylvester solvers for two-dimensional reaction-diffusion equations. Under the WDLRA framework, the scheme guarantees discrete well-posedness and mass-lumped L 2 L^2 L 2 -stability while maintaining optimal O ( h k + 1 + Δ t ) O(h^{k+1} + \Delta t) O ( h k + 1 + Δ t ) convergence across Dirichlet, Neumann, and periodic BCs. By exploiting the sparse-by-small structure of the intermediate K K K - and L L L -steps, our tailored solvers reduce the per-step computational cost to O ( ( m + n ) r 2 ) O((m+n)r^2) O (( m + n ) r 2 ) and storage to O ( ( m + n ) r ) O((m+n)r) O (( m + n ) r ) . Numerical benchmarks confirm up to an 81× speedup over full-rank and conventional low-rank approaches on mesh grid N = 160 N = 160 N = 160 , with performance gains becoming increasingly pronounced on refined meshes. Furthermore, the incorporation of the augmented BUG integrator confirms the superior robustness and adaptability of the proposed methodology.
The proposed low-cost non-iterative solvers can also be applied, either directly or with slight modifications, to the Sylvester equations arising from the BUG formulation of matrix ODEs obtained from finite difference discretizations. Potential extensions of this work include error analysis, time-dependent diffusion coefficients, additional advection terms, three-dimensional problems, high-order time discretizations [10 ] , and general finite element methods without mass lumping, all of which will be pursued in future research.
Appendix A. GSVD
We first construct the initial coefficient matrix W 0 W^{0} W 0 , and then obtain the initial matrices U 0 U^{0} U 0 , S 0 S^{0} S 0 , and V 0 V^{0} V 0 by applying the generalized singular value decomposition (GSVD) to W 0 W^{0} W 0 .
We represent the discrete initial data as
w h ( x , y , 0 ) = Φ T ( x ) W 0 Ψ ( y ) , W 0 ∈ R m × n . w_h(x,y,0)=\Phi^{\mathsf{T}}(x)W^{0}\Psi(y), \qquad W^{0}\in\mathbb{R}^{m\times n}. w h ( x , y , 0 ) = Φ T ( x ) W 0 Ψ ( y ) , W 0 ∈ R m × n .
To determine W 0 W^{0} W 0 , we test the initial condition against
z h = Φ T e i ( e j ′ ) T Ψ , i = 1 , … , m , j = 1 , … , n , z_h=\Phi^{\mathsf{T}}e_i(e'_j)^{\mathsf{T}}\Psi, \qquad i=1,\ldots,m,\quad j=1,\ldots,n, z h = Φ T e i ( e j ′ ) T Ψ , i = 1 , … , m , j = 1 , … , n ,
where e i ∈ R m e_i\in\mathbb{R}^{m} e i ∈ R m and e j ′ ∈ R n e'_j\in\mathbb{R}^{n} e j ′ ∈ R n are the canonical basis vectors. Using the mass-lumped inner product, we have
( w h ( x , y , 0 ) , z h ) h = ( w 0 , z h ) h . (w_h(x,y,0),z_h)_h=(w_0,z_h)_h. ( w h ( x , y , 0 ) , z h ) h = ( w 0 , z h ) h .
Together with (2.3), (2.10), and Lemma 2.1, this relation gives
W i j 0 = w 0 ( x i , y j ) , i = 1 , … , m , j = 1 , … , n . W^{0}_{ij}=w_0(x_i,y_j), \qquad i=1,\ldots,m,\quad j=1,\ldots,n. W ij 0 = w 0 ( x i , y j ) , i = 1 , … , m , j = 1 , … , n .
Given W 0 ∈ R m × n W^{0}\in\mathbb{R}^{m\times n} W 0 ∈ R m × n and diagonal positive-definite mass matrices M x ∈ R m × m M_x\in\mathbb{R}^{m\times m} M x ∈ R m × m and M y ∈ R n × n M_y\in\mathbb{R}^{n\times n} M y ∈ R n × n , we seek a rank-r r r factorization
W 0 ≈ U 0 S 0 ( V 0 ) T , W^{0}\approx U^{0}S^{0}(V^{0})^{\mathsf{T}}, W 0 ≈ U 0 S 0 ( V 0 ) T ,
where the bases U 0 U^{0} U 0 and V 0 V^{0} V 0 satisfy
( U 0 ) T M x U 0 = I r , ( V 0 ) T M y V 0 = I r . (U^{0})^{\mathsf{T}}M_xU^{0}=I_r,\qquad(V^{0})^{\mathsf{T}}M_yV^{0}=I_r. ( U 0 ) T M x U 0 = I r , ( V 0 ) T M y V 0 = I r .
Since M x M_x M x and M y M_y M y are diagonal and positive definite, their square roots and inverse square roots exist and are diagonal. We therefore introduce the weighted transformation
W ~ = M x 1 / 2 W 0 M y 1 / 2 . (79) \widetilde{W}=M_x^{1/2}W^{0}M_y^{1/2}. \tag*{(79)} W = M x 1/2 W 0 M y 1/2 . (79)
Applying the standard truncated SVD to W ~ \widetilde{W} W gives
W ~ ≈ U ^ r Σ ^ r V ^ r T , (80) \widetilde{W}\approx\widehat{U}_r\widehat{\Sigma}_r\widehat{V}_r^{\mathsf{T}}, \tag*{(80)} W ≈ U r Σ r V r T , (80)
where U ^ r T U ^ r = V ^ r T V ^ r = I r \widehat{U}_r^{\mathsf{T}}\widehat{U}_r=\widehat{V}_r^{\mathsf{T}}\widehat{V}_r=I_r U r T U r = V r T V r = I r . Transforming the factors back yields
U 0 = M x − 1 / 2 U ^ r , V 0 = M y − 1 / 2 V ^ r , S 0 = Σ ^ r . (81) U^{0}=M_x^{-1/2}\widehat{U}_r,\qquad V^{0}=M_y^{-1/2}\widehat{V}_r,\qquad S^{0}=\widehat{\Sigma}_r. \tag*{(81)} U 0 = M x − 1/2 U r , V 0 = M y − 1/2 V r , S 0 = Σ r . (81)
Indeed, the bases satisfy
( U 0 ) T M x U 0 = U ^ r T U ^ r = I r , ( V 0 ) T M y V 0 = V ^ r T V ^ r = I r . (U^{0})^{\mathsf{T}}M_xU^{0}=\widehat{U}_r^{\mathsf{T}}\widehat{U}_r=I_r,\qquad(V^{0})^{\mathsf{T}}M_yV^{0}=\widehat{V}_r^{\mathsf{T}}\widehat{V}_r=I_r. ( U 0 ) T M x U 0 = U r T U r = I r , ( V 0 ) T M y V 0 = V r T V r = I r .
Moreover,
U 0 S 0 ( V 0 ) T = M x − 1 / 2 U ^ r Σ ^ r V ^ r T M y − 1 / 2 , U^{0}S^{0}(V^{0})^{\mathsf{T}}=M_x^{-1/2}\widehat{U}_r\widehat{\Sigma}_r\widehat{V}_r^{\mathsf{T}}M_y^{-1/2}, U 0 S 0 ( V 0 ) T = M x − 1/2 U r Σ r V r T M y − 1/2 ,
which provides the desired weighted rank-r r r approximation of W 0 W^{0} W 0 . The implementation is given in Algorithm A.1.
Algorithm A.1 GSVD.
Inputs: Matrix W 0 ∈ R m × n W^{0}\in\mathbb{R}^{m\times n} W 0 ∈ R m × n ; diagonal positive-definite mass matrices M x ∈ R m × m M_x\in\mathbb{R}^{m\times m} M x ∈ R m × m and M y ∈ R n × n M_y\in\mathbb{R}^{n\times n} M y ∈ R n × n ; rank r r r .
Outputs: U 0 ∈ R m × r U^{0}\in\mathbb{R}^{m\times r} U 0 ∈ R m × r , S 0 ∈ R r × r S^{0}\in\mathbb{R}^{r\times r} S 0 ∈ R r × r , V 0 ∈ R n × r V^{0}\in\mathbb{R}^{n\times r} V 0 ∈ R n × r such that W 0 ≈ U 0 S 0 ( V 0 ) T W^{0}\approx U^{0}S^{0}(V^{0})^{\mathsf{T}} W 0 ≈ U 0 S 0 ( V 0 ) T , ( U 0 ) T M x U 0 = I r (U^{0})^{\mathsf{T}}M_xU^{0}=I_r ( U 0 ) T M x U 0 = I r , and ( V 0 ) T M y V 0 = I r (V^{0})^{\mathsf{T}}M_yV^{0}=I_r ( V 0 ) T M y V 0 = I r .
Form M x 1 / 2 M_x^{1/2} M x 1/2 and M y 1 / 2 M_y^{1/2} M y 1/2 . ▹ \triangleright ▹ elementwise
W ~ = M x 1 / 2 W 0 M y 1 / 2 \widetilde{W}=M_x^{1/2}W^{0}M_y^{1/2} W = M x 1/2 W 0 M y 1/2 .
( U ^ r , S 0 , V ^ r T ) = truncatedSVD ( W ~ , r ) (\widehat{U}_r,S^{0},\widehat{V}_r^{\mathsf{T}})=\operatorname{truncatedSVD}(\widetilde{W},r) ( U r , S 0 , V r T ) = truncatedSVD ( W , r ) .
U 0 = M x − 1 / 2 U ^ r , V 0 = M y − 1 / 2 V ^ r U^{0}=M_x^{-1/2}\widehat{U}_r,\quad V^{0}=M_y^{-1/2}\widehat{V}_r U 0 = M x − 1/2 U r , V 0 = M y − 1/2 V r . ▹ \triangleright ▹ elementwise scaling
return U 0 , S 0 , V 0 U^{0},S^{0},V^{0} U 0 , S 0 , V 0
Appendix B. Augmented BUG integrator
We extend Algorithm 3.1 by incorporating the augmented BUG integrator [3 ] , yielding the augmented BUG-MLFEM (ABUG-MLFEM). The resulting algorithm is presented in Algorithm B.1.
Acknowledgments. This research was supported by the University of Texas at El Paso Startup Award.
Algorithm B.1 One-step augmented BUG integrator (ABUG-MLFEM).
Inputs: U n ∈ R m × r n U^n \in\mathbb{R}^{m \times r^n} U n ∈ R m × r n , S n ∈ R r n × r n S^n \in\mathbb{R}^{r^n \times r^n} S n ∈ R r n × r n , V n ∈ R n × r n V^n \in\mathbb{R}^{n \times r^n} V n ∈ R n × r n , Δ t \Delta t Δ t , M x M_x M x , M y M_y M y , tolerance ϑ \vartheta ϑ .
Outputs: U n + 1 U^{n+1} U n + 1 , S n + 1 S^{n+1} S n + 1 , V n + 1 V^{n+1} V n + 1 of rank r n + 1 r^{n+1} r n + 1
// Step 1: Augment U n → U ^ ∈ R m × r ^ U^n \to\widehat{U} \in\mathbb{R}^{m \times\widehat{r}} U n → U ∈ R m × r and V n → V ^ ∈ R n × r ^ V^n \to\widehat{V} \in\mathbb{R}^{n \times\widehat{r}} V n → V ∈ R n × r , r ^ ≤ 2 r n \widehat{r} \le2r^n r ≤ 2 r n , in parallel:
1: K K K -step: Fix V n V^n V n , and solve K n + 1 ∈ R m × r n K^{n+1} \in\mathbb{R}^{m \times r^n} K n + 1 ∈ R m × r n from
D t K n + 1 = L ( K n + 1 ( V n ) T ) M y V n , K n = U n S n . (82) D_t K^{n+1} = \mathcal{L}\left(K^{n+1}(V^n)^{\mathsf{T}}\right)M_yV^n,\qquad K^n = U^nS^n. \tag*{(82)} D t K n + 1 = L ( K n + 1 ( V n ) T ) M y V n , K n = U n S n . (82) 2: Compute [ U ^ , R K ] = GQR ( [ U n , K n + 1 ] , M x ) [\widehat{U},R_K] = \operatorname{GQR}([U^n,K^{n+1}],M_x) [ U , R K ] = GQR ([ U n , K n + 1 ] , M x ) .
3: Compute the r ^ × r n \widehat{r} \times r^n r × r n matrix M ^ = U ^ T M x U n \widehat{M} = \widehat{U}^{\mathsf{T}}M_xU^n M = U T M x U n .
4: L L L -step: Fix U n U^n U n , and solve L n + 1 ∈ R n × r n L^{n+1} \in\mathbb{R}^{n \times r^n} L n + 1 ∈ R n × r n from
D t L n + 1 = L ( U n ( L n + 1 ) T ) T M x U n , L n = V n ( S n ) T . (83) D_tL^{n+1} = \mathcal{L}\left(U^n(L^{n+1})^{\mathsf{T}}\right)^{\mathsf{T}}M_xU^n,\qquad L^n = V^n(S^n)^{\mathsf{T}}. \tag*{(83)} D t L n + 1 = L ( U n ( L n + 1 ) T ) T M x U n , L n = V n ( S n ) T . (83) 5: Compute [ V ^ , R L ] = GQR ( [ V n , L n + 1 ] , M y ) [\widehat{V},R_L] = \operatorname{GQR}([V^n,L^{n+1}],M_y) [ V , R L ] = GQR ([ V n , L n + 1 ] , M y ) .
6: Compute the r ^ × r n \widehat{r} \times r^n r × r n matrix N ^ = V ^ T M y V n \widehat{N} = \widehat{V}^{\mathsf{T}}M_yV^n N = V T M y V n .
// Step 2: Galerkin update S n → S ^ n + 1 ∈ R r ^ × r ^ S^n \to\widehat{S}^{n+1} \in\mathbb{R}^{\widehat{r} \times\widehat{r}} S n → S n + 1 ∈ R r × r in the augmented space:
7: S S S -step: Compute the projected initial matrix S ^ n , ∗ = M ^ S n N ^ T ∈ R r ^ × r ^ \widehat{S}^{n,*} = \widehat{M}S^n\widehat{N}^{\mathsf{T}} \in\mathbb{R}^{\widehat{r} \times\widehat{r}} S n , ∗ = M S n N T ∈ R r × r .
8: Solve S ^ n + 1 ∈ R r ^ × r ^ \widehat{S}^{n+1} \in\mathbb{R}^{\widehat{r} \times\widehat{r}} S n + 1 ∈ R r × r from
S ^ n + 1 − S ^ n , ∗ Δ t = U ^ T M x L ( U ^ S ^ n + 1 V ^ T ) M y V ^ . (84) \frac{\widehat{S}^{n+1}-\widehat{S}^{n,*}}{\Delta t}
=
\widehat{U}^{\mathsf{T}}M_x\mathcal{L}\left(\widehat{U}\widehat{S}^{n+1}\widehat{V}^{\mathsf{T}}\right)M_y\widehat{V}. \tag*{(84)} Δ t S n + 1 − S n , ∗ = U T M x L ( U S n + 1 V T ) M y V . (84) // Step 3: Truncate U ^ S ^ n + 1 V ^ T \widehat{U}\widehat{S}^{n+1}\widehat{V}^{\mathsf{T}} U S n + 1 V T to rank r n + 1 ≤ r ^ r^{n+1} \le\widehat{r} r n + 1 ≤ r with tolerance ϑ \vartheta ϑ :
9: Compute the SVD
S ^ n + 1 = P Σ Q T , Σ = diag ( σ 1 , … , σ r ^ ) , σ 1 ≥ ⋯ ≥ σ r ^ ≥ 0. (85) \widehat{S}^{n+1}=P\Sigma Q^{\mathsf{T}},\qquad\Sigma=\operatorname{diag}(\sigma_1,\ldots,\sigma_{\widehat{r}}),\qquad\sigma_1\ge\cdots\ge\sigma_{\widehat{r}}\ge0. \tag*{(85)} S n + 1 = P Σ Q T , Σ = diag ( σ 1 , … , σ r ) , σ 1 ≥ ⋯ ≥ σ r ≥ 0. (85) 10: Determine the smallest r n + 1 ≤ r ^ r^{n+1}\le\widehat{r} r n + 1 ≤ r satisfying
( ∑ j = r n + 1 + 1 r ^ σ j 2 ) 1 / 2 ≤ ϑ . \left(\sum_{j=r^{n+1}+1}^{\widehat{r}}\sigma_j^2\right)^{1/2}\le\vartheta. j = r n + 1 + 1 ∑ r σ j 2 1/2 ≤ ϑ . 11: Set U n + 1 = U ^ P : , 1 : r n + 1 U^{n+1}=\widehat{U}P_{:,1:r^{n+1}} U n + 1 = U P : , 1 : r n + 1 , S n + 1 = diag ( σ 1 , … , σ r n + 1 ) S^{n+1}=\operatorname{diag}(\sigma_1,\ldots,\sigma_{r^{n+1}}) S n + 1 = diag ( σ 1 , … , σ r n + 1 ) , V n + 1 = V ^ Q : , 1 : r n + 1 V^{n+1}=\widehat{V}Q_{:,1:r^{n+1}} V n + 1 = V Q : , 1 : r n + 1 .