Internal
problem
ID
[17379]
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
:
31
Date
solved
:
Monday, March 31, 2025 at 04:10:34 PM
CAS
classification
:
[_exact, _Bernoulli]
ode:=2*x*y(x)*diff(y(x),x)+ln(x) = -y(x)^2-1; dsolve(ode,y(x), singsol=all);
ode=2*x*y[x]*D[y[x],x]+Log[x]==-y[x]^2-1; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(2*x*y(x)*Derivative(y(x), x) + y(x)**2 + log(x) + 1,0) ics = {} dsolve(ode,func=y(x),ics=ics)