Laplace (IVP): Having Trouble Understanding Solution Manual's Answer

  • Thread starter Thread starter BobMarly
  • Start date Start date
  • Tags Tags
    Ivp Laplace
Click For Summary

Homework Help Overview

The discussion revolves around solving an initial value problem (IVP) using the Laplace Transform, specifically the equation y'' - 2y' + 2y = e^(-t) with initial conditions y(0) = 0 and y'(0) = 1. Participants are examining the correct application of the Laplace Transform to both the homogeneous and non-homogeneous parts of the differential equation.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants are exploring the transformation of the entire equation rather than just the homogeneous part. There are questions about the derivation of specific terms in the Laplace Transform and the handling of the non-homogeneous component.

Discussion Status

Some participants have provided insights into the correct formulation of the Laplace Transform for the given IVP, while others are questioning the steps taken and the assumptions made in the process. There appears to be a mix of agreement and differing interpretations regarding the approach to the problem.

Contextual Notes

There are indications of potential typos in the equations presented, and some participants express uncertainty about the necessity of certain steps, such as multiplying terms or including specific components of the equation. The discussion reflects a collaborative effort to clarify these points without reaching a definitive conclusion.

BobMarly
Messages
19
Reaction score
0

Homework Statement


Use Laplace Transform to Solve IVP
y"-2y'+2y=e^(-t) y(0)=0 y'(0)=1

Homework Equations


[s^2*L{y}-sy(0)-y'(0)]-[2sL{y}-y(0)]+2L{y}=0 (for Homogeneous eq)

The Attempt at a Solution


Homogeneous Attempt:
L{y}=1/(s^2-2s+2) Not sure if correct

There soluton to this point is:
Y(s)=1/((s-1)^2+1) + 1/((s+1)[(s-1)^2+1])

a) Not sure where second term came from
b) Not sure how to handle the NonHomogeneous part
 
Physics news on Phys.org
I'm not going to attempt to read something like this that is not in tex (right now). But, why are you trying to solve the homogeneous eq with laplace transforms? Just take the Laplace Transform of the rhs of the ode.

edit:
you didn't multiply all of L{y'} by 2.
 
Thank you for the comment. But the problem is what it is.
Besides, I'm beginning to like Laplace.
Seems like there are all kinds of possibilities.

Multiply RHS by 2? Not sure I need to?
The homogeneous part seems to be correct, which is the first term.
I think the second term has to do with e^(-t).
If someone could verify/explain I'd appreciate it. Thank you.
 
Last edited:
Sorry - I was busy before. I didn't mean for my post to make me sound like suck an A-Hole, my apologies.

To solve an ODE using laplace, you don't find the solution to the homogeneous and then a particular solution to the inhomogeneous part. Rather, you take the laplace transform of the whole ODE, solve for L{y} and then get the inverse laplace transform of that.
But, your laplace transform of the homogeneous part is correct.

I got a different (well, seemingly different) Laplace transform than your book did. (I think they probably just took the Laplace transform of the whole equation.) However, to get the inverse of my Laplace transform, I had to use "exponential shift" with a couple of hyperbolic functions. Perhaps that is a hint, I don't know.

EDIT:
I use \hat{y} to be the Laplace transform of y.

As for multiplying by 2, you have: (s^2\hat{y}-sy(0)-y'(0))-(2s\hat{y}-y(0))+2 \hat{y}=0 it should be: (s^2 \hat{y}-sy(0)-y'(0))-(2s\hat{y}-2y(0))+2\hat{y}=0. However, it doesn't matter since y(0)=0.
 
Last edited:
WHOOPS! I made a mistake in my work somewhere. I have

EDIT:
I made ANOTHER mistake. OK, so, I can't seem to do simple algebra tonight. Here is what I have:

\hat{y} = \frac{1}{5}\big( \frac{s+2}{(s-1)^2+1} - \frac{1}{s+1}\big)

This is close to what you have as the book's solution. Are you sure you copied correctly? Anyway, my transform is the transform of the whole ODE, which is what your book did as well. (That is, not just the homogeneous part.) Hyperbolic functions aren't part of the solution - my apologies.

You are going to have to play with the numerators to get this to something you can use.

EDIT:
I used the above solution to get the inverse laplace transform, and it satisfied the ODE. Sorry if there was any confusion. I quickly did it the first time, checked my solution, and it worked - then I realized I had made an error. THen I made a type fixing my error. Oh well, sorry if there was confusion.
 
Last edited:
BobMarly said:

Homework Statement


Use Laplace Transform to Solve IVP
y"-2y'+2y=e^(-t) y(0)=0 y'(0)=1

Homework Equations


[s^2*L{y}-sy(0)-y'(0)]-[2sL{y}-y(0)]+2L{y}=0 (for Homogeneous eq)
This is incorrect but probably just a typo- the middle term should be 2[sL{y}- y(0)]
However, why did you do the homogeneous equation and not include e^{-t}?

If you did your equation would be
s^2L{y}- 1- 2[sL{y}]+ 2L{y}= \frac{1}{1+ s}

The Attempt at a Solution


Homogeneous Attempt:
L{y}=1/(s^2-2s+2) Not sure if correct

There soluton to this point is:
Y(s)=1/((s-1)^2+1) + 1/((s+1)[(s-1)^2+1])

a) Not sure where second term came from
b) Not sure how to handle the NonHomogeneous part
That is where the second term came from. Including the nonhomogeneous part, the equation for the Laplace transform becomes
s^2L- 1- 2sL+ 2y= \frac{1}{1+ s}
(s^2- 2s+ 2)L= ((s+1)^2+ 1)L= 1+ \frac{1}{1+ s}= \frac{s+ 2}{s+1}
so that
L= \frac{s+2}{((s+1)^2+ 1)(s+ 1)}
Of course,
\frac{1}{((s+1)^2+ 1}+ \frac{1}{(s+1)((s+1)^2+1)}= \frac{s+1}{((s+1)^2+1)(s+1)}+ \frac{1}{(s+1)((s+1)^2+1)}= \frac{s+ 2}{(s+1)((s+1)^2+ 1)}
 
HallsofIvy said:
This is incorrect but probably just a typo- the middle term should be 2[sL{y}- y(0)]
However, why did you do the homogeneous equation and not include e^{-t}?

If you did your equation would be
s^2L{y}- 1- 2[sL{y}]+ 2L{y}= \frac{1}{1+ s}



That is where the second term came from. Including the nonhomogeneous part, the equation for the Laplace transform becomes
s^2L- 1- 2sL+ 2y= \frac{1}{1+ s}
(s^2- 2s+ 2)L= ((s+1)^2+ 1)L= 1+ \frac{1}{1+ s}= \frac{s+ 2}{s+1}
so that
L= \frac{s+2}{((s+1)^2+ 1)(s+ 1)}
Of course,
\frac{1}{((s+1)^2+ 1}+ \frac{1}{(s+1)((s+1)^2+1)}= \frac{s+1}{((s+1)^2+1)(s+1)}+ \frac{1}{(s+1)((s+1)^2+1)}= \frac{s+ 2}{(s+1)((s+1)^2+ 1)}

Hey! You were able to do this with less than 29 edits! I should take notes.
 
I would suspect sarcasm- from anyone else!:-p
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 26 ·
Replies
26
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 8 ·
Replies
8
Views
2K