Solving a First Order Initial Value Problem

Homework Statement

If y = y(t) is the solution of the initial value problem
y' + (2 t + 1) y = 2 cos(t)
y(0) = 2
What is y''(0)?

The Attempt at a Solution

Since this is a first order linear, I started out by finding the integrating factor so I can find what y is, and then just take the second derivative of it, and then put it to 0.

$IF = e^{ \int {2t + 1} } => IF = e^{t^2 + t}$
Then, I end up with this equation, if we set IF = k.
$(ky)' = k (2 cos(t))$

From here, I don't think I can integrate that equation, so now I'm pretty much stuck. Is there a method I'm missing? Or could I find the value of the second derivative using the value of y at 0?
Any help is appreciated, thank you.

Related Calculus and Beyond Homework Help News on Phys.org
LCKurtz
Homework Helper
Gold Member

Homework Statement

If y = y(t) is the solution of the initial value problem
y' + (2 t + 1) y = 2 cos(t)
y(0) = 2
What is y''(0)?

The Attempt at a Solution

Since this is a first order linear, I started out by finding the integrating factor so I can find what y is, and then just take the second derivative of it, and then put it to 0.

$IF = e^{ \int {2t + 1} } => IF = e^{t^2 + t}$
Then, I end up with this equation, if we set IF = k.
$(ky)' = k (2 cos(t))$

From here, I don't think I can integrate that equation, so now I'm pretty much stuck. Is there a method I'm missing? Or could I find the value of the second derivative using the value of y at 0?
Any help is appreciated, thank you.
Instead of trying to solve the original DE, try just differentiating it once and solving for ##y''## and see if you can get the answer from that.

Wow! I can't believe I didn't see that, haha, thanks man. Much appreciated.