Internal
problem
ID
[18014]
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
:
3
(f)
Date
solved
:
Thursday, March 13, 2025 at 11:19:15 AM
CAS
classification
:
[_quadrature]
With initial conditions
ode:=(1+x)*(x^2+1)*diff(y(x),x) = 2*x^2+x; ic:=y(0) = 1; dsolve([ode,ic],y(x), singsol=all);
ode=(x+1)*(x^2+1)*D[y[x],x]==2*x^2+x; ic={y[0]==1}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-2*x**2 - x + (x + 1)*(x**2 + 1)*Derivative(y(x), x),0) ics = {y(0): 1} dsolve(ode,func=y(x),ics=ics)