Internal
problem
ID
[186]
Book
:
Elementary
Differential
Equations.
By
C.
Henry
Edwards,
David
E.
Penney
and
David
Calvis.
6th
edition.
2008
Section
:
Chapter
1.
First
order
differential
equations.
Review
problems
at
page
98
Problem
number
:
8
Date
solved
:
Tuesday, March 04, 2025 at 10:57:12 AM
CAS
classification
:
[[_homogeneous, `class A`], _rational, _Bernoulli]
ode:=x^2*diff(y(x),x)+2*x*y(x) = y(x)^2; dsolve(ode,y(x), singsol=all);
ode=2*x*y[x]+x^2*D[y[x],x]==y[x]^2; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(x**2*Derivative(y(x), x) + 2*x*y(x) - y(x)**2,0) ics = {} dsolve(ode,func=y(x),ics=ics)