Laplace Transform ODE Solving: y'' + 2y' + y = 0 with Initial Conditions

Click For Summary

Discussion Overview

The discussion revolves around solving the ordinary differential equation (ODE) y'' + 2y' + y = 0 using the Laplace Transform, with initial conditions y(0)=1 and y(π)=0. Participants explore various methods of solving the equation, including traditional approaches and the application of the Laplace Transform, while addressing potential discrepancies in the problem statement.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant suggests taking the Laplace Transform of the entire equation and differentiating the transform to derive a new differential equation in terms of F(s).
  • Another participant points out a potential mistake in the problem wording, proposing that the equation might actually be t*y'' + 2*y' + t*y = 0, which they argue is more complex to solve using the Laplace Transform compared to traditional methods.
  • Participants discuss the traditional solution involving Bessel functions, presenting the general solution as y(t) = (a*BesselJ[1/2 , t]+b*BesselJ[-1/2 , t]) / Sqrt(t) and noting the constants a and b.
  • One participant claims that the Inverse Laplace Transform of g'(s) = -1/(1+s²) leads to a simpler solution y(t) = sin(t)/t, satisfying the initial conditions.
  • Another participant confirms the correctness of the general solution with Bessel functions and explains how they simplify to sine and cosine functions, ultimately leading to the same solution y(t) = sin(t)/t.

Areas of Agreement / Disagreement

There is disagreement regarding the formulation of the original differential equation, with some participants asserting it is y'' + 2y' + y = 0, while others propose it should include t as a factor. However, there is a consensus on the final solution y(t) = sin(t)/t derived from different approaches.

Contextual Notes

Participants express uncertainty about the initial problem statement and its implications for the complexity of the solution. The discussion includes various mathematical steps and transformations that are not fully resolved, particularly regarding the Inverse Laplace Transform of certain terms.

Who May Find This Useful

This discussion may be useful for students and practitioners interested in differential equations, particularly those exploring different methods of solving ODEs and the application of the Laplace Transform in various contexts.

IAmClifford
Messages
1
Reaction score
0
Solve using laplace.

The diff eq is
y'' + 2*y' + *y = 0 subject to y(0)=1 and y(pi)=0

Sorry if notation isn't the norm. y'' and y' and y are time (t) based functions.
 
Last edited:
Physics news on Phys.org
Can you take the Laplace transform of everything? For example, I can differentiate the transform:

[tex]\frac{d}{ds}\left\{F(s)=L(f)=\int_0^{\infty}e^{-st}f(s)ds\right\}[/tex]

and obtain:

[tex]\frac{dF}{ds}=-\int_0^{\infty}e^{-st}}[tf(t)]dt[/tex]

so that

[tex]L\left\{tf(t)\right\}=-\frac{dF}{ds}[/tex]

and there are other formulas for the other terms as well so that when you transform everything, you'll get another DE in terms of the transform F(s) which you then solve for F(s), then invert it.
 
The diff eq is
t*y'' + 2*y' + t*y = 0 subject to y(0)=1 and y(pi)=0
Is there no mistake in the wording of the problem ? Because solving this ODE with Laplace Transform is much more difficult than with traditional method.
Traditionally, the result is :
y(t) = (a*BesselJ[1/2 , t]+b*BesselJ[-1/2 , t] ) / Sqrt(t)
a, b = constants
With Laplace Transform method :
Notation : Laplace Transform of y(t) is g(s)
Laplace Transform of t*y(t) is -g'(s)
Laplace Transform of y'(t) is s*g(s)-y(0) = s*g(s)-1
Laplace Transform of y''(t) is s²g(s)-s*y(0)-y'(0) = s²g-s-y'(0)
Laplace Transform of t*y''(t) is -(s²g-s-y'(0) )' = -2s*g-s²g'(s)+1
Laplace Transform of t*y'' + 2*y' + t*y = 0 is :
-2s*g-s²g'(s)+1+2(s*g(s)-1)-g'(s) = 0
g'(s) = -1/(1+s²)
g(s) = -arctan(s) + Constant
So, we come across a snag : finding the Inverse Laplace Transform of arctan(s) ? Of coiurse, it should lead to the formula with the Bessel functions.
 
Last edited:
I bet you that the equation is t*y'' + 2*y' + t*y = 2 cos(t)
 
Its not, it's simply equal to 0.
OK. As a matter of fact, solving is simpler than it appears at first sight :
The key point : No need to integrate g'(s) = -1/(1+s²)
The Inverse Laplace Transform of g'(s) is -t*y(t)
The Inverse Laplace Transform of 1/(1+s²) is sin(t)
Then -t*y(t) = -sin(t)
The solution is y(t) = sin(t)/t
y(0) = limit sin(t)/t =1
y(pi) = sin(pi)/pi = 0
 
Note that the general solution expressed with the Bessel functions is correct :
y(t) = (a*BesselJ[1/2 , t]+b*BesselJ[-1/2 , t] ) / Sqrt(t)
But the Bessel functions of fractionnal order 1/2 and -1/2 are particular, since they reduces to simpler functions :
BesselJ[1/2 , t] = Sqrt(2/pi)*sin(t)/Sqrt(t)
BesselJ[-1/2 , t] = Sqrt(2/pi)*cos(t)/Sqrt(t)
Then, let A=a*Sqrt(2/pi) and B=b*Sqrt(2/pi) and we obtain :
y(t) = (A*sin(t)+B*cos(t) ) / t
Condition y(pi)=0 implies B=0
Condition y(0)=1 implies A=1 and B=0 leads to the result :
y(t) = sin(t)/t
which is consistent with the solution obtained with the Laplace Transform method.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 10 ·
Replies
10
Views
4K
  • · Replies 17 ·
Replies
17
Views
4K
  • · Replies 1 ·
Replies
1
Views
10K
  • · Replies 4 ·
Replies
4
Views
11K
  • · Replies 2 ·
Replies
2
Views
10K
  • · Replies 5 ·
Replies
5
Views
3K