Help with Laplace Transformations and 2nd order ODEs

  • #101
yes that's right. now substitute everything in and make Y the subject
 
Physics news on Phys.org
  • #102
So original equation:

y'' + y = sin(t), y_0 = 1, y_0' = -\frac{1}{2}

L(y(t)) = Y

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

L(y''(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'(t)) = sL(y(t)) - 1

Really be:

L(y'(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'' + 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 seperately 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
 
Back
Top