Internal
problem
ID
[6270]
Book
:
Fundamentals
of
Differential
Equations.
By
Nagle,
Saff
and
Snider.
9th
edition.
Boston.
Pearson
2018.
Section
:
Chapter
2,
First
order
differential
equations.
Section
2.2,
Separable
Equations.
Exercises.
page
46
Problem
number
:
15
Date
solved
:
Wednesday, March 05, 2025 at 12:30:06 AM
CAS
classification
:
[_separable]
ode:=x+x*y(x)^2+exp(x^2)*y(x)*diff(y(x),x) = 0; dsolve(ode,y(x), singsol=all);
ode=(x+x*y[x]^2)+Exp[x^2]*y[x]*D[y[x],x]==0; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(x*y(x)**2 + x + y(x)*exp(x**2)*Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)