Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
lectures
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mathematics for Quantum Physics
lectures
Commits
9d71b51f
Commit
9d71b51f
authored
4 years ago
by
Scarlett Gauthier
Browse files
Options
Downloads
Patches
Plain Diff
Add page 7
parent
5485fee9
No related branches found
Branches containing commit
No related tags found
1 merge request
!8
Differential Equations Lecture 1
Pipeline
#41268
passed
4 years ago
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/differential_equations_1.md
+138
-5
138 additions, 5 deletions
src/differential_equations_1.md
with
138 additions
and
5 deletions
src/differential_equations_1.md
+
138
−
5
View file @
9d71b51f
...
...
@@ -465,14 +465,147 @@ solution are:
$
\d
ot{
**x**
}(t) = e^{
**A**
t} {
**x**
}_{0}$, with initial condition
$
**x**
(0) = e^{
**A**
0}{
**x**
}_0 =
\m
athbbm{1} {
**x**
}_{0} = {
**x**
}_{0}$.
Next we will discuss how to determine a solution in
general, going
beyond the
Next we will discuss how to determine a solution in
practice,
beyond the
formal solution just presented.
### Case 1: **A** diagonalizable ###
For an $n
\t
imes n$ matrix $
**A**
$, denote the $n$ distinct eigenvectors as
$
\{
**v_1**
,
\c
dots,
**v**
_n
\}
$. By definition, the eigenvectors satisfy the
equation
$$
**A**
**v**
_i = \lambda_
i
**v**
_i,
\f
orall i
\e
psilon
\{
1,
\c
dots, n
\}
. $$
Here we give consideration to the case of distinct eigenvectors, in which case
the $n$ eigenvectors form a basis for $
\m
athbb{R}^{n}$.
To solve the equation $
\d
ot{
**x**
}(t) =
**A**
**x**
(t)$, define a set of scalar
functions $
\{
u_{1}(t),
\c
dots u_{n}(t)
\}
$ and make the following ansatz:
$$
**\phi**
_{i} = u_
{i}(t)
**v_{i}**
.$$
Then, by differentiating,
$$
\d
ot{
**{\phi}**
_i}(t) = \dot{u_
i}(t)
**v**
_{i}(t).$$
The above equation can be combined with the differential equation for
$
**\phi**
_{i}(t)$, $\dot{**\phi**_
{i}}(t)=
**A**
**\phi**
_{i}(t)$, to derive the
following equations,
$$
\d
ot{u_i}(t)
**v**
_{i}(t) = **A** u_
{i}(t)
**v_{i}**
$$
$$
\d
ot{u_i}(t)
**v**
_{i}(t) = u_
{i}(t)
\l
ambda_{i}
**v_{i}**
$$
$$
**v**
_{i} (\dot{u_
i}(t) -
\l
ambda_i u_{i}(t)) = 0, $$
where in the second last line we mase use of the fact that $
**v**
_i$ is an eigenvector
of $
**A**
$. The obtained relation implies that
$$
\d
ot{u_i}(t) =
\l
ambda_i u_{i}(t).$$
This is a simple differential equation, of the type dealt with in the third
example. The solution is found to be
$$u_{i}(t) = c_i e^{
\l
ambda_i t},$$
with $c_i$ some constant. The general solution is found by adding all $n$ of the
solutions $
**\phi_{i}**
(t)$,
$$
**x**
(t) = c_{1} e^{
\l
ambda_1 t}
**v**
_{1} + c_
{2} e^{
\l
ambda_2 t}
**v**
_{2} + \cdots + c_
{n} e^{
\l
ambda_n t}
**v**
_{n}.$$
and the vectors $
\{
e^{
\l
ambda_1 t}
**v**
_{1}, \cdots, e^{\lambda_
n t}
**v**
_{n}
\}
$
form a basis for the solution space since $det(
**v**
_1 | \cdots | **v_
n
**
)
\n
eq 0$
(the $n$ eigenvectors are linearly independent).
!!! check "Example: Homogeneous first order linear system with diagonalizable
constant coefficient matrix"
Define the matrix $**A** = \begin{bmatrix}
0 & -1 \\
1 & 0 \\
\end{bmatrix}$, and consider the DE
$$\dot{**x**}(t) = **A** **x**(t), **x_0** = \begin{bmatrix}
1 \\
0 \\
\end{bmatrix}. $$
To proceed following the solution technique, we determine the eigenvalues of
$
**A**
$,
$$det {
\b
egin{bmatrix}
-
\l
ambda & -1
\\
1 & -
\l
ambda
\\
\e
nd{bmatrix}} =
\l
ambda^2 + 1 = 0. $$
By solving the characteristic polynomial, one finds the two eigenvalues
$
\l
ambda_{
\p
m} =
\p
m i$.
Focusing first on the positive eigenvalue, we can determine the first
eigenvector,
$$
\b
egin{bmatrix}
0 & -1
\\
1 & 0
\\
\e
nd{bmatrix}
\b
egin{bmatrix}
a
\\
b
\\
\e
nd{bmatrix} = i
\b
egin{bmatrix}
a
\\
b
\\
\e
nd{bmatrix}.$$
A solution to this eigenvector equation is given by $a=1$, $b=-i$, altogether
implying that $\lambda_1=i, **v**_{1} = \begin{bmatrix}
1 \\
-i \\
\end{bmatrix}$.
As for the second eigenvalue, $\lambda_{2} = -i$, we can solve the analagous
eigenvector equation to determine $**v**_{2} = \begin{bmatrix}
1 \\
i \\
\end{bmatrix}$
Hence two independent solutions of the differential equation are:
$$**\phi**_{1} = e^{i t}\begin{bmatrix}
1 \\
-i \\
\end{bmatrix}, **\phi**_{2} = e^{-i t} \begin{bmatrix}
1 \\
i \\
\end{bmatrix}.$$
To obtain the general solutoin of the equation, the only thing which is
missing is determination of linear combination coefficients for the two
solutions which allow for satisfaction of the initial condition. To this end,
we must solve
$$c_1
**\phi**
_{1}(t) + c_
2
**\phi**
_{2}(t) =
\b
egin{bmatrix}
1
\\
0
\\
\e
nd{bmatrix}$$
$$
\b
egin{bmatrix}
c_1 + c_2
\\
-i c_1 + i c_2
\\
\e
nd{bmatrix} =
\b
egin{bmatrix}
1
\\
0
\\
\e
nd{bmatrix}.$$
The second row of the vector equation for $c_1, c_2$ implies that $c_1=c_2$.
The first row then implies that $c_1=c_2=
\f
rac{1}{2}$.
Overall then, the general solution of the DE can be summarized
$$
\d
ot{
**x**
}(t) =
\b
egin{bmatrix}
\f
rac{1}{2}(e^{i t} + e^{-i t})
\\
\f
rac{1}{2 i}(e^{i t} - e^{-i t})
\\
\e
nd{bmatrix} =
\b
egin{bmatrix}
cos(t)
\\
sin(t)
\\
\e
nd{bmatrix}. $$
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment