Internal
problem
ID
[22722]
Book
:
Applied
Differential
Equations.
By
Murray
R.
Spiegel.
3rd
edition.
1980.
Pearson.
ISBN
978-0130400970
Section
:
Chapter
two.
First
order
and
simple
higher
order
ordinary
differential
equations.
C
Exercises
at
page
68
Problem
number
:
2
Date
solved
:
Thursday, October 02, 2025 at 09:13:51 PM
CAS
classification
:
[_linear]
ode:=diff(y(x),x)+x*y(x) = x^2+1; dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]+x*y[x]==x^2+1; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-x**2 + x*y(x) + Derivative(y(x), x) - 1,0) ics = {} dsolve(ode,func=y(x),ics=ics)