Trying to solve a boundary value problem

Click For Summary
The discussion centers on solving two boundary value problems involving second-order differential equations. The first equation, y'' + 4y = cos x, is noted to have no solution, while the second equation, y'' + 4y = sin x, does have a solution. Participants emphasize the importance of finding the complementary solution, which is y = A cos 2x + B sin 2x. To determine the particular integral for the right side, they suggest using the form Asin(ax) + Bcos(ax) and substituting back into the differential equation to find coefficients A and B. The conversation highlights the confusion around applying methods for second-order equations with constant coefficients.
ugetwutugiv
Messages
3
Reaction score
0
Trying to solve the following boundary value problems.



y'' + 4y = cos x; y(0) = 0, y(pi) = 0
y'' + 4y = sin x; y(0) = 0, y(pi) = 0




The answer key says that there's no solution to the first part, but there is a solution to the 2nd part. I'm really lost and am not sure how to go about this. I'd greatly appreciate everyone's help on this!
 
Physics news on Phys.org
Were you ever taught to solve 2nd order differential equations with constant coefficients?
 
For the most part. If it were y'' + 4y = 0, I'd know what to do. But for some reason, I'm at a mental block with this. Or is this something completely different from what you're asking?
 
ugetwutugiv said:
For the most part. If it were y'' + 4y = 0, I'd know what to do. But for some reason, I'm at a mental block with this. Or is this something completely different from what you're asking?

The first step is to find the complementary solution by solving y''+4y=0. What will y be equal to for this?

You then find a particular integral for the right side.
 
y = A cos 2x + B sin 2x...that would be the complementary solution. How would I go about finding a particular integral? I was going to do an integrating factor but I think that's only for first-order ODE.
 
ugetwutugiv said:
y = A cos 2x + B sin 2x...that would be the complementary solution. How would I go about finding a particular integral? I was going to do an integrating factor but I think that's only for first-order ODE.

If the Right side is cosax,sinax, sinax+cosax, then your particular integral is Asinax+Bcosax.

To find A and B, you need to substitute back this into the differential equation and then compare coefficients.
 
Question: A clock's minute hand has length 4 and its hour hand has length 3. What is the distance between the tips at the moment when it is increasing most rapidly?(Putnam Exam Question) Answer: Making assumption that both the hands moves at constant angular velocities, the answer is ## \sqrt{7} .## But don't you think this assumption is somewhat doubtful and wrong?

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 40 ·
2
Replies
40
Views
4K
Replies
7
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
2
Views
1K
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K