| 
November 15th, 2009, 02:04 PM
| | Junior Member | | Join Date: Nov 2008
Posts: 27
Country: Thanks: 24
Thanked 0 Times in 0 Posts
| | 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. | 
November 15th, 2009, 03:25 PM
|  | 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
| | Quote:
Originally Posted by algorithm 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:  (for  )  (for  )
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.! | | The following users thank Chris L T521 for this useful post: | |  | 
November 15th, 2009, 03:28 PM
| | Junior Member | | Join Date: Nov 2008
Posts: 27
Country: Thanks: 24
Thanked 0 Times in 0 Posts
| | 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 | 
November 17th, 2009, 08:15 AM
|  | Super Member | | Join Date: Mar 2009 Location: near Piacenza (Italy)
Posts: 708
Country: Thanks: 23
Thanked 262 Times in 230 Posts
| | The second order linear DE is...  ,  (1)
... being  the 'Haeviside Step Function'. In terms of LT the (1) becomes...  (2)
... and from it...  (3)
Because is  the only contribution is the 'forced response' ...  (4)
... so that is...  (5)
Kind regards
__________________ My new avatar will remain until the sentence of the European Court that removes the crucifix from the italian schools will be revised... | | The following users thank chisigma for this useful post: | |  | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -7. The time now is 11:27 AM. | | |
 | |  |