Results 1 to 3 of 3

Math Help - first order equations

  1. #1
    Newbie
    Joined
    Oct 2008
    Posts
    8

    first order equations

    hi there
    i need help in trying to solve the following first order equations .


    dy/dx = (x-y) / (x+y) im unsure how to seperatre the variables in this


    dy/dx - xy = e^(-x^2)*y^3

    (im using ^ as "to the power of ...")

    any help appreciated ,thankyou!
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Super Member

    Joined
    May 2006
    From
    Lexington, MA (USA)
    Posts
    11,811
    Thanks
    701
    Hello, philyc86!

    The first one is homogeneous . . .


    \frac{dy}{dx} \:=\: \frac{x-y}{x+y}
    Divide top and bottom of the fraction by x\!: \;\; \frac{dy}{dx} \:=\:\frac{1 - \frac{y}{x}}{1 + \frac{y}{z}}

    Let: . v \:=\: \frac{y}{x} \quad\Rightarrow\quad y \:=\: vx \quad\Rightarrow\quad \frac{dy}{dx} \:=\:v + x\frac{dv}{dx}

    Substitute: . v + x\frac{dv}{dx} \:=\:\frac{1-v}{1+v} \quad\Rightarrow\quad x\frac{dv}{dx} \:=\:\frac{1-v}{1+v} - v

    . . x\frac{dv}{dx} \:=\:\frac{1-2v-v^2}{1+v} \quad\Rightarrow\quad x\frac{dv}{dx} \:=\:-\frac{v^2+2v-1}{v+1}dx

    Separate variables: . \frac{v+1}{v^2+2x-1}dv \:=\:-\frac{dx}{x}


    Integrate: . \tfrac{1}{2}\ln(v^2+2v-1) \:=\:-\ln x + c_1 \quad\Rightarrow\quad \tfrac{1}{2}\ln(v^2+2v-1) \:=\:-\ln x + \ln c_2

    . . \ln(v^2+2v-1) \;\;=\;\;-2\ln x + \ln C  \;\;=\;\;\ln(x^{-2}) + \ln C \;\;=\;\;\ln(Cx^{-2})

    Then: . v^2 + 2v - 1 \:=\:Cx^{-2}


    Back-substitute: . \left(\frac{y}{x}\right)^2 + 2\left(\frac{y}{x}\right) - 1 \:=\:Cx^{-2}

    . . Multiply by x^2\!:\;\;\boxed{y^2 + 2xy - x^2 \:=\:C}

    Follow Math Help Forum on Facebook and Google+

  3. #3
    Super Member flyingsquirrel's Avatar
    Joined
    Apr 2008
    Posts
    802
    Hi,
    Quote Originally Posted by philyc86 View Post
    dy/dx = (x-y) / (x+y)
    Another approach :

    Substitute u=x+y (so y=u-x and  \frac{\mathrm{d}y}{\mathrm{d}x}=\frac{\mathrm{d}u}  {\mathrm{d}x}-1) :

    \frac{\mathrm{d}u}{\mathrm{d}x}-1=\frac{x-(u-x)}{u}\implies\frac{\mathrm{d}u}{\mathrm{d}x}=\fra  c{2x-u+u}{u}\implies\frac{\mathrm{d}u}{\mathrm{d}x}=\fr  ac{2x}{u}\implies u\,\mathrm{d}u=2x\,\mathrm{d}x

    Now integrate both sides to get \frac{u^2}{2}=x^2+C\implies u^2=2x^2+C'. Then back-substitute and you'll find Soroban's answer : y^2+2xy-x^2=C'.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Replies: 2
    Last Post: May 7th 2011, 10:26 AM
  2. Replies: 1
    Last Post: May 4th 2011, 01:56 AM
  3. Replies: 5
    Last Post: March 15th 2010, 12:44 PM
  4. Replies: 2
    Last Post: February 23rd 2009, 05:54 AM
  5. Replies: 4
    Last Post: August 12th 2008, 04:46 AM

Search Tags


/mathhelpforum @mathhelpforum