Internal
problem
ID
[2885]
Book
:
Differential
Equations
by
Alfred
L.
Nelson,
Karl
W.
Folley,
Max
Coral.
3rd
ed.
DC
heath.
Boston.
1964
Section
:
Exercise
6,
page
25
Problem
number
:
15
Date
solved
:
Sunday, March 30, 2025 at 12:43:11 AM
CAS
classification
:
[[_homogeneous, `class A`], _rational, _Bernoulli]
With initial conditions
ode:=x^2+y(x)^2 = 2*x*y(x)*diff(y(x),x); ic:=y(-1) = 0; dsolve([ode,ic],y(x), singsol=all);
ode=(x^2+y[x]^2)==2*x*y[x]*D[y[x],x]; ic=y[-1]==0; 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)*Derivative(y(x), x) + y(x)**2,0) ics = {y(-1): 0} dsolve(ode,func=y(x),ics=ics)