Internal
problem
ID
[1581]
Book
:
Elementary
differential
equations
with
boundary
value
problems.
William
F.
Trench.
Brooks/Cole
2001
Section
:
Chapter
2,
First
order
equations.
separable
equations.
Section
2.2
Page
52
Problem
number
:
5
Date
solved
:
Saturday, March 29, 2025 at 11:00:17 PM
CAS
classification
:
[_separable]
ode:=(3*y(x)^3+3*y(x)*cos(y(x))+1)*diff(y(x),x)+(2*x+1)*y(x)/(x^2+1) = 0; dsolve(ode,y(x), singsol=all);
ode=(3*y[x]^3+3*y[x]*Cos[y[x]]+1)*D[y[x],x]+((2*x+1)*y[x])/(1+x^2)== 0; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq((2*x + 1)*y(x)/(x**2 + 1) + (3*y(x)**3 + 3*y(x)*cos(y(x)) + 1)*Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)