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 15th, 2009, 02:04 PM
Junior Member
 
Join Date: Nov 2008
Posts: 27
Country:
Thanks: 24
Thanked 0 Times in 0 Posts
algorithm is on a distinguished road
Post Different Results when Using Laplace or Complamentary Functions/Particular Integrals

Hi,

y''(t) + 3y'(t) + y(t) = 2x(t)

Where x(t) = u(t), and the system is initially at rest. We are interested only when t>=0, so x(t) = 1 always.

I can solve it by Laplace transforms:

Original eqn:
y''(t) + 3y'(t) + y(t) = 2

Taking Laplace of both sides (and assuming system was at rest):
Y(s)[s^2 + 3s + 2] = 2/s
Y(s) = [2/s]/[s^2 + 3s + 2]
Y(s) = A/s + B/(s + 1) + C/(s + 2)

Finally: y(t) = 1 - 2exp[-t] + ext[-2t]

--------

The problem is when I try solving it by equating coefficients. I get a different answer:

Original eqn:
y''(t) + 3y'(t) + y(t) = 2

To get complementary function, y_comp(t):
y''(t) + 3y'(t) + y(t) = 0
Auxiliary eqn: s^2 + 3s + 1 = 0; s = -1, -2
y_comp(t) = Aexp[-t] + Bexp[-2t]

To get particular integral, y_pt(t):
Forcing function: x(t) = 1
Gives y_pt(t) = 1

General solution:
y(t) = y_comp(t) + y_pt(t) = Aexp[-t] + Bexp[-2t] + 1

Solving for the constants A and B (problem is here):
y'(t) = -Aexp[-t] -2Bexp[-2t]
y''(t) = Aexp[-t] + 4Bexp[-2t]
Given the system was at rest, I get:
0 = -A - 2B (1)
0 = A + 4B (2)

Solving these gives A=B=0. But this means that y(t) = 1, which is different to the Laplace solution of y(t) = 1 - 2exp[-t] + ext[-2t].

Thanks for any help.
Reply With Quote
Advertisement
 
  #2  
Old November 15th, 2009, 03:25 PM
Chris L T521's Avatar
The Green Lanturn

 
Join Date: May 2008
Location: Arlington Heights, IL
Posts: 2,629
Country:
Thanks: 2,412
Thanked 2,129 Times in 1,521 Posts
Chris L T521 has a reputation beyond reputeChris L T521 has a reputation beyond reputeChris L T521 has a reputation beyond reputeChris L T521 has a reputation beyond reputeChris L T521 has a reputation beyond reputeChris L T521 has a reputation beyond reputeChris L T521 has a reputation beyond reputeChris L T521 has a reputation beyond reputeChris L T521 has a reputation beyond reputeChris L T521 has a reputation beyond reputeChris L T521 has a reputation beyond repute
Send a message via Skype™ to Chris L T521
Default

Quote:
Originally Posted by algorithm View Post
Hi,

y''(t) + 3y'(t) + y(t) = 2x(t)

Where x(t) = u(t), and the system is initially at rest. We are interested only when t>=0, so x(t) = 1 always.

I can solve it by Laplace transforms:

Original eqn:
y''(t) + 3y'(t) + y(t) = 2

Taking Laplace of both sides (and assuming system was at rest):
Y(s)[s^2 + 3s + 2] = 2/s
Y(s) = [2/s]/[s^2 + 3s + 2]
Y(s) = A/s + B/(s + 1) + C/(s + 2)

Finally: y(t) = 1 - 2exp[-t] + ext[-2t]

--------

The problem is when I try solving it by equating coefficients. I get a different answer:

Original eqn:
y''(t) + 3y'(t) + y(t) = 2

To get complementary function, y_comp(t):
y''(t) + 3y'(t) + y(t) = 0
Auxiliary eqn: s^2 + 3s + 1 = 0; s = -1, -2
y_comp(t) = Aexp[-t] + Bexp[-2t]

To get particular integral, y_pt(t):
Forcing function: x(t) = 1
Gives y_pt(t) = 1

General solution:
y(t) = y_comp(t) + y_pt(t) = Aexp[-t] + Bexp[-2t] + 1

Solving for the constants A and B (problem is here):
y'(t) = -Aexp[-t] -2Bexp[-2t]
y''(t) = Aexp[-t] + 4Bexp[-2t]
Given the system was at rest, I get:
0 = -A - 2B (1)
0 = A + 4B (2)

Solving these gives A=B=0. But this means that y(t) = 1, which is different to the Laplace solution of y(t) = 1 - 2exp[-t] + ext[-2t].

Thanks for any help.
When you apply initial conditions, there isn't one for the second derivative of the function!

Your coefficient equations should be:

A+B+1=0 (for y(0)=0)

-A-2B=0 (for y^{\prime}(0)=0)

Can you take it from here?
__________________

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.

Stuck on DE's? See
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
!

See
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
for Maple programming tips.

Become a fan of
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
!
Reply With Quote
The following users thank Chris L T521 for this useful post:
Donate to MHF
  #3  
Old November 15th, 2009, 03:28 PM
Junior Member
 
Join Date: Nov 2008
Posts: 27
Country:
Thanks: 24
Thanked 0 Times in 0 Posts
algorithm is on a distinguished road
Default

Hi,

Thanks for the reply. So when we assume a 2nd order system is initially at rest, the initial conditions are only y(0) = y'(0) = 0?
Can you please explain why?

Thanks
Reply With Quote
  #4  
Old November 17th, 2009, 08:15 AM
chisigma's Avatar
Super Member
 
Join Date: Mar 2009
Location: near Piacenza (Italy)
Posts: 708
Country:
Thanks: 23
Thanked 262 Times in 230 Posts
chisigma is a jewel in the roughchisigma is a jewel in the roughchisigma is a jewel in the roughchisigma is a jewel in the rough
Default

The second order linear DE is...

y^{''} (t) + 3\cdot y^{'} (t) + 2\cdot y(t) = 2\cdot \mathcal{U} (t) , y(0)=y^{'}(0)=0 (1)

... being \mathcal{U} (*) the 'Haeviside Step Function'. In terms of LT the (1) becomes...

s^{2}\cdot Y(s) - s\cdot y(0) - y^{'} (0) +3\cdot s\cdot Y(s) -3\cdot y(0) + 2\cdot Y(s) = \frac{2}{s} (2)

... and from it...

Y(s)= \frac{(s-3)\cdot y(0) + y^{'} (0)}{s^{2} + 3s +2} + \frac{2}{s\cdot (s^{2} + 3s + 2)} (3)

Because is y(0)=y^{'}(0)=0 the only contribution is the 'forced response' ...

Y(s) = \frac{2}{s\cdot (s^{2} + 3s + 2)} = \frac{1}{s} - \frac{2}{s+1} + \frac{1}{s+2} (4)

... so that is...

y(t)=\mathcal{L}^{-1} \{Y(s)\} = (1-2\cdot e^{-t} + e^{-2t})\cdot \mathcal{U} (t) (5)

Kind regards

\chi \sigma
__________________
My new avatar will remain until the sentence of the European Court that removes the crucifix from the italian schools will be revised...
Reply With Quote
The following users thank chisigma for this useful post:
Donate to MHF
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 11:27 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.