Internal
problem
ID
[23721]
Book
:
Ordinary
differential
equations
with
modern
applications.
Ladas,
G.
E.
and
Finizio,
N.
Wadsworth
Publishing.
California.
1978.
ISBN
0-534-00552-7.
QA372.F56
Section
:
Chapter
3.
Linear
Systems.
Exercise
at
page
178
Problem
number
:
7
Date
solved
:
Thursday, October 02, 2025 at 09:44:35 PM
CAS
classification
:
system_of_ODEs
With initial conditions
ode:=[diff(x(t),t) = 4*x(t)-2*y(t), diff(y(t),t) = x(t)+y(t)]; ic:=[x(0) = 1, y(0) = 0]; dsolve([ode,op(ic)]);
ode={D[x[t],t]==4*x[t]-2*y[t],D[y[t],t]==x[t]+y[t] }; ic={x[0]==1,y[0]==0}; DSolve[{ode,ic},{x[t],y[t]},t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") x = Function("x") y = Function("y") ode=[Eq(-4*x(t) + 2*y(t) + Derivative(x(t), t),0),Eq(-x(t) - y(t) + Derivative(y(t), t),0)] ics = {x(0): 1, y(0): 0} dsolve(ode,func=[x(t),y(t)],ics=ics)