Internal
problem
ID
[17398]
Book
:
Differential
equations.
An
introduction
to
modern
methods
and
applications.
James
Brannan,
William
E.
Boyce.
Third
edition.
Wiley
2015
Section
:
Chapter
3.
Systems
of
two
first
order
equations.
Section
3.2
(Two
first
order
linear
differential
equations).
Problems
at
page
142
Problem
number
:
16
Date
solved
:
Monday, March 31, 2025 at 04:12:50 PM
CAS
classification
:
system_of_ODEs
ode:=[diff(x(t),t) = -x(t)-4*y(t)-4, diff(y(t),t) = x(t)-y(t)-6]; dsolve(ode);
ode={D[x[t],t]==-x[t]-4*y[t]-4,D[y[t],t]==x[t]-y[t]-6}; 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(x(t) + 4*y(t) + Derivative(x(t), t) + 4,0),Eq(-x(t) + y(t) + Derivative(y(t), t) + 6,0)] ics = {} dsolve(ode,func=[x(t),y(t)],ics=ics)