Internal
problem
ID
[17368]
Book
:
Differential
equations.
An
introduction
to
modern
methods
and
applications.
James
Brannan,
William
E.
Boyce.
Third
edition.
Wiley
2015
Section
:
Chapter
2.
First
order
differential
equations.
Section
2.7
(Substitution
Methods).
Problems
at
page
108
Problem
number
:
28
Date
solved
:
Thursday, March 13, 2025 at 10:04:57 AM
CAS
classification
:
[_Bernoulli]
ode:=diff(y(x),x) = (x*y(x)^2-1/2*sin(2*x))/(-x^2+1)/y(x); dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]==(x*y[x]^2-1/2*Sin[2*x])/( (1-x^2)*y[x]); ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(Derivative(y(x), x) - (x*y(x)**2 - sin(2*x)/2)/((1 - x**2)*y(x)),0) ics = {} dsolve(ode,func=y(x),ics=ics)