Absolute values in standard integrals

In summary, there are a lot of standard integrals that involve trigonometric functions with an absolute value in their solution. This may seem out of place, as the integral of dx \cot{x} equals \log |\sin{x}|, but it could be mistaken to just use \log (\sin{x}). It is possible that the use of | | is not for their meaning as absolute value, and there is no point in using them instead of regular brackets. Furthermore, the solution may not be smooth due to the unbounded nature of the cotangent function.
  • #1
NanakiXIII
392
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

[tex]\int dx \cot{x}[/tex].

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

My first guess is that the [tex]| |[/tex] 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
  • #2
log(-x) isn't defined.
 
  • #3
You are right, of course. And the cotangent is not a bounded function, so the solution not being smooth is not so strange.
 
Back
Top