Internal
problem
ID
[184]
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
:
6
Date
solved
:
Tuesday, March 04, 2025 at 10:57:08 AM
CAS
classification
:
[_separable]
ode:=2*x*y(x)^2+x^2*diff(y(x),x) = y(x)^2; dsolve(ode,y(x), singsol=all);
ode=2*x*y[x]^2+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)**2 - y(x)**2,0) ics = {} dsolve(ode,func=y(x),ics=ics)