Appunti
Appunti
Appunti
1 Legendre Equation 2
1.1 Generalized Legendre equation . . . . . . . . . . . . . . . . . . . 2
1.2 Even Numbered Coefficients, l Even . . . . . . . . . . . . . . . . 2
2 Statistics 5
2.1 Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.2 Maximum Likelihood Estimator . . . . . . . . . . . . . . . . . . 6
2.2.1 Bayes’s Theorem . . . . . . . . . . . . . . . . . . . . . . 6
2.3 Likelihood . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.4 Ordinary Kriging . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.5 DACE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.6 Log Likelihood . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2.6.1 Proof of the eq. (2.49) . . . . . . . . . . . . . . . . . . . 17
2.6.2 First derivative of the Loglikelihood function . . . . . . . 17
2.6.3 Second derivative of the Loglikelihood function . . . . . . 19
2.7 Some Theorems and properties used throughout the derivation . . 25
3 Thermodynamics 26
3.1 Helmholtz Free Energy . . . . . . . . . . . . . . . . . . . . . . . 26
4 Molecular Dynamics 27
4.1 Periodic Boundary Conditions . . . . . . . . . . . . . . . . . . . 27
4.2 Minimum Image Criterion . . . . . . . . . . . . . . . . . . . . . 28
4.3 Potential Truncation and Long-Range Corrections . . . . . . . . . 28
6 System of Coordinates 34
6.1 Spherical Coordinate . . . . . . . . . . . . . . . . . . . . . . . . 34
6.1.1 Laplacian in Spherical coordinate . . . . . . . . . . . . . 34
7 Differential Geometry 40
7.1 Levi-Civita Symbols . . . . . . . . . . . . . . . . . . . . . . . . 40
7.2 Dimension of vector space of tensor . . . . . . . . . . . . . . . . 41
1
Chapter 1
Legendre Equation
m2
!
(1 − x )y − 2xy + λ −
2 00 0
y=0 (1.1)
1 − x2
arises when the equation ∆u = f (ρ)u is solved with separation of variables in
spherical coordinates. The function y(cos θ) describes the polar part of the solution
of ∆u = f (ρ)u.
The Legendre equation
2
CHAPTER 1. LEGENDRE EQUATION 3
l(l + 2 + 1)
c2 = − c0
2
(l − 2)(l + 2 + 1) l(l − 2)(l + 3)(l + 1)
c4 = c2 = − c0
(2 + 2)(2 + 1) 4!
(l − 4)(l + 4 + 1) l(l − 2)(l − 4)(l + 5)(l + 3)(l + 1)
c6 = − c4 = − c0
(4 + 2)(4 + 1) 6!
..
.
l(l − 2) · · · (l − 2(n − 1))(l + 2n + 1)(l + 2n − 3) · · · (l + 1)
c2n = (−1)n − c0
2n!
where we considered k = 2n because k is an even number. From the expanded
coefficient we now derive the closed formula for Legendre Polynomial
l(l − 2) · · · (l − 2(n − 1))(l + 2n + 1)(l + 2n − 3) · · · (l + 1)
c2n = (−1)n − c0
(2n)!
1
l
l(l − 2) · · · (l − 2(n − 1))(l + 2n + 1)(l + 2n − 3) · · · (l + 1) 2 2 2
c2n = (−1)n − 1
c0
(2n)! 2 2 2l !
1
l
(l + 2n − 1)(l + 2n − 3) · · · (l + 1) l(l − 2) · · · (l − 2(n − 1)) 2 2 2 !
= (−1)n − c0
l(l − 2) · · · (l − 2(n − 1)) 2 12 −n l − n !
2n!
2
1
+n 1
(l + 2n − 1)(l + 2n − 3) · · · (l + 1) l(l − 2) · · · (l − 2(n − 1)) l! 2 2
l
2 + n ! 2 2
l
2 !
= (−1)n − c0
l(l − 2) · · · (l − 2(n − 1)) l! 2 12 +n l + n ! 2 12 −n l − n !
2n!
2 2
1 1
l l
(l + 2n) ! 22 2 ! 22 2 !
= (−1)n − c0
(2n) ! l! 2 2 +n l + n ! 2 2 −n l − n !
1
1
2 2
2
l
(l + 2n) ! 2!
= (−1)n − c0 (1.6)
(2n) ! l! l + n l − n
2 2
Therefore
l 2
(l + 2n) ! 2 !
c2n = (−1)n − c0 (1.7)
(2n) ! l! l + n l − n
2 2
Now, for l even, the series terms are non-zero until 2n = l, that is to say that the
in the series the index of the terms assumes all the integeres value betwee 0 and
l/2. Therefore, we can substitute the index 2n with l − 2k, i.e. we are counting the
CHAPTER 1. LEGENDRE EQUATION 4
Molecular Dynamics
• the position of the box boundaries has no effect (that is, a translation of the
box with respect to the particles leaves the forces unchanged)
5
CHAPTER 2. MOLECULAR DYNAMICS 6
Physical quantities are of course affected by the potential truncation. The effects of
truncating a full-ranged potential can be approximately estimated by treating the
system as a uniform (constant density) continuum beyond Rc . For a bulk system
(periodic boundary conditions along each direction), this usually amounts to a con-
stant additive correction. For example, the potential tail (attractive) brings a small
additional contribution to the cohesive energy, and to the total pressure. Trunca-
tion effects are not so easy to estimate for geometries with free surfaces, due to the
lower symmetry, and can be rather large for quantities like surface energy.
Commonly used truncation radii for the Lennard-Jones potential are 2.5 σ and
3.2 σ. It should be mentioned that these truncated Lennard-Jones models are so
popular that they acquired a value on their own as reference models for generic
two-body systems (as also discussed at the end of the previous section). In many
cases, there is no interest in evaluating truncation corrections because the truncated
model itself is the subject of the investigation.
Potentials for metals and semiconductors are usually designed from the start
with a cut-off radius in mind, and go usually to zero at Rc together with their first
two derivatives at least. Such potentials do not therefore contain true van der Waals
forces. Since such forces are much weaker than those associated with metallic or
covalent bonding, this is usually not a serious problem except for geometries with
two or more separate bodies.
Chapter 3
E = {x ∈ X : f (x) = 0} (3.1)
Then ∞
\
∞
\
f (0) = f B 1 (0) = B 1 (0) = E
−1
−1
−1
f (3.3)
n n
n=1 n=1
which is measurable because f is measurable (then inverse of an open set in a
measurable space is measurable) and from 1.6(c)
Proof. From fn ≤ fn+1 we have fn (x) ≤ limn→∞ fn (x) = f (x) for each n. Hence
Z Z
fn dµ ≤ f dµ (3.5)
X X
R R
for each n. Also X fn dµ ≤ X fn+1 dµ and so the sequence of integrals is monotone
R
increasing. That means limn→∞ X fn dµ makes sense in [0, ∞]. We have
Z Z Z
lim fn dµ = sup fn dµ ≤ f dµ (3.6)
n→∞ X n≥1 X X
8
CHAPTER 3. REAL AND COMPLEX ANALYSIS 9
Z ∞ Z
[
csdµ = φ(X) = φ En,c = lim φ(En,c ) ≤ lim
fn dµ (3.9)
X n→∞ n→∞ X
n=1
That gives us Z Z Z
c sdµ = csdµ ≤ lim fn dµ (3.10)
X X n→∞ X
R R
And that is true for each c ∈ (0, 1), it follows that X sdµ ≤ limn→∞ X fn dµ and so
Z Z ! Z
f dµ = sup sdµ : simple measurable s ≤ f ≤ lim fn dµ (3.11)
X X n→∞ X
Proof. Let E = ∪∞ n=1 E n , where the E n can be taken, without loss of generality, to be
pairwise disjoint and µ(En ) < ∞. Then by Theorem 2.14, µ(En ) = sup{µ(K)|K ⊂
En , Kcompact}.
Let > 0 and choose Kn ⊂ En compact so that µ(En ) ≤ µ(Kn ) + 2·2 n . Then
we have µ(E) = ∞ n=1 µ(E n ) ≤ n=1 µ(Kn ) + 2 . (Note that since Kn ⊂ E n , we have
P P∞
Theorem 5. Let C = C[0, 1] be the space of all continuous functions on [0, 1].
Define k f k= max | f (x)|. We want to show that C is a Banach space.
And, we finish up with some hand waving that should not seem arcane to some-
one studying Banach spaces:
From eq. (5.17), it follows that fn converges uniformly to f on [0, 1]. From this,
it follows that f ∈ C[0, 1] (a uniform limit of continuous functions is continuous)
and that fn converges to f in C[0, 1].
One remark
f is indeed continuous: Given x ∈ [0, 1] and > 0, choose m so that || fn −
f ||C[0,1] < 3 for n ≥ m and choose δ > 0 such that | fm (x) − fm (y)|≤ 3 for all y. Then
if |x − y|< δ:
CHAPTER 3. REAL AND COMPLEX ANALYSIS 11
System of Coordinates
x = r sin θ cos φ
y = r sin θ sin φ
z = r sin θ (4.1)
∂ ∂r ∂ ∂θ ∂ ∂φ ∂
! ! ! ! ! !
= + +
∂x ∂x y,z ∂r θ,φ ∂x y,z ∂θ r,φ ∂x y,z ∂φ θ,r
∂ ∂r ∂ ∂θ ∂ ∂φ ∂
! ! ! ! ! !
= + +
∂y ∂y x,z ∂r θ,φ ∂y x,z ∂θ r,φ ∂y x,z ∂φ θ,r
∂ ∂r ∂ ∂θ ∂ ∂φ ∂
! ! ! ! ! !
= + + (4.3)
∂z ∂z x,y ∂r θ,φ ∂z x,y ∂θ r,φ ∂z x,y ∂φ θ,r
12
CHAPTER 4. SYSTEM OF COORDINATES 13
Then, we obtain:
∂φ sin φ
!
=−
∂x y,z r sin θ
∂φ cos φ
!
=
∂y x,z r sin θ
∂φ
!
=0
∂z y,z
+ cos θrsin φ ∂θ
φ i
∂ ∂ ∂
h
∂2 ∂ sin θ sin φ ∂r − rcos
sin θ ∂φ
= sin θ sin φ
∂y2 ∂r
! ∂ hsin θ sin φ ∂ + cos θ sin φ ∂ − cos φ ∂ i
cos θ sin φ ∂r r ∂θ r sin θ ∂φ
+
r ∂θ
cos θ sin φ cos φ
cos φ ∂ sin θ sin φ ∂ + ∂ ∂
h i
∂r r ∂θ − r sin θ ∂φ
+ (4.17)
r sin θ ∂φ
and
∂
− sinr θ ∂θ
∂ ∂ sin θ ∂
h i ! h i
∂2 ∂ cos θ ∂r sin θ ∂ cos θ ∂r − r ∂θ
= cos θ − (4.18)
∂z2 ∂r r ∂θ
CHAPTER 4. SYSTEM OF COORDINATES 15
Expanding, we have
∂2 ∂2
= (sin θ cos φ)(sin θ cos φ) (4.19)
∂x2 ∂r2
cos θ cos φ ∂ cos θ cos φ ∂2
" #
+ (sin θ cos φ) − + (4.20)
r2 ∂θ r ∂θ∂r
sin φ ∂ sin φ ∂
" ! ! 2 #
− (sin θ cos φ) − 2 + (4.21)
r sin θ ∂φ r sin θ ∂φ∂r
cos θ cos φ " ∂ ∂2
#
+ cos θ cos φ + sin θ cos φ (4.22)
r ∂r ∂r∂θ
cos θ cos φ " sin θ cos φ ! ∂ cos θ cos φ ∂2 #
+ − + (4.23)
r r ∂θ r ∂θ2
cos θ cos φ " sin θ ∂ sin φ ∂
! 2 #
− − (4.24)
r r sin θ ∂φ
2 r sin θ ∂φ∂θ
sin φ ∂ ∂2
!" #
− sin θ sin φ + sin θ sin φ (4.25)
r sin θ ∂r ∂r∂φ
sin φ cos θ sin φ ∂ cos θ cos φ ∂2
!" ! #
− − + (4.26)
r sin θ r ∂r r ∂θ∂φ
sin φ cos φ ∂ sin φ ∂
!" ! 2 #
− − − (4.27)
r sin θ r sin θ ∂φ r sin θ ∂φ2
and
∂2 ∂2
= (sin θ sin φ)(sin θ sin φ) (4.28)
∂y2 ∂r2
cos θ sin φ ∂ cos θ sin φ ∂2
" ! ! #
+ (sin θ sin φ) + (4.29)
r2 ∂θ r ∂θ∂r
cos φ ∂ cos φ ∂ 2
" #
+ (sin θ sin φ) − 2 + (4.30)
r sin θ ∂φ r sin θ ∂φ∂r
cos θ sin φ ∂ ∂2
!" #
+ cos θ sin φ + sin θ sin φ (4.31)
r ∂r ∂r∂θ
cos θ sin φ sin θ sin φ ∂ cos θ sin φ ∂2
!" ! ! #
+ − + (4.32)
r r ∂θ r ∂θ2
cos θ sin φ cos θ cos φ ∂ cos φ ∂2
!" #
+ − + (4.33)
r r sin 2 θ ∂φ r sin θ ∂φ∂θ
cos φ " ∂ ∂2
#
+ sin θ cos φ + sin θ sin φ (4.34)
r sin θ ∂r ∂r∂φ
cos φ " cos θ cos φ ∂ cos θ sin φ ∂2
! #
+ + + (4.35)
r sin θ r ∂r r ∂θ∂φ
cos φ " cos φ ∂ cos φ ∂2 #
+ − + (4.36)
r sin θ r sin θ ∂φ r sin θ ∂φ2
CHAPTER 4. SYSTEM OF COORDINATES 16
∂2 2 ∂
2 cos θ sin θ ∂2 sin θ cos θ ∂2
= cos + −
∂z2 ∂r2 r2 ∂θ2 r ∂r∂θ
!2
sin θ ∂ ∂ sin θ cos θ ∂ sin θ ∂2
! !
+ sin θ + cos θ − + (4.37)
r ∂r ∂θ 2 ∂θ r ∂θ2
∂2 2 ∂
2 sin θ cos θ cos 2 φ ∂ sin θ cos θ cos 2 φ ∂2
! !
= sin θ cos φ 2 −
2
+
∂x2 ∂r r2 ∂θ r ∂θ∂r
cos φ sin φ ∂ sin φ cos φ ∂ cos θ cos ∂
! ! 2 2 2
!
+ − +
r 2 ∂φ r ∂φ∂r r ∂r
sin θ cos θ cos φ ∂
2 sin θ cos θ cos φ ∂ cos 2 θ cos 2 φ ∂2
! 2 2
! !
+ − +
r ∂θ∂r r2 ∂θ r2 ∂θ2
cos θ cos φ cos φ sin θ ∂ !
sin φ cos φ cos θ ∂
! 2
+ −
r r sin θ ∂φ r2 sin θ ∂θ∂φ
∂2 2 ∂
2 sin θ cos θ sin 2 φ ∂ sin θ cos θ sin 2 φ ∂2
! !
= sin θ sin φ 2 +
2
+
∂y2 ∂r r2 ∂θ r ∂θ∂r
cos φ sin φ ∂ sin φ cos φ ∂ cos θ sin ∂
! ! 2 2 2
!
− + +
r 2 ∂φ r ∂φ∂r r ∂r
sin θ cos θ sin 2 φ ∂2 sin θ cos θ sin 2 φ ∂ cos 2 θ sin 2 φ ∂2
! ! !
+ − +
r ∂θ∂r r2 ∂θ r2 ∂θ2
cos θ cos φ sin φ ∂
2 cos θ cos φ sin φ ∂ cos φ ∂
! ! 2 2
!
− + +
r sin θ
2 ∂φ r sin θ
2 ∂φ∂θ r ∂r
cos φ sin φ ∂ cos φ cos θ ∂
! 2 2
!
+ +
r ∂r∂φ r2 sin θ ∂θ
sin φ cos φ cos θ ∂ cos φ sin φ ∂ cos 2 φ ∂2
! 2 2
! !
− − + 2
r2 sin θ ∂θ∂φ r sin 2 θ ∂φ r sin 2 ∂φ2
∂2 2 ∂
2 cos θ sin θ ∂ sin θ cos θ ∂2
= cos θ + −
∂z2 ∂r2 r2 ∂θ r ∂r∂θ
!2
sin θ cos θ ∂ sin θ cos θ ∂ sin θ ∂2
! 2
+ + +
r ∂r∂θ r2 ∂θ r ∂θ2
∂2 ∂2
(cos 2
θ + sin 2
θ sin 2
φ + sin 2
θ cos 2
φ) →
∂r2 ∂r2
∂ sin 2 θ cos 2 θ sin 2 φ cos 2 φ cos 2 θ cos 2 φ sin 2 φ 2 ∂2
!
+ + + − →
∂r r r r r2 r r ∂θ2
CHAPTER 4. SYSTEM OF COORDINATES 17
∂ cos θ sin θ cos θ sin θ cos θ sin θ sin 2 cos θ sin θ sin 2 φ cos θ cos φ2
+ − − +
∂θ r2 r2 r2 r2 r2 sin θ
sin θ cos θ cos 2 sin θ cos θ cos 2 φ cos θ sin 2 φ cos θ ∂
!
− − + → 2
r 2 r 2 r sin θ
2 r sin θ ∂θ
∂ sin φ cos φ cos 2 θ cos φ sin φ cos 2 θ cos φ sin φ cos φ sin φ cos θ cos φ
− − − − +
∂φ r2 r2 sin 2 r2 sin 2 θ r2 r
cos 2 φ cos θ sin φ sin φ cos φ
!
+ + 2 →0
r2 sin θ r sin 2 θ
∂2 sin θ cos θ sin θ cos θ sin θ cos θ sin 2 φ sin θ cos θ sin θ cos θ
− − − + +
∂θ∂r r r r r r
sin θ cos θ cos φ sin θ cos θ sin φ sin θ cos θ cos φ
2 2 2
!
+ + + →0
r r r
∂2 cos θ cos φ cos φ sin φ cos φ cos φ cos φ cos θ cos φ cos φ
!
+ 2 − 2 − →0
∂θ∂φ r2 sin 2 θ r sin 2 θ r sin 2 θ r2 sin 2 θ
∂2 2 ∂ 1 ∂2 cos θ ∂ 1 ∂2
+ + + + (4.38)
∂r2 r ∂r r2 ∂θ2 r2 sin θ ∂θ r2 sin 2 θ ∂φ2
Differential Geometry
p q q p
i jk pqk = δi δ j − δi δ j (5.1)
One way to see this is to consider the fact that the vector space of rank (3,3)
completely antisymmetric tensors (A33 (R3 )) has dimension one. Then define the
tensor:
1 X
Milmn
jk = δ[l m n]
δ
i j kδ = sgn(σ) δσ(l)
i δσ(m)
j δσ(n)
k (5.2)
3! σ∈S
3
where we are summing over all the permutations of three numbers σ, and
sgn(σ) denotes the sign of the permutation. It’s worthy to note that
δ δi δi
l m n
1 li m
Milmn = δ δ δnj (5.3)
jk
3! lj mj
δk δk δnk
i jk lmn = Blmn
i jk (5.4)
Since B ∈ Λ33 (R3 ) and M is a basis, there exists a constant k such that
i jk = k Mi jk =⇒ i jk
Blmn lmn lmn
= k δ[li δmj δn]
k (5.5)
Now to determine k contract lmn on both sides and use the fact that lmn lmn =
3! (since you sum 3! terms equal to one)
18
CHAPTER 5. DIFFERENTIAL GEOMETRY 19
(5.6)
So we finally get k = 3! and
δi δi δi
l m n
And you can get the identity you want by contracting. The same argument could
be used in any dimension to show that
j1 j
δi1 . . . δi1n
i1 ,...,in j1 ,..., jn = ... ..
. (5.8)
δ j 1 j
. . . δinn
in