Internal
problem
ID
[22189]
Book
:
Schaums
outline
series.
Differential
Equations
By
Richard
Bronson.
1973.
McGraw-Hill
Inc.
ISBN
0-07-008009-7
Section
:
Chapter
8.
Linear
first-order
differential
equations.
Supplementary
problems
Problem
number
:
8.18
Date
solved
:
Thursday, October 02, 2025 at 08:33:49 PM
CAS
classification
:
[_linear]
With initial conditions
ode:=diff(y(x),x)+2*x*y(x) = 2*x^3; ic:=[y(0) = 1]; dsolve([ode,op(ic)],y(x), singsol=all);
ode=D[y[x],x]+2*x*y[x]==2*x^3; 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**3 + 2*x*y(x) + Derivative(y(x), x),0) ics = {y(0): 1} dsolve(ode,func=y(x),ics=ics)