New Reply

how to solve this 2nd order nonlinear differential equation

 
Share Thread Thread Tools
May15-08, 07:56 PM   #1
 

how to solve this 2nd order nonlinear differential equation


Hello all,

This is the first time Ive stumbled across this site, but it appears to be extremely helpful. I am a meteorology grad student, and in my research, I have run across the following 2nd order non linear differential equation. It is of the form:

y'' + a*y*y' + b*y=0

where a and b are constants

Can this equation be solved analytically? If not, what program does one recommend for solving it numerically? There is also a slightly more complex form of this equation:


y'' + a*y*y' + b*y=c

where a, b and c are constants

If anyone could assist me in solving this or direct me to a source for solving it numerically, it would be most appreciated.

Thanks,

--tornado
PhysOrg.com
PhysOrg
science news on PhysOrg.com

>> Ants and carnivorous plants conspire for mutualistic feeding
>> Forecast for Titan: Wild weather could be ahead
>> Researchers stitch defects into the world's thinnest semiconductor
May15-08, 08:26 PM   #2
 
Blog Entries: 2
Try the substitution y' = u to reduce it to a first order system of two ODEs. (Source:Tenenbaum/Pollard)
Ie., your first ODE becomes the system y' = u, uu' = -ayu - by, where in the second eq. u is treated as u(y) and u' = du/dy, which we can then plug into the first equation to integrate for y(x). The second equation is separable, so there is a straightforward analytic solution.
May15-08, 08:43 PM   #3
 
Quote by slider142 View Post
Try the substitution y' = u to reduce it to a first order system of two ODEs. (Source:Tenenbaum/Pollard)
Ie., your first ODE becomes the system y' = u, uu' = -ayu - by, where in the second eq. u is treated as u(y) and u' = du/dy, which we can then plug into the first equation to integrate for y(x). The second equation is separable, so there is a straightforward analytic solution.
slider,

Im not following you. Could you go into a let more detail if possible. Thanks,

--tornado
May15-08, 09:27 PM   #4
 
Recognitions:
Homework Helper Homework Help

how to solve this 2nd order nonlinear differential equation


Assuming y is function of x, y' = u. u' = d^2y/dx^2 = d/dy (dy/dx) dy/dx by the chain rule. This is equivalent to u du/dy. Hence u' = u du/dy.

After substituting for y' = u, the ODE is u' = -ayu - by. Replacing u' with u du/dy gives:
u du/dy = -y(au+b) This equation is separable and hence solvable. Once you have u(y), you have dy/dx = u(y), which is again separable and solvable.
May15-08, 10:05 PM   #5
 
Quote by Defennder View Post
Assuming y is function of x, y' = u. u' = d^2y/dx^2 = d/dy (dy/dx) dy/dx by the chain rule. This is equivalent to u du/dy. Hence u' = u du/dy.

After substituting for y' = u, the ODE is u' = -ayu - by. Replacing u' with u du/dy gives:
u du/dy = -y(au+b) This equation is separable and hence solvable. Once you have u(y), you have dy/dx = u(y), which is again separable and solvable.
defennder,

I understand how you get: u' = -ayu - by when you set y'=u

I dont understand how u'=u du/dy . I appreciate you trying to work me through this. Any additional explanation would be appreciated.

Specifcally, how is this so:

d^2y/dx^2 = d/dy (dy/dx) dy/dx
--tornado
May15-08, 10:55 PM   #6
 
Recognitions:
Homework Helper Homework Help
That follows from the chain rule.

[tex]\frac{d^2y}{dx^2} = \frac{d}{dx} \left ( \frac{dy}{dx} \right ) = \frac{d}{dy} \left ( \frac{dy}{dx} \right ) \ \frac{dy}{dx}[/tex]

Replace [tex]\frac{dy}{dx}[/tex] with u.
May27-08, 10:58 AM   #7
 
Quote by Defennder View Post
After substituting for y' = u, the ODE is u' = -ayu - by. Replacing u' with u du/dy gives:
u du/dy = -y(au+b) This equation is separable and hence solvable. Once you have u(y), you have dy/dx = u(y), which is again separable and solvable.
When I solve u' = -ayu - by I get:

[tex]\frac{u}{a}-\frac{b}{a^2}ln[|{au+b}|]+C_1 =-\frac{1}{2}y^2 + C_2 [/tex]

So then we need to make the above equation u=u(y) correct? Since we have a ln (natural log), is this possible? Any more help is most appreciated. Thanks,

--tornado
May29-08, 10:24 AM   #8
 
anyone care to comment on the solution?
Jun2-08, 02:26 PM   #9
 
anyone???
Jun2-08, 02:38 PM   #10
 
Recognitions:
Gold Membership Gold Member
Science Advisor Science Advisor
Retired Staff Staff Emeritus
Quote by tornado681 View Post
When I solve u' = -ayu - by I get:

[tex]\frac{u}{a}-\frac{b}{a^2}ln[|{au+b}|]+C_1 =-\frac{1}{2}y^2 + C_2 [/tex]

So then we need to make the above equation u=u(y) correct? Since we have a ln (natural log), is this possible? Any more help is most appreciated. Thanks,

--tornado
I don't get that. From du/dy= -y(au+ b) we can get du/(au+b)= -ydy so, integrating both sides, (1/a)ln(au+ b)= -(1/2)y2+ C. I don't know what you mean by "make u= u(y) correct". Solve for u? Without your additional "u/a" that's easy:
[tex]au+ b= C'e^{-\frac{y^2}{2}}[/tex]
where C'= aeC.
Jun2-08, 09:32 PM   #11
 
Recognitions:
Homework Helper Homework Help
Quote by HallsofIvy View Post
I don't get that. From du/dy= -y(au+ b) we can get du/(au+b)= -ydy so, integrating both sides, (1/a)ln(au+ b)= -(1/2)y2+ C. I don't know what you mean by "make u= u(y) correct". Solve for u? Without your additional "u/a" that's easy:
[tex]au+ b= C'e^{-\frac{y^2}{2}}[/tex]
where C'= aeC.
Actually u' isn't du/dy.

[tex]u' = \frac{du}{dx} = \frac{du}{dy} (\frac{dy}{dx}) = u \frac{du}{dy}[/tex]

That's where the u/a term comes, once you do long division of u/(au+b).
Jun4-08, 03:34 PM   #12
 
Quote by Defennder View Post
Actually u' isn't du/dy.

[tex]u' = \frac{du}{dx} = \frac{du}{dy} (\frac{dy}{dx}) = u \frac{du}{dy}[/tex]

That's where the u/a term comes, once you do long division of u/(au+b).
Defennder,

How do you rewrite u in terms of y only? Can it be done?
Jun4-08, 09:18 PM   #13
 
Recognitions:
Homework Helper Homework Help
Honestly I have no idea if it's possible. It never occurred to me earlier because I didn't actually attempted the DE itself, I just noted it would be solvable if such could be done.
Jul28-08, 03:12 PM   #14
 
Recognitions:
Gold Membership Gold Member
Science Advisor Science Advisor
Retired Staff Staff Emeritus
Quote by tornado681 View Post
Defennder,

How do you rewrite u in terms of y only? Can it be done?
Yes, that is a simple application of the chain rule. In fact, that application to differential equations is a standard method called "quadrature"
Jul29-08, 12:29 AM   #15
 
Recognitions:
Homework Helper Homework Help
Actually he was referring to this post:
Quote by tornado681 View Post
When I solve u' = -ayu - by I get:

[tex]\frac{u}{a}-\frac{b}{a^2}ln[|{au+b}|]+C_1 =-\frac{1}{2}y^2 + C_2 [/tex]

So then we need to make the above equation u=u(y) correct? Since we have a ln (natural log), is this possible? Any more help is most appreciated. Thanks,

--tornado
I really don't see how to write u in terms of y there. And anyway the post which resurrected this thread and which preceded yours appears to have been deleted.
Apr22-10, 10:22 PM   #16
 
Does anyone can help me to solve this second order non linear ODE:

y'' + (2/x)(y') - (1/2y)(y')(y') = K,

y' = dy/dx

y'' = dy'/dx

y = y(x)

I've already guess y=Ax^2 satisty this equation, but I want to solve it analitically..

Please help!
Thank before..
Dec12-10, 06:07 PM   #17
 
Hi,
I'm trying to solve y''(t) + w02 y(t) = k y(t)2 sin(w t). Does anybody know, how to get a particular solution?

Thanks.
New Reply
Thread Tools


Similar Threads for: how to solve this 2nd order nonlinear differential equation
Thread Forum Replies
Solution to 1st order nonlinear differential equation Differential Equations 14
second order nonlinear differential equation problem Introductory Physics Homework 17
Solving a first-order nonlinear differential equation. Differential Equations 11
How do you solve this nonlinear first order DE Differential Equations 13
Nonlinear First Order Differential Equations Calculus & Beyond Homework 22