Internal
problem
ID
[34]
Book
:
Elementary
Differential
Equations.
By
C.
Henry
Edwards,
David
E.
Penney
and
David
Calvis.
6th
edition.
2008
Section
:
Chapter
1.
First
order
differential
equations.
Section
1.3.
Problems
at
page
27
Problem
number
:
18
Date
solved
:
Tuesday, September 30, 2025 at 03:38:51 AM
CAS
classification
:
[_separable]
With initial conditions
ode:=y(x)*diff(y(x),x) = x-1; ic:=[y(1) = 0]; dsolve([ode,op(ic)],y(x), singsol=all);
ode=y[x]*D[y[x],x]==x-1; ic={y[1]==0}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-x + y(x)*Derivative(y(x), x) + 1,0) ics = {y(1): 0} dsolve(ode,func=y(x),ics=ics)