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.

  • #61
y(t)=(1/2)t^2(e^-t) + 4t(e^-2t)
This is the answer. don't substitute anything into anything.
 
Physics news on Phys.org
  • #62
Excellent.

So

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

Tomorrow, I'll start (c), if that's okay?

TFM
 
  • #63
yep that's fine
 
  • #64
Okay, so:

(c):

y'' + y = sin(t), y_0 = 1, y_0' = 0

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)


there is no y',


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


and for the sin(t)

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

since alpha = 1:

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

Is this okay, I am not quite sure because the lack of y'

TFM
 
  • #65
That is absolutely right.
what next?
 
  • #66
Okay so:

L(y(t)) = Y

L(y'(t)) = sL(y(t)) - 1

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

So now I substitute these into the original equation:

y'' + y = sin(t)

s^2(L(y(t))-sy(0) + Y = \frac{1}{p^2 + 1}

Is this okay? Do I substitute y(0) into sy(0), or is there another value/leave it alone?

TFM
 
  • #67
That's fine
substitute y(0) and also substitue the value L(y(t))
 
  • #68
Okay, so

s^2(L(y(t))-sy(0) + Y = \frac{1}{p^2 + 1}

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

Ys^2 + Y - 1 = \frac{1}{p^2 + 1}

Now I need to make the Y the subject:

Ys^2 + Y = \frac{1}{p^2 + 1} + 1

factorise out

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

divide through:

Y = \frac{\frac{1}{p^2 + 1} + 1}{s^2 + 1}

Now I need to find the inverse.

Firstly, split it up into two fractions:

Y = \frac{\frac{1}{p^2 + 1}}{s^2 + 1} + \frac{1}{s^2 + 1}

Does this look okay?

TFM
 
  • #69
in ur second line, you have: s^y-1+y=1/(s^2+1)
the -1 on the left hand side should be -s (since you have:L(y'')=s(sy-1)
and remember: s is p so don't put both...choose one of them :)
 
  • #70
Okay so:

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

Ys^2 + sY - 1 = \frac{1}{s^2 + 1}

Does this look okay now?

TFM
 
  • #71
you should have:
Ys^2 - s + Y=1/(s^2+1)

i think you made a mistake while substituting.
 
  • #72
Okay, back a bit originally:

s^2(L(y(t))-sy(0) + Y = \frac{1}{s^2 + 1}

y(0) = 1

L(y(t)) = Y

put these in:

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

goes to:

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

I still have a minus one where there should be a minus s.?

TFM
 
  • #73
y''+y'=sint

L(y(t))=Y
L(y'(t)=sL(y(t))-y(0)=sY-1
L(y''(t))=sL(y'(t))-y'(0)=s(sy-1)-0
=s^2Y-s
substitute this into the equation: y''+y'=sint
(s^2)Y-s+Y=1/(s^2+1)
 
  • #74
sara_87 said:
y''+y'=sint

L(y(t))=Y
L(y'(t)=sL(y(t))-y(0)=sY-1
L(y''(t))=sL(y'(t))-y'(0)=s(sy-1)-0
=s^2Y-s
substitute this into the equation: y''+y'=sint
(s^2)Y-s+Y=1/(s^2+1)

Isn't the equation:

y'' + y = sin(t)

though, not

y'' + y' = sin(t)

?

TFM
 
  • #75
yep that's what i meant.

substitute this into the equation: y''+y=sint
(s^2)Y-s+Y=1/(s^2+1)
 
  • #76
Okay so:

<br /> y&#039;&#039;+ y = sin(t) <br />

L(y(t))=Y

L(y''(t))= s(sy-1)-0

insert into equation:

s(sy - 1)+ Y = sin(t)

multiply out:

s^2y - s+ Y = sin(t)

sin(t)= 1/(s^2+1)

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

Is this okay? If so I now have to rearrange to find Y

s^2Y + Y = \frac{1}{s^2+1} + S

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

giving:

Y = \frac{\frac{1}{s^2+1} + S}{s^2 + 1}

split the fraction:

Y = \frac{\frac{1}{s^2+1}}{s^2 + 1} + \frac{S}{s^2 + 1}

Does this look better?

TFM
 
  • #77
much better :)

so now you have:
Y=1/[((s^2)+1)^2] + s/((s^2)+1)

now, the inverse laplace of s/(s^2 + 1) should be in you tables (can you find it?) and so, what are you going to do about the first fraction 1/[((s^2)+1)^2] ?
 
  • #78
the inverse of:

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

for:

\frac{1}{((s^2)+1)^2},

I assume the first Shift Theroem is required?

TFM
 
  • #79
no first shift theorem...why do you assume that??

1/[((s^2)+1)^2] can be split into 1/[(s^2)+1] * 1/[(s^2)+1]
convolution says that if you have the product of two functions, F(s)G(s), the inverse laplace can be evaluated by doing: first find the inverse laplace of F(s) and G(s) (call them F(t) and G(t) respectively) then carry out:
integral (with limits 0 to t) of (F(u)G(t-u)) du
the value of the integral gives you the inverse of the laplce F(s)G(s).

so in you case, you have: F(s)=1/(s^2+1) and G(s)=1/(s^2+1)
what's the inverse of both of them (surely they give the same inverse) ?
 
  • #80
so we have:

F(s)=1/(s^2+1) and G(s)=1/(s^2+1)

the inverse of both is:

sin(t)

All right so far?

TFM
 
  • #81
yep that's right, so now evaluate the integral with limits 0 to t of:
sin(u)sin(t-u) du

you might wana remember the formula:
sin(A)sin(B)=1/2(cos(A-B)-cos(A+B))
and in this case, A=u and B=t-u
you have been taught convolution...right?
 
  • #82
Okay so:

sin(A)sin(B)=1/2(cos(A-B)-cos(A+B))

A=u and B=t-u

sin(u)sin(t - u)=1/2(cos(u-(t - u))-cos(u+(t - u)))

this would go to:

1/2(cos(2u-t)-cos(t))

Integrate from 0 to t

\int^t_0 1/2(cos(2u-t)-cos(t)) du

Take the half outside:

\frac{1}{2}\int^t_0 cos(2u-t)-cos(t) du

integrating becomes:

\frac{1}{2} \left[ sin(2u - t) - sin(t)\right]^t_0

okay so far?

TFM
 
  • #83
whats the integral of: cos(t) du ?
 
  • #84
Hmm,

wells, cos(t) has no values of u, so can be assumed to be a constant, so would it be cos(t)*u ?

TFM
 
  • #85
yep...and what is the integral of cos(2u-t)du ??
 
  • #86
The integral of cos(u) is sin(u)
The integral of cos(2u) is 1/2sin(2u)

So would that make the integral of:

cos(2u - t) = 1/2sin(2u - t) ?

TFM
 
  • #87
good
so evaluate with limits t and 0 and don't forget the 1/2 outside the bracket.
 
  • #88
Okay so now:

\frac{1}{2} \left[ 1/2sin(2u - t) - cos(t)u \right]^t_0

so this goes to:

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

and:

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

Does this look okay now?

TFM
 
  • #89
the second to last step is:
1/2(1/2sin(2t-t) - tcos(t) - 1/2(sin(-t)) - 0cost)

the last step is not ok... remember: sint is odd function so sin(-t)=-sin(t)

so...how would you write the last step?
 
  • #90
okay so:

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

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

this is the same as:

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

Is this better?

TFM
 

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