77.18.3 problem 3

Internal problem ID [20498]
Book : A Text book for differentional equations for postgraduate students by Ray and Chaturvedi. First edition, 1958. BHASKAR press. INDIA
Section : Chapter IV. Equations of the first order but not of the first degree. Exercise IV (A) at page 53
Problem number : 3
Date solved : Thursday, October 02, 2025 at 06:03:35 PM
CAS classification : [_quadrature]

\begin{align*} {y^{\prime }}^{2}-9 y^{\prime }+18&=0 \end{align*}
Maple. Time used: 0.002 (sec). Leaf size: 17
ode:=diff(y(x),x)^2-9*diff(y(x),x)+18 = 0; 
dsolve(ode,y(x), singsol=all);
 
\begin{align*} y &= 6 x +c_1 \\ y &= 3 x +c_1 \\ \end{align*}
Mathematica. Time used: 0.002 (sec). Leaf size: 21
ode=D[y[x],x]^2-9*D[y[x],x]+18==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)&\to 3 x+c_1\\ y(x)&\to 6 x+c_1 \end{align*}
Sympy. Time used: 0.074 (sec). Leaf size: 14
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(Derivative(y(x), x)**2 - 9*Derivative(y(x), x) + 18,0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ \left [ y{\left (x \right )} = C_{1} + 6 x, \ y{\left (x \right )} = C_{1} + 3 x\right ] \]