2.377   ODE No. 377

\[ y'(x)^2+(x-2) y'(x)-y(x)+1=0 \]

Mathematica : cpu = 0.0064483 (sec), leaf count = 19

DSolve[1 - y[x] + (-2 + x)*Derivative[1][y][x] + Derivative[1][y][x]^2 == 0,y[x],x]
 
\[\left \{\left \{y(x)\to c_1 x+1+c_1{}^2-2 c_1\right \}\right \}\]

Maple : cpu = 0.026 (sec), leaf count = 24

dsolve(diff(y(x),x)^2+(x-2)*diff(y(x),x)-y(x)+1 = 0,y(x))
 
\[y \left (x \right ) = -\frac {1}{4} x^{2}+x\]