Internal
problem
ID
[12788]
Book
:
An
elementary
treatise
on
differential
equations
by
Abraham
Cohen.
DC
heath
publishers.
1906
Section
:
Chapter
2,
differential
equations
of
the
first
order
and
the
first
degree.
Article
19.
Summary.
Page
29
Problem
number
:
Ex
14
Date
solved
:
Monday, March 31, 2025 at 07:07:34 AM
CAS
classification
:
[_separable]
ode:=(-x^2+1)*diff(y(x),x)-x*y(x) = a*x*y(x)^2; dsolve(ode,y(x), singsol=all);
ode=(1-x^2)*D[y[x],x]-x*y[x]==a*x*y[x]^2; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") a = symbols("a") y = Function("y") ode = Eq(-a*x*y(x)**2 - x*y(x) + (1 - x**2)*Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)