Results 1 to 6 of 6

Thread: Simple integration

  1. #1

    Thread Starter
    Addicted Member nad_scorp's Avatar
    Join Date
    Feb 2001
    Location
    Inside XML
    Posts
    242

    Simple integration

    How to solve

    y ' (t) = (t - y) / 2
    Me "Talented Idiot" by Gtarawneh "He said he's sorry

    Inconsequential is Incommunicable

    The first impression we have
    Is not always the real one
    My reality is not always your
    so my friend....Is life that simple?


    It is called "Israeli occupation forces"

  2. #2
    Hyperactive Member Ambivalentiowa's Avatar
    Join Date
    Apr 2002
    Location
    Coming soon to a store near you!
    Posts
    375
    You have to seperate the variables first so:

    y*t = (t-y)/2

    2y*t = t-y

    2y+y = t/t

    3y = 1

    After integrating

    3y*dy/dx = t

    dy/dx = t/3y
    -Show me on the doll where the music touched you.

  3. #3

    Thread Starter
    Addicted Member nad_scorp's Avatar
    Join Date
    Feb 2001
    Location
    Inside XML
    Posts
    242
    thanx but I didn't really understand how u did it

    BTW. y'(t) == derivetive

    just 2 check u got it right
    Me "Talented Idiot" by Gtarawneh "He said he's sorry

    Inconsequential is Incommunicable

    The first impression we have
    Is not always the real one
    My reality is not always your
    so my friend....Is life that simple?


    It is called "Israeli occupation forces"

  4. #4
    Hyperactive Member
    Join Date
    Mar 2002
    Location
    Boston, MA
    Posts
    391
    nad_scorp:

    You can't solve that equation by separation of variables. You need to use an integration factor. These factors are used for equations of the form:

    dy/dx = f(x,y)

    Rewrite the equation like this

    dy/dt +y/2 = t/2

    By examining the equation we see the integration factor is given by

    exp(Integral(1/2 dt))

    which is. exp(0.5 t)

    Note: This factor works for cases when f(x,y) is linear in y. If it wasn't you would need a different integration factor.

    Anyway, if we multiply the differential equation by our integration factor we get

    d/dt[y exp(0.5t)] = 0.5t*exp(0.5t)

    We can now solve this directly since the variables are now separated. You'll need to use integration by parts. When you're done you should get:

    y(t) = t + (y0 + 2)*exp(-0.5*t) - 2

    where y0 is the value of y when t is 0


    Hope that helps. You might want to check out a book on ordinary differential equations.
    Last edited by wy125; May 20th, 2002 at 09:06 PM.

  5. #5
    Hyperactive Member
    Join Date
    Mar 2002
    Location
    Boston, MA
    Posts
    391

    Another way to do it

    Okay, I thought about the problem some more and it can be solved another way without using an integration factor.

    The original equation is

    dy/dt = (t - y)/2


    If we let

    u = t - y


    then

    du/dt = 1 - dy/dt


    using this we get the following new equation


    1 - du/dt = u/2

    du/dt = 1 - u/2 = (2 - u)/2

    This new equation is separable and can be integrated as usual. You'll get the same answer that was found using the integration factor after substituting back in for y. Generally speaking, I prefer the integrating factor, but it's up to you.

  6. #6

    Thread Starter
    Addicted Member nad_scorp's Avatar
    Join Date
    Feb 2001
    Location
    Inside XML
    Posts
    242
    THANX MAN


    Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u Luv u

    That's it
    Me "Talented Idiot" by Gtarawneh "He said he's sorry

    Inconsequential is Incommunicable

    The first impression we have
    Is not always the real one
    My reality is not always your
    so my friend....Is life that simple?


    It is called "Israeli occupation forces"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width