Internal
problem
ID
[7819]
Book
:
Differential
Equations:
Theory,
Technique,
and
Practice
by
George
Simmons,
Steven
Krantz.
McGraw-Hill
NY.
2007.
1st
Edition.
Section
:
Chapter
1.
What
is
a
differential
equation.
Section
1.3
SEPARABLE
EQUATIONS.
Page
12
Problem
number
:
2(c)
Date
solved
:
Wednesday, March 05, 2025 at 05:07:03 AM
CAS
classification
:
[_separable]
With initial conditions
ode:=diff(y(x),x)/(x^2+1) = x/y(x); ic:=y(1) = 3; dsolve([ode,ic],y(x), singsol=all);
ode=D[y[x],x]/(1+x^2)==x/y[x]; ic={y[1]==3}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-x/y(x) + Derivative(y(x), x)/(x**2 + 1),0) ics = {y(1): 3} dsolve(ode,func=y(x),ics=ics)