Could someone please outline the method (or provide a link) on how to solve such equations when they have an initial condition? Without an IC the problem is quite trivial, but we never covered such problems in class, nor is it in the book (and yes, I tried using google, but all I could find was it listed in course syllabi and not actually explained).
I’m sorry, but I don’t quite see the problem here. Maybe I am misunderstanding the question.
If you solve a linear homogenous 2nd degree ODE (y’’ + ay’ + by = 0) you should get a function y(t) with two coefficients C1 and C2.
I assume that you are given something like y(t=0) = A and y’(t=0) = B as initial conditions.
Then you just put t=0 into your solution and set it equal to A.
Then you take the first derivative of your solution, set t=0 and equal it to B. from this you can calculate C1 and C2.
Thats all.
Have you used matrices to solve systems of linear equations before? That will do it, but it’s not absolutely necessary, since this only involves two equations with two unknowns, which is pretty straightforward.
Say you have:
y’’ - 5y’ + 6y = 0
with initial conditions
y(0) = 1, y’(0) = 3
You know how to get the general solution:
y(t) = Ae[sup]2t[/sup] + Be[sup]3t[/sup]
From here, first plug in your IC information:
y(0) = A + B = 1,
and (since y’(t) = 2Ae[sup]2t[/sup] + 3Be[sup]3t[/sup]):
y’(0) = 2A + 3B = 3.
Solve the two bolded equations for A and B:
A = 1 - B
2(1 - B) + 3B = 3
2 + B = 3
B = 1
A = 1 - 1 = 0
And so our final solution is:
y(t) = e[sup]3t[/sup]
Got it. Thanks.