A differential equation with undetermined coefficients

Click For Summary
SUMMARY

The discussion focuses on solving the differential equation y'' + 4y = 2cos(3x)cos(x) using the method of undetermined coefficients. The right-hand side is simplified to cos(4x) + cos(2x), leading to the particular solutions yp1 = (-1/12)cos(4x) and yp2 = Acos(2x) + Bsin(2x). The characteristic equation m^2 + 4 = 0 is identified, and the necessity to verify the appropriateness of yp2 is emphasized. The conversation also touches on a related problem involving y'' + a^2y = cot(ax), highlighting the challenges posed by the cotangent function.

PREREQUISITES
  • Understanding of differential equations and their solutions
  • Familiarity with the method of undetermined coefficients
  • Knowledge of trigonometric identities, specifically the product-to-sum formulas
  • Ability to solve characteristic equations of second-order linear differential equations
NEXT STEPS
  • Study the method of undetermined coefficients in detail
  • Learn how to derive particular solutions for different types of right-hand sides
  • Explore the implications of characteristic equations in solving differential equations
  • Investigate the behavior of trigonometric functions under differentiation and integration
USEFUL FOR

Students and educators in mathematics, particularly those studying differential equations, as well as anyone seeking to enhance their problem-solving skills in this area.

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...
 
Physics news on Phys.org
You should look at the LHS and think about what the roots are. Your characteristic equation will be;
m^2 + 4 = 0

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;
m^2 + 4 = 0

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.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
12
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K