Internal
problem
ID
[21189]
Book
:
A
Textbook
on
Ordinary
Differential
Equations
by
Shair
Ahmad
and
Antonio
Ambrosetti.
Second
edition.
ISBN
978-3-319-16407-6.
Springer
2015
Section
:
Chapter
3.
First
order
nonlinear
differential
equations.
Excercise
3.7
at
page
67
Problem
number
:
26
Date
solved
:
Thursday, October 02, 2025 at 07:16:17 PM
CAS
classification
:
[[_homogeneous, `class A`], _exact, _rational, _dAlembert]
With initial conditions
ode:=x^2+2*x*y(x)-y(x)^2+(x-y(x))^2*diff(y(x),x) = 0; ic:=[y(1) = 1]; dsolve([ode,op(ic)],y(x), singsol=all);
ode=(x^2+2*x*y[x]-y[x]^2)+(x-y[x])^2*D[y[x],x]==0; ic={y[1]==1}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(x**2 + 2*x*y(x) + (x - y(x))**2*Derivative(y(x), x) - y(x)**2,0) ics = {y(1): 1} dsolve(ode,func=y(x),ics=ics)
NotImplementedError : Initial conditions produced too many solutions for constants