"I would suggest opening an issue about this." I have github user name and pass word. but I can no longer login. After I enter these, it asks me to do some 2FA thing., I do not know how to use smart phone or apps.
I only can use the mouse and keyboard. It wants to scan something on the screen or come up with some code. I have no clue how to do this. So I will enter sympy bugs here and any one is welcome to enter them in github. Last time I logged to github was a year ago and can't do it anymore. --Nasser On Tuesday, March 4, 2025 at 12:36:35 PM UTC-6 asme...@gmail.com wrote: > It is true that we need to disable returning series solutions by > default. However, this solution is not a power series solution (if it > were, it would contain an order term). > > The issue here is that the initial conditions solver in dsolve isn't > handling the initial conditions correctly. I would suggest opening an > issue about this. > > As an aside, I've noticed some other bugs related to this ODE: the > 2nd_linear_bessel hint gives the wrong answer, and the checkodesol > function should also include an ics flag so it can check initial > conditions. > > Aaron Meurer > > On Tue, Mar 4, 2025 at 4:28 AM 'nma%12...@gtempaccount.com' via sympy > <sy...@googlegroups.com> wrote: > > > > I noticed sometimes dsolve ignore IC give and gives general solution > instead. This seems to happen when it is not able to resolve the constants > of integrations. > > > > In this case it should return no solution instead. > > > > Is there a way to tell it not to do this? Here is an example > > > > >python > > Python 3.13.1 (main, Dec 4 2024, 18:05:56) [GCC 14.2.1 20240910] on linux > > Type "help", "copyright", "credits" or "license" for more information. > > > > from sympy import * > > x = symbols("x") > > y = Function("y") > > ode = Eq(x**2*Derivative(y(x), (x, 2)) - 4*x*Derivative(y(x), x) + > 6*y(x),0) > > ics = {y(0): 2, Subs(Derivative(y(x), x), x, 2): -1} > > dsolve(ode,func=y(x),ics=ics) > > > > It gives > > > > Eq(y(x), x**2*(C2*x - 3*C2 - 1/4)) > > > > Notice the solution contains C2. > > > > Actually there is no solution to this ode with these IC's, so it should > not have returned any solution. This is what Maple does > > > > ode:=x^2*diff(y(x),x$2)-4*x*diff(y(x),x)+6*y(x)=0; > > IC:=y(0)=2,D(y)(2)=-1; > > sol:= dsolve([ode,IC]); > > > > ( ) > > > > i.e. No solution. > > > > --Nasser > > > > -- > > You received this message because you are subscribed to the Google > Groups "sympy" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to sympy+un...@googlegroups.com. > > To view this discussion visit > https://groups.google.com/d/msgid/sympy/eb80deff-baa8-4026-9a37-8d49c6a8647bn%40googlegroups.com > . > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/sympy/8de8dff7-48b8-496e-acd7-0756255de5c1n%40googlegroups.com.