Internal
problem
ID
[23702]
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
161
Problem
number
:
18
Date
solved
:
Thursday, October 02, 2025 at 09:44:25 PM
CAS
classification
:
system_of_ODEs
With initial conditions
ode:=[diff(x(t),t) = x(t)+2*y(t), diff(y(t),t) = 4*x(t)-y(t)]; ic:=[x(0) = 1, y(0) = 1]; dsolve([ode,op(ic)]);
ode={D[x[t],t]==x[t]+2*y[t],D[y[t],t]==4*x[t]-y[t]}; ic={x[0]==1,y[0]==1}; 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) - 2*y(t) + Derivative(x(t), t),0),Eq(-4*x(t) + y(t) + Derivative(y(t), t),0)] ics = {x(0): 1, y(0): 1} dsolve(ode,func=[x(t),y(t)],ics=ics)