29.17.15 problem 474

Internal problem ID [5072]
Book : Ordinary differential equations and their solutions. By George Moseley Murphy. 1960
Section : Various 17
Problem number : 474
Date solved : Sunday, March 30, 2025 at 06:35:05 AM
CAS classification : [[_Abel, `2nd type`, `class A`]]

\begin{align*} \left (\tan \left (x \right ) \sec \left (x \right )-2 y\right ) y^{\prime }+\sec \left (x \right ) \left (1+2 y \sin \left (x \right )\right )&=0 \end{align*}

Maple
ode:=(tan(x)*sec(x)-2*y(x))*diff(y(x),x)+sec(x)*(1+2*y(x)*sin(x)) = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ \text {No solution found} \]
Mathematica
ode=(Tan[x] Sec[x]-2 y[x])D[y[x],x]+Sec[x](1+2 y[x] Sin[x])==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 

Not solved

Sympy
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq((2*y(x)*sin(x) + 1)/cos(x) + (-2*y(x) + tan(x)/cos(x))*Derivative(y(x), x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
Timed Out