Re:Richard Feynman’s Integral Trick (2018)
by muench on Tuesday June 15, 2021 @12:51PM
(#27518067)
It seems yes there is a reason if you need integrals. From TFA: "You can also try having Wolfram Alpha compute it, and it will time out. We will need to be more creative."
[ Parent
| on HN ]
Re:Richard Feynman’s Integral Trick (2018)
by whatshisface on Tuesday June 15, 2021 @01:01PM
(#27518235)
Mathematica/Maple/Sagemath don't have a freemium timeout mechanic and can solve a lot more. Truth be told I think that integration techniques are much less broadly crucial for everyone to learn than they used to be, although you need to have some clue of what's going on because you need to be able to guide yourself towards posing problems in such a way that the integrals that can be solved.
Re:Richard Feynman’s Integral Trick (2018)
by dragonwriter on Tuesday June 15, 2021 @01:12PM
(#27518374)
> Mathematica/Maple/Sagemath don't have a freemium timeout mechanic and can solve a lot more.
Mathematica/Maple don't have freemium timeouts because they are not free; Sagemath, OTOH, is a good point.
But there are integrals that you can easily solve by hand but both WolframAlpha and sage will (effectively) timeout on them. And I’m not even talking about something made deliberately hard for computers to symbolically analyze.
Re:Richard Feynman’s Integral Trick (2018)
by whatshisface on Tuesday June 15, 2021 @08:24PM
(#27523371)
Really? I've never seen one, could you give some examples?
Re:Richard Feynman’s Integral Trick (2018)
by bzbarsky on Wednesday June 16, 2021 @03:15AM
(#27525771)
For Wolfram Alpha, I just tried the integral from https://en.wikipedia.org/wiki/Contour_integration#Example_2_... and it times out. The by-hand solution is pretty straightforward, if you know contour integration.
Re:Richard Feynman’s Integral Trick (2018)
by dasudasu on Tuesday June 15, 2021 @01:02PM
(#27518248)
This is when 99.99% of the population would just whip out a numerical solver.
Sometimes you are looking for deeper insights in some equations that can only be achieved by finding symbolic solutions.
You would never figure out that black holes are a solution to the Einstein field equations of you just threw a numerical solver at it, for example. (Bad example because that's arguably the easiest solution to them but I hope you get my point.)
0.01% would whip out a numerical solver; 99.98% would go "huh?"
Re:Richard Feynman’s Integral Trick (2018)
by hyperbovine on Tuesday June 15, 2021 @01:04PM
(#27518281)
It's going to take you a while to numerically solve that integral for the uncountably many values of \alpha that you are being asked to...
Re:Richard Feynman’s Integral Trick (2018)
by benlivengood on Tuesday June 15, 2021 @01:21PM
(#27518503)
It's probably best to return a function that takes alpha as a parameter and numerically integrates for whichever finite set of alphas are required by the caller.
The usual method is to computer a reasonable number of solutions and do curve fitting.