Internal
problem
ID
[2513]
Book
:
Differential
equations
and
their
applications,
4th
ed.,
M.
Braun
Section
:
Chapter
1.
First
order
differential
equations.
Section
1.9.
Exact
equations.
Excercises
page
66
Problem
number
:
6
Date
solved
:
Sunday, March 30, 2025 at 12:06:18 AM
CAS
classification
:
[[_1st_order, _with_linear_symmetries], [_Abel, `2nd type`, `class A`]]
ode:=1/2*y(t)^2-2*exp(t)*y(t)+(y(t)-exp(t))*diff(y(t),t) = 0; dsolve(ode,y(t), singsol=all);
ode=(y[t]^2/2-2*y[t]*Exp[t])+(y[t]-Exp[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)