How Can I Integrate 1/(sin(x)+a) dx?

  • Thread starter Thread starter msbell1
  • Start date Start date
  • Tags Tags
    Dx Integrate
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
1 reply · 3K views
msbell1
Messages
25
Reaction score
0

Homework Statement


Integrate ∫dx/(sin(x)+a), where a is a constant.

Homework Equations


The Attempt at a Solution


I have been working on this for a while, and for some reason I can't figure it out. The attempt that seemed the most promising to me was to multiply top and bottom by (sin(x)-a), which gave
∫(sin(x)-a)/(sin2(x)-a2) dx.
I could integrate the first term (∫sin(x)/(sin2(x)-a2)dx) by substituting 1-cos2(x) for sin2x, and then using partial fractions. However, the second term (-∫a/(sin2(x)-a2)dx) is causing me some trouble. Actually, with the second term, I again used partial fractions, but then I end up with (sin(x) +/- a) in the denominator, which ends up looking about the same as what I started with. Is there a substitution that would make this problem simple? Thanks.
 
Physics news on Phys.org
The integrand is a rational function of sin(x): rewrite it in terms of tan(x/2) and use the substitution tan(x/2)=t.
(sin(x)=2tan(x/2)/(1+tan2(x/2), cos(x)=(1-tan2(x/2)/(1+tan2(x/2). )

ehild