Why are the results of this natural log integration seemingly inconsistent?

Join the discussion
Registration is free. Start your own thread to ask a follow-up.
2 replies · 2K views
PsychonautQQ
Messages
781
Reaction score
10

Homework Statement


Integrate (-m-kx)^-1 dx from a to b.





The Attempt at a Solution



So using the integral form I get the integral of (-m-kx)^-1 dx is (-1/k)*[ln(-m-kx)] with the bracketed expression being evaluated between a and b.

(-1/k)*[ln(-m-ka) - ln(-m-kb)]
My first problem with this is that if we assume m,k,a,b are all positive then the negative argument of the natural log function will lead the function to not have a proper result, but if we use properties of log's to adjust the expression we arrive at an equivalent expression:

(-1/k)*ln((-m-ka)/(-m-kb))
which is equivalent to
(-1/k)*ln((m+ka)/(m+kb))
which DOES have a proper answer since the argument of the log function is now positive... what voodoo is going on here!?

Furthermore and most frusturating of all is that the back of my book says the integral should come out to (-1/k)*ln((m+kb)/(m+ka)). However this book is infamous for typo's so the answers can't be trusted. Any mathamagical mavericks out there want to spread some light on my dilemma's?
 
Physics news on Phys.org
Why not start the integration as
[tex] \int_a^b \dfrac{1}{-m-kx} \, dx = \int_a^b \dfrac{-1}{m+kx} \, dx = -\int_a^b \dfrac 1 {m+kx} \, dx[/tex]

and see how your integral turns out?
 
Whether the numbers are positive or not is not directly relevant: [tex]\int \frac{du}{u}= ln|u|+ C[/tex].

Of course, you will want to let u= -m- kx.