I never seen this before. Solving standard Bessel ode. Why DSolve gives this warning
Warning: one or more assumptions evaluated to False
When there are no assumptions used anywhere in the call?
ClearAll[x, y]
ode = x^2*y''[x] + x*y'[x] + (x^2 - 5)*y[x] == 0
DSolve[ode, y[x], x]
Screen shot:
I do not now have an earlier version to check if this new or been there in earlier version.
Where is this warning coming from?
V 13.01 on windows 10 [1]: https://i.stack.imgur.com/caAJi.png
Block[{DSolve
print = Print}, DSolve[ode, y[x], x]]` shows the message arises inDSolveSpecialInhomogeneousLinearSecondOrderODE
before that method of solution is rejected. It seems to be a minor coding error(?) in that they failed to check Sqrt[5] was integer before passing that as an assumption toSimplify
. $\endgroup$Block[{DSolveprint = Print}, DSolve[ode, y[x], x]]
but received no additional information. $\endgroup$Block[{DSolve`print = Print}, DSolve[ode, y[x], x]]
(misformatted, missing backtick) -- the rest of my comment came from rummaging around here and there. E.g.GeneralUtilities`PrintDefinitions@DSolve`DSolveSecondOrderODEDump`DSolveSpecialInhomogeneousLinearSecondOrderODE
$\endgroup$