In mathematics, the Kronecker sum of discrete Laplacians, named after
Leopold Kronecker
Leopold Kronecker (; 7 December 1823 – 29 December 1891) was a German mathematician who worked on number theory, abstract algebra and logic, and criticized Georg Cantor's work on set theory. Heinrich Weber quoted Kronecker
as having said, ...
, is a discrete version of the
separation of variables
In mathematics, separation of variables (also known as the Fourier method) is any of several methods for solving ordinary differential equation, ordinary and partial differential equations, in which algebra allows one to rewrite an equation so tha ...
for the continuous
Laplacian
In mathematics, the Laplace operator or Laplacian is a differential operator given by the divergence of the gradient of a scalar function on Euclidean space. It is usually denoted by the symbols \nabla\cdot\nabla, \nabla^2 (where \nabla is th ...
in a
rectangular cuboid
A rectangular cuboid is a special case of a cuboid with rectangular faces in which all of its dihedral angles are right angles. This shape is also called rectangular parallelepiped or orthogonal parallelepiped.
Many writers just call these ...
domain.
General form of the Kronecker sum of discrete Laplacians
In a general situation of the
separation of variables
In mathematics, separation of variables (also known as the Fourier method) is any of several methods for solving ordinary differential equation, ordinary and partial differential equations, in which algebra allows one to rewrite an equation so tha ...
in the discrete case, the multidimensional
discrete Laplacian is a
Kronecker sum of 1D discrete Laplacians.
Example: 2D discrete Laplacian on a regular grid with the homogeneous Dirichlet boundary condition
Mathematically, using the
Kronecker sum:
:
where
and
are 1D discrete Laplacians in the ''x''- and ''y''-directions, correspondingly, and
are the identities of appropriate sizes. Both
and
must correspond to the case of the homogeneous
Dirichlet boundary condition at end points of the ''x''- and ''y''-intervals, in order to generate the 2D discrete Laplacian ''L'' corresponding to the homogeneous
Dirichlet boundary condition everywhere on the boundary of the rectangular domain.
Here is a sample
OCTAVE
In music, an octave (: eighth) or perfect octave (sometimes called the diapason) is an interval between two notes, one having twice the frequency of vibration of the other. The octave relationship is a natural phenomenon that has been referr ...
/
MATLAB
MATLAB (an abbreviation of "MATrix LABoratory") is a proprietary multi-paradigm programming language and numeric computing environment developed by MathWorks. MATLAB allows matrix manipulations, plotting of functions and data, implementat ...
code to compute ''L'' on the regular 10×15 2D grid:
nx = 10; % number of grid points in the x-direction;
ny = 15; % number of grid points in the y-direction;
ex = ones(nx,1);
Dxx = spdiags( x -2*ex ex 1 0 1 nx, nx); %1D discrete Laplacian in the x-direction ;
ey = ones(ny,1);
Dyy = spdiags( y, -2*ey ey 1 0 1 ny, ny); %1D discrete Laplacian in the y-direction ;
L = kron(Dyy, speye(nx)) + kron(speye(ny), Dxx) ;
Eigenvalues and eigenvectors of multidimensional discrete Laplacian on a regular grid
Knowing all
eigenvalue
In linear algebra, an eigenvector ( ) or characteristic vector is a vector that has its direction unchanged (or reversed) by a given linear transformation. More precisely, an eigenvector \mathbf v of a linear transformation T is scaled by a ...
s and
eigenvector
In linear algebra, an eigenvector ( ) or characteristic vector is a vector that has its direction unchanged (or reversed) by a given linear transformation. More precisely, an eigenvector \mathbf v of a linear transformation T is scaled by ...
s of the factors, all
eigenvalue
In linear algebra, an eigenvector ( ) or characteristic vector is a vector that has its direction unchanged (or reversed) by a given linear transformation. More precisely, an eigenvector \mathbf v of a linear transformation T is scaled by a ...
s and
eigenvector
In linear algebra, an eigenvector ( ) or characteristic vector is a vector that has its direction unchanged (or reversed) by a given linear transformation. More precisely, an eigenvector \mathbf v of a linear transformation T is scaled by ...
s of the
Kronecker product can be
explicitly calculated. Based on this,
eigenvalue
In linear algebra, an eigenvector ( ) or characteristic vector is a vector that has its direction unchanged (or reversed) by a given linear transformation. More precisely, an eigenvector \mathbf v of a linear transformation T is scaled by a ...
s and
eigenvector
In linear algebra, an eigenvector ( ) or characteristic vector is a vector that has its direction unchanged (or reversed) by a given linear transformation. More precisely, an eigenvector \mathbf v of a linear transformation T is scaled by ...
s of the
Kronecker sum
can also be explicitly calculated.
The
eigenvalue
In linear algebra, an eigenvector ( ) or characteristic vector is a vector that has its direction unchanged (or reversed) by a given linear transformation. More precisely, an eigenvector \mathbf v of a linear transformation T is scaled by a ...
s and
eigenvector
In linear algebra, an eigenvector ( ) or characteristic vector is a vector that has its direction unchanged (or reversed) by a given linear transformation. More precisely, an eigenvector \mathbf v of a linear transformation T is scaled by ...
s of the standard
central difference approximation of the second derivative on an interval for traditional combinations of boundary conditions at the interval end points are
well known. Combining these expressions with the formulas of
eigenvalue
In linear algebra, an eigenvector ( ) or characteristic vector is a vector that has its direction unchanged (or reversed) by a given linear transformation. More precisely, an eigenvector \mathbf v of a linear transformation T is scaled by a ...
s and
eigenvector
In linear algebra, an eigenvector ( ) or characteristic vector is a vector that has its direction unchanged (or reversed) by a given linear transformation. More precisely, an eigenvector \mathbf v of a linear transformation T is scaled by ...
s for the
Kronecker sum, one can easily obtain the required answer.
Example: 3D discrete Laplacian on a regular grid with the homogeneous Dirichlet boundary condition
:
where
and
are 1D discrete Laplacians in every of the 3 directions, and
are the identities of appropriate sizes. Each 1D discrete Laplacian must correspond to the case of the homogeneous
Dirichlet boundary condition, in order to generate the 3D discrete Laplacian ''L'' corresponding to the homogeneous
Dirichlet boundary condition everywhere on the boundary. The eigenvalues are
:
where
, and the corresponding eigenvectors are
:
where the multi-index
pairs the eigenvalues and the eigenvectors, while the multi-index
determines the location of the value of every eigenvector at the
regular grid
A regular grid is a tessellation of ''n''-dimensional Euclidean space by Congruence_(geometry), congruent parallelepiped#Parallelotope, parallelotopes (e.g. bricks). Its opposite is Unstructured grid, irregular grid.
Grids of this type appear on ...
. The boundary points, where
the homogeneous
Dirichlet boundary condition are imposed, are just outside the grid.
Available software
An
OCTAVE
In music, an octave (: eighth) or perfect octave (sometimes called the diapason) is an interval between two notes, one having twice the frequency of vibration of the other. The octave relationship is a natural phenomenon that has been referr ...
/
MATLAB
MATLAB (an abbreviation of "MATrix LABoratory") is a proprietary multi-paradigm programming language and numeric computing environment developed by MathWorks. MATLAB allows matrix manipulations, plotting of functions and data, implementat ...
code http://www.mathworks.com/matlabcentral/fileexchange/27279-laplacian-in-1d-2d-or-3d is available under a
BSD License, which computes the
sparse matrix of the 1, 2D, and 3D negative Laplacians on a rectangular grid for combinations of Dirichlet, Neumann, and
Periodic boundary conditions using
Kronecker sums of discrete 1D Laplacians. The code also provides the exact
eigenvalue
In linear algebra, an eigenvector ( ) or characteristic vector is a vector that has its direction unchanged (or reversed) by a given linear transformation. More precisely, an eigenvector \mathbf v of a linear transformation T is scaled by a ...
s and
eigenvector
In linear algebra, an eigenvector ( ) or characteristic vector is a vector that has its direction unchanged (or reversed) by a given linear transformation. More precisely, an eigenvector \mathbf v of a linear transformation T is scaled by ...
s using the explicit formulas given above.
Operator theory
Matrix theory
Numerical differential equations
Finite differences
Articles with example MATLAB/Octave code