Internal
problem
ID
[22012]
Book
:
Differential
Equations
By
Kaj
L.
Nielsen.
Second
edition
1966.
Barnes
and
nobel.
66-28306
Section
:
Chapter
IX.
System
of
equations.
Ex.
XVII
at
page
154
Problem
number
:
B(5)
Date
solved
:
Thursday, October 02, 2025 at 08:21:40 PM
CAS
classification
:
system_of_ODEs
With initial conditions
ode:=[diff(x(t),t)-2*x(t)+diff(y(t),t)-2*y(t) = 1, diff(y(t),t)+diff(z(t),t)+z(t) = 2, 3*x(t)+diff(z(t),t)+z(t) = 3]; ic:=[x(0) = 0, y(0) = 0, z(0) = 0]; dsolve([ode,op(ic)]);
ode={D[x[t],t]-2*x[t]+D[y[t],t]-2*y[t]==1,D[y[t],t]+D[z[t],t]+z[t]==2,3*x[t]+D[z[t],t]+z[t]==3}; ic={x[0]==0,y[0]==0,z[0]==0}; DSolve[{ode,ic},{x[t],y[t],z[t]},t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") x = Function("x") y = Function("y") z = Function("z") ode=[Eq(-2*x(t) - 2*y(t) + Derivative(x(t), t) + Derivative(y(t), t) - 1,0),Eq(z(t) + Derivative(y(t), t) + Derivative(z(t), t) - 2,0),Eq(3*x(t) + z(t) + Derivative(z(t), t) - 3,0)] ics = {x(0): 0, y(0): 0, z(0): 0} dsolve(ode,func=[x(t),y(t),z(t)],ics=ics)