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

Weird integral - what's wrong?

  1. May 17, 2015 #1

    I just stumbled upon this integral while doing ODEs...


    I used integration by parts




    Now... I don't see anything wrong with this...

    But every single online integration calculator as well as the ODE solution solves this integral by doing 1/(x-2)+2/(x-2)2 and they all get


    as a result...

    What am I doing wrong in my integration by parts? What am I missing? Oo
  2. jcsd
  3. May 17, 2015 #2


    User Avatar
    Science Advisor

    There is nothing wrong. The two results are equivalent.


    The difference is only in the constant of integration.
  4. May 17, 2015 #3
    Thank you!
    The maths department screwed up then because the question asked to verify that C=2 but with the above integration it equals 3... So they omitted one result... >.<
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook