Math Help Forum

Math Help Forum Feed Site Feed

Go Back   Math Help Forum > University Math Help > Differential Equations
Reply
 
Thread Tools Display Modes
  #1  
Old November 2nd, 2009, 09:07 PM
Pinkk's Avatar
Senior Member
 
Join Date: Mar 2009
Location: Uptown Manhattan, NY, USA
Posts: 264
Country:
Thanks: 91
Thanked 62 Times in 56 Posts
Pinkk will become famous soon enough
Default Solving a nonhomogeneous second order ODE using Laplace transform

y'' - 2y' + 2y = cost; \, y(0) = 1, \, y'(0)=0

So I know s^{2}L[y] - sy(0) - y'(0) -2sL[y] + 2y(0) + 2L[y] = \frac{s}{s^{2}+1}

L[y](s^{2} -2s +2) - s + 2 = \frac{s}{s^{2} + 1}

L[y] = \frac{s(s^{2} - 2s + 2) -2}{(s^{2} + 1)(s^{2} - 2s +2)}

L[y] = \frac{s}{s^{2} + 1} - \frac{2}{(s^{2}+1)(s^{2}-2s+2)}

I am pretty sure I am right up to this part and I know I have to use partial fractions, but everytime I do I get a different answer and they are never close to what the answer key's answer is:

y = \frac{1}{5}(cost - 2sint +4e^{t}cost - 2e^{t}sint)

Much help would be appreciated!
__________________
If I don't get some shelter, oh yeah, I'm gonna fade away.
Reply With Quote
Advertisement
 
  #2  
Old November 3rd, 2009, 01:05 AM
mr fantastic's Avatar
Flow Master

 
Join Date: Dec 2007
Location: Zeitgeist
Posts: 13,510
Country:
Thanks: 2,979
Thanked 5,256 Times in 4,605 Posts
mr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond repute
Default

Quote:
Originally Posted by Pinkk View Post
y'' - 2y' + 2y = cost; \, y(0) = 1, \, y'(0)=0

So I know s^{2}L[y] - sy(0) - y'(0) -2sL[y] + 2y(0) + 2L[y] = \frac{s}{s^{2}+1}

L[y](s^{2} -2s +2) - s + 2 = \frac{s}{s^{2} + 1}

L[y] = \frac{s(s^{2} - 2s + 2) -2}{(s^{2} + 1)(s^{2} - 2s +2)}

L[y] = \frac{s}{s^{2} + 1} - \frac{2}{(s^{2}+1)(s^{2}-2s+2)}

I am pretty sure I am right up to this part and I know I have to use partial fractions, but everytime I do I get a different answer and they are never close to what the answer key's answer is:

y = \frac{1}{5}(cost - 2sint +4e^{t}cost - 2e^{t}sint)

Much help would be appreciated!
Well, you need to get the correct partial fraction decomposition and that's just paleontological spade work. After which you get:

\frac{s}{s^2 + 1} - \frac{1}{5} \left( \frac{6 - 4s}{(s - 1)^2 + 1} + \frac{4s + 2}{s^2 + 1}\right)


= \frac{1}{5} \left( \frac{4s}{(s - 1)^2 + 1} - \frac{6}{(s - 1)^2 + 1} - \frac{2}{s^2 + 1} + \frac{s}{s^2 + 1}\right)

and the inversion is simple. However, the 6 is clearly wrong (it should be a 2) so I suspect there's a small error somewhere in your expression for L[y].
__________________
There are two things you should never try to prove: the impossible and the obvious.

The greater danger for most of us lies not in setting our aim too high and falling short; but in setting our aim too low and achieving our mark. (Michelangelo Buonarroti)

  • To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

  • To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

  • To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

  • To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

  • To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Last edited by mr fantastic; November 3rd, 2009 at 01:57 AM.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -7. The time now is 09:48 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
©2005 - 2009 Math Help Forum


Math Help Forum is a community of maths forums with an emphasis on maths help in all levels of mathematics.
Register to post your math questions or just hang out and try some of our math games or visit the arcade.