Internal
problem
ID
[10278]
Book
:
First
order
enumerated
odes
Section
:
section
1
Problem
number
:
8
Date
solved
:
Tuesday, September 30, 2025 at 07:16:29 PM
CAS
classification
:
[[_linear, `class A`]]
ode:=diff(y(x),x) = a*x+b*y(x); dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]==a*x+b*y[x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") a = symbols("a") b = symbols("b") y = Function("y") ode = Eq(-a*x - b*y(x) + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)