Internal
problem
ID
[23967]
Book
:
Elementary
Differential
Equations.
By
Lee
Roy
Wilcox
and
Herbert
J.
Curtis.
1961
first
edition.
International
texbook
company.
Scranton,
Penn.
USA.
CAT
number
61-15976
Section
:
Chapter
2.
Differential
equations
of
first
order.
Exercise
at
page
33
Problem
number
:
3
Date
solved
:
Thursday, October 02, 2025 at 09:48:00 PM
CAS
classification
:
[_separable]
With initial conditions
ode:=x^2*y(x)+(1+x)*diff(y(x),x) = 0; ic:=[y(1) = 1]; dsolve([ode,op(ic)],y(x), singsol=all);
ode=x^2*y[x]+(x+1)*D[y[x],{x,1}]==0; ic={y[1]==1}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(x**2*y(x) + (x + 1)*Derivative(y(x), x),0) ics = {y(1): 1} dsolve(ode,func=y(x),ics=ics)