[_Abel]
Book solution method
Abel ODE, First kind
Mathematica ✓
cpu = 0.250927 (sec), leaf count = 254
Maple ✓
cpu = 0.095 (sec), leaf count = 962
DSolve[x^(2*n)*y'[x] == 1 - n*x^(-1 + n) + x^n*y[x]*(1 - 3*x^n*y[x] + x^(2*n)*y[x]^2),y[x],x]
Mathematica raw output
{{y[x] -> x^(-n) - E^((2*x^(1 - n))/(-1 + n))/Sqrt[C[1] - (2*x*(E^((4*x^(1 - n))
/(-1 + n))*x^n + (4^((1 + n)/(-1 + n))*x*(x^(1 - n)/(1 - n))^(2/(-1 + n))*Gamma[
-2/(-1 + n), (-4*x^(1 - n))/(-1 + n)])/(-1 + n)))/(1 + n)]}, {y[x] -> x^(-n) + E
^((2*x^(1 - n))/(-1 + n))/Sqrt[C[1] - (2*x*(E^((4*x^(1 - n))/(-1 + n))*x^n + (4^
((1 + n)/(-1 + n))*x*(x^(1 - n)/(1 - n))^(2/(-1 + n))*Gamma[-2/(-1 + n), (-4*x^(
1 - n))/(-1 + n)])/(-1 + n)))/(1 + n)]}}
Maple raw input
dsolve(x^(2*n)*diff(y(x),x) = 1-n*x^(n-1)+x^n*y(x)*(1-3*x^n*y(x)+x^(2*n)*y(x)^2), y(x),'implicit')
Maple raw output
y(x)+exp(2*x/(n-1)/(x^n))/(_C1-2*2^(-2*n/(1-n)-2/(1-n))*(1/(1-n))^(-n/(1-n)-1/(1
-n))/(1-n)*(-2^(-3+2*n/(1-n)+2/(1-n)+2/(n-1))*(n-1)/(n+1)*x^(-n^2/(1-n)+1/(1-n)-
1+n)*(1/(1-n))^(n/(1-n)+1/(1-n))*(-4*x^(1-n)/(1-n)*n^2+8*n*x^(1-n)/(1-n)-4*x^(1-
n)/(1-n)+2*n-2)/(n-3)*(1-n)*(x^(1-n)/(1-n))^(1/(n-1))*exp(2*x^(1-n)/(n-1))*Whitt
akerM(-1/(n-1)*n,-1/(n-1)+1/2,-4*x^(1-n)/(n-1))+2^(-1+2*n/(1-n)+2/(1-n)+2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