In this thesis, we consider the solution of a nonlinear Schr¨odinger equation [1]:
−∆qu(x) + α1|u(x)|2u(x) = λ1u(x), (1.1) for x ∈ Ω and u : Ω → C with normalized constraint
Z
Ω
|u(x)|2dx = 1, (1.2)
where Ω ⊆ R2 is a bounded domain, and the Dirichlet boundary condition
u(x) = 0, x ∈ ∂Ω. (1.3)
According to [1], we define
∇ = (∂x, ∂y)>,
∇q = ∇ + iγq,
−∆q = < ∇q, ∇q >,
(1.4)
where q = (q1, q2)> represents a vector on Ω , and γ is the magnitude of magnetic field. From equation (1.4), we can get
−∆q =< ∇q, ∇q >
=< ∇ + iγq, ∇ + iγq >
=< ∇, ∇ > + < iγq, ∇ > + < ∇, iγq > + < iγq, iγq >
= −∆ + iγ∇∗q − iγq∗∇ + γ2q∗q, (1.5) where ∆q is magnetic laplacian operator[2, 3].
In section 2, we introduce the nonlinear Schr¨odinger equation. We put uc = u1+ iu2 into equation (1.1). We can get the new equation. To consider the energy functional and the eigenvalue, we can find the relation between them. After verifying the relation, we want to transform continuous differ-ential equation to discrete equation in section 3. As a result, we use finite difference method to approximate the solution. In other words, we have to discretize the new equation. We can see details in section 3. Now, we have the discrete nonlinear Schr¨odinger equation. We denote the discrete equation as G(u(s), γ(s)) = 0, where s is an arc length parameter.
We use the fixed point iteration method in subsection 4.1 so as to obtain the initial solution of the discrete equation. Then, we use the continuation method to approximate the solution curve. We will explain the conception of standard continuation method in subsection 4.2. Continuation method
includes predictions and corrections. In the part of predictions, we have to find the tangent vector of possible solution on solution curve. Here, we differentiate the discrete equation with respect to s. Then, we can get the system as follows.
£ Gu Gγ ¤·
˙u(s)
˙γ(s)
¸
= 0.
By solving the system above, we can obtain the tangent vector. We suppose that (u0, γ0) is the initial solution. And we denote (ui, γi) as the possible solution. After computing, we can get the new point (u(1)i , γi(1)) in predictions.
We continue to discuss the part of corrections. The main idea is Newton’s method. We consider the plane Ni whose normal vector is equal to the tangent vector. We hope that the point (u(1)i , γi(1)) can converge to (ui, γi) on the plane Ni iteratively. There are some problems on the computing process. In order to solve those problems, we have to introduce the idea about the rotation invariance. The solution set contains transformation invariant solution. Hence, we concentrate on solving the quotient solution. As a result, we will develop the quotient invariant transformation continuation method in subsection 4.3. We will add a plane to the system which we have to solve.
And we can obtain the meaningful vectors of predictions. We also introduce a small skill on computing so as to overcome some disadvantages. In subsection 4.4, we show the algorithm of continuation method. Eventually, we can get the approximate solution curve by repeating the steps of continuation method. We can see that the numerical results in section 5. And we have a conclusion in section 6.
2 Nonlinear Schr¨ odinger Equation
We use
q =
· −r cos θ r sin θ
¸ ρ,
where
ρ =
0 if r < ², 1 + cos(5πar + π)
2 if ² ≤ r ≤ a,
1 if r ≥ a.
We substitute equation (1.5) into equation (1.1). Then, we can get [−∆ + iγ(∇∗q − q∗∇) + γ2kqk2+ α1|u|2]u = λ1u. (2.1)
We let uc= u1+ iu2, where u1, u2 : Ω → R. Then we can obtain [−∆ + γ2kqk2+ α1(u21+ u22)]u1− γ(∇∗q − q∗∇)u2 = λ1u1,
[−∆ + γ2kqk2+ α1(u21+ u22)]u2+ γ(∇∗q − q∗∇)u1 = λ1u2. (2.2) We rewrite equation (2.1) into below form.
−∆u + iγ∂θ1u + V u + α1|u|2u = λ1u. (2.3) The energy functional [7, 8, 9] is
E(φ) = Z
Ω
(|∇φ|2+ iγφ∗∂θ1φ + V φ2+1
2α1|φ|4). (2.4) Let equation (2.3) be multiplied by u∗. Then we can get equation as following.
−u∗∆u + iγu∗∂θ1u + u∗V u + α1u∗|u|2u = λ1u∗u. (2.5) To integrate equation (2.5), it will become
Z
(−u∗∆u + iγu∗∂θ1u + u∗V u + α1u∗|u|2u) = Z
λ1u∗u. (2.6) Here,
− Z
u∗∆u = − µ
u∗∇u|∂Ω− Z
∇u · ∇u
¶
= Z
|∇u|2. (2.7) We put equation (2.7) into equation (2.6). From equation (1.2), we can get R
u∗u = 1. Equation (2.6) can be represented as Z
(|∇u|2+ iγu∗∂θ1u + u∗V u + α1u∗|u|2u) = λ1 (2.8) Comparing the energy funtional E(φ) to eigenvalue λ1 from equations (2.4) and (2.8), we can find that E(φ) = λ1 −α1
2 Z
|u|4.
3 Discretization
In this section, we concern about the process of discretization. In order to transform continuous differential equations into discrete equations, we intro-duce finite difference method [4] to approximate the solutions of equations (2.2), (1.2) and (1.3). First, we divide the solutions into grids of nodes. The domain Ω which we consider is a disc. We cut the disc into n radial parts and m azimuthal parts. We let ∆r = 2
2n + 1, ∆θ = 2π
m. And we define the grid points as below.
ri = (i − 1
2)∆r, i = 1, 2, · · · , n, θj = (j − 1)∆θ, j = 1, 2, · · · , m.
Here, we see an example for n = 3 and m = 10. We show the discrete points on the domain which is a disc in Figure 1.
u1,1
We use the coordinate transformation to convert Cartesian coordinate system (x, y) into the polar coordinate system (r, θ). Therefore, we can obtain
−∆u = −(uxx + uyy)
= −(urr+ 1
rur+ 1
r2uθθ). (3.1)
Now, we first consider the approximate solution of −∆u. We consider lapla-cian operator on disc with Dirichlet conditions as following:
½ −∆u = f (r, θ),
u(r, θ) = C(r, θ), (3.2)
where (r, θ) ∈ Ω.
Next, we replace laplacian by central difference formula as following urr = u(ri+1, θj) − 2u(ri, θj) + u(ri−1, θj)
∆r2 ur = u(ri+1, θj) − u(ri−1, θj)
2∆r
uθθ = u(ri, θj+1) − 2u(ri, θj) + u(ri, θj−1)
∆θ2 . (3.3)
Then, we substitute equation (3.3) into equations (3.1) and (3.2). We get
− [ 1
∆r2(u(ri+1, θj) − 2u(ri, θj) + u(ri−1, θj)) + 1
2ri∆r(u(ri+1, θj) − u(ri−1, θj))
+ 1
ri2∆θ2(u(ri, θj+1) − 2u(ri, θj) + u(ri, θj−1))] = f (ri, θj). (3.4) In order to simplify equation (3.4), we rewrite u(ri, θj) to ui,j and f (ri, θj) to fi,j. And we substitute ri = (i − 12)∆r into equation (3.4). Then, we can obtain the following
− 1
∆r2[(ui+1,j− 2ui,j+ ui−1,j) + 1
2(i −12)(ui+1,j− ui−1,j) + 1
(i −122)∆θ2(ui,j+1− 2ui,j+ ui,j−1)] = fi,j.
Let ci = 1
2(i −12), di = 1
(i − 12)2∆θ2. Now, we can get the following:
(i, j) fi,j
(1, 1) − 1
∆r2[(−2 − 2d1)u1,1+ d1u1,2+ d1u1,0+ (1 + c1)u2,1+ (1 − c1)u0,1] = f1,1
(1, 2) − 1
∆r2[(−2 − 2d1)u1,2+ d1u1,3+ d1u1,1+ (1 + c1)u2,2+ (1 − c1)u0,2] = f1,2
(1, 3) − 1
∆r2[(−2 − 2d1)u1,3+ d1u1,4+ d1u1,2+ (1 + c1)u2,3+ (1 − c1)u0,3] = f1,3
(1, 4) − 1
∆r2[(−2 − 2d1)u1,4+ d1u1,5+ d1u1,3+ (1 + c1)u2,4+ (1 − c1)u0,4] = f1,4
... ... (1, m − 1) − 1
∆r2[(−2 − 2d1)u1,m−1+ d1u1,m+ d1u1,m−2+ (1 + c1)u2,m−1+ (1 − c1)u0,m−1] = f1,m−1
(1, m) − 1
∆r2[(−2 − 2d1)u1,m+ d1u1,1+ d1u1,m−1+ (1 + c1)u2,m+ (1 − c1)u0,m] = f1,m
(2, 1) − 1
Then, we want to solve above difference equations related to Dirichlet boundary conditions u(r, θ) = c(r, θ). That is, we solve the linear system of Au = b. We get un+1,1 = cn+1,1 from equation (3.2) and 1 − c1 = 1 −
b =
We use the central difference formula as following uθ = ui,j+1− ui,j−1
2∆θ .
After computing, we can get
Dθ = 1 matrix of γ2kqk2 can be represented as following
γ2· Dq = γ2
where
By using formula for area of sector 12∆r2∆θ, we can get as following
i = 1 1
Hence, we obtain the discrete matrix is C>· U0 = 1.
C>= 12∆r2∆θ£ 1
4 · · · 14 2 · · · 2 · · · 2(i − 1) · · · 2(i − 1)) ¤ ,
U0 =
U¯1
¯...
Un
, where ¯Ui =
u21(ri, θ1) + u22(ri, θ1) ...
u21(ri, θm) + u22(ri, θm)
with i = 1, 2, · · · , n.
Finally, the discrete nonlinear Schr¨odinger equation relative to equation (2.3) can be represented as
A1uc+ iγSuc+ α1u¯c◦ u°c2 = λ1uc,
C>(¯uc◦ uc) = 1. (3.8)
In (3.8), A1 is the discrete matrix for the operator of −∆ + V . S is the discrete matrix for the operator of ∂θ1 and S is a skew-symmetric matrix. We denote ◦ as Hadamard product. We can find that C>(¯uc◦ uc) will be pure imaginary. Therefore, we can get u°c2 = uc◦uc, u°12 = u1◦u1 and u°22 = u2◦u2. We also can obtain the energy functional corresponding to (2.4) is
E(φ) = C>(¯uc◦ A1uc+ iγ ¯uc◦ Suc+α1
2 u¯°c2 ◦ u°c2 ).
4 Continuation Methed
4.1 Fixed point iteration method
Now, we want to get the initial solution of equation (3.8). Hence, we use fixed point iteration method [6] so as to converge the solution. We let uc= u1+iu2, where u1,u2 ∈ RN and N = n · m. And we put it into equation (3.8). Then, we can rewrite equation (3.8) into the form as follows.
(A1 + α1U)u1− γSu2 = λ1u1, (A1 + α1U)u2+ γSu1 = λ1u2,
C>U0 = 1. (4.1)
We let γ = 0. The equations (4.1) will become the form as below.
(A + α1U)u1 = λ1u1, (A + α1U)u2 = λ1u2,
C>U0 = 1. (4.2)
Then, we let u2 = 0. Equations (4.2) can be simplified as
(A + α1U)u1 = λ1u1, (4.3a)
C>u°12 = 1. (4.3b) Now, we consider the eigenvalue problem of equation (4.3a). First, we let u(0) ∈ RN be a random vector. We choose c1 = C> · u(0)°2 such that u(0) = √1c
1u(0). u(0) will satisfy equation (4.3b), that is, C>u(0)°2 = C>1
c1u(0)°2 = C> 1
C>u(0)°2 u(0)°2 = 1.
Next, we substitute equation above into equation (4.3a). To solve the eigenvalue problem, we can obtain eigenvalues and eigenvectors. We choose the smallest eigenvalue λ(1)1 and corresponding eigenvector u(1)1 and let u(1)1 satisfy equation (4.3b). Repeating solving the eigenvalue problem iteratively, we can get λ(i)1 and u(i)1 . Finally, we stop the iterations until the eigenvalue converges. In other words, it means that ku(i)1 − u(i+1)1 k < Tolerance. When the eigenvectors satisfy the condition of convergence, we can get solutions which we need. We suppose the iteration number is k. Hence, we use u(k)1 and λ(k)1 to denote convergent solutions. After computing above, we obtain a initial solution:
(u1, u2, λ1, γ) = (u(k)1 , u2, λ(k)1 , 0),
where u(k)1 ∈ RN and u2 is a zero vector ∈ RN and λ(k)1 , 0 ∈ R1.
• Algorithm Step 1.
u(0) =rand(N, 1) Let u(0) = √1c
1u(0), then C>u(0)°2 = 1.
Step 2.
Set i = 0.
Compute (A + α1u(i)°2 )u(i+1) = λminu(i+1). Let u(i+1) = c1u(i+1) such that C>u(i+1)°2 = 1.
Step 3.
If ku(i)− u(i+1)k <Tol, then Stop.
Step 4.
Set i = i + 1.
Go to Step 2.
4.2 Standard Continuation Method
In this section, we introduce the process of standard continuation method [5].
We use continuation method approximating to the solution curve. Mainly, we concentrate on solving the system as following
G(u, γ) = 0, (4.4)
Hence, we can find that the Jacobian of G(u, γ) is derived from the G(u, γ). We denote the Jacobian of G(u, γ) as JG(u, γ) = [Gu, Gγ] ∈ R(2N +1)×(2N +2). We can see that
Gu = the predictions and corrections. We denote (u0, γ0)> as the initial solution, where u0 = (u>10, u>20, λ10). And the arc length s is the parameter of the normal vector of the plane is ~p0. We can find that the point of intersection
of the plane N1 and solution curve. We denote (u1, γ1)> as the point of intersection. Finally, in order to let (u(1)1 , γ1(1))> converge to (u1, γ1)>, we use Newton’s method iteratively. Repeating using the steps above, we can get (u2, γ2)>, (u3, γ3)>, · · · . We will show the details of the continuation method as follows.
• predictions
First, we want to find the tangent vector as the predicting vector.
Here, we will use the matrix JG. We let s be an arc length parameter of solution curve. Therefore, we can rewrite equation (4.4) into the form as following
G(u(s), γ(s)) = 0. (4.5)
Differentiating equation (4.5) with respect to s, we can obtain
Gu˙u(s) + Gγ˙γ(s) = 0. (4.6)
⇒£
Gu Gγ ¤·
˙u(s)
˙γ(s)
¸
= 0. (4.7)
Here, we denote the tangent vector of initial value on solution curve as
~p0 =
· ˙u0(s)
˙γ0(s)
¸ .
Thus, we can obtain
(u(1)1 (s), γ1(1)(s))> = (u0(s), γ0(s))>+ ¯s~p0,
=
· u0(s) γ0(s)
¸ + ¯s
· ˙u0(s)
˙γ0(s)
¸ .
Next, we consider a plane N1 whose normal vector is ~p0. We can see that
N1 : ˙u>0(u − u(1)1 ) + ˙γ0(γ − γ1(1)) = 0.
⇒ ˙u>0u + ˙γ0γ = ˙u>0u(1)1 + ˙γ0γ1(1).
• corrections
Now, we want to find the point of intersection of the plane N1 and the solution curve. We introduce the idea of Newton’s method. By using Newton’s method, we approximate the point of intersection.
– Newton’s method
From Figure 2, we see the graph of a function f : R → R. We can see that f crosses the x-axis at x = c. It shows that c is a root of f (x) = 0, that is, f (c) = 0. We want to approximate root c. First, we choose a point x1 which is close to c. The point x2 is the point of intersection of the tangent line at (x1, f (x1)) and x-axis. We find x2 is closer to c than x1. The tangent line at (x1, f (x1)) is y = f (x1) + f0(x1)(x − x1). The tangent line intersects the x-axis at y = 0. Therefore, the equation of tangent line will become as follows. 0 = f (x1) + f0(x1)(x − x1). Solving the equation, we can get x = x1− f (x1)
f0(x1), where f0(x1) 6= 0. Here, we let x2 = x1 − f (x1)
f0(x1). Next, we use the same steps above to get x3, x4, · · · . We can see that the approximations will close to the root c gradually. We denote the tangent line at (xn, f (xn)) as follows.
xn+1 = xn− f (xn)
f0(xn), n = 1, 2, · · · .
y
c x x1
x2
( )1
f x
(2) f x
f
x3
Figure 2: Newton’s method
We consider the Newton’s method in Rn, n ≥ 2. We let function f : Rn → Rn. And we choose x which is a solution of f , that is, f (x) = 0. By using the same steps above, we can obtain the formula as follows.
xn+1 = xn− f (xn) · Jf−1(xn), n = 1, 2, · · · , where Jf is the Jacobian matrix of f .
Now, we have the point (u(1)1 , γ1(1))>. We want to get the points which
And we denote the Jacobian matrix of F as JF =
· Gu Gγ
˙u>0 ˙γ0
¸ .
Then, we use the formula of Newton’s method, that is, we solve the system as follows.
Figure 3: predict and correct (Newton’s method)
4.3 Quotient Transformation Invariant Continuation Method
In this subsection, we will introduce the quotient transformation invariant continuation method [7]. And we replace standard continuation method with the quotient transformation invariant continuation method. In the process of computing, some problems will occur. We need to overcome these problems.
First, we will face the problem about the predicting directions. Before discussing the problem, we consider the solution curve of standard continu-ation method. From equcontinu-ation (4.4), we know that there are four variables and three equations. Consequently, we can get the solution which is a two-dimensional manifold. We denote the solution set of equation (4.4) as M.
Hence, we suppose that the solution will be a pipeline.
M
Figure 4: standard continuation method
From Figure 4, we can see that why the standard continuation method will fail. We will find that the predicting directions will move along the manifold. As a result, we can not get meaningful predictions of standard continuation method. Hence, we want to use quotient transformation in-variant continuation method which can improve the disadvantage. For the purpose of letting the solution of equation (4.4) can be a straight line, we add a plane to equation (4.4). Thus, there are four variables and four equations.
M
C
'( ) u
prediction
P
( ) u
θ
θ
Figure 5: quotient transformation invariant continuation method
From Figure 5, we can see that the direction of predictions will be on the plane. And the quotient solution curve C is on the plane P . We will explain the details of the process of transformation.
From equation (4.5), we can rewrite into the forms as follows.
G(y(s)) = 0,
where y(s) = (u(s), γ(s)). And we differentiate G(y(s)) = 0 with respect to s. Thus, we can get
JG(y(s)) ˙y(s) = 0, (4.8)
where JG(y(s)) is the Jacobian matrix of G. And we denote a tangent vector of C at y(s) as ˙y(s) = ( ˙u(s)>, ˙γ(s))>. We let C be the quotient solution curve.
We show that the conception of quotient solution. Let u(θ) = u · eiθ,
= (u1+ iu2) · eiθ,
= u1cos θ + iu1sin θ + iu2cos θ − u2sin θ,
= (u1cos θ − u2sin θ) + i(u1sin θ + u2cos θ).
We define
u(θ) =
· u1cos θ − u2sin θ u1sin θ + u2cos θ
¸ .
Let equation (2.3) be multiplied in both right and left sides by eiθ. We can obtain the equation as follows.
[−∆u + iγ∂θ1u + V u + α1|u|2u] · eiθ = λ1u · eiθ.
We know that u will satisfy equation (2.3) if u is a solution. And we suppose that u · eiθ will be a solution, that is,
[−∆ + iγ∂θ1 + V + α1|u · eiθ|2]u · eiθ = λ1u · eiθ. (4.9) We put |u · eiθ|2 = |u|2|eiθ|2 = |u|2 into equation (4.9). Then, we can get
[−∆ + iγ∂θ1 + V + α1|u|2]u · eiθ = λ1u · eiθ,
⇒[−∆ + iγ∂θ1 + V + α1|u|2]u = λ1u.
And we consider the normalized constraint.
Z
|u · eiθ|2dx = Z
|u|2dx = 1.
Hence, we can verify the assumption, that is, if u is a solution, then ueiθ is also a solution. We can see that the solution M contains transformation invariant solutions u(θ).
We denote the quotient solution as C. Now, we want to get the tangent vector of u(θ). Hence, we will differentiate u(θ) with respect to θ. We can get
u0(θ) =
· −u1sin θ − u2cos θ u1cos θ − u2sin θ
¸
. (4.10)
We choose θ = 0 and put it into equation (4.10). Then we can get u0(0) =
∂u
∂θ(0).
∂u
∂θ(0) =
· −u2 u1
¸
= (−u>2, u>1)>.
Consequently, we can obtain the normal vector of the plane which we add, that is, the tangent vector of u(θ). We denote (∂u∂θ(0)>, 0)> as the tangent vector.
Then, we begin the further exploration of the quotient transformation invariant continuation method. First, we discuss the part of prediction. We know that the prediction vector ˙y(s) = ( ˙u(s)>, ˙γ(s))>. And ( ˙u(s)>)> is perpendicular to the tangent vector (∂u∂θ(0)>, 0)>. Next, we consider the part of correction. We can see that the vector of correction will be on the plane which we add. And the normal vector of the plane is (∂u∂θ(0)>, 0, 0)>.
• predictions
By using fixed point iteration method, we can get the initial solution (u0, γ0)> ∈ R(2N +2)×1. We let y0 = (u0, γ0)>. We discuss how we find the vectors of predictions. In the part of predictions, we know that the vector of predictions will be on the plane P . The plane has the normal vector (∂u∂θ(0)>, 0, 0)>. The vector of predictions ˙y(s) = ( ˙u(s)>, ˙γ(s))>
should satisfy the equation (4.8). And ( ˙u(s)>)> is perpendicular to the tangent vector (∂u∂θ(0)>, 0)>. Therefore, we add a plane as follows.
a>θ ˙u = 0, (4.11)
where
aθ = (∂u
∂θ(0)>, 0)>
= (((−u>2, u>1)>)>, 0)>
= (−u>2, u>1, 0)>.
Originally, we solve the system of (4.7). We let y(s) = (u(s), γ(s)) and ˙y(s) = ( ˙u(s)>, ˙γ(s))>. Hence, we can rewrite it into the form as
follows. £
Gu Gγ ¤ ˙y(s) = 0.
Since we add a plane which is satisfied equation (4.11), we have to solve the system as follows.
· Gu Gγ
a>θ 0
¸
˙y =
· 0 0
¸ .
By computing above, we can get the vectors of predictions. Conse-quently, we will get the new solution (u(1)1 , γ1(1))> = (u0, γ0)>+ ¯s · ˙y, where k ˙yk2 = 1.
In the process of predictions, we let yi = (ui, γi)> be the approximate solution every time. And we have to solve the system as follows.
· Gu Gγ a>θ 0
¸
˙yi =
· 0 0
¸
. (4.12)
Then, we denote the vector of prediction as ˙yi = ( ˙u>i , ˙γi)>. As a result, we will get the new solution (u(1)i , γi(1))>= (ui−1, γi−1)>+ ¯si· ˙yi, where i = 1, 2, · · · , ¯si is the length of step every time and the two norm of ˙yiis equivalent to one. After computing the vector of predictions, we hope that the new solution will converge to the solution by using Newton’s method. Hence, we introduce the steps of corrections.
• corrections
We continue discussing the correction part of quotient transforma-tion invariant continuatransforma-tion method. Now, we have the new solutransforma-tion (u(1)i , γi(1))> which is on the plane Pi. Here, Pi represents the plane which has the normal vector (∂u∂θ(0)>, 0)>. And we know that the vec-tor of corrections will also be on the plane Pi. The solutions which will proceed to converge are also on the plane. We want to get the vectors of correction. As a result, we have to consider the system as follows.
G : G(u, γ) = 0, P : a>θ ˙u = 0,
Ni : ˙u>i−1u + ˙γi−1γ = ˙u>i−1u(1)i + ˙γi−1γi(1)
It means that the solution curve is related to the system above. We know that the point which we want to find has to satisfy the system,
that is, (ui, γi)>. We consider the system as follows.
H =
G : G(ui, γi) = 0, P : a>θ ˙ui−1= 0,
Ni : ˙u>i−1ui+ ˙γi−1γi = ˙u>i−1u(1)i + ˙γi−1γi(1)
For the purpose of getting the vectors of corrections, we still use New-ton’s method. Therefore, we consider the Jacobian matrix of H, that is,
JH =
Gu Gγ a>θ 0
˙u>i−1 ˙γi−1
∈ R(2N +3)×(2N +2). (4.13)
Then, we use Newton’s method to solve it iteratively. And we put it into the formula as follows.
(u(n+1)i , γi(n+1)) = (u(n)i , γi(n)) − H(u(n)i , γi(n)) · JH−1(u(n)i , γi(n)), where n = 1, 2, · · · . Hence, we can get the solutions which will converge gradually. We stop the steps of correction until the solutions converge.
• improvement in computing
Now, we have the system H and JH. In the process of computing, we observe the last row of Gu. We will find that the norm of the last row is much smaller than other rows. It will result in error in calculation.
The last row will be ignored. To review the system H which we want to solve, we observe G3, that is, the normalized constraint. We let G3 be multiplied in both sides by accuracy. And we let accuracy = max(k(u, γ)k, 1). We also let the planes P and Ni be multiplied in both sides by accuracy. Now, we have new normalized constraint, in other words, we rewrite G3 to accuracy · (C>U0 − 1). And we rewrite the planes into the forms as following.
P : accuracy · (a>θ ˙ui−1) = 0,
Ni : accuracy · ( ˙u>i−1ui+ ˙γi−1γi) = accuracy · ( ˙u>i−1u(1)i + ˙γi−1γi(1)).
By using the skill above, we can obtain H and JH accurately. And we have to rewrite equation (4.5) as follows.
Gu =
A + α¯ 1(3u°12 + u°22 ) 2α1(u1◦ u2) − γS −u1 2α1(u1 ◦ u2) + γS A + α¯ 1(3u°22 + u°12 ) −u2
accuracy · (2C>◦ u>1) accuracy · (2C>◦ u>2) 0
∈ R(2N +1)×(2N +1).
In the part of prediction, system (4.12) has to rewrite into the form as
Furthermore, we consider the part of prediction. We rewrite equation (4.13) into the form as follows.
JH =
In this section, we will introduce the algorithm of continuation method. We can see that the algorithm consists of predictions and corrections. We show the Algorithm as follows.
Step1. Computing initial value Compute initial value: (u0, γ0).
Set the length of step.
Set count = the number of possible solutions.
Step2. Predictions for i = 0, 1, · · · ,count
Compute JacobF =
· Gu(ui, γi) Gγ(ui, γi) accuracy · a>θ 0
¸ .
Find the desired singular values and singular vectors of JacobF.
Let the smallest singular vector be the vector of predictions: P red uγ.
end
Step4. Corrections (Newton’s method) Compute Del uγ = −JH−1· H(u(1)i+1, γi+1(1))
(u(2)i+1, γi+1(2)) = (u(1)i+1, γi+1(1)) + Del uγ. ComputeJH, N, G, H
If(kH(u(1)i+1, γi+1(1))k/kH(u(2)i+1, γi+1(2))k < 10 and kH(u(2)i+1, γi+1(2))k > 10−8·accuracy
and kDel uγk > 10−7)
step = step/2 and go to Step3 else
go to Step5 end
Step5. Corrections (Newton’s method) for j = 2, 3, · · · ,
If (kH(u(j)i+1, γi+1(j))k > 10−8· accuracy) Del uγ = −JH−1· H(u(j)i+1, γi+1(j)) (uj+1i+1, γi+1j+1) = (uji+1, γi+1j ) + Del uγ.
ComputeJH, N, G, H
if(kH(u(j)i+1, γi+1(j))k/kH(u(j+1)i+1 , γi+1(j+1))k < 5) if(kDel uγk < 10−7)
stop else
step = step/2 and go to Step 2.
end end else
(u(j)i+1, γi+1(j)) → (ui+1, γi+1) and go to Step6.
end end
Step6. Save
Compute accuracy=p
kJHkk(ui+1, γi+1)k if accuracy < 1
accuracy=1 end
Go to Step 2.
5 Numerical Results
We use quotient transformation invariant continuation method to approxi-mate the solution curve. In this section, we will show that the numerical results as follows. First, we can see that the approximative solution curve in Figure 6 and Figure 7. In Figure 6 and Figure 7, γ represents the value of x-axis. And the values of y-axis are p
u21+ u22,u1,u2 separately. Next, to change the value α1, we observe the changes of energy. From Figure 8 and Figure 9, it show that the energy E(φ) will increase as α1 increases. Here,
we let α1 = 0, 1, 5, 10. Finally, we show that the difference between the eigenvalue λ1 and the energy functional E(φ) is α21 R
|u|4. We compute the difference, that is, λ1 − E(φ) − α21 R
|u|4. And we obtain the value is 10−7 approximately. Hence we can verify that the relation between the eigenvalue and the energy functional.
γ
0 0.099 8.62010 17.63620 28.367 30 35.459
2 2
1 2
u+u
Figure 6: Case: α1 = 5, N = 50 × 50, the value of y-axis: p
u21+ u22.
γ
00.099 8.62010 17.63620 28.367 30 35.459
u1
γ
00.099 8.62010 17.63620 28.367 30 35.459
u2
Figure 7: Case: α1 = 5, N = 50 × 50, the value of y-axis: left graph:u1, right graph: u2.
0 5 10 15 20 25 30 35
We discuss the process of discretization on a nonlinear Schr¨odinger equation and introduce the standard continuation method. In the process, we face on the difficult computing problem. Hence, we improve the method by using the quotient invariant transformation continuation method. In order to find the solution curve successfully, we add the plane. Hence, we can see the diagrams of approximate solution curve in section 5. We also verify the relation between the eigenvalue and the energy functional.
References
[1] Chia-Feng Tsao. Numerical study of a two-component Bose-Einstein condensate in magnetic field. preprint, 2007.
[2] Volodymyr Sushch On some discrete model of the magnetic Laplacian.
preprint, 2002.
[3] I.Schindler, K.Tintarev A nonlinear Schr¨odinger equation with external magnetic field. preprint.
[4] Ambar K. Mitra Finite Difference Method for the Solution of Laplace Equation. preprint.
[5] H.B. Keller. Lectures on Numerical Methods In Bifurcation problems.
Springer-Verlag, 1987.
[6] Yuen-Cheng Kuo, Wen-Wei Lin, Shih-Feng Shieh, Weichung Wang. A Hyperplane-Constrained ContinuationMethod for Bound States of Cou-pled Nonlinear Schr¨odinger Equations. (Submitted), 2007.
[7] Yuen-Cheng Kuo , Wen-Wei Lin , Shih-Feng Shieh, and Weichung Wang.
Exploring Bistability in Rotating Bose-Einstein Condensates by a Quo-tient Transformation Invariant Continuation Method. (Submitted) [8] Shu-Ming Chang, Yuen-Cheng Kuo, Wen-Wei Lin, Shih-Feng Shieh.
A Continuation BSOR-Lanczos-Galerkin Method for Positive Bound States of A Multi-Component Bose-Einstein Condensate . J. Comput.
Phys., 210(2):439-458, 2005.
[9] W. Z. Bao. Ground states and dynamics of multi-component Bose-Einstein condensates. SIAM Multiscale Modeling and Simulation,
[9] W. Z. Bao. Ground states and dynamics of multi-component Bose-Einstein condensates. SIAM Multiscale Modeling and Simulation,