Internal
problem
ID
[17431]
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.4
(Complex
Eigenvalues).
Problems
at
page
177
Problem
number
:
13
Date
solved
:
Monday, March 31, 2025 at 04:13:36 PM
CAS
classification
:
system_of_ODEs
ode:=[diff(x(t),t) = a*x(t)+y(t), diff(y(t),t) = -x(t)+a*y(t)]; dsolve(ode);
ode={D[x[t],t]==a*x[t]+y[t],D[y[t],t]==-x[t]+a*y[t]}; ic={}; DSolve[{ode,ic},{x[t],y[t]},t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") a = symbols("a") x = Function("x") y = Function("y") ode=[Eq(-a*x(t) - y(t) + Derivative(x(t), t),0),Eq(-a*y(t) + x(t) + Derivative(y(t), t),0)] ics = {} dsolve(ode,func=[x(t),y(t)],ics=ics)