Internal
problem
ID
[1575]
Book
:
Elementary
differential
equations
with
boundary
value
problems.
William
F.
Trench.
Brooks/Cole
2001
Section
:
Chapter
2,
First
order
equations.
Linear
first
order.
Section
2.1
Page
41
Problem
number
:
48(b)
Date
solved
:
Tuesday, March 04, 2025 at 12:40:20 PM
CAS
classification
:
[[_1st_order, `_with_symmetry_[F(x),G(y)]`]]
ode:=exp(y(x)^2)*(2*y(x)*diff(y(x),x)+2/x) = 1/x^2; dsolve(ode,y(x), singsol=all);
ode=Exp[y[x]^2]*(2*y[x]*D[y[x],x]+2/x)== 1/x^2; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq((2*y(x)*Derivative(y(x), x) + 2/x)*exp(y(x)**2) - 1/x**2,0) ics = {} dsolve(ode,func=y(x),ics=ics)