Absolute values in standard integrals

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 3K views
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

[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
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.