Internal
problem
ID
[17305]
Book
:
Differential
equations.
An
introduction
to
modern
methods
and
applications.
James
Brannan,
William
E.
Boyce.
Third
edition.
Wiley
2015
Section
:
Chapter
2.
First
order
differential
equations.
Section
2.4
(Differences
between
linear
and
nonlinear
equations).
Problems
at
page
79
Problem
number
:
5
Date
solved
:
Monday, March 31, 2025 at 03:50:15 PM
CAS
classification
:
[_linear]
With initial conditions
ode:=(-t^2+4)*diff(y(t),t)+2*t*y(t) = 3*t^2; ic:=y(1) = -3; dsolve([ode,ic],y(t), singsol=all);
ode=(4-t^2)*D[y[t],t]+2*t*y[t]==3*t^2; ic={y[1]==-3}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") y = Function("y") ode = Eq(-3*t**2 + 2*t*y(t) + (4 - t**2)*Derivative(y(t), t),0) ics = {y(1): -3} dsolve(ode,func=y(t),ics=ics)