A differential equation with undetermined coefficients

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 2K views
Kaguro
Messages
221
Reaction score
57

Homework Statement


Solve the following DE with the method of undetermined coefficients:
y'' + 4y = 2cos(3x)cos(x)

Homework Equations


2cos(3x)cos(x) = cos(4x) + cos(2x)

The Attempt at a Solution


Let's split the particular integral into two parts: yp1 and yp2.
So yp1 is solution for RHS=cos(4x) and yp2 is solution for RHS=cos(2x)

Let yp1 = Acos4x + Bsin4x
(yp1)'' = -16Acos(4x) -16Bsin(4x)

So, -16Acos(4x) - 16Bsin(4x) + Acos(4x) + Bsin(4x) = cos(4x)

So by equating coefficients, we have:
yp1 = (-1/12)cos(4x)

In case of yp2, I have taken:
Let yp2 = Acos(2x) + Bsin(2x)
yp2'' = -4Acos(2x) -4Bsin(2x)

So 0 = cos(2x) :sorry::sorry:
That's not great...
 
on Phys.org
You should look at the LHS and think about what the roots are. Your characteristic equation will be;
[tex]m^2 + 4 = 0[/tex]

Once you have found your roots (and hence complementary function), you should check whether yp2 is an appropriate choice.

Hope that helps. If not, I am happy to provide more assistance.
 
Last edited:
  • Like
Likes   Reactions: Kaguro
Master1022 said:
You should look at the LHS and think about what the roots are. Your characteristic equation will be;
[tex]m^2 + 4 = 0[/tex]

Once you have found your roots (and hence complementary function), you should check whether yp2 is an appropriate choice.

Hope that helps. If not, I am happy to provide more assistance.
That's it!
Thanks very much! You helped me out.
 
Do you think this you can help me with another one?

y"+a^2y=cot (ax)

This one too with undetermined coefficients.

If the RHS had been sin or cos then I would have used the complex method... but it is cot.

Cotx doesn't come back if differentiated twice. ..So... any clues?
 
Kaguro said:
Do you think this you can help me with another one?
So... any clues?

Sorry, I have just seen your post. Presumably, the assignment has been handed in by now and I apologise for not being able to get back to you in time. Either way, I will still have a think about it.
 
Last edited:
Master1022 said:
Presumably, the assignment has been handed in by now

Yeah, you are right... but I still want to know how to solve this.