It looks like your method for finding the particular solution is wrong.
You want $y_p = ax^2 + bx + c$.
I'm not sure why you introduce an extra factor of $x$.
Here's a list of trial functions for your particular solution.
It looks like your method for finding the particular solution is wrong.
You want $y_p = ax^2 + bx + c$.
I'm not sure why you introduce an extra factor of $x$.
Here's a list of trial functions for your particular solution.