Hey there! Sign in to join this conversationNew here? Join for free

Two different methods give two different answer Watch

    • Thread Starter
    Offline

    0
    ReputationRep:
    I was solving a differential equation and got to the step where I had to integrate. I did it two different methods to get two different answers. I was wondering if anyone knows why one method must not work.

    Method 1

     \int \frac{1}{4y} dy

    let  u = 4y

    therefore:

     \frac{du}{dy} = 4

     \frac{dy}{du} = \frac{1}{4}

     dy = \frac{1}{4} du

    so:

     \int \frac{1}{u} \frac{1}{4} du = \frac{1}{4} \int \frac{1}{u} du

     \frac{1}{4} \ln u = \frac{1} {4} \ln (4y)

    Method 2

     \int \frac{1}{4y} dy

     \frac{1}{4} \int \frac{1}{y}

     \frac{1}{4} \ln y

    As you see both gives different answer but I'm sure both methods are correct.

    Thanks,
    Kieron
    Offline

    16
    ReputationRep:
    You missed off the '+c'. Your first answer is equivalent to 1/4*ln(4) + 1/4*ln(y).
    • PS Helper
    Offline

    14
    The key is the "+C", which you forgot to add.

    Notice that if g(x) = f(x) + C then \dfrac{dg}{dx} = \dfrac{df}{dx}, so when you integrate two things then you can end up with two different answers, but they will always only differ by a constant.

    Here, \ln 4y = \ln 4 + ln y, so you get \dfrac{1}{4} \ln 4 + \dfrac{1}{4} \ln y. The \dfrac{1}{4}\ln 4 is a constant, and so (if you add your constants of integration) the two answers are actually the same -- this \dfrac{1}{4}\ln 4 can then be absorbed into the constant of integration in your first method to give \dfrac{1}{4}\ln y + C.
    Offline

    4
    ReputationRep:
    You've forgotten your constant of integration.
    • Thread Starter
    Offline

    0
    ReputationRep:
    (Original post by nuodai)
    The key is the "+C", which you forgot to add.

    Notice that if g(x) = f(x) + C then \dfrac{dg}{dx} = \dfrac{df}{dx}, so when you integrate two things then you can end up with two different answers, but they will always only differ by a constant.

    Here, \ln 4y = \ln 4 + ln y, so you get \dfrac{1}{4} \ln 4 + \dfrac{1}{4} \ln y. The \dfrac{1}{4}\ln 4 is a constant, and so (if you add your constants of integration) the two answers are actually the same -- this \dfrac{1}{4}\ln 4 can then be absorbed into the constant of integration in your first method to give \dfrac{1}{4}\ln y + C.
    I can't believe something so simple drove me crazy. Most of the times the constant doesn't change the answer so I tend to forget to put it.

    Thanks
    Offline

    2
    ReputationRep:
    (Original post by Darkening Light)
    I can't believe something so simple drove me crazy. Most of the times the constant doesn't change the answer so I tend to forget to put it.

    Thanks
    Indeed! In regards to forgetting about the constant, try integrating 1/x dx by parts some time, with u = 1/x, v' = 1.
    Offline

    0
    ReputationRep:
    the +c my friend!
    i forgot it when integrating arcsin and i got two different answers by two methods aswell.
    not to worry, just an easy mistake
 
 
 
  • See more of what you like on The Student Room

    You can personalise what you see on TSR. Tell us a little about yourself to get started.

  • Poll
    Did TEF Bronze Award affect your UCAS choices?
    Useful resources

    Make your revision easier

    Maths

    Maths Forum posting guidelines

    Not sure where to post? Read the updated guidelines here

    Equations

    How to use LaTex

    Writing equations the easy way

    Student revising

    Study habits of A* students

    Top tips from students who have already aced their exams

    Study Planner

    Create your own Study Planner

    Never miss a deadline again

    Polling station sign

    Thinking about a maths degree?

    Chat with other maths applicants

    Can you help? Study help unanswered threads

    Groups associated with this forum:

    View associated groups
  • See more of what you like on The Student Room

    You can personalise what you see on TSR. Tell us a little about yourself to get started.

  • The Student Room, Get Revising and Marked by Teachers are trading names of The Student Room Group Ltd.

    Register Number: 04666380 (England and Wales), VAT No. 806 8067 22 Registered Office: International House, Queens Road, Brighton, BN1 3XE

    Quick reply
    Reputation gems: You get these gems as you gain rep from other members for making good contributions and giving helpful advice.