Exploring the Laplace Transform of L[y2]

In summary, the conversation discusses using Laplace transforms to solve differential equations, specifically the problem of solving an ODE that is not linear. The conversation also brings up the Riccati equation and how it can be linearized with a change of variables. There is also discussion about initial values and how to translate them in terms of the new variables. The conversation ends with a request for a working example to better understand the process.
  • #1
maistral
240
17
L[y2] = ?
 
Physics news on Phys.org
  • #2
maistral said:
L[y2] = ?

Hey maistral and welcome to the forums.

Because of the square you are going to have use integration by parts. Let's assume for the moment you have a known y and don't want to use it for say solving DE's. Then you will get using integration by parts:

= [-1/s*e^(-st)*2*y'(t)y(t)](t=0,t=infinity) + 2/s (t=0,t=infinity)[Integral](e^(-st)y'(t)y(t))dt
= [-1/s*e^(-st)*2*y'(t)y(t)](t=0,t=infinity) + 2/s L[y'(t)y(t)]

Know you can evaluate the LHS part by knowing initial conditions, but the RHS can only be evaluated if you know y(t), y'(t) or some special kind of information that can be used to get the laplace transform.

As you can see, for ODE's, this is problematic in the general case unless you have specialized information or other means to get F(s) which is the whole point of using Laplace transforms.

One possibility though is if you can find a way to get a common function inside the L[] terms for each one (not necessarily y(t) but any expression involving y including derivatives), then what you could do is get your laplace transform in terms of that and find the expression in terms of the combination of terms inside the operator.

This is not going to be easy if it can be done, but it might give you some food for thought.
 
  • #3
Oh my gosh, my nose just bled. Please keep it simple for at least an engineering student to understand :(

I was trying to figure out how to solve this equation with Laplace transformation-

y' = 1.25EXP(-0.25x) - 0.5y^2

I don't know how to get the transform of y^2.
 
  • #4
Hi !
Since the ODE isn't linear, I am not sure that Laplace transform method is the best one.
In fact, the ODE is of the Riccati kind and can be rather easily linearized thanks to the change :
y=2F'/F
This leads to a linear second order ODE which unknown function F can be expressed in terms of Bessel functions.
 
  • #5
I'm slowly starting to get it.

I read this article in wikipedia: http://en.wikipedia.org/wiki/Riccati_equation

are the q0, q1, and q2 constants or functions of x? because the S = q2q0 looks like a constant multiplication of sorts. Or i have to multiply the functions?

also, v' = v^2 + R(x)v + S(x) -> what is this lol

I so hate wikipedia notations =.=
 
  • #6
maistral said:
I'm slowly starting to get it.

I read this article in wikipedia: http://en.wikipedia.org/wiki/Riccati_equation

are the q0, q1, and q2 constants or functions of x? because the S = q2q0 looks like a constant multiplication of sorts. Or i have to multiply the functions?

also, v' = v^2 + R(x)v + S(x) -> what is this lol

I so hate wikipedia notations =.=

These are functions of the independent variable x [i.e. R(x) and S(x)], where v is a function of x.
 
  • #7
Hi !

there is no need to do again the proof of the change of function y(x) -> u(x) which is shown by Wikipedia.
Just apply it : y(x)=-u'/(q2*u) : see attachment.
 

Attachments

  • Riccati ODE.JPG
    Riccati ODE.JPG
    14.1 KB · Views: 497
  • #8
A while ago I was slowly able to understand how it was derived (except for a few reservations which aren't clear enough), and I was able to end up with JJac's final equation (i used decimals).

About the derivation,
v' = -(u'/u)
v' = -(u"/u) + (u'/u)^2
v' = -u"/u + v^2 <<< this v^2, did he just disregard the negative sign because it's raised to two?And about the final equation (I'm setting L(u) = U):
My IVs are: x = 0 ; y = 0.1; y' = 1.245 (is this correct? I substituted x and y on the original dy/dx ODE to get 1.245).

u" - 0.625EXP(-0.25x) u = 0
sU - su(0) - u'(0) - 0.625 L[EXP(-0.25x)*u] = 0

Now all sorts of headaches appear :S
1) How am I to translate y(0) to u(0)? Will it be easier to just set it as a constant A then carry it through the differential equation's solution? Or is there another way?
2) I know the s-differentiation property which could allow me to take the Laplace of L[x*u] (It's the L[-tf(t)] right?). I have no idea how to deal with the EXP beside the u. Or should I take the Taylor series of EXP? o.o
 
  • #9
A while ago I was slowly able to understand how it was derived (except for a few reservations which aren't clear enough), and I was able to end up with JJac's final equation (i used decimals).

About the derivation,
v' = -(u'/u)
v' = -(u"/u) + (u'/u)^2
v' = -u"/u + v^2 <<< this v^2, did he just disregard the negative sign because it's raised to two?And about the final equation (I'm setting L(u) = U):
My IVs are: x = 0 ; y = 0.1; y' = 1.245 (is this correct? I substituted x and y on the original dy/dx ODE to get 1.245).

u" - 0.625EXP(-0.25x) u = 0
sU - su(0) - u'(0) - 0.625 L[EXP(-0.25x)*u] = 0

Now all sorts of headaches appear :S
1) How am I to translate y(0) to u(0)? Will it be easier to just set it as a constant A then carry it through the differential equation's solution? Or is there another way?
2) I know the s-differentiation property which could allow me to take the Laplace of L[x*u] (It's the L[-tf(t)] right?). I have no idea how to deal with the EXP beside the u. Or should I take the Taylor series of EXP? o.o!

If also possible, can you guys show me at least a working example that I can build on? I didn't expect doing this equation that I gave the analytical way is too much. I just wanted to see the beauty of closed-form solutions instead of running Runge-Kutta all the time :(

Thank you very much for the time guys.
 
  • #10
Obviously, a change of variable X=exp(-x/4) allows to simplify the ODE (see attachment).
This leads to a new ODE of the Bessel kind, but not on a standard form.
Another change of variable allows to reduce the ODE to a standard Bessel equation.
This leads to the solutions u(x). See attachment.
Then, you will have to express the derivative u'(x) and the final solution will be obtained :
y(x) = 2 u' / u
 

Attachments

  • Bessel.JPG
    Bessel.JPG
    36.1 KB · Views: 478
  • #11
The solution y(x) of the ODE, in case of IVs : x = 0 ; y = 0.1 is given in attachment :
 

Attachments

  • solution.JPG
    solution.JPG
    52.9 KB · Views: 550
  • #12
Good Lord, my head exploded.

Even if the answer was given already, I ain't really.. happy with it. I didn't understand fully how to deal with these Riccati equations. If possible (and you have the luxury of time, ofc), can you please give me a very very basic example of a Riccati equation that I can practice and work on? I really want to learn it by heart, and the examples found here in the internet make my head implode in horror.

Thank you very much! :D
 
  • #13
Hello maistrail !

Don't be obsessed by "Riccati". In fact, it is the easier part of the job.
No need for Wolfram which might confuse you with the entire demo.
Simply, you have to do a change of function :
Starting from the Riccati ODE :
dy/dx = q0(x)+q1(x)*y(x)+q2(x)*y2
Let y(x) = -(1/q2)*u’(x) / u(x)
I suppose that you know what is a change of function and how to do it : this is a basic and general knowledge that everybody dealing with ODEs is aware of.
So, you do this change of function and you obtain a linear ODE which unknown is u(x).
That’s all : No more “Riccati”. Now, you have to solve a linear ODE and you can chose any method that you know for solving linear ODE’s.

For example, in the case of dy/dx = 1.25 exp(-0.25 x) – 0.5 y2
q2 = -0.5
Thanks to the change of function y(x)=-2 u'(x)/u(x) you obtain :
u’’(x) - (5/8)exp(-0.25 x) u(x) = 0
This is no longer a Riccati ODE : This is a second order linear ODE.
So the difficulty of your problem was not because the first equation was of the Riccati kind.
The difficulty was in solving the second order linear ODE, which is of the Bessel kind, but not on a standard form. The knowledge of solving not simple Bessel ODE was then required.
Of course, depending on the coefficients of the initial Riccati ODE, the resulting second order linear ODE is not allways of the Bessel kind. It can be any sort of linear ODE, sometimes easy to solve, sometimes hard.

One last thing : do not expect a simpler result than the function y(x) given at end of my preceeding post. Any analytical method for solving the ODE will leads to the same result. If you try the Laplace method for solving the second order linear ODE, probably, this would be rather arduous and the final result, with the Bessel functions, will be exactly the same.
 
Last edited:
  • #14
Argh, my net broke.

Anyway, I still need a little help. I need to build it myself :( To ease myself of all those qn(x)'s, I use this notation:

y' = A + By + Cy2

where A, B, and C are functions of x.

So to solve this analytically, I do a change of variables. I let y = -(1/C)*(u'/u). What would be my y'?

is y' = -1/C * [(u*u" - (u')2)/u2] + [u'/u * -c'/c2]?

Is there an easier way for this? surely this looks ugly, but there might be other ways that I'm not aware of.. Also, whatever happened to the (u')2? Ofc unless my answer is wrong, and someone has to review differentiation e.e

Sorry for the barrage of questions. I'm such a noob :cry:
 
  • #15
As of this moment I'm using Wiki's strategy of attacking the equation, but with a bit of form memorization. it goes like this:

y' = A + By + Cy2.

Since I understood Wiki's derivation, I think I could allow myself to memorize these:

Equation becomes u" - Ru' + Su = 0; where R = B + C'/C and S = AC.

Is it safe to follow this notation? e.e

Anyway, so if say, for example, my equation is y' = 1.25x - 0.5y2, my initial condition is y(0) = 1. Since it's a Riccati, I'll use my convention: R = 0, S = -0.625; my differential equation is now

u" - 0.625u = 0. My subject requires the use of Laplace Transforms, that's where the new problem starts. What would be my u(0) and u'(0)? Will it be related to the y(0) = 1 and y'(0) = 0.5 (i just substituted x = 0, y = 1 on the original DE to get this, I don't even know if this is correct)? Thanks in advance
 
Last edited:
  • #16
maistral said:
Argh, my net broke.

Anyway, I still need a little help. I need to build it myself :( To ease myself of all those qn(x)'s, I use this notation:

y' = A + By + Cy2

where A, B, and C are functions of x.

So to solve this analytically, I do a change of variables. I let y = -(1/C)*(u'/u). What would be my y'?

is y' = -1/C * [(u*u" - (u')2)/u2] + [u'/u * -c'/c2]?

Is there an easier way for this? surely this looks ugly, but there might be other ways that I'm not aware of.. Also, whatever happened to the (u')2? Ofc unless my answer is wrong, and someone has to review differentiation e.e

Sorry for the barrage of questions. I'm such a noob :cry:

Not u*u'' but u''/u :
y' = -1/C * [((u"/u) - (u')2)/u2] + [u'/u * -C'/C2]
In the cqase of your ODE C is constant :
y' = -1/C * [((u"/u) - (u')2)/u2]
When you bing back y and y' into the first EDO and simplify, the term (u')2)/u2] disappears.
Why do you refuse to bring back y = -(1/C)*(u'/u) and y' = -1/C * [((u"/u) - (u')2)/u2] into y' = A + By + Cy2 ?
If you did it, you will see that it is very easy and that it is the simplest way to obtain the linear ODE.
If C is function of x, it is a little more complicated, but a linear ODE is obtained anyway.
 
  • #17
Uh, so for example. The equation generated from the conversion is u" - 0.625u = 0.

How do I solve it using the Laplace transform? My course requires the usage of Laplace transformation :(
 
  • #18
If the Laplace transform of u(x) is U(s), what is the Laplace transform of u''(x) ?
 
  • #19
Oh, the question wasn't clear. My bad.

The problem is what constants should I use. Say for example, y(0) = 1.

the equation is in terms of u, u" - 0.625u = 0

The laplace transform is s2U - su(0) - u'(0) - 0.625U = 0.

What would be my u(0) and u'(0)? Thanks. :D
 
  • #20
If u(0) and u'(0) are not specified in the wording of the problem, then consider them as paramaters. For example, let u(0)=C1 and u'(0)=C2. They will appear into the general solution of the ODE. Since it is a second order ODE, the general solution must include two arbitrary constants anyway.
 
  • #21
Oh. alright.

I have one last question about Laplace.

There's this convolution integral that I read, so it's integral from 0 to t of f(t-v)g(v)dv.

Solving this with some elementary algebraic maneuvers:

(2s^2 - 16) / (s^3 - 16s) = s^2 - 16 / s(s^2 - 16) + s^2 / s(s^2 - 16).

= 1 / s + s / (s^2 - 16) = 1 + cosh4t.

Using that integral; transforming the equation into:

= 2s^2 / s(s^2 - 16) - 16/s(s^2 - 16)
= 2s / (s^2 - 16) - 16/s * 1/(s^2 - 16)
= 2cosh4t - 16/4s * 4/(s^2 - 16)

= 2cosh4t - 4/s * 4/(s^2 - 16)

Using the second term;
F(s) = 4/s
G(s) = sinh4t
thus;
f(t-v) = 4
g(v) = 1/4 cosh4t

-int(0,t,4*cosh4t dt) = 4/4 cosh 4t = -cosh4t

= 2cosh4t - cosh4t = cosh4t.

The algebraic maneuver had 1 + cosh4t while this integral gave me just the cosh4t.

Where did the 1 go? Is it a constant generated from integrating? Isn't it supposed to be accounted already when the DE was transformed to the S domain (the y(0) and y'(0))?

Thanks. :D
 
  • #22
Bump for my last question :(
 
  • #23
For (2s^2 - 16) / (s^3 - 16s) = s^2 - 16 / s(s^2 - 16) + s^2 / s(s^2 - 16).
= 1 / s + s / (s^2 - 16) = 1 + cosh4t, I think you have made a mistake.

I get (2s^2 - 16) / s(s^2 - 16)
= (s^2 + s^2 - 16) / s(s^2 - 16)
= s^2 / s(s^2-16) + 1/s

The above will give you a different answer than your expansion.
 
  • #24
But i think we got the same :\

I mean, taking yours:

= s^2 / s(s^2 - 16) + 1/s ;cancelling extra s
= s / (s^ - 16) + 1 / s = cosh4t + 1

:(
 
  • #25
Haha yeah you're spot on! I guess if that's right the next thing to look at is the convolution.

So in the convolution you wrote:

F(s) = 4/s
G(s) = sinh4t
thus;
f(t-v) = 4
g(v) = 1/4 cosh4t
-int(0,t,4*cosh4t dt) = 4/4 cosh 4t = -cosh4t

Your integral should be int(0,t,4*sinh4tdt). Your inverse of 4/(s^2 - 16) is sinh4t not cosh4t. Calculating this we get

4*1/4(cosh4t - 1] = cosh4t - 1

Now 2cosh4t - (cosh4t - 1) = cosh4t + 1.
 
  • #26
Oh, that was a typo. I was sleepy when typing that lol, sorry.

That's where I'm having issues. Where did the -1 come from? :(

i mean, f(t-v) = 4, g(v) = sinh4v

-int(0,t, 4 sinh4v dV) = -4/4 sinh 4t, right? where did the -1 come from? :S
 
  • #27
argh, I'm thinking too much. I see now where it came from. Thanks for answering.
 

1. What is the Laplace Transform of L[y2]?

The Laplace Transform of L[y2] is a mathematical operation that transforms a function of time, y(t), into a function of complex frequency, Y(s). It is denoted as L[y2] = Y(s) and is used to solve differential equations and analyze the behavior of dynamic systems.

2. How is the Laplace Transform of L[y2] calculated?

The Laplace Transform of L[y2] is calculated using the following formula:

L[y2] = ∫ e-sty(t)dt, where s is a complex frequency and t is time. This integral can be evaluated using tables or with the help of software such as MATLAB or Wolfram Alpha.

3. What are the properties of the Laplace Transform of L[y2]?

The Laplace Transform of L[y2] has several properties that make it a useful tool in solving differential equations. These properties include linearity, time-shifting, differentiation, integration, convolution, and initial value theorem. These properties can be used to simplify the calculation of Laplace Transforms and solve complex problems.

4. How is the Laplace Transform of L[y2] used in the real world?

The Laplace Transform of L[y2] has various applications in engineering, physics, and other fields. It is used to analyze the stability of control systems, solve circuit problems, and model physical systems. It is also used in signal processing, image processing, and data analysis.

5. What are the limitations of the Laplace Transform of L[y2]?

The Laplace Transform of L[y2] is a powerful tool, but it does have some limitations. It can only be applied to functions that have a Laplace Transform, and it may not work for all types of differential equations. Additionally, the inverse Laplace Transform may not always exist, making it difficult to get the original function back.

Similar threads

  • Differential Equations
Replies
6
Views
2K
  • Differential Equations
Replies
17
Views
858
Replies
5
Views
2K
  • Differential Equations
Replies
4
Views
1K
  • Differential Equations
Replies
1
Views
656
  • Differential Equations
Replies
7
Views
2K
  • Differential Equations
Replies
1
Views
2K
  • Differential Equations
Replies
2
Views
2K
  • Differential Equations
Replies
5
Views
2K
  • Differential Equations
Replies
3
Views
2K
Back
Top