Internal
problem
ID
[13261]
Book
:
Differential
Equations
by
Shepley
L.
Ross.
Third
edition.
John
Willey.
New
Delhi.
2004.
Section
:
Chapter
2,
section
2.3
(Linear
equations).
Exercises
page
56
Problem
number
:
19
Date
solved
:
Monday, March 31, 2025 at 07:44:07 AM
CAS
classification
:
[_linear]
With initial conditions
ode:=x*diff(y(x),x)-2*y(x) = 2*x^4; ic:=y(2) = 8; dsolve([ode,ic],y(x), singsol=all);
ode=x*D[y[x],x]-2*y[x]==2*x^4; ic={y[2]==8}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-2*x**4 + x*Derivative(y(x), x) - 2*y(x),0) ics = {y(2): 8} dsolve(ode,func=y(x),ics=ics)