Results 1 to 8 of 8

Math Help - Analyzing solutions of y'= r-ky using W lambert function?

  1. #1
    Newbie
    Joined
    Jun 2014
    From
    indonesia
    Posts
    8

    Analyzing solutions of y'= r-ky using W lambert function?

    consider this IVP
    y'=r-ky , y(0)=y0
    y= (y0)e^(-kt) + (r/k)(1-e^(-kt))
    if y,y0,r,t are provided, we should be able to solve for k and that's the problem but what I'm really interested is analyzing this problem

    if we let y=0.99 (r/k) find t in terms of all other variables

    Of courses, if y0 = 0 we can see that t= -(ln 0.01)/k

    i wonder if y0 is not zero is it possible to analyze variable t using any knowledge or technology from mathematics?

    this problems is derived from real application of pharmacokinetics IV infusion where

    y= amount of drug at time t
    y0 = initial amount of drug at t = 0
    r = infusion rate
    k = elimination rate constant
    (r/k) = amount of drug at steady-state (as t --> infinity the amount of drug will approach this value and 99% of (r/k) is a good approximation of amount of drug at steady-state)

    so what I really ask is how the initial amount of drug reflects the time to reach steady-state ( for example. how much we increase y0 in order to halve the time to reach steady-state )
    Follow Math Help Forum on Facebook and Google+

  2. #2
    MHF Contributor
    Joined
    Nov 2010
    Posts
    1,931
    Thanks
    782

    Re: Analyzing solutions of y'= r-ky using W lambert function?

    y = y_0 e^{-kt} + \dfrac{r}{k}(1-e^{-kt}) = e^{-kt}\left(y_0-\dfrac{r}{k}\right)+\dfrac{r}{k}

    \dfrac{ky-r}{ky_0-r} = e^{-kt}

    -kt = \ln\left(\dfrac{ky-r}{ky_0-r}\right)

    t = -\dfrac{1}{k}\ln\left( \dfrac{ky-r}{ky_0-r} \right)

    If y = 0.99\dfrac{r}{k}, then plug that into the equation to get:

    t = -\dfrac{1}{k}\ln\left( \dfrac{0.01 r}{r-ky_0} \right)

    Note: you need \left(r>ky_0\text{ AND }r>0\right) or \left(r<ky_0\text{ AND }r<0\right) in order for this to have a real-valued solution.
    Last edited by SlipEternal; July 15th 2014 at 03:25 AM.
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Newbie
    Joined
    Jun 2014
    From
    indonesia
    Posts
    8

    Re: Analyzing solutions of y'= r-ky using W lambert function?

    so it does not require W lambert function in order to analyze this problem?

    but apparently one cannot solve for k if other variables are provided with out using w lambert function
    Last edited by kochibacha; July 17th 2014 at 02:31 AM.
    Follow Math Help Forum on Facebook and Google+

  4. #4
    MHF Contributor
    Joined
    Nov 2010
    Posts
    1,931
    Thanks
    782

    Re: Analyzing solutions of y'= r-ky using W lambert function?

    Quote Originally Posted by kochibacha View Post
    so it does not require W lambert function in order to analyze this problem?

    but apparently one cannot solve for k if other variables are provided with out using w lambert function
    One could analyze it without the W Lambert function. There are many methods to analyze a function. The W Lambert function provides a straightforward method to analyze it, but that is by no means the only method.
    Follow Math Help Forum on Facebook and Google+

  5. #5
    Newbie
    Joined
    Jun 2014
    From
    indonesia
    Posts
    8

    Re: Analyzing solutions of y'= r-ky using W lambert function?

    Quote Originally Posted by SlipEternal View Post
    One could analyze it without the W Lambert function. There are many methods to analyze a function. The W Lambert function provides a straightforward method to analyze it, but that is by no means the only method.
    could you give me an example of analyzing variable "k" without using w lambert function from the above problem
    Follow Math Help Forum on Facebook and Google+

  6. #6
    MHF Contributor
    Joined
    Nov 2010
    Posts
    1,931
    Thanks
    782

    Re: Analyzing solutions of y'= r-ky using W lambert function?

    Quote Originally Posted by kochibacha View Post
    could you give me an example of analyzing variable "k" without using w lambert function from the above problem
    Newton approximation is one of many examples.
    Follow Math Help Forum on Facebook and Google+

  7. #7
    Newbie
    Joined
    Jun 2014
    From
    indonesia
    Posts
    8

    Re: Analyzing solutions of y'= r-ky using W lambert function?

    Quote Originally Posted by SlipEternal View Post
    Newton approximation is one of many examples.
    did you mean newton raphson method?

    I think i cannot find k' alone using implicit differentiation
    and what variable should I differentiate to respect with

    could you recommend some great books where I can study in detail myself
    Follow Math Help Forum on Facebook and Google+

  8. #8
    MHF Contributor
    Joined
    Nov 2010
    Posts
    1,931
    Thanks
    782

    Re: Analyzing solutions of y'= r-ky using W lambert function?

    Quote Originally Posted by kochibacha View Post
    did you mean newton raphson method?

    I think i cannot find k' alone using implicit differentiation
    and what variable should I differentiate to respect with

    could you recommend some great books where I can study in detail myself
    I would recommend using the Lambert W function. You were simply asking if there were other methods of analyzing the function, and there are. The easiest method is probably the direct method, which would be the Lambert function. Any book on real analysis should provide some insight on other methods of evaluating functions of multiple variables.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Integral involving Lambert W-function
    Posted in the Math Challenge Problems Forum
    Replies: 4
    Last Post: March 23rd 2010, 01:21 PM
  2. Analyzing q further
    Posted in the Differential Geometry Forum
    Replies: 0
    Last Post: March 2nd 2010, 03:09 PM
  3. Help analyzing inverse of an abs function
    Posted in the Pre-Calculus Forum
    Replies: 4
    Last Post: December 7th 2009, 12:48 PM
  4. analyzing a function
    Posted in the Pre-Calculus Forum
    Replies: 3
    Last Post: January 5th 2008, 06:44 AM
  5. Analyzing a graph
    Posted in the Pre-Calculus Forum
    Replies: 5
    Last Post: November 26th 2007, 07:23 PM

Search Tags


/mathhelpforum @mathhelpforum