Internal
problem
ID
[2341]
Book
:
Differential
equations
and
their
applications,
3rd
ed.,
M.
Braun
Section
:
Section
1.9.
Page
66
Problem
number
:
6
Date
solved
:
Tuesday, March 04, 2025 at 01:59:41 PM
CAS
classification
:
[[_1st_order, _with_linear_symmetries], [_Abel, `2nd type`, `class A`]]
ode:=1/2*y(t)^2-2*exp(t)*y(t)+(-exp(t)+y(t))*diff(y(t),t) = 0; dsolve(ode,y(t), singsol=all);
ode=1/2*y[t]^2-2*Exp[t]*y[t]+(-Exp[t]+y[t])*D[y[t],t] == 0; ic={}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") y = Function("y") ode = Eq((y(t) - exp(t))*Derivative(y(t), t) + y(t)**2/2 - 2*y(t)*exp(t),0) ics = {} dsolve(ode,func=y(t),ics=ics)