Internal
problem
ID
[2910]
Book
:
Differential
Equations
by
Alfred
L.
Nelson,
Karl
W.
Folley,
Max
Coral.
3rd
ed.
DC
heath.
Boston.
1964
Section
:
Exercise
7,
page
28
Problem
number
:
17
Date
solved
:
Tuesday, March 04, 2025 at 03:27:19 PM
CAS
classification
:
[[_homogeneous, `class C`], _rational, [_Abel, `2nd type`, `class A`]]
With initial conditions
ode:=3*x+2*y(x)+3-(x+2*y(x)-1)*diff(y(x),x) = 0; ic:=y(-2) = 1; dsolve([ode,ic],y(x), singsol=all);
ode=(3*x+2*y[x]+3)-(x+2*y[x]-1)*D[y[x],x]==0; ic={y[-2]==1}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(3*x - (x + 2*y(x) - 1)*Derivative(y(x), x) + 2*y(x) + 3,0) ics = {y(-2): 1} dsolve(ode,func=y(x),ics=ics)
ValueError : Couldnt solve for initial conditions