Internal
problem
ID
[18561]
Book
:
A
book
of
problems
in
ordinary
differential
equations.
M.L.
KRASNOV,
A.L.
KISELYOV,
G.I.
MARKARENKO.
MIR,
MOSCOW.
1983
Section
:
Chapter
3
(Systems
of
differential
equations).
Section
23.2
The
method
of
undetermined
coefficients.
Exercises
page
239
Problem
number
:
821
Date
solved
:
Thursday, October 02, 2025 at 03:14:55 PM
CAS
classification
:
system_of_ODEs
ode:=[diff(x(t),t)+y(t) = t^2, diff(y(t),t)-x(t) = t]; dsolve(ode);
ode={D[x[t],t]+y[t]==t^2,D[y[t],t]-x[t]==t}; ic={}; DSolve[{ode,ic},{x[t],y[t]},t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") x = Function("x") y = Function("y") ode=[Eq(-t**2 + y(t) + Derivative(x(t), t),0),Eq(-t - x(t) + Derivative(y(t), t),0)] ics = {} dsolve(ode,func=[x(t),y(t)],ics=ics)