I am trying to find an exact solution to this problem $$y''=\frac18(32+2x^3-yy')$$ and I get "Warning: Unable to find symbolic solution."
What is my mistake?
% define symbolic variables
syms y(x)
eqn = diff(y,2) == (1/8)*(32+(2*x^3)-y*diff(y))
% Solution without initial conditions
sol = dsolve(eqn)
% Define initial conditions
conds = [y(1) == 17, y(3) == 43/3]
% Get solution with initial conditions
sol_conds = dsolve(eqn, conds)
You should try your code to solve the differential equation: $$y''=-\frac18 yy'$$
Because if you integrate the original DE you get Riccati's differential equation and most of the time it can't be integrated as Lutz Lehmann has pointed in the comment.