Internal
problem
ID
[21363]
Book
:
A
Textbook
on
Ordinary
Differential
Equations
by
Shair
Ahmad
and
Antonio
Ambrosetti.
Second
edition.
ISBN
978-3-319-16407-6.
Springer
2015
Section
:
Chapter
8.
Qualitative
analysis
of
2
by
2
systems
and
nonlinear
second
order
equations.
Excercise
8.5
at
page
184
Problem
number
:
10
Date
solved
:
Thursday, October 02, 2025 at 07:28:47 PM
CAS
classification
:
system_of_ODEs
With initial conditions
ode:=[diff(x(t),t) = x(t)-6*y(t), diff(y(t),t) = -2*x(t)-y(t)]; ic:=[x(0) = 1, y(0) = 0]; dsolve([ode,op(ic)]);
ode={D[x[t],t]==x[t]-6*y[t],D[y[t],t]==-2*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(-x(t) + 6*y(t) + Derivative(x(t), t),0),Eq(2*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)