How to solve 2nd order inhomogeneous differential equation

metalskaashw

metalskaashw

Answered question

2022-03-30

How to solve 2nd order inhomogeneous differential equation ivp
y¨+4y=t2sin(2t), y(π)=0,   y˙(π)=1

Answer & Explanation

Pubephenedsjq

Pubephenedsjq

Beginner2022-03-31Added 11 answers

Step 1
The problem is that your complementary solution has the same form as the term on the right hand side. The particular solution you have tried will not work. What you can do is try
yp=Ctcos(2t)+Dtsin(2t)
Then
y˙p=Ccos(2t)2Ctsin(2t)+Dsin(2t)+2Dtcos(2t)
y¨p=4Csin(2t)4Ctcos(2t)+4Dcos(2t)4Dtsin(2t)
Notice now that
y¨p+4yp=4Csin(2t)+4Dcos(2t)
This does not contain tcos(2t) or tsin(2t) terms.

Do you have a similar question?

Recalculate according to your conditions!

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?