News for hackers. Stuff that matters.
Re:Richard Feynman's Integral Trick by jiggawatts on Tuesday September 24, 2019 @02:46AM (#21057206)
Interestingly, Mathematica does evaluate the integral successfully, but unless you add the constraint that alpha is real, it outputs a truly hideous looking result.

This expression:

    Integrate[Log[1 - 2 \[Alpha] Cos[x] + \[Alpha]^2], 
      {x, 0, \[Pi]}, 
      Assumptions -> Abs[\[Alpha]] >= 1 
         && \[Alpha] \[Element] Reals]
Required 33 seconds of CPU time @ 4 GHz and outputs the short and neat expression in the article. Slow, but successful.

This is a symptom of Mathematica's symbolic engine being written with the "everything is a complex number" assumption deeply ingrained in it. Simplifying assumptions are treated as an afterthought. Conversely, it's not able to generalise to number spaces such as quaternions, matrices, or noncommutative algebras in general.

It's a pity the Mathematica engine has not had a revamp, it would be great if they did a major update to bring its capabilities in line with modern group theory and category theory.

Re:Richard Feynman's Integral Trick by jorgenveisdal on Tuesday September 24, 2019 @02:51AM (#21057241)
Interesting. Did you try MatLab?
Re:Richard Feynman's Integral Trick by pmiller2 on Monday September 23, 2019 @11:50PM (#21056332)
Re:Richard Feynman's Integral Trick by olliej on Tuesday September 24, 2019 @02:59AM (#21057285)
Is there a link that doesn’t require signing in with Facebook, etc?
Re:Richard Feynman's Integral Trick by hnakamura on Tuesday September 24, 2019 @03:44AM (#21057519)
Use a private window
Re:Richard Feynman's Integral Trick by olliej on Tuesday September 24, 2019 @11:56PM (#21067469)
Thanks!
Re:Richard Feynman's Integral Trick by crb002 on Monday September 23, 2019 @11:54PM (#21056356)
If I recall he used power of two trapazoids to bound above and below? Paywalled article.
Re:Richard Feynman's Integral Trick by laronian on Monday September 23, 2019 @11:56PM (#21056372)
Medium -> incognito