Internal
problem
ID
[727]
Book
:
Differential
equations
and
linear
algebra,
3rd
ed.,
Edwards
and
Penney
Section
:
Section
1.5.
Linear
first
order
equations.
Page
56
Problem
number
:
24
Date
solved
:
Saturday, March 29, 2025 at 10:16:07 PM
CAS
classification
:
[_separable]
With initial conditions
ode:=3*x*y(x)+(x^2+4)*diff(y(x),x) = x; ic:=y(0) = 1; dsolve([ode,ic],y(x), singsol=all);
ode=3*x*y[x]+(x^2+4)*D[y[x],x] == x; ic=y[0]==1; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(3*x*y(x) - x + (x**2 + 4)*Derivative(y(x), x),0) ics = {y(0): 1} dsolve(ode,func=y(x),ics=ics)