Internal
problem
ID
[805]
Book
:
Differential
equations
and
linear
algebra,
3rd
ed.,
Edwards
and
Penney
Section
:
Chapter
1
review
problems.
Page
78
Problem
number
:
35
(a)
Date
solved
:
Tuesday, March 04, 2025 at 11:51:41 AM
CAS
classification
:
[_separable]
ode:=diff(y(x),x) = (2*x+2*x*y(x))/(x^2+1); dsolve(ode,y(x), singsol=all);
ode=D[y[x],x] == (2*x+2*x*y[x])/(x^2+1); ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(Derivative(y(x), x) - (2*x*y(x) + 2*x)/(x**2 + 1),0) ics = {} dsolve(ode,func=y(x),ics=ics)