Absolute values in standard integrals

Click For Summary
The discussion centers on the use of absolute values in the solutions of integrals involving trigonometric functions, specifically questioning the necessity of absolute values in the integral of cotangent. The integral ∫ dx cot{x} is stated to equal log |sin{x}|, which raises concerns about the smoothness of the function and the appropriateness of using absolute values. The participant suggests that log(sin{x}) might suffice, but acknowledges that log(-x) is undefined. The conversation highlights the mathematical reasoning behind the inclusion of absolute values, particularly in relation to the behavior of the cotangent function. Overall, the use of absolute values in these integrals is defended as necessary for ensuring the validity of the logarithmic function across its domain.
NanakiXIII
Messages
391
Reaction score
0
In a lot of compilations of standard integrals (my Calculus book does this, Wikipedia does this), a lot of the integrals of trigonometric functions have an absolute value in their solution which seems out of place to me. For example, take the integral

\int dx \cot{x}.

My Calculus book says this equals \log |\sin{x}|. Now, I could be mistaken, but it seems to me that \log (\sin{x}) would do just fine and in fact, since |\sin{x}| isn't a smooth function, I wouldn't expect to find it as a solution.

My first guess is that the | | are for some reason used without their meaning as absolute value. Is this the case? If so, what's the point of using them instead of regular brackets?
 
Physics news on Phys.org
log(-x) isn't defined.
 
You are right, of course. And the cotangent is not a bounded function, so the solution not being smooth is not so strange.
 

Similar threads

  • · Replies 14 ·
Replies
14
Views
4K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K