Internal
problem
ID
[7476]
Book
:
Fundamentals
of
Differential
Equations.
By
Nagle,
Saff
and
Snider.
9th
edition.
Boston.
Pearson
2018.
Section
:
Chapter
2,
First
order
differential
equations.
Section
2.4,
Exact
equations.
Exercises.
page
64
Problem
number
:
21
Date
solved
:
Tuesday, September 30, 2025 at 04:38:03 PM
CAS
classification
:
[_exact]
With initial conditions
ode:=1/x+2*x*y(x)^2+(2*x^2*y(x)-cos(y(x)))*diff(y(x),x) = 0; ic:=[y(1) = Pi]; dsolve([ode,op(ic)],y(x), singsol=all);
ode=( 1/x+2*y[x]^2*x )+( 2*y[x]*x^2-Cos[y[x]] )*D[y[x],x]==0; ic={y[1]==Pi}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(2*x*y(x)**2 + (2*x**2*y(x) - cos(y(x)))*Derivative(y(x), x) + 1/x,0) ics = {y(1): pi} dsolve(ode,func=y(x),ics=ics)
Timed Out