Internal
problem
ID
[18024]
Book
:
DIFFERENTIAL
EQUATIONS
WITH
APPLICATIONS
AND
HISTORICAL
NOTES
by
George
F.
Simmons.
3rd
edition.
2017.
CRC
press,
Boca
Raton
FL.
Section
:
Chapter
1.
The
Nature
of
Differential
Equations.
Separable
Equations.
Section
2.
Problems
at
page
9
Problem
number
:
4
(b)
Date
solved
:
Monday, March 31, 2025 at 04:57:00 PM
CAS
classification
:
[_quadrature]
With initial conditions
ode:=x*diff(y(x),x) = 2*x^2+1; ic:=y(1) = 1; dsolve([ode,ic],y(x), singsol=all);
ode=x*D[y[x],x]==2*x^2+1; ic={y[1]==1}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-2*x**2 + x*Derivative(y(x), x) - 1,0) ics = {y(1): 1} dsolve(ode,func=y(x),ics=ics)