Internal
problem
ID
[1701]
Book
:
Elementary
differential
equations
with
boundary
value
problems.
William
F.
Trench.
Brooks/Cole
2001
Section
:
Chapter
2,
First
order
equations.
Exact
equations.
Section
2.5
Page
79
Problem
number
:
22
Date
solved
:
Saturday, March 29, 2025 at 11:34:58 PM
CAS
classification
:
[_separable]
With initial conditions
ode:=(2*x-1)*(y(x)-1)+(x+2)*(x-3)*diff(y(x),x) = 0; ic:=y(1) = -1; dsolve([ode,ic],y(x), singsol=all);
ode=((2*x-1)*(y[x]-1))+((x+2)*(x-3))*D[y[x],x]==0; ic=y[1]==-1; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq((x - 3)*(x + 2)*Derivative(y(x), x) + (2*x - 1)*(y(x) - 1),0) ics = {y(1): -1} dsolve(ode,func=y(x),ics=ics)