Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Diff EQ, did i mess up on a natural log rule?wee!

  1. Jan 18, 2006 #1
    Hello everyone the problem im messing up is:
    . Solve the following initial value problem:

    http://img59.imageshack.us/img59/9037/lastscan4vl.jpg [Broken]

    When pluggin in answers and using my calculator to evaluate, its saying NON-REAL numbers, i'm messing up hardcore somewhere but not sure where anyone know what rules i'm breaking, i'm sure its a few! :bugeye:
    The answer I submitted was the following:
    http://cwcsrv11.cwc.psu.edu/webwork2_files/tmp/equations/85/b54e0bb4299f47fff95c0da1243c441.png [Broken]
    Which was wrong! wee!
    Last edited by a moderator: May 2, 2017
  2. jcsd
  3. Jan 18, 2006 #2
    I haven't checked your partial fraction decomposition but your working (apart from the exponentiation of the sum of logs) looks right.

    It would be much easier to just write A = exp(c). That way you can avoid taking logs and the expressions will be neater. It also allows you to 'fudge' an answer. Also, when you look logs of both sides to solve for c, you can't just insert a modulus sign just because it's convenient.

    If you write the DE in the form [itex]\frac{{dy}}{{dx}} = f\left( {x,y} \right)[/itex] you will find [itex]f\left( {x,y} \right) = \frac{y}{{t^2 - 14t + 13}}[/itex] where [itex]\frac{{\partial f}}{{\partial y}} = \frac{1}{{t^2 - 14t + 13}}[/itex] is not continous at (x,y) = (1,7). So you are not guaranteed to obtain a unique solution to the IVP. This question looks a little strange. Hopefully someone with more knowledge in this area can help you out.

    Edit: [tex]\exp \left( {\frac{1}{{12}}\log \left| {t - 13} \right| - \frac{1}{2}\log \left| {t - 1} \right| + c} \right)[/tex]

    = \exp \left( {\log \left( {\frac{{\left| {t - 13} \right|^{\frac{1}{{12}}} }}{{\sqrt {\left| {t - 1} \right|} }}} \right) + c} \right)

    = \exp \left( c \right)\exp \left( {\log \left( {\frac{{\left| {t - 13} \right|^{\frac{1}{{12}}} }}{{\sqrt {\left| {t - 1} \right|} }}} \right)} \right)

    = \exp \left( c \right)\left( {\frac{{\left( {t - 13} \right)^{\frac{1}{{12}}} }}{{\sqrt {t - 1} }}} \right)
    Last edited: Jan 18, 2006
  4. Jan 18, 2006 #3


    User Avatar
    Science Advisor

    Did you notice you had ln|y|= ... and on the next line y= ...

    What happened to the absolute value? Here's a suggestion: instead of eC, just write C' (actually, I would just replace eC with C reminding myself that the two "C"s represent different values).
    Since C is an unknown constant, eC is also an unknown constant. Technically, eC must be positive. But allowing C' to take any value allows for the absolute value.

    Also you do have an error in your partial fractions decomposition: if
    [tex]\frac{1}{t^2- 14t+ 13}= \frac{A}{t-13}+ \frac{B}{t-1}[/tex]
    then A= [itex]\frac{1}{12}[/itex] and B= [itex]-\frac{1}{12}[/itex].

    That means that your general solution should be
    [tex]ln|y|= \frac{1}{12}ln(t- 13)- \frac{1/12}ln(t-1)+ C= ln\left(\frac{t-13}{t-1}\right)^{\frac{1}{12}}+C[/tex]
    so that
    [tex]y= C'\left(\frac{t-13}{t-1}\right)^\frac{1}{12}[/tex]
    Now put x= 7 and y= 1.
  5. Jan 21, 2006 #4
    hey thanks guys, sorry it took so long for me to reply. I tried your method Ivey but i got:
    http://cwcsrv11.cwc.psu.edu/webwork2_files/tmp/equations/aa/2a12367d8818b7d320d3d47e99c1af1.png [Broken]
    I solved for C', and ended up getting C' = 1. But I had to fudge some answers, becuase i ended up with:
    1 = C'(-1)^(1/12) which isn't allowed.
    so i assumed
    1 = C'|-1|^(1/12), in the end i screwed up because it says its inncorrect. This is what I did:
    y = C'((t-13)/(t-1))^(1/12);
    1 = C' ((7-13)/(7-1))^(1/12);
    1 = C'(-1)^(1/12);

    I plugged in Y = 1, and t = 7, any ideas? Thanks! :bugeye:
    Last edited by a moderator: May 2, 2017
  6. Jan 21, 2006 #5


    User Avatar
    Science Advisor

    Looks like you have done the partial fractions correctly.

    But don't forget that
    [tex]\int \frac{dx}{x}= ln\left|x\right|+ C[/tex]
    NOT ln(x)!!

    The integral, then is
    [tex]\int \frac{dy}{y}= \frac{1}{12}\left(\int\frac{dt}{t-13}-\frac{dt}{t-1}\right)[/tex]
    [tex]ln|y|= \frac{1}{12}\left(ln|t-13|- ln|t-1|\right)+ C= \frac{1}{12}ln\left|\frac{t-13}{t-1}\right|+ C[/tex]
    (don't forget the absolute value signs)
    Taking exp of both sides:
    [tex]y= C'\left|\frac{t-13}{t-1}\right|^{\frac{1}{12}}[/tex].

    When x= 7, y= 1 so
    [tex]1= C'\left|\frac{-6}{6}\right|^{\frac{1}{12}}= C'[/tex]
    Last edited by a moderator: Jan 21, 2006
  7. Jan 21, 2006 #6
    thanks for the explanation Ivey, so the answer would be, y = |(t-13)/(t-1)|^(1/12) right? i submitted that and it was wrong or am i misunderstanding somthing? I do that alot hah.
  8. Jan 22, 2006 #7


    User Avatar
    Science Advisor

    You are submitting that to an auto-site? I hate those things- the don't distinguish alternate ways of writing the same answer!

    The initial value is at x= 7 which is between 1 and 13. For all x between 7 and 13, [itex]\frac{t-13}{t-1}[/itex] is negative so you might try [itex]y= -\frac{t-13}{t-1}[/itex] or [itex]\frac{13-t}{t-1}[/itex] or [itex]\frac{t-13}{1-t}[/itex].
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook