I am using dsolve on a basic ODE and I am getting f(x) = 0 as the only result. This is a valid result but there are infinitely many Eigenvector solutions to this equation. How do I encourage SYMPY to produce a list of them all?
I have attached the output from Mathematica, which has the full solution.
ODE = sy.Derivative(f,x,2) + λ**2 * f
ODE
initial_conditions = {f.subs(x,0):0, f.subs(x,1):0}
sol=sy.dsolve(ODE,f, ics=initial_conditions)
sol
f(x) = 0
You can get the general solution from
dsolveif you do not specify any initial conditions:The ODE has infinitely many solutions but only one of those satisfies the initial conditions that you have provided.