Internal
problem
ID
[19905]
Book
:
A
short
course
on
differential
equations.
By
Donald
Francis
Campbell.
Maxmillan
company.
London.
1907
Section
:
Chapter
III.
Ordinary
differential
equations
of
the
first
order
and
first
degree.
Exercises
at
page
33
Problem
number
:
1
Date
solved
:
Thursday, October 02, 2025 at 05:00:45 PM
CAS
classification
:
[_linear]
ode:=diff(y(x),x)+y(x)/x = -x^2+1; dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]+1/x*y[x]==1-x^2; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(x**2 + Derivative(y(x), x) - 1 + y(x)/x,0) ics = {} dsolve(ode,func=y(x),ics=ics)