Results 1 to 9 of 9

Math Help - Solving DE for the spread of a rumour.

  1. #1
    Newbie
    Joined
    May 2010
    Posts
    4

    Solving DE for the spread of a rumour.

    here is my problem and what I have done so far.
    Attached Thumbnails Attached Thumbnails Solving DE for the spread of a rumour.-differential-equation.jpg   Solving DE for the spread of a rumour.-solution0001.jpg  
    Follow Math Help Forum on Facebook and Google+

  2. #2
    MHF Contributor

    Joined
    Apr 2005
    Posts
    16,418
    Thanks
    1854
    The integral of \frac{dx}{x(1- x)} is NOT "ln|x(1- x)|". First write it as "partial fractions": \frac{1}{x(1-x)}= \frac{A}{x}+ \frac{B}{1- x}, then integrate.
    Follow Math Help Forum on Facebook and Google+

  3. #3
    MHF Contributor
    Prove It's Avatar
    Joined
    Aug 2008
    Posts
    11,829
    Thanks
    1602
    Quote Originally Posted by Rina View Post
    here is my problem and what I have done so far.
    \frac{dx}{dt} = x(1 - x)

    \frac{dt}{dx} = \frac{1}{x(1 - x)}.


    Now using the method of partial fractions:

    \frac{A}{x} + \frac{B}{1 - x} = \frac{1}{x(1 - x)}

    \frac{A(1 - x) + Bx}{x(1 - x)} = \frac{1}{x(1 - x)}

    A(1 - x) + Bx = 1

    A - Ax + Bx = 1

    A + (B - A)x = 1 + 0x.


    Therefore A = 1 and B - A = 0, so B = 1.

    Thus \frac{1}{x(1 - x)} = \frac{1}{x} + \frac{1}{1 - x}.



    Back to the DE:

    \frac{dt}{dx} = \frac{1}{x(1 - x)}

    \frac{dt}{dx} = \frac{1}{x}+ \frac{1}{1 - x}

    t = \int{\left(\frac{1}{x} + \frac{1}{1 - x}\right)\,dx}

    t = \ln{|x|} - \ln{|1 - x|} + C

    t = \ln{\left|\frac{x}{1 - x}\right|} + C

    t = \ln{\left|\frac{x - 1 + 1}{1 - x}\right|} + C

    t = \ln{\left|\frac{-(1 - x)}{1 - x} + \frac{1}{1 - x}\right|} + C

    t = \ln{\left|-1 + \frac{1}{1 - x}\right|} + C

    t - C = \ln{\left|-1 + \frac{1}{1 - x}\right|}

    e^{t - C} = \left|-1 + \frac{1}{1 - x}\right|

    e^{-C}e^t = \left|-1 + \frac{1}{1 - x}\right|

    \pm e^{-C}e^t = -1 + \frac{1}{1 - x}

    A\,e^t = -1 + \frac{1}{1 - x}, where A = \pm e^{-C}

    A\,e^t + 1 = \frac{1}{1 - x}

    \frac{1}{A\,e^t + 1} = 1 - x

    x = 1 - \frac{1}{A\,e^t + 1}

    x = \frac{A\,e^t + 1 - 1}{A\,e^t + 1}

    x = \frac{A\,e^t}{A\,e^t + 1}.
    Follow Math Help Forum on Facebook and Google+

  4. #4
    Newbie
    Joined
    May 2010
    Posts
    4
    thank you.

    and C is? .
    Last edited by mr fantastic; May 21st 2010 at 03:53 PM. Reason: Merged posts.
    Follow Math Help Forum on Facebook and Google+

  5. #5
    MHF Contributor
    Prove It's Avatar
    Joined
    Aug 2008
    Posts
    11,829
    Thanks
    1602
    Quote Originally Posted by Rina View Post
    the first A has nothing to do with a second A. It is confusing. should i have used a different letter for that constant at the end of the calculation.
    They are the same A. Otherwise I would have used different letters.
    Follow Math Help Forum on Facebook and Google+

  6. #6
    Newbie
    Joined
    May 2010
    Posts
    4
    I am sorry that I am so stupit. It is not ez trust me

    I am sorry, but I do not understand how did the first A, just a constant initially, all the sudden became +-e^(-c).
    Last edited by mr fantastic; May 21st 2010 at 03:54 PM. Reason: Mreged posts.
    Follow Math Help Forum on Facebook and Google+

  7. #7
    Newbie
    Joined
    May 2010
    Posts
    4
    If we use this DE solution, x=1/(1-e^(-t)) and try to find the proportion of the population that has heard the rumor at the time t=0. The solution gives us the result - 0.5; that is a half of population before the rumor has started spreading? It doesn't make sense. Am I interpreting it wrong?
    Last edited by Rina; May 21st 2010 at 10:11 AM.
    Follow Math Help Forum on Facebook and Google+

  8. #8
    Flow Master
    mr fantastic's Avatar
    Joined
    Dec 2007
    From
    Zeitgeist
    Posts
    16,948
    Thanks
    5
    Quote Originally Posted by Rina View Post
    I am sorry that I am so stupit. It is not ez trust me

    I am sorry, but I do not understand how did the first A, just a constant initially, all the sudden became +-e^(-c).
    C is arbitrary therefore -C is arbitrary therefore e^(-C) is arbitrary therefore it can be represneted by a new arbitrary symbol eg. A.
    Follow Math Help Forum on Facebook and Google+

  9. #9
    Flow Master
    mr fantastic's Avatar
    Joined
    Dec 2007
    From
    Zeitgeist
    Posts
    16,948
    Thanks
    5
    Quote Originally Posted by Rina View Post
    If we use this DE solution, x=1/(1-e^(-t)) and try to find the proportion of the population that has heard the rumor at the time t=0. The solution gives us the result - 0.5; that is a half of population before the rumor has started spreading? It doesn't make sense. Am I interpreting it wrong?
    1. The given solution is x=1/(1+e^(-t)), not what you have said.

    2. t = 0 => x = 1/2. All that means is that at t = 0 half the population have heard the rumour. Big deal.

    3. The question asked you to show that the solution was x=1/(1+e^(-t)). So you don't actually have to solve the DE. Just substitute x=1/(1+e^(-t)) into it and show that the resulting left hand and right hand sides are equal to each other. The fact that you have been given no boundary condition suggests that this is the approach you were meant to take ... (And given what I have said in my second point, a possible boundary condition would have been the initial condition x(0) = 1/2).
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Mean, Median, Mode, Spread, Average spread?
    Posted in the Algebra Forum
    Replies: 2
    Last Post: May 10th 2010, 11:07 PM
  2. Average Spread
    Posted in the Algebra Forum
    Replies: 1
    Last Post: May 10th 2010, 08:18 PM
  3. Measures of Spread
    Posted in the Statistics Forum
    Replies: 1
    Last Post: September 20th 2009, 12:43 AM
  4. measures of spread
    Posted in the Statistics Forum
    Replies: 2
    Last Post: October 15th 2008, 04:24 PM
  5. Rumour problem (logistic differential equations)
    Posted in the Differential Equations Forum
    Replies: 1
    Last Post: October 15th 2008, 05:29 AM

Search Tags


/mathhelpforum @mathhelpforum