Results 1 to 3 of 3

Math Help - Integrating Factor Problem

  1. #1
    Member VitaX's Avatar
    Joined
    Feb 2009
    From
    Ohio
    Posts
    185

    Integrating Factor Problem

    Find the solution of the initial value problem.

    ty' + (t+1)y = t ; y(ln2) = 1 ; t > 0

    \frac{dy}{dx} + p(x)y = Q(x)

    y' + \left(1 + \frac{1}{t} \right)y = 1

    p(t) = 1 + \frac{1}{t} ; Q(t) = 1

    \int p(x) = \int 1 + \frac{1}{t} dt = t + ln(t)

    Integrating Factor: e^{t + ln(t)} = e^{t}e^{ln(t)} = te^t

    te^t \left[y' + \left(1 + \frac{1}{t} \right)y \right] = te^t

    te^t y' + \left(1 + \frac{1}{t} \right)y = te^t

    u'v + v'u = \frac{d}{dx} (uv) ; u = y ; v = te^t

    \frac{d}{dt}[yte^t] = te^t

    \int d[yte^t] = \int te^t dt

    yte^t = \int te^t dt

    Integrate by Parts: \int te^t dt = te^t - e^t

    yte^t = te^t - e^t

    y(t) = 1 - \frac{1}{t} + C

    Initial Condition: y(ln2) = 1

    y(ln2) = 1 = 1 - \frac{1}{ln2} + C

    C = \frac{1}{ln2}

    My Solution: y(t) = 1 - \frac{1}{t} + \frac{1}{ln2}

    Book Solution: y(t) = \frac{t - 1 + 2e^{-t}}{t}

    Where exactly did I go wrong?
    Last edited by VitaX; September 5th 2011 at 04:19 PM.
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Rhymes with Orange Chris L T521's Avatar
    Joined
    May 2008
    From
    Santa Cruz, CA
    Posts
    2,844
    Thanks
    3

    Re: Integrating Factor Problem

    Quote Originally Posted by VitaX View Post
    Find the solution of the initial value problem.

    ty' + (t+1)y = t ; y(ln2) = 1 ; t > 0

    \frac{dy}{dx} + p(x)y = Q(x)

    y' + \left(1 + \frac{1}{t} \right)y = 1

    p(t) = 1 + \frac{1}{t} ; Q(t) = 1

    \int p(x) = \int 1 + \frac{1}{t} dt = t + ln(t)

    Integrating Factor: e^{t + ln(t)} = e^{t}e^{ln(t)} = te^t

    te^t \left[y' + \left(1 + \frac{1}{t} \right)y \right] = te^t

    te^t y' + \left(1 + \frac{1}{t} \right)y = te^t

    u'v + v'u = \frac{d}{dx} (uv) ; u = y ; v = te^t

    \frac{d}{dt}[yte^t] = te^t

    \int d[yte^t] = \int te^t dt

    yte^t = \int te^t dt

    Integrate by Parts: \int te^t dt = te^t - e^t

    yte^t = te^t - e^t This is where you made your mistake.

    y(t) = 1 - \frac{1}{t} + C

    Initial Condition: y(ln2) = 1

    y(ln2) = 1 = 1 - \frac{1}{ln2} + C

    C = \frac{1}{ln2}

    My Solution: y(t) = 1 - \frac{1}{t} + \frac{1}{ln2}

    Book Solution: y(t) = \frac{t - 1 + 2e^{-t}}{t}

    Where exactly did I go wrong?
    You made your mistake when you said yte^t = te^t-e^t. It should be yte^t=te^t-e^t{\color{red} + C}.

    That way, when you divide through by te^t, you get y=1-\frac{1}{t}+\frac{1}{t}Ce^{-t}

    Now apply your initial condition to get the book's solution.

    I hope this helps.
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Member VitaX's Avatar
    Joined
    Feb 2009
    From
    Ohio
    Posts
    185

    Re: Integrating Factor Problem

    Ah, OK. Thanks for clearing that up.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Problem with Integrating Factor
    Posted in the Differential Equations Forum
    Replies: 3
    Last Post: January 24th 2011, 03:20 AM
  2. [SOLVED] Integrating Factor
    Posted in the Differential Equations Forum
    Replies: 1
    Last Post: January 14th 2011, 04:38 PM
  3. The Integrating Factor
    Posted in the Differential Equations Forum
    Replies: 2
    Last Post: August 5th 2009, 03:11 AM
  4. Help with Integrating Factor
    Posted in the Differential Equations Forum
    Replies: 7
    Last Post: March 25th 2009, 08:26 AM
  5. Integrating Factor Problem
    Posted in the Calculus Forum
    Replies: 4
    Last Post: September 4th 2008, 10:48 AM

Search Tags


/mathhelpforum @mathhelpforum