Internal
problem
ID
[21194]
Book
:
A
Textbook
on
Ordinary
Differential
Equations
by
Shair
Ahmad
and
Antonio
Ambrosetti.
Second
edition.
ISBN
978-3-319-16407-6.
Springer
2015
Section
:
Chapter
3.
First
order
nonlinear
differential
equations.
Excercise
3.7
at
page
67
Problem
number
:
32
Date
solved
:
Thursday, October 02, 2025 at 07:26:08 PM
CAS
classification
:
[_Bernoulli]
ode:=x+y(x)^2+B(x)*y(x)*diff(y(x),x) = 0; dsolve(ode,y(x), singsol=all);
ode=(x+y[x]^2)+(B[x]*y[x])*D[y[x],x]==0; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") B = Function("B") ode = Eq(x + B(x)*y(x)*Derivative(y(x), x) + y(x)**2,0) ics = {} dsolve(ode,func=y(x),ics=ics)