Aaron,
When I am running dsolve for nonhomogeneous euler equation it is giving error
NotImplementedError: Could not solve `-x + 2*f(x) - exp(x) - 3*Derivative(f(x), x) + Derivative(f(x), x, x)` using the method of undetermined coefficients (unable to solve for coefficients File "sympy/solvers/ode.py", line 561, in dsolve
return _helper_simplify(eq, hint, hints, simplify)
File "sympy/solvers/ode.py", line 583, in _helper_simplify
rv = odesimp(solvefunc(eq, func, order, match), func, order, hint)
File "sympy/solvers/ode.py", line 3300, in ode_nth_linear_euler_eq_nonhomogeneous
return ode_nth_linear_constant_coeff_undetermined_coefficients(eq, func, order, match).replace(x,log(x))
File "sympy/solvers/ode.py", line 3862, in ode_nth_linear_constant_coeff_undetermined_coefficients
return _solve_undetermined_coefficients(eq, func, order, match)
File "sympy/solvers/ode.py", line 3963, in _solve_undetermined_coefficients
"(unable to solve for coefficients)." % eq)
NotImplementedError: Could not solve `-x + 2*f(x) - exp(x) - 3*Derivative(f(x), x) + Derivative(f(x), x, x)` using the method of undetermined coefficients (unable to solve for coefficients))
I read the code of undetermined coefficients, this error comes only when there is no value of "list" of coefficients of Particular solution like a0, a1, ..