Internal
problem
ID
[7518]
Book
:
Fundamentals
of
Differential
Equations.
By
Nagle,
Saff
and
Snider.
9th
edition.
Boston.
Pearson
2018.
Section
:
Chapter
2,
First
order
differential
equations.
Section
2.6,
Substitutions
and
Transformations.
Exercises.
page
76
Problem
number
:
19
Date
solved
:
Tuesday, September 30, 2025 at 04:41:44 PM
CAS
classification
:
[[_homogeneous, `class C`], _Riccati]
ode:=diff(y(x),x) = (x-y(x)+5)^2; dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]==(x-y[x]+5)^2; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-(x - y(x) + 5)**2 + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)