Solution Exam 2 (MATH246, Spring 2024)
Problem 1
Characteristic equation
has solutions
. Particular solution for
is 
Particular solution for
is
(since
is root of multiplicity 2) Particular solution for
is 
Here are the actual particular solutions (not asked for in the exam):
for f = [-t,-t*exp(-t),-t*exp(-t)*sin(t)]
sol = dsolve(diff(y,2)+2*diff(y)+y==f);
particular_sol = expand( subs(sol,{C1,C2},{0,0}) )
Problem 2
Characteristic equation
has solutions
. Hence
and Wronskian Particular solution is
where
, hence 
, hence 
yielding
sol = dsolve(diff(y,2)-4*y==1+exp(2*t));
particular_sol = expand( subs(sol,{C1,C2},{0,0}) )
particular_sol =

Problem 3
We have the ODE
or
. Problem 3(a)
The natural frequency is
, the external frequency is
. We want
, i.e.
, so
. The general solution is 
(here
are determined using the method of undetermined coefficients). As t goes to infinity the particular solution
will dominate, giving oscillations with increasing amplitude. Problem 3(b)
We have the ODE
with characteristic equation
. For critical damping we have a double root, i.e.,
, i.e.,
or
. Then we have
with roots
. The general solution is 
(here
are determined using the method of undetermined coefficients). As t goes to infinity the terms
will decay exponentially, so the solution will be very close to the particular solution
. Problem 4(a)
, hence 
,
.We have
, i.e. Problem 4(b)
We have 
Let
, multiply by
: This gives 
f = ilaplace(F)
f =

We then get