Internal
problem
ID
[15977]
Book
:
INTRODUCTORY
DIFFERENTIAL
EQUATIONS.
Martha
L.
Abell,
James
P.
Braselton.
Fourth
edition
2014.
ElScAe.
2014
Section
:
Chapter
2.
First
Order
Equations.
Exercises
2.4,
page
57
Problem
number
:
34
Date
solved
:
Thursday, March 13, 2025 at 07:05:06 AM
CAS
classification
:
[[_homogeneous, `class C`], _exact, _rational, [_Abel, `2nd type`, `class A`]]
With initial conditions
ode:=1+5*t-y(t)-(t+2*y(t))*diff(y(t),t) = 0; ic:=y(0) = 0; dsolve([ode,ic],y(t), singsol=all);
ode=(1+5*t-y[t])-(t+2*y[t])*D[y[t],t]==0; ic={y[0]==0}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") y = Function("y") ode = Eq(5*t - (t + 2*y(t))*Derivative(y(t), t) - y(t) + 1,0) ics = {y(0): 0} dsolve(ode,func=y(t),ics=ics)