Internal
problem
ID
[2955]
Book
:
Differential
Equations
by
Alfred
L.
Nelson,
Karl
W.
Folley,
Max
Coral.
3rd
ed.
DC
heath.
Boston.
1964
Section
:
Exercise
9,
page
38
Problem
number
:
23
Date
solved
:
Sunday, March 30, 2025 at 01:01:16 AM
CAS
classification
:
[_rational, [_1st_order, `_with_symmetry_[F(x)*G(y),0]`]]
With initial conditions
ode:=(x^2+y(x)^2-2*y(x))*diff(y(x),x) = 2*x; ic:=y(1) = 0; dsolve([ode,ic],y(x), singsol=all);
ode=(x^2+y[x]^2-2*y[x])*D[y[x],x]==2*x; ic={y[1]==0}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-2*x + (x**2 + y(x)**2 - 2*y(x))*Derivative(y(x), x),0) ics = {y(1): 0} dsolve(ode,func=y(x),ics=ics)