TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Richard Feynman's Integral Trick

42 pointsby jorgenveisdalover 5 years ago

4 comments

jiggawattsover 5 years ago
Interestingly, Mathematica does evaluate the integral successfully, but unless you add the constraint that alpha is real, it outputs a truly hideous looking result.<p>This expression:<p><pre><code> Integrate[Log[1 - 2 \[Alpha] Cos[x] + \[Alpha]^2], {x, 0, \[Pi]}, Assumptions -&gt; Abs[\[Alpha]] &gt;= 1 &amp;&amp; \[Alpha] \[Element] Reals] </code></pre> Required 33 seconds of CPU time @ 4 GHz and outputs the short and neat expression in the article. Slow, but successful.<p>This is a symptom of Mathematica&#x27;s symbolic engine being written with the &quot;everything is a complex number&quot; assumption deeply ingrained in it. Simplifying assumptions are treated as an afterthought. Conversely, it&#x27;s not able to generalise to number spaces such as quaternions, matrices, or noncommutative algebras in general.<p>It&#x27;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.
评论 #21057241 未加载
pmiller2over 5 years ago
AKA Leibniz’s rule: <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Leibniz_integral_rule" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Leibniz_integral_rule</a>
olliejover 5 years ago
Is there a link that doesn’t require signing in with Facebook, etc?
评论 #21060450 未加载
评论 #21057519 未加载
crb002over 5 years ago
If I recall he used power of two trapazoids to bound above and below? Paywalled article.
评论 #21056372 未加载