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

In summary, the Laplace Transform can be used to solve differential equations, including the given equation t*y'' + 2*y' + t*y = 0 subject to y(0)=1 and y(pi)=0. While the traditional method may be simpler, the Laplace Transform method can also be used. The solution obtained is y(t) = sin(t)/t.
  • #1
IAmClifford
1
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
  • #2
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.
 
  • #3
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:
  • #4
I bet you that the equation is t*y'' + 2*y' + t*y = 2 cos(t)
 
  • #5
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
 
  • #6
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.
 

1. What is a Laplace Transform ODE?

A Laplace Transform ODE is a mathematical tool used to solve ordinary differential equations (ODEs). It converts a differential equation in the time domain into an algebraic equation in the frequency domain, making it easier to solve.

2. How does a Laplace Transform ODE work?

A Laplace Transform ODE works by applying the Laplace transform to both sides of the differential equation. This transforms the derivatives in the equation into algebraic expressions, which can then be solved using algebraic methods. The inverse Laplace transform is then applied to obtain the solution in the time domain.

3. What are the advantages of using a Laplace Transform ODE?

A Laplace Transform ODE has several advantages, including its ability to solve a wide range of differential equations, even those that cannot be solved using traditional methods. It also simplifies the solving process and allows for the use of algebraic techniques, which are often easier to understand and apply.

4. When should I use a Laplace Transform ODE?

A Laplace Transform ODE should be used when solving linear ODEs with constant coefficients. It is also useful when dealing with initial value problems, as it can provide a direct solution without the need for integration. Additionally, it is commonly used in control theory and signal analysis.

5. Are there any limitations to using a Laplace Transform ODE?

While a Laplace Transform ODE is a powerful tool, it does have some limitations. It is only applicable to linear ODEs with constant coefficients, and it may not work for all types of boundary value problems. Additionally, the inverse Laplace transform may be difficult to calculate for more complex equations, making it challenging to obtain a solution in the time domain.

Similar threads

  • Differential Equations
Replies
5
Views
1K
  • Differential Equations
Replies
3
Views
1K
  • Differential Equations
Replies
1
Views
662
  • Differential Equations
Replies
17
Views
864
  • Differential Equations
Replies
5
Views
2K
  • Differential Equations
Replies
10
Views
3K
Replies
7
Views
2K
  • Differential Equations
Replies
3
Views
1K
  • Differential Equations
Replies
16
Views
894
  • Differential Equations
Replies
5
Views
2K
Back
Top