Internal
problem
ID
[6324]
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
:
3
Date
solved
:
Sunday, March 30, 2025 at 10:51:35 AM
CAS
classification
:
[_separable]
ode:=(-2*y(x)-y(x)^2)^(1/2)+(-x^2+2*x+3)*diff(y(x),x) = 0; dsolve(ode,y(x), singsol=all);
ode=Sqrt[-2*y[x]-y[x]^2]+(3+2*x-x^2)*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(sqrt(-y(x)**2 - 2*y(x)) + (-x**2 + 2*x + 3)*Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)