Internal
problem
ID
[13236]
Book
:
Differential
Equations
by
Shepley
L.
Ross.
Third
edition.
John
Willey.
New
Delhi.
2004.
Section
:
Chapter
2,
section
2.2
(Separable
equations).
Exercises
page
47
Problem
number
:
18
Date
solved
:
Monday, March 31, 2025 at 07:42:35 AM
CAS
classification
:
[[_homogeneous, `class A`], _rational, _Bernoulli]
With initial conditions
ode:=x^2+3*y(x)^2-2*x*y(x)*diff(y(x),x) = 0; ic:=y(2) = 6; dsolve([ode,ic],y(x), singsol=all);
ode=(x^2+3*y[x]^2)-2*x*y[x]*D[y[x],x]==0; ic={y[2]==6}; 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) + 3*y(x)**2,0) ics = {y(2): 6} dsolve(ode,func=y(x),ics=ics)