Internal
problem
ID
[14489]
Book
:
Ordinary
Differential
Equations
by
Charles
E.
Roberts,
Jr.
CRC
Press.
2010
Section
:
Chapter
7.
Systems
of
First-Order
Differential
Equations.
Exercises
page
329
Problem
number
:
5
Date
solved
:
Monday, March 31, 2025 at 12:28:30 PM
CAS
classification
:
system_of_ODEs
With initial conditions
ode:=[diff(y__1(x),x) = 2*y__1(x)/x-y__2(x)/x^2-3+1/x-1/x^2, diff(y__2(x),x) = 2*y__1(x)+1-6*x]; ic:=y__1(1) = -2y__2(1) = -5; dsolve([ode,ic]);
ode={D[ y1[x],x]==2*y1[x]/x-y2[x]/x^2-3+1/x-1/x^2,D[ y2[x],x]==2*y1[x]+1-6*x}; ic={y1[1]==-2,y2[1]==-5}; DSolve[{ode,ic},{y1[x],y2[x]},x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y__1 = Function("y__1") y__2 = Function("y__2") ode=[Eq(Derivative(y__1(x), x) + 3 - 2*y__1(x)/x - 1/x + y__2(x)/x**2 + x**(-2),0),Eq(6*x - 2*y__1(x) + Derivative(y__2(x), x) - 1,0)] ics = {} dsolve(ode,func=[y__1(x),y__2(x)],ics=ics)
NotImplementedError :