Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

How to solve this nonlinear differential equation

  1. Jan 4, 2014 #1
    dy/dx=2x+y^2
    By the way, methods of solving linear differential equation are useless, such as integrating factor and Bernoulli method.
     
  2. jcsd
  3. Jan 4, 2014 #2

    Mark44

    Staff: Mentor

    The OP is a high school student who has worked a bit with linear differential equations. The nonlinear equation above is one that he cooked up for himself.
     
  4. Jan 4, 2014 #3

    LCKurtz

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member

    Do you have a question, or are you just pontificating?
     
  5. Jan 4, 2014 #4

    The question is to find the function involving variables x and y.
     
  6. Jan 4, 2014 #5

    Ray Vickson

    User Avatar
    Science Advisor
    Homework Helper

    The solution involves "non-elementary" functions. Solving it in Maple results in

    y(x) = 2^(1/3)*(c*AiryAi(1, -2^(1/3)*x)
    +AiryBi(1, -2^(1/3)*x))/(c*AiryAi(-2^(1/3)*x)+AiryBi(-2^(1/3)*x)),

    where AiryA and AiryB are the so-called "Airy Wave Functions" and c is a constant. AiryA(z) and AiryB(z) are two linearly independent solutions of the differential equation
    [tex] \frac{d^2 w}{dz^2} - z w = 0.[/tex]
    They can be written in terms of hypergeometric functions.
     
  7. Jan 4, 2014 #6
    I think I have to explain what I said in the question. Bernoulli method and integrating factor don't work since I've tried several times but failed. And now I don't want others to waste too much time in these two ways, so I typed those words. But if someone finds this question can be solved using these two methods, I will be really happy since those are only two of a few ways I learnt for differential equations.


    What I did using Bernoulli is

    dy/dx=2x+y^2

    Then divided by y^2 on both sides

    y^2*dy/dx=2x/y^2+1

    y^2*dy/dx-2x/y^2=1

    Then use du=1/y^2*dy replacing all the elements about y in the equation

    u=-1/y

    du/dx-2xu^2=1

    Then I don't know what I can do.
     
  8. Jan 5, 2014 #7
    What you do is not the usual way to solve a Bernoulli ODE.
    This one is classical. Just let y(x)=-(df/dx)/f(x)
    This leads to the second order linear ODE : f ''+2xf(x) = 0 which is an Airy ODE (related to Bessel ODEs)
     
  9. Jan 5, 2014 #8

    LCKurtz

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member

    Most differential equations are not solvable exactly. Sometimes, for those that are, methods have been discovered that will solve a particular class of DE's. Introductory textbooks teach some of those types of DE's and the methods that solve them. This sometimes gives students the false impression that these methods are more useful than they are or that somehow, all DE's can be solved if you just know the right trick.

    You can't expect methods that may work on some first order DE's or some linear DE's to work on higher order or nonlinear DE's. The DE in your example is solvable by methods as suggested by others, but you were just lucky there. Write down a slightly more complicated one and you will likely not find any method to solve it exactly.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook