Why the modulus signs when integrating f'(x)/f(x)?

Click For Summary
The integral of f'(x)/f(x) results in ln|f(x)| + C due to the logarithm's restriction to positive arguments. Negative values for f(x) would lead to undefined logarithmic results, necessitating the use of absolute values to ensure validity across all cases. The derivative of ln(x) for positive x is 1/x, while for negative x, it is also 1/x when expressed as ln(-x), reinforcing the need for the modulus. While the modulus signs can often be overlooked in specific scenarios where the limits of integration are both positive or both negative, they are crucial for maintaining the integrity of the logarithmic function. Thus, the inclusion of modulus signs is essential for a complete and accurate representation of the integral.
Cheman
Messages
235
Reaction score
1
I am able to proove to myself, through generalised substitution, that the integral of f'(x)/f(x) is lnf(x)+c, but where do the modulus signs come from? ie - The accepted integral is ln|f(x)|+c, not lnf(x)+c

Thanks in advance. :smile:
 
Physics news on Phys.org
I cannot be specific in my answer, but I know that a negative argument will not work with the natural logarithm function, therefore I guess the magnitude of the answer is the argument that is valid.
 
logarithms are only defined for positive arguments: loga(x) is the inverse to ax and (for a positive) ax is always positive.

But d(ln(x))/dx= 1/x for x positive, and using the chain rule, d(ln(-x))/dx= (1/(-x))(-1)= 1/x with x negative. Thus: the anti-derivative for ln(x) is properly ln|x|+ C rather than ln(x)+ C.


I will confess that I always forget the "| |" myself. Most of the time it doesn't matter: \int_a^b (1/x)dx= ln b- ln a if a and b are both positive,
ln(|b|)- ln(|a|)= ln(-b)- ln(-a) if a and b are both negative so you can just 'ignore' the negative signs. Of course, 1/x is not defined for x= 0 and the integral is not defined if a is negative and b positive.
 
Last edited by a moderator:

Similar threads

  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 8 ·
Replies
8
Views
814
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 19 ·
Replies
19
Views
4K
  • · Replies 9 ·
Replies
9
Views
3K