Internal
problem
ID
[1117]
Book
:
Elementary
differential
equations
and
boundary
value
problems,
10th
ed.,
Boyce
and
DiPrima
Section
:
Section
2.1.
Page
40
Problem
number
:
20
Date
solved
:
Tuesday, September 30, 2025 at 04:22:16 AM
CAS
classification
:
[_linear]
With initial conditions
ode:=(t+1)*y(t)+t*diff(y(t),t) = t; ic:=[y(ln(2)) = 1]; dsolve([ode,op(ic)],y(t), singsol=all);
ode=(1+t)*y[t]+t*D[y[t],t]== t; ic=y[Log[2]]==1; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") y = Function("y") ode = Eq(t*Derivative(y(t), t) - t + (t + 1)*y(t),0) ics = {y(log(2)): 1} dsolve(ode,func=y(t),ics=ics)