Professional Documents
Culture Documents
Schrodinger Equation and Finite Difference
Schrodinger Equation and Finite Difference
Schrdinger Equation
h2 2
v
E =
+ U (r )
2m
h 2 2
v
(
)
E =
+
U
r
2m x 2
Time independent
( x, t ) = Ae iEt / h e ikx
There is analytical solution for particle in box condition but if we make another type of potential
function how should solve Schrdinger Equation? Numerical Solution.
Generally U(x) is a
complicated
function
and analytical solutions
are not achievable.
Then, we have to rely in
numerical solutions.
Finite Difference
Method
The approach to solve numerically is transforming differential equation to matrix equation.
How can we describe a function as a vector? We set up a lattice of discrete points and record the
value of the function at each lattice point.
point. Figure shows the discrete points. As it can be seen
corresponding to each lattice point there is a value for the wave function. This can also be viewed as
sampling of a continuous function into discrete values. Remember that in order to be able to
perform
form a numerical method we have to a have a finite number of equations so that we can solve
them.
First create a lattice for the 1-D
D problem:
Then,
(x)
becomes
ecomes
a
column vector
telling the value
of
at
different points.
1
2
2
2
h
v
Then: E =
+ U (r ) E M =
2
2 m x
N
H
NN
2
M
N
( x1 )
( x )
2
( x3 )
( x) M
( xn )
M
( x )
N
eigenvectors:
[V , D ] = eig ( H )
U=0
x =0
x=L
h2 d 2
h2 d 2
E =
+ U ( x) First try writing the matrix for U(x) and then the matrix for
2m dx 2
2m dx 2
14
442444
3
Hamiltonian
1
2
E M =
H = U ( x)
0
L L L
0
U ( x1 )
0
1
U ( x2 ) 0 L L
M
2
M
0
O
M
M and U ( x) =
M
M
O
M
M
M
O
0
L L L 0 U ( x N )
0
Then
h 2 d 2
2m dx 2
At each particular point the Schrdinger equation (after dropping U) can be written as:
En =
h2 d 2
2m dx 2 n
d
n
n1
d
d
= n +1
and
= n
dx
a
a
n +1 2
dx n 1 2
d
d
d 2
d 2
dx n +1 2 dx n 1 2
n +1 2 n + n 1
=
2
2 =
a
a2
dx n
dx n
En = t 0 [2 n n 1 n +1 ] and
t0
h2
2ma 2
2
M
0 1 O O 0 0 M
E = t0
n
0 0 O O O 0 n
M
0 0 0 O O 1 M
0 0 0 0 1 2 N
N
Tri diagonal Matrix
If wed want to also include the potential to the matrix we can add its corresponding values to the
diagonal elements: En = U ( xn ) t 0 (n1 2n + n +1 )
t0
0
0
0
1 2t0 + U (x1 )
t
2t0 + U ( x2 ) t 0 0
0
0
2
M
0
t0
O O 0
E =
0
0
O O O
n
M
0
0
0 O O
0
0
0
0 t0
N
1
2
M
0
0
n
M
t0
2t 0 + U (x N ) N
0
0
Boundary Conditions
What do we do when we get near a boundary?
E 1 = (-t0 0)+ (2t0 + U1) 1- t0 2
Dropping the two terms is equivalent to setting the wavefunction to 0 at the two ends: 0 = 0 and
n+1 = 0. This would be appropriate for
f the particle in a box. Problem
roblem where the wavefunction
wavefun
is not
allowed to penetrate outside the box.
For periodic boundary conditions, such as a particle on a ring, we let 0 = N and N+1 = 1. This is
easy to solve mathematically and due to that is used widely. Its real application is Carbon Nanotube.
Unlike the infinite-wall
wall scenario, periodic boundary conditions have
have a slightly different Hamiltonian
matrix:
t0
2t0 + U ( x1 )
2t 0 + U (x2 )
t0
M
M
0 N [ ] =
M
M
M
M
t0
L
L L
L L
L
L
O
O
O
L L t0
t0
M
t0
2t 0 + U (x N )