

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


problem ordinary dierential equation of the form
y′^ (t) = ay (t) , y (0) = y 0.
To solve, the equation is rewritten as y′^ (t) y (t) = a and integrated with respect to t. We get
ln y (t) = at + c,
which becomes y (t) = eceat. Then y (0) = y 0 implies ec^ = y 0 and we have
y (t) = y 0 eat.
What if we were to have a vector equation
y′^ (t) = Ay (t) , y (0) = y 0
with y ∈ Rn, A ∈ Rn×n, and t a scalar? Our solution is the same, we have
y (t) = y 0 eAt,
but eA^ is not simply the exponential of each element of A. It needs to be properly dened. Recall that, when using a Taylor series expansion around x = 0, we can write the scalar exponential as
ex^ =
k=
xk k!
We dene the matrix exponential similarly
eA^ =
k=
Ak k!
as reference for the rest of the project.
u ˙ = Au, with A =
cos 2πθ sin 2πθ − sin 2πθ cos 2πθ
and u (0) =
(a) Find the eigenvalues and eigenvectors of A. What is the complex modulus of each eigenvalue?
(b) Describe the solution u on the interval 0 ≤ t ≤ 10 to the above IVP for θ =
. Specically, which solutions are stable, which are unstable, and which oscillate. How is this related to the eigenvalues?
(c) Plot the solution for each choice of θ =
on one single gure with 8 plots, using subplot(4,2,i)
where i varies from i = 1 to i = 8 (corresponding to θ = i 8
u ˙ = Au, with A =
(^) and u (1) =
(a) Plot the solutions to the ODE system, u 1 , u 2 and u 3 , on the same axis for 1 ≤ t ≤ 5 using the matrix exponential in Matlab. (b) Write A = D + U where D is a diagonal matrix, and U is an upper triangular matrix with zeros on the diagonal. Compute, by hand or in Matlab, eD^ and eU^ by using the series denition of the matrix exponential. (c) Compute e(t−t^0 )D^ and e(t−t^0 )U^ by hand or in Matlab. Then nd the solution (in terms of a general t) to the dierential equation using e(t−t^0 )A^ = e(t−t^0 )(D+U^ )^ = e(t−t^0 )De(t−t^0 )U^.
y′′′^ + 4y′′^ − y′^ − 4 y = 0, y (0) = 0, y′^ (0) = 1, y′′^ (0) = 2.
It is possible to convert a higher order dierential equation to a rst order system by using smart substitution.
(a) Let u 1 = y, u 2 = y′^ and u 3 = y′′. Rewrite the above dierential equation as a linear IVP u˙ =Au with three equations and three unknowns. (b) Plot the solution (the value of y(t)) by solving the resulting IVP in Matlab for 0 ≤ t ≤ 5.