Internal
problem
ID
[23237]
Book
:
Ordinary
differential
equations
with
modern
applications.
Ladas,
G.
E.
and
Finizio,
N.
Wadsworth
Publishing.
California.
1978.
ISBN
0-534-00552-7.
QA372.F56
Section
:
Chapter
1.
Elementary
methods.
First
order
differential
equations.
Exercise
at
page
17
Problem
number
:
2
Date
solved
:
Saturday, October 04, 2025 at 05:35:57 PM
CAS
classification
:
[_separable]
With initial conditions
ode:=x*diff(y(x),x)+y(x) = 3; ic:=[y(0) = 1]; dsolve([ode,op(ic)],y(x), singsol=all);
ode=x*D[y[x],x]+y[x]==3; ic={y[0]==1}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
Not solved
from sympy import * x = symbols("x") y = Function("y") ode = Eq(x*Derivative(y(x), x) + y(x) - 3,0) ics = {y(0): 1} dsolve(ode,func=y(x),ics=ics)