Internal
problem
ID
[18809]
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.5
(Repeated
Eigenvalues).
Problems
at
page
188
Problem
number
:
12
Date
solved
:
Thursday, October 02, 2025 at 03:31:05 PM
CAS
classification
:
system_of_ODEs
With initial conditions
ode:=[diff(x(t),t) = 2*x(t)+1/2*y(t), diff(y(t),t) = -1/2*x(t)+y(t)]; ic:=[x(0) = 1, y(0) = 3]; dsolve([ode,op(ic)]);
ode={D[x[t],t]==2*x[t]+1/2*y[t],D[y[t],t]==-1/2*x[t]+y[t]}; ic={x[0]==1,y[0]==3}; DSolve[{ode,ic},{x[t],y[t]},t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") x = Function("x") y = Function("y") ode=[Eq(-2*x(t) - y(t)/2 + Derivative(x(t), t),0),Eq(x(t)/2 - y(t) + Derivative(y(t), t),0)] ics = {} dsolve(ode,func=[x(t),y(t)],ics=ics)