Internal
problem
ID
[14898]
Book
:
Differential
Equations
by
Shepley
L.
Ross.
Third
edition.
John
Willey.
New
Delhi.
2004.
Section
:
Chapter
7,
Systems
of
linear
differential
equations.
Section
7.1.
Exercises
page
277
Problem
number
:
14
Date
solved
:
Thursday, October 02, 2025 at 09:56:22 AM
CAS
classification
:
system_of_ODEs
ode:=[3*diff(x(t),t)+2*diff(y(t),t)-x(t)+y(t) = t-1, diff(x(t),t)+diff(y(t),t)-x(t) = t+2]; dsolve(ode);
ode={3*D[x[t],t]+2*D[y[t],t]-x[t]+y[t]==t-1,D[x[t],t]+D[y[t],t]-x[t]==t+2}; 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 - x(t) + y(t) + 3*Derivative(x(t), t) + 2*Derivative(y(t), t) + 1,0),Eq(-t - x(t) + Derivative(x(t), t) + Derivative(y(t), t) - 2,0)] ics = {} dsolve(ode,func=[x(t),y(t)],ics=ics)