Help with Laplace Transformations and 2nd order ODEs

Click For Summary
SUMMARY

This discussion focuses on solving second-order ordinary differential equations (ODEs) using Laplace Transforms. The participants specifically address the equations: y' - y = 2e^t, y'' + 4y' + 4y = e^{-2t}, and y'' + y = sin(t). Key steps include applying the Laplace Transform, utilizing the initial conditions, and finding the inverse Laplace Transform to derive the solution in the time domain. The conversation emphasizes the importance of correctly applying formulas from Laplace Transform tables and clarifying notation to avoid confusion.

PREREQUISITES
  • Understanding of Laplace Transforms and their properties
  • Familiarity with solving ordinary differential equations (ODEs)
  • Knowledge of initial value problems and how to apply initial conditions
  • Ability to use Laplace Transform tables for common functions
NEXT STEPS
  • Study the application of the First Shift Theorem in Laplace Transforms
  • Learn how to derive inverse Laplace Transforms for common functions
  • Practice solving second-order ODEs using Laplace Transforms with various initial conditions
  • Explore advanced topics such as convolution in the context of Laplace Transforms
USEFUL FOR

Students and professionals in mathematics, engineering, and physics who are working with differential equations and seeking to understand the application of Laplace Transforms in solving initial value problems.

  • #91
yep but it can be simplified more (the first term?? and expand the bracket)
 
Physics news on Phys.org
  • #92
How did I miss it that time? I did it before. :cry: So:

\frac{1}{2} \left[ (1/2sin(2t - t) - tcos(t)) + (1/2sin(t)) \right] [\tex]<br /> <br /> Can be simplified to:<br /> <br /> \frac{1}{2} \left[ (1/2sin(t) - tcos(t)) + (1/2sin(t)) \right] [\tex]&lt;br /&gt; &lt;br /&gt; Which can go to:&lt;br /&gt; &lt;br /&gt; \frac{1}{2} \left[ sin(t) - tcos(t) \right] [\tex]&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; Better?&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; TFM
 
  • #93
it's 1/2(-sint-tcost) because in the second to last step, 1/2sint should be -1/2sin(t) (odd function sine).
 
  • #94
Okay so it should be:

\frac{1}{2} \left[ (-1/2sin(t) - tcos(t)) - (1/2sin(t)) \right]

Which goes to:

\frac{1}{2} \left[-sin(t)- tcos(t))\right]

So this is correct now?

TFM
 
  • #95
yes, now remember:
Y=1/(s^2+1)^2 + s/(s^2+1)

the 2nd fraction is the laplace of cost
the 1st fraction is the laplace of 1/2(-sint-tcost) (we showed by convolution)
so y(t)= 1/2(-sint-tcost) + cost
 
  • #96
Okay, So:

Y = \frac{1}{(s^2+1)^2} + \frac{s}{s^2+1}

\frac{1}{(s^2+1)^2} = \frac{1}{2} (-sin(t)- tcos(t))

\frac{s}{s^2+1} = cos(t)

So:

Y = \frac{1}{2} (-sin(t)- tcos(t)) + cos(t)

Hows this?

TFM
 
  • #97
very good

but, don't say: s/(s^2+1) = cos(t)
say: s/(s^2+1)=laplace of cos(t)
 
  • #98
So the final answer for this one is:

y(t) = \frac{1}{2} (-sin(t)- tcos(t)) + cos(t)

?

TFM
 
  • #99
yes.
 
  • #100
Excellent. Sp the last one is very similar, except the values have changed slightly:

y&#039;&#039; + y = sin(t), y_0 = 1, y_0&#039; = -\frac{1}{2}

so:

L(y(t)) = Y
L(y'(t)) = sL(y(t)) - y(0)
L(y''(t)) = sL(y'(t))-y'(0) = s^2(L(y(t))-sy(0)-y'(0)


And again, there is no y',

L(y(t)) = Y

L(y&#039;(t)) = sL(y(t)) - 1

L(y&#039;&#039;(t)) = sL(y&#039;(t))-\frac{1}{2} = s^2(L(y(t))-sy(0)-y&#039;(0)

And again from before:

sin(t) = \frac{1}{p^2 + 1}

okay so far?

TFM
 
  • #101
yes that's right. now substitute everything in and make Y the subject
 
  • #102
So original equation:

y&#039;&#039; + y = sin(t), y_0 = 1, y_0&#039; = -\frac{1}{2}

L(y(t)) = Y

L(y&#039;&#039;(t)) = s^2(L(y(t))-sy(0)-y&#039;(0)

L(y&#039;&#039;(t)) = s^2(Y)-1-1/2 = s^2(Y) - 3/2

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

Still okay?

TFM
 
  • #103
first, the -1/2 should be 1/2 since you have: --1/2=1/2, 2nd:
you made the same mistake again:
in the second to last step, you have -1 but it should be -s
L(y(t))=Y
L(y'(t))=sY-1
L(y''(t))=s(sY-1)+1/2=s^2Y-s+1/2

now substitue and make Y the subject
 
  • #104
sara_87 said:
first, the -1/2 should be 1/2 since you have: --1/2=1/2, 2nd:
you made the same mistake again:
in the second to last step, you have -1 but it should be -s
L(y(t))=Y
L(y'(t))=sY-1
L(y''(t))=s(sY-1)+1/2=s^2Y-s+1/2

now substitue and make Y the subject

I think I've found why I'm making the same mistake. Should this:

L(y&#039;(t)) = sL(y(t)) - 1

Really be:

L(y&#039;(t)) = s(L(y(t)) - 1)

It would work then?

Anyway, so:

L(y(t))=Y

L(y''(t))=s(sY-1)+1/2=s^2Y-s+1/2

y&#039;&#039; + y = sin(t)

s^2Y-s+1/2 + Y = \frac{1}{s^2 + 1}

rearrange for Y:

s^2Y+ Y = \frac{1}{s^2 + 1} + s - 1/2

Y(s^2 + 1) = \frac{1}{s^2 + 1} + s - 1/2

Y = \frac{\frac{1}{s^2 + 1} + s - 1/2}{s^2 + 1}

Is this okay?

TFM
 
  • #105
very good.
now, let's separate them to make life much simpler:
Y=1/(s^2+1)^2 + s/(s^2+1) - 1/2(s^2+1)
now find the inverse laplace of each one separately and remember we found the inverse laplace of the first fraction before using convolution so you don't have to do it again but u could for practice if you wish.
 
  • #106
Okay so:

Y = \frac{\frac{1}{s^2 + 1} + s - 1/2}{s^2 + 1}

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

So, the Laplace tranformation of:

\frac{1}{(s^2 + 1)^2} = = \frac{1}{2} (-sin(t)- tcos(t))

and the Laplace transformation of:

\frac{s}{s^2+1} = cos(t)

And finally, the Laplace Transformation of:

\frac{1}{2s^2 + 2}

would this be similar to the first one, but require first shift theorem:

\frac{1}{(s^2 + 1)^2} = = \frac{1}{2} (-sin(t)- tcos(t))

\frac{1}{(2s^2 + 2)^2} = = \left(\frac{1}{2} (-sin(t)- tcos(t))\right) e^2t

Is this okay?

TFM
 
  • #107
The first two bits are perfectly fine.
what is the inverse laplace transform of 1/(s^2 +1)
It is ofcourse sin(t)
so that means the inverse laplace of 1/2(s^2+1) is just simply (1/2)sin(t)

so now you have the inverse laplace of each bit, now you can state what the function y(t) is.
 
  • #108
Okay, so now:

y(t) = cos(t) + \frac{1}{2}(-sin(t) - t cos(t)) + \frac{1}{2}sin(t)

Is this okay?

TFM
 
  • #109
that's right
 
  • #110
Excellent. Thanks for all your assistance, sara_87
 

Similar threads

Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
2
Views
2K
Replies
3
Views
2K
Replies
9
Views
2K