Internal
problem
ID
[709]
Book
:
Differential
equations
and
linear
algebra,
3rd
ed.,
Edwards
and
Penney
Section
:
Section
1.5.
Linear
first
order
equations.
Page
56
Problem
number
:
6
Date
solved
:
Tuesday, March 04, 2025 at 11:33:32 AM
CAS
classification
:
[_linear]
With initial conditions
ode:=y(x)+2*x*diff(y(x),x) = 10*x^(1/2); ic:=y(2) = 5; dsolve([ode,ic],y(x), singsol=all);
ode=y[x]+2*x*D[y[x],x]== 10*x^(1/2); ic=y[2]==5; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-10*sqrt(x) + 2*x*Derivative(y(x), x) + y(x),0) ics = {y(2): 5} dsolve(ode,func=y(x),ics=ics)