ODE: Solving using Laplace Transform

RJLiberator
Gold Member
Messages
1,094
Reaction score
63

Homework Statement


Solve:
[tex]y''+λ^2y = cos(λt), y(0) = 1, y'(π/λ) = 1[/tex]
where t > 0

Homework Equations

The Attempt at a Solution



I start off by taking the Laplace transform of both sides. I get:

[tex]L(y) = \frac{s}{(s^2+λ^2)^2}+\frac{sy(0)}{s^2+λ^2}+\frac{y'(0)} {s^2+λ^2}[/tex]

Now take the inverse Laplace transform

[tex]y = \frac{1}{2λ}tsin(λt) + y(0)cos(λt)+\frac{y'(0)}{λ}sin(λt)[/tex]

since y(0) = 1, we get

[tex]y = \frac{1}{2λ}tsin(λt) +cos(λt)+\frac{y'(0)}{λ}sin(λt)[/tex]Now this is where I get stuck. I have the boundary condition for y'(pi/λ)=1, but I'm not sure how to use it in this scenario.

If I take the derivative of y, then I get an expression with a y'(0) term in it that I'm not sure how to use...

Any thoughts?
 
Physics news on Phys.org
RJLiberator said:
If I take the derivative of y, then I get an expression with a y'(0) term in it that I'm not sure how to use...
Well, you end up with the solution of ##y'(0)## when you do that, no? If you put that back into your expression for ##y(t)##, isn't that the solution to your DE?
 
  • Like
Likes   Reactions: RJLiberator
Remember that ##y'(0)## is just a constant.
 
  • Like
Likes   Reactions: RJLiberator
Ah, beautiful, this was the hint I needed.

So I am capable of taking the derivative of y, since y'(0) is just some constant.

[tex]y'(t) = \frac{1}{2λ}[sin(λt)+λtcos(λt)]-λsin(λt)+y'(0)cos(λt)[/tex]

Solving this for y'(π/λ) = 1 shows that y'(0) = -1-π/(2λ)

And thus, I have my determined y.
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
9
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
2
Views
2K
Replies
3
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K