Solving Intractable Integral: \frac{1}{(1+a cos(\theta - \phi))^2}

  • Thread starter NoobixCube
  • Start date
  • Tags
    Integral
In summary, the conversation revolved around finding a solution for the integral \int \frac{1}{(1+a cos(\theta - \phi))^2} d\theta where a is a constant. Suggestions were made to expand the denominator and use the derivative of tan^{-1}{(\theta + \phi)} to simplify the solution, but it was ultimately solved by considering the substitution \theta- \phi=t. Some users suggested using software like Mathematica to solve the integral, while others mentioned using numerical methods or defining it as a new function. Additionally, someone recommended looking into elliptical integrals for more information. Overall, the conversation ended with the suggestion to use the aforementioned substitution for an easier solution.
  • #1
NoobixCube
155
0
Hi all,
I have checked many integral tables and done a lot of working, but I can't seem to derive a solution for:

[tex]
\int \frac{1}{(1+a cos(\theta - \phi))^2} d\theta
[/tex]

where a is constant.
Any help would be most appreciated
 
Physics news on Phys.org
  • #2
It would be good for us too see an attempt at the problem...there aren't many people that are kind enough to give you the answer straight up.
 
  • #3
Possibly Helpful Hint:
1) expand the denominator
2) look up the derivative of [tex]tan^{-1}{(\theta + \phi)}[/tex]

See if you can link the two together...
 
  • #4
Bet you cant
 
  • #5
hahahaha :smile: .
nice.
 
  • #6
yeah I've come across this before in an "applied mathematics" course.
the integral is going to be really big and ugly and involve a lot of hyperbolic arctangents

the real crappy part is that while you're writing out reams of expressions you'll be thinking the whole time that there must be some cute simplification for all this. I mean it really looks like there should be, but there just isn't.

use some software to solve this one. that's why we invented it.
 
  • #7
oh, by the way the derivative of [tex]tan^{-1}{(\theta + \phi)} = 1/(1 +(\theta - \phi)^2) [/tex]

p.s. sorry, my latex skills are weak
 
Last edited:
  • #8
tried it in Mathematica it is a nasty solution if it is correct

[tex] -\frac{2 ArcTanh[\frac{(a-1)Tan(\frac{\Theta-\phi}{2})}{\sqrt{a^2-1}}]}{(a^2-1)^{3/2}} + \frac{a * Sin(\Theta-\phi)}{(a^2-1)(1+a*Cos(\Theta-\phi))}[/tex]
 
  • #9
wow! that's pretty if you ask me
 
  • #10
Thanks for all the input guys, I used MATLAB and Mathematica, both give different solutions...
I have heard rumors that Mathematica can sometimes give wrong answers, can anyone support this claim?
 
  • #11
Oh, by the by, maybe I should have said that a<1 ... this may affect the first term of the solution from Mathematica
 
  • #12
at least a [tex]tan^{-1}{(...)} [/tex] appears in the answer...too bad I can't figure out how or why.
 
  • #13
n0_3sc said:
at least a [tex]tan^{-1}{(...)} [/tex] appears in the answer...too bad I can't figure out how or why.

Can you do a partial fraction expansion?
 
  • #14
NoobixCube said:
Thanks for all the input guys, I used MATLAB and Mathematica, both give different solutions...
I have heard rumors that Mathematica can sometimes give wrong answers, can anyone support this claim?

just differentiate each answer and see which one is the right one
 
  • #15
John Creighto said:
Can you do a partial fraction expansion?

I thought about that too. I think I did attempt it and got stuck somewhere...I can't remember anymore.
 
  • #16
I will opt for differentiating both
thanks
 
  • #17
Would anyone know an easy method to invert this function


[tex]
t(\theta)=-\frac{2 ArcTanh[\frac{(a-1)Tan(\frac{\Theta-\phi}{2})}{\sqrt{a^2-1}}]}{(a^2-1)^{3/2}} + \frac{a * Sin(\Theta-\phi)}{(a^2-1)(1+a*Cos(\Theta-\phi))}
[/tex]

to
[tex]
\theta(t)

[/tex]
?
 
  • #18
Construct a Matrix of [tex]t(\theta)[/tex], do the inverse then the determinant. - i think that's how its done...its been too long.
 
  • #19
what would be the elements of the matrix [tex] t(\theta) [/tex]?
I have never heard of this method before...
 
Last edited:
  • #20
n0_3sc said:
Construct a Matrix of [tex]t(\theta)[/tex], do the inverse then the determinant. - i think that's how its done...its been too long.
? that's for a matrix not for a function
NoobixCube said:
what would be the elements of the matrix [tex] t(\theta) [/tex]?

why do you need to invert that answer? your integrand in the original post is in terms of theta?
 
  • #21
oh wait a sec...
I don't think that method works here because the theta's are in the sin/cos and tan terms...Maybe i'll just be quite and wait for someone smarter to help you.
 
  • #22
ice109 said:
? that's for a matrix not for a function
yeah I remember doing it for multiple equations with multiple variables...
 
  • #23
n0_3sc said:
yeah I remember doing it for multiple equations with multiple variables...

except there's only variable here...

here is my mathematica notebook
 

Attachments

  • Untitled-1.nb.pdf
    167.2 KB · Views: 273
  • #24
ice109 said:
? that's for a matrix not for a function


why do you need to invert that answer? your integrand in the original post is in terms of theta?
Well the original question was a solution to an ODE, but I need the inverted form, so the solution can be of use to me
:-p
 
  • #25
meh use a numerical nonlinear solver.
 
  • #26
how precise do you need it? If you only need an approximation, plot the answer in a (t(theta),theta) coordinatesystem and make a fit.

I doubt you will find an analytic inverse.
 
  • #27
give me values for a and phi and i'll make you a plot
 
  • #28
[tex] a=0.927 [/tex]
and
[tex] \phi = 278 degrees[/tex]
 
  • #29
mrandersdk said:
how precise do you need it? If you only need an approximation, plot the answer in a (t(theta),theta) coordinatesystem and make a fit.

I doubt you will find an analytic inverse.

What is the usual course of action if there isn't an analytical inverse?
 
  • #30
NoobixCube said:
What is the usual course of action if there isn't an analytical inverse?

Ignore the problem and move on.
Its not like this is part of a Masters Thesis Research... :-p
 
  • #31
NoobixCube said:
What is the usual course of action if there isn't an analytical inverse?
depends on what you want to use the inverse for?
n0_3sc said:
Ignore the problem and move on.
Its not like this is part of a Masters Thesis Research... :-p

:rolleyes:

what range for theta?
 
Last edited:
  • #32
say from 0 4pi , or any range that might show the functions periodicy
 
  • #33
Now that I look at your problem - It definitely reminds me of "Elliptical Integrals".
Wiki it and I'm sure you'll find something useful.
 
  • #34
take this as a hint; get mathematica
 

Attachments

  • Untitled-1.nb.pdf
    110.8 KB · Views: 328
  • #35
NoobixCube said:
What is the usual course of action if there isn't an analytical inverse?

Apparently its "Get Mathematica".
 

Similar threads

Back
Top