S.O.S. Mathematics CyberBoard

Your Resource for mathematics help on the web!
It is currently Sat, 25 May 2013 19:49:39 UTC

All times are UTC [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: 2nd Order Differential Equation + Boundary Conditions!
PostPosted: Thu, 8 Mar 2012 16:37:20 UTC 
Offline
S.O.S. Newbie

Joined: Thu, 8 Mar 2012 14:46:00 UTC
Posts: 4
Hi guys, I have been doing some questions on complex numbers and second order differential equations. It's been going mostly fine, but now I have hit a bit of brick wall in my mind.

The question is this:

Solve the equation:

\dfrac{\mathrm{d}^2 y}{\mathrm{d}x^2}+4\dfrac{\mathrm{d}y}{\mathrm{d}x}+4y=\cos(x)

subject to the boundary conditions y(0) = 0 and y(pi) = 0

I can solve it fine, I get: Ae^-2x + Bxe^-2x + 4/25sinx + 3/25cosx

But I can't get my head around what I am supposed to do with the boundary conditions, I'm completely lost :confused:

Does anybody have any ideas? Any help would be great thanks :)


Last edited by outermeasure on Fri, 9 Mar 2012 08:12:30 UTC, edited 1 time in total.
Replace dead wolframalpha image with TeX


Top
 Profile  
 
 Post subject: Re: 2nd Order Differential Equation + Boundary Conditions!
PostPosted: Thu, 8 Mar 2012 16:40:10 UTC 
Offline
Moderator
User avatar

Joined: Wed, 30 Mar 2005 04:25:14 UTC
Posts: 12103
Location: Austin, TX
Vespre wrote:
Hi guys, I have been doing some questions on complex numbers and second order differential equations. It's been going mostly fine, but now I have hit a bit of brick wall in my mind.

The question is this:

Solve the equation:

Image

subject to the boundary conditions y(0) = 0 and y(pi) = 0

I can solve it fine, I get: Ae^-2x + Bxe^-2x + 4/25sinx + 3/25cosx

But I can't get my head around what I am supposed to do with the boundary conditions, I'm completely lost :confused:

Does anybody have any ideas? Any help would be great thanks :)


Use the boundary conditions to solve for A and B! :)

_________________
(\ /)
(O.o)
(> <)
This is Bunny. Copy Bunny into your signature to help him on his way to world domination


Top
 Profile  
 
 Post subject: Re: 2nd Order Differential Equation + Boundary Conditions!
PostPosted: Thu, 8 Mar 2012 16:53:32 UTC 
Offline
S.O.S. Newbie

Joined: Thu, 8 Mar 2012 14:46:00 UTC
Posts: 4
I got that bit :P I'm just not sure how to. Do I sub 0 into the equation somehow? What about the pi one?

If anybody can show me or at least show me a little bit to help get me started, that would be great.

Thanks for the quick reply though :P


Top
 Profile  
 
 Post subject: Re: 2nd Order Differential Equation + Boundary Conditions!
PostPosted: Thu, 8 Mar 2012 16:54:40 UTC 
Offline
Moderator
User avatar

Joined: Wed, 30 Mar 2005 04:25:14 UTC
Posts: 12103
Location: Austin, TX
Vespre wrote:
I got that bit :P I'm just not sure how to. Do I sub 0 into the equation somehow? What about the pi one?

If anybody can show me or at least show me a little bit to help get me started, that would be great.

Thanks for the quick reply though :P


That's certainly what y(0) and y(\pi) mean, right? That's not differential equations, it's definition of how functions work. :)

_________________
(\ /)
(O.o)
(> <)
This is Bunny. Copy Bunny into your signature to help him on his way to world domination


Top
 Profile  
 
 Post subject: Re: 2nd Order Differential Equation + Boundary Conditions!
PostPosted: Thu, 8 Mar 2012 17:10:03 UTC 
Offline
S.O.S. Newbie

Joined: Thu, 8 Mar 2012 14:46:00 UTC
Posts: 4
Well the equation itself is a second order differential, so you solve it with the axillary equation (set it to = 0), then solve the particular integral (right hand side bit) to get the general solution.

It then just asks me to do solve it 'subject to the boundary conditions y(0) = 0 and y(pi) = 0. So I assume it just means set my solved equation to 0 and stick 0 where x is? And for the other one, do the same, but stick pi where x is? And it should give me some values for A and B that I can stick in to give me a fully solved equation?

Sorry if I completely missed your point there, I think I've confused myself more than I needed to :D


Top
 Profile  
 
 Post subject: Re: 2nd Order Differential Equation + Boundary Conditions!
PostPosted: Thu, 8 Mar 2012 21:00:34 UTC 
Offline
Moderator
User avatar

Joined: Wed, 30 Mar 2005 04:25:14 UTC
Posts: 12103
Location: Austin, TX
Vespre wrote:
Well the equation itself is a second order differential, so you solve it with the axillary equation (set it to = 0), then solve the particular integral (right hand side bit) to get the general solution.

It then just asks me to do solve it 'subject to the boundary conditions y(0) = 0 and y(pi) = 0. So I assume it just means set my solved equation to 0 and stick 0 where x is? And for the other one, do the same, but stick pi where x is? And it should give me some values for A and B that I can stick in to give me a fully solved equation?

Sorry if I completely missed your point there, I think I've confused myself more than I needed to :D


He already did those things, he just didn't realize to use the boundary conditions.

_________________
(\ /)
(O.o)
(> <)
This is Bunny. Copy Bunny into your signature to help him on his way to world domination


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Contact Us | S.O.S. Mathematics Homepage
Privacy Statement | Search the "old" CyberBoard

users online during the last hour
Powered by phpBB © 2001, 2005-2011 phpBB Group.
Copyright © 1999-2013 MathMedics, LLC. All rights reserved.
Math Medics, LLC. - P.O. Box 12395 - El Paso TX 79913 - USA