Question: why Maple gives (numeric exception) from dsolve on a book problem?

Maple 2016.1 on windows. This ODE from a book, and Maple gives division by zero. Is this a bug or expected?

ode:=(a^2*x+(x^2-y(x)^2)*y(x))*diff(y(x),x)+x*(x^2-y(x)^2) = a^2*y(x);
dsolve(ode, y(x));

Error, (in dsolve) numeric exception: division by zero


Mathematica gives this to same ODE, but no division by zero.

DSolve[x*(x^2 - y[x]^2) + (a^2*x + y[x]*(x^2 - y[x]^2))*y'[x] == a^2*y[x], y[x], x]

Solve[x^2/2 - (1/2)*a^2*Log[x - y[x]] + (1/2)*a^2*Log[x + y[x]] +y[x]^2/2 == C[1], y[x]]

Where is the division by zero coming from in Maple?

2016.1 on windows.

Please Wait...