U-Substitution in trig integral

  • Thread starter Thread starter ago01
  • Start date Start date
  • Tags Tags
    Integral Trig
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
3 replies · 3K views
ago01
Messages
46
Reaction score
8
Homework Statement
##\int \frac{\csc{x}\cot{x}}{1+\csc^2{x}}dx##
Relevant Equations
U-Sub
##\int \frac{\csc{x}\cot{x}}{1+\csc^2{x}}dx##

Let ##u = \csc{x}##

then

##-du = \csc{x}\cot{x}dx##

So,

##\int \frac{\csc{x}\cot{x}}{1+\csc^2{x}}dx##

##-\int \frac{1}{1+u^2}du = -\arctan{u} + C##

##-\arctan{\csc{x}} + C##

This answer was wrong. The actual answer involved fully simplifying the fraction and using

##u = \sin{x}##.

I understand how this approach is done and it makes complete sense.

What I'm confused about is where I went wrong in my derivation. I don't see my mistake, and the only difference is I ended up with ##\csc{x}## and a negative sign.

Could you help me spot my error? Usually bad u-subs makes things harder so I must've made a dumb subtle mistake I can't see.
 
Physics news on Phys.org
ago01 said:
Interesting...I suppose this makes it clear why you should simplify as much as possible to get to the meat of the integral. The graphs are only equal at the "peaks". Fascinating.
What peaks?

One issue here is that the constants of integration differ. Another issue is that the integrand for the integral
##\displaystyle \int \frac{\csc{x}\cot{x}}{1+\csc^2{x}}dx ##
is undefined at ## x = k\pi##, where ##k## is an integer.. On the other hand the integrand for
##\displaystyle \int \frac{\cos{x}}{1+\sin^2{x}}dx ##
it is defined for all ##x## .

The graph suggested by @fresh_42 shows that
##\displaystyle \tan^{-1}(\sin(x))##
and
##\displaystyle -\tan^{-1}(\csc(x)) ##
differ by
##\pm \dfrac \pi 2 ## .
 
Last edited:
Reply
  • Like
Likes   Reactions: ago01