Trying to solve a boundary value problem

Click For Summary

Homework Help Overview

The discussion revolves around solving boundary value problems involving second-order differential equations with constant coefficients, specifically the equations y'' + 4y = cos x and y'' + 4y = sin x, with boundary conditions y(0) = 0 and y(pi) = 0. The original poster expresses confusion regarding the existence of solutions as indicated by an answer key.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss the process of finding complementary and particular solutions for the differential equations. There are questions about the applicability of methods learned for simpler equations and the original poster's mental block regarding the problem.

Discussion Status

Some participants have offered guidance on identifying the complementary solution and suggested methods for finding a particular integral. There is an ongoing exploration of the appropriate techniques to apply to the boundary value problems presented.

Contextual Notes

The original poster notes uncertainty about the solution process and the implications of the answer key, which states that there is no solution for the first equation but a solution exists for the second. This raises questions about the conditions under which solutions may or may not exist.

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.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 40 ·
2
Replies
40
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
7
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · 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