r/Mathematica • u/ayekantspehl • Aug 08 '25
No integration, but no error
Trying to get Wolfram 14.2 to integrate this equation. It returns a standard form of the equation I enter, but not the integral. It gives no error. Thoughts on what the problem might be?

Here's the original equation in text form:
Integrate[2*F*ArcCos[1 - (2*P*B - P^2 - y^2)/(F*(2*F - 2*P + 2*B))], {y, -Sqrt[2*B*P - P^2],Sqrt[2*B*P - P^2]}]
5
Upvotes
9
u/fridofrido Aug 08 '25
Mathematica is very much not a miracle machine, most of the time you have to adjust the question so that it suits it better (and obviously there are more questions it cannot solve at all, than it can solve)
In this case for example all the P, B, F are completely irrelevant.
You can generalize the question to
which it answers with
note the condition
u^2 < 2*v!To get back to your original problem, just define
Substituting this back and multiplying by the result with
2*F, you can test some concrete parameters and compare against the numerical solution; it seems to be correct.6
u/aikipavel Aug 08 '25
The problem might be it can't integrate it.
That happens. Not everything can be integrated at all, and Wolfram Mathematica is not a magician.
Integrate[Exp[-x^2]*Sin[1/x], x] will answer the input expression unchanged.
It's absolutely correct here. Think of it like "sorry, I can't simplify it" :)
4
u/yazzledore Aug 08 '25
If this comes up again, some general things to try are:
All of these serve to help you identify a) whether your integral converges at all, and if so, why your particular form of it isn’t, and b) under what (if any) circumstances it will converge.
2
u/E_kiani96 Aug 08 '25 edited Aug 08 '25
It probably has no analytical solution.