Integrating Second-Order PDE: u''(x) = -4u(x), 0 < x < pi | Calculus Help

  • Thread starter Thread starter Scootertaj
  • Start date Start date
  • Tags Tags
    Pde
Click For Summary

Homework Help Overview

The discussion revolves around integrating the second-order partial differential equation u''(x) = -4u(x) within the interval 0 < x < pi. Participants explore the characteristics of the equation and the nature of its solutions, particularly focusing on the implications of the negative sign in the equation.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss the initial attempts to solve the equation, with one expressing uncertainty about how to start and another suggesting rewriting the equation to identify its form. There are references to using trial solutions and the characteristic equation. Questions arise about the necessity of two independent solutions and whether guessing the solution is a valid approach.

Discussion Status

The discussion is active, with participants providing various insights and suggestions. Some guidance has been offered regarding the use of trial solutions and the interpretation of complex roots, though there is no explicit consensus on the best approach yet.

Contextual Notes

One participant notes their lack of prior knowledge in the subject, indicating they are preparing for a graduate-level PDE class. There is mention of a previous experience with a less effective ODE class, which may influence their confidence in tackling the problem.

Scootertaj
Messages
97
Reaction score
0
1. Integrate (by calculus): u''(x) = -4u(x), 0 < x < pi
2. The attempt at a solution
I'm not really sure where to start on this one is my problem. I can see that it won't be a e^2x problem because of the negative, which leads me to believe that it will deal with the positive/negative relationship involved when you differentiate cos.
The answer is u(x) = c1sin(2x) + c2cos(2x) which makes sense since u'(x) = 2cos(2x) - 2sin(2x) and u''(x) = -4sin(2x) - 4cos(2x) = -4(sin(2x) + cos(2x)) = -4u(x)
But, how do I go about showing my work? How am I supposed to know it's c1sin(2x) + c2cos(2x) in the first place?
 
Physics news on Phys.org
Rewrite your equation as

u''+ 4u = 0and since this is a 2nd order ODE with constant coefficients, you can use a trial solution of u = erx to get auxiliary equation which will be for the form

ar2+br+c = 0 where you can solve for r.

For more info: here
 
Scootertaj said:
I can see that it won't be a e^2x problem because of the negative, which leads me to believe that it will deal with the positive/negative relationship involved when you differentiate cos.

Have you discussed in your course yet how to interpret complex roots from the characteristic equation to a second-order DE? You will find the "Euler Identity" of use:

e^(ikx) = cos(kx) + i sin(kx) .
 
You could say you made an educated guess as to what the solution is. Guessing the answer is a legitimate way to solve a differential equation. It's a second-order equation so you need two independent solutions. As you noted, the negative sign suggests the solutions will be sines and cosines. Then it's just a matter of figuring out what you need to do to get the factor of 4 out front.
 
Thank you guys for all your help!
I haven't actually started this class yet, I'm just preparing for it since I know it's going to be quite a *****. It's a graduate level PDE class, and I didn't learn much in my ODE class because of a terrible teacher (even though I got an A).
vela said:
You could say you made an educated guess as to what the solution is. Guessing the answer is a legitimate way to solve a differential equation. It's a second-order equation so you need two independent solutions. As you noted, the negative sign suggests the solutions will be sines and cosines. Then it's just a matter of figuring out what you need to do to get the factor of 4 out front.
I was wondering if guessing the answer is sufficient enough, assuming I prove why it works.
When you say "you need two independent solutions" do you mean having c1 and c2?
Would just c1sin(2x) work? After all, if u = sin(2x), then u' = 2cos(2x) and u'' = -4sin(2x), which works.
Or does that not work since there need to be 2 constant c's because it's second order?

dynamicsolo said:
Have you discussed in your course yet how to interpret complex roots from the characteristic equation to a second-order DE? You will find the "Euler Identity" of use:

e^(ikx) = cos(kx) + i sin(kx) .
I haven't learned that (or anything yet), but how would I go about using that as an answer?
Would I just use e^(i2x)?

rock.freak667 said:
Rewrite your equation as

u''+ 4u = 0and since this is a 2nd order ODE with constant coefficients, you can use a trial solution of u = erx to get auxiliary equation which will be for the form

ar2+br+c = 0 where you can solve for r.

For more info: here
Interesting, I'll look into that more thank you! That makes sense, I need to study it more though.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 12 ·
Replies
12
Views
33K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K