1.43 problem Problem 57

Internal problem ID [12154]

Book: Differential equations and the calculus of variations by L. ElSGOLTS. MIR PUBLISHERS, MOSCOW, Third printing 1977.
Section: Chapter 1, First-Order Differential Equations. Problems page 88
Problem number: Problem 57.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [[_homogeneous, `class C`], _rational, [_Abel, `2nd type`, `class A`]]

\[ \boxed {y^{\prime }-\frac {x +y-3}{1-x +y}=0} \]

Solution by Maple

Time used: 0.578 (sec). Leaf size: 30

dsolve(diff(y(x),x)= (x+y(x)-3)/(1-x+y(x)),y(x), singsol=all)
 

\[ y \left (x \right ) = \frac {-\sqrt {2 \left (x -2\right )^{2} c_{1}^{2}+1}+\left (-1+x \right ) c_{1}}{c_{1}} \]

Solution by Mathematica

Time used: 0.202 (sec). Leaf size: 59

DSolve[y'[x]== (x+y[x]-3)/(1-x+y[x]),y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to -i \sqrt {-2 x^2+8 x-1-c_1}+x-1 \\ y(x)\to i \sqrt {-2 x^2+8 x-1-c_1}+x-1 \\ \end{align*}