Derivative and integral of the natural log

In summary, when differentiating ln(2x), we use the chain rule to get 1/x, but when we integrate 1/x, we get ln|x| instead of ln(x). This is due to the constant of integration and the fact that ln|x| is a generalization that applies to negative numbers where ln(x) is undefined.
  • #1
phospho
251
0
not really a problem, but more curious

if we differentiate ln(2x) we get 2/(2x) = 1/x by the chain rule, but if we integrate 1/x we get ln|x|? Could anyone explain why this is the case, thanks.
 
Physics news on Phys.org
  • #2
phospho said:
not really a problem, but more curious

if we differentiate ln(2x) we get 2/(2x) = 1/x by the chain rule, but if we integrate 1/x we get ln|x|? Could anyone explain why this is the case, thanks.

ln(2x) = ln(x) + ln(2)

Don't forget the constant of integration.

[itex]\displaystyle \int \frac{1}{x}\,dx=\ln(|x|)+C_0=\ln(|x|)+\ln(2)+C_1\,,\ [/itex] where C0 = C1 + ln(2) .
 
  • #3
As to the absolute value it is a generalization which works in the case of negative numbers for which the real logarithm [itex] ln(x) [/itex] is undefined. That it applies can be seen by forming the derivative in the separate cases when [itex] x > 0 [/itex] and [itex] x < 0 [/itex] respectively. One should still watch for intervals which include zero for there neither [itex] ln(x) [/itex] nor [itex] ln|x| [/itex] are defined.
 
  • #4
thanks!
 

Related to Derivative and integral of the natural log

1. What is the derivative of ln(x)?

The derivative of ln(x) is equal to 1/x.

2. How do you find the integral of ln(x)?

The integral of ln(x) is equal to xln(x) - x + C, where C is the constant of integration.

3. What is the derivative of ln(u), where u is a function of x?

The derivative of ln(u) is equal to u' / u, where u' is the derivative of u.

4. How do you use the natural log in calculus?

The natural log is commonly used in calculus to find the derivative and integral of exponential functions, as well as to solve differential equations involving exponential growth or decay.

5. Can the natural log be used to solve problems in other fields of science?

Yes, the natural log has many applications in other fields of science such as physics, chemistry, and biology. It is often used to model and analyze exponential growth or decay in various systems.

Similar threads

  • Calculus and Beyond Homework Help
Replies
6
Views
991
  • Calculus and Beyond Homework Help
Replies
5
Views
361
  • Calculus and Beyond Homework Help
Replies
23
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
732
  • Calculus and Beyond Homework Help
Replies
3
Views
862
  • Calculus and Beyond Homework Help
Replies
14
Views
446
  • Calculus and Beyond Homework Help
Replies
6
Views
626
  • Calculus and Beyond Homework Help
Replies
4
Views
648
  • Calculus and Beyond Homework Help
Replies
10
Views
1K
  • Calculus and Beyond Homework Help
Replies
15
Views
831
Back
Top