Internal
problem
ID
[9127]
Book
:
Second
order
enumerated
odes
Section
:
section
2
Problem
number
:
4
Date
solved
:
Sunday, February 23, 2025 at 05:33:26 AM
CAS
classification
:
[_Liouville, [_2nd_order, _reducible, _mu_x_y1], [_2nd_order, _reducible, _mu_xy]]
Solve
`Methods for second order ODEs: --- Trying classification methods --- trying 2nd order Liouville <- 2nd_order Liouville successful`
Solving time : 0.005
(sec)
Leaf size : 34
dsolve(diff(diff(y(x),x),x)+(sin(x)+2*x)*diff(y(x),x)+cos(y(x))*y(x)*diff(y(x),x)^2 = 0,y(x),singsol=all)
Solving time : 1.353
(sec)
Leaf size : 68
DSolve[{D[y[x],{x,2}]+(Sin[x]+2*x)*D[y[x],x]+Cos[y[x]]*y[x]*(D[y[x],x])^2==0,{}},y[x],x,IncludeSingularSolutions->True]
Solving time : 0.000
(sec)
Leaf size : 0
Python version: 3.13.1 (main, Dec 4 2024, 18:05:56) [GCC 14.2.1 20240910] Sympy version 1.13.3
from sympy import * x = symbols("x") y = Function("y") ode = Eq((2*x + sin(x))*Derivative(y(x), x) + y(x)*cos(y(x))*Derivative(y(x), x)**2 + Derivative(y(x), (x, 2)),0) ics = {} dsolve(ode,func=y(x),ics=ics)
Timed Out