r/MathHelp • u/TimberForge • Feb 10 '21
Getting different answers for integral depending on if I factor out coefficient.
For the integral integral(1/(5000x)) why does it seem that I get different answers depending on if I factor out 1/5000?
If I factor it out, I get (1/5000)ln(x) (The 1/5000 is factored out, and the lnx comes from integral of 1/x
but if I use u-substitution where u=5000x, I get (1/5000)ln(5000x). The 1/5000 from dx=du/5000 and the 5000x from the substitution.
It seems like online calculators match the first one, but my online class (“Studyforge”) matches the second one.
6
u/edderiofer Feb 10 '21
The two differ by a constant, which is "absorbed" into the +C in an indefinite integral.
1
u/AutoModerator Feb 10 '21
This is an automated reminder:
What have you tried so far? (See Rule #2; to add an image, you may upload it to an external image-sharing site like Imgur and include the link in your post.)
Please don't delete your post. (See Rule #7)
We, the moderators of /r/MathHelp, appreciate that your question contributes to the MathHelp archived questions that will help others searching for similar answers in the future. Thank you for obeying these instructions.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/jeffsuzuki Feb 11 '21
This (and one involving sin x cos x) is one of the problems I always present to my calculus students.
The important thing to remember is that two antiderivatives always differ by a constant:
https://youtu.be/AcM9m58_r9M?list=PLKXdxQAT3tCuY0gQyDTZYacNXIDLxJwcX
The other component is the basic properties of logs:
https://youtu.be/YZV4aaSaaiU?list=PLKXdxQAT3tCuJku9nTlRZgx_RjGZ7djMc
So if one answer is ln(5000x) and the other is ln(x), remember ln(5000x) = ln(5000) + ln x, and there's your constant difference.
2
u/TimberForge Feb 10 '21
Nevermind it seems that it gives the same functional answers, at least when doing definite integrals. Now im now sure how this factors into the larger problem this is a part of though...